CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-02-2011, 12:40 AM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road
Motor tuning in mach 3 mill for mini CNC?

I'm well into building my first CNC, it's a mini 3 axis mill. I've got the drive board set up and I have mach 3 mill set so the motors seem to be working, though I haven't quite figured out how to adjust the speed yet and I don't know if these settings are anywhere near optimal, so I'm looking for tips from those more experienced than I. Here's a bunch of info on my setup.

The motors:
Datasheet. Pulled from printers, 7.5 deg/step 7.5 ohm, 2-phase bipolar, 1A peak current, 24V.

The driver:
One of these ones that are all over ebay, based on the TB6560AHQ driver chip with a peak output current of 3.5A per motor. I have it connected to a 24V 10A power supply. This board has dip switch settings and currently I have it set to:
current: full (options are full, 3/4,1/2,1/4)
decay mode: fast (options are fast, 25%,50%, slow)
microstep: full (options are full, 1/2,1/8,1/16)

The software:
I'm using mach3 software connected through a PCI parallel card. The settings are what I'm posting to ask about. I have so far configured the output pins for my board, which got the motors moving a little but sometimes they would just shake. Then I went into motor tuning and set the steps per inch to 960 because I'm using 20 tpi leadscrews, currently the velocity is 120 in/min the acceleration is 2 in/sec/sec and the step pulse and dir pulse are both 1 us. Those are some of the settings I'm not sure of, I don't know what to base them on. I have the native units set to inches because my lead screws are in inches. Under ports and pins>port setup and axis selection, my kernel speed is set to 25000 Hz, because that is what the manual for my drive board said to use. Other than the above I haven't really touched the settings. When I run a test set of code the motors whirr quickly to the start point but then move very slowly, like a step per second, along the path, which if hooked to a lead screw at 20 tpi would mean it was moving pretty dang slow. I realize I might not have provided some relevant info or checked things I should have, but that's part of why I'm here asking questions. The motors seem to get pretty hot after 2 minutes or so also. Thanks for reading this, I will update as I figure out more.
Reply With Quote

  #2   Ban this user!
Old 08-02-2011, 02:54 PM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road

I've noticed that the motor sometimes spins in the wrong direction, also sometimes the torque is very low for a step, if I hold the motor it will push so lightly that any resistance at all during these steps will keep it from moving. I'm also concerned about how hot the motor is getting. The board has setting to use less current, but I'm not sure if that is the right option to help with the heat or not. I have also been trying different decay mode settings, I'm not sure what is best for those, they all seem to work.
Reply With Quote

  #3   Ban this user!
Old 08-03-2011, 07:03 AM
 
Join Date: May 2011
Location: pokom
Posts: 2
PentueR is on a distinguished road

Hello Paul,
I use same driver board (but different motors) and first of all, I have recommend to you set the current to 25%! You have 1A motors and current settings should be similar to motors maximum. For second, your velocity is too high I think, I would recommend to start with velocity about 20-30 in/min and then try higher values if everything going well. Also more fine steps are recommended than full microsteps, you will get a minimum vibrations and better accuracy.

Good luck.

Martin
Reply With Quote

  #4   Ban this user!
Old 08-03-2011, 10:34 AM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road

Originally Posted by PentueR View Post
Hello Paul,
I use same driver board (but different motors) and first of all, I have recommend to you set the current to 25%! You have 1A motors and current settings should be similar to motors maximum. For second, your velocity is too high I think, I would recommend to start with velocity about 20-30 in/min and then try higher values if everything going well. Also more fine steps are recommended than full microsteps, you will get a minimum vibrations and better accuracy.

Good luck.

Martin
Thank you, the lower current definitely seems to be helping the heat, I have it set to 25% now and the motor is only a little warm where before it would be burning hot. The lower speed seems to help some, I set it to 20, and 1/2 step. It still has the problem where sometimes it starts with almost no force and doesn't always turn the right way though. Maybe a finer step would help pull it in the right direction? Thanks again for responding.

Update:
I've tried 1/16 and the direction responds better, but still not always the right way, even at speeds as low as 4 in/min, it also bumbles around for a few steps before taking off into a spin. Could it be something with pulse length or acceleration?

Last edited by PaulMakesThings; 08-03-2011 at 10:59 AM.
Reply With Quote

  #5   Ban this user!
Old 08-03-2011, 12:34 PM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road

I've switched to this motor, which is unipolar, but I've wired it to the controller in a high torque mode, with the center tap left not connected. And it seems to be working a lot smoother. Maybe this controller isn't capable of 2-2 phase drive? This one still gets hot but I'm getting much more steady and accurate rotation.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-03-2011, 07:13 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

I know that you said that your machine was small, but the motors that you're using are really small with little available torque. Your motors are probably rated at around 20 to 40 oz-in. holding torque, which is not very much at all.

If you decide to get some more powerful motors, you might want to look at some 200 step/rev motors instead of the 48 step/rev ones that you are currently using.

You might try increasing the step pulse width to 5us or more to see whether that makes a difference.

Also, if you're handy with a soldering iron, you might consider bypassing the optoisolators on the step and direction inputs (because the optoisolators on that board have a reputation for being "slow", and it is possible that your wrong direction problems are occurring because the direction signal is being delayed compared to the activation of the step signal - see the thread at http://www.cnczone.com/forums/genera...y_chinese.html for discussions of that and other issues).
Reply With Quote

  #7   Ban this user!
Old 08-03-2011, 10:22 PM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road

I really appreciate the advice. The board that he modified in that thread is very similar to mine. My background is electronics and fabrication, so I should be able to modify the board, and possibly make my own improved one. He seems to have had the exact same issues with it that I have.

I know the motors I'm using are very weak. I agree an upgrade is probably worth while, and it would cost a hundred or so to get motors for a machine this small (it's going to have a 9"x9" work area). Right now this cheap driver and motors are a learning experience, and the scope of my plans will grow with my knowledge. I'll look at the kind of motors you recommended, there don't seem to be many small ones with 1.8 degree step, but the ones I see aren't too expensive.
Reply With Quote

  #8   Ban this user!
Old 08-03-2011, 11:17 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

One other thing to note - sometimes when you operate some stepper motors without any load (beyond the built-in shaft), the motors can tend to vibrate in place and not turn the way that they would work if a load were connected.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mach 3 motor tuning corneliusbrown Mach Software (ArtSoft software) 4 01-27-2011 04:15 PM
Need Help!- Motor tuning fine, In Mach Screen problems!! ianober Mach Mill 1 09-04-2010 01:38 AM
Need Help!- Mach 2 motor tuning vicsrc Mach Mill 0 05-19-2009 08:06 PM
Need Help!- Mach 3 motor tuning nenetwork Mach Software (ArtSoft software) 25 03-03-2009 01:43 PM
Help needed for mach 3 motor tuning Grandad DIY-CNC Router Table Machines 18 04-25-2006 05:54 PM




All times are GMT -5. The time now is 05:48 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361