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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-23-2011, 08:59 PM
stank's Avatar  
Join Date: Sep 2011
Location: US
Posts: 4
stank is on a distinguished road
Stepper motors stall, stutter with no load

Hi all. Let me just say that it’s an awesome forum and it inspired me to try and build my first CNC router.

At this point mechanics are built and I started experimenting with electronics. The issue I encountered that while trying to run motor in MDI mode with no load (motor not even connected to drive shaft yet) after turning normally for couple seconds all of the sudden it would stall and start stutter turning about 1 degree at a time. If I release the button on keyboard it would immediately turn normally and stop. The worst is happening if I try to move it via code (i.e. G0 Z10.0000). It immediately goes into stall/stutter mode and I have to manually reset it or risk burning the motor. In both cases axis distance counter in Mach3 displays movement as nothing happens (I understand it’s one way communication and it has no feedback from motor/driver on distance traveled. Just trying to be thorough). I tried it with all 3 motors and they all behave similarly. Also when it actually runs, the motors are very hot to touch, not sure if it’s related.

I’m pretty good with mechanical part of the machine but it’s microelectronics that always gives me headaches and that’s why I decided to start with small and cheap machine to learn on it. At this point I’m pretty stuck and hopeful that some of the pro’s here can show me the light

Here is what I have in electronics:

Power supply: Potrans FS-15024-1M 24V 6.5A
Motors: 57BYGH213 6.2V 1A http://www.mpja.com/download/57byghseries311.pdf
Controller: TB6560 3-Axis CNC 3 Axis TB6560 3.5A Stepping Motor Driver Controller | eBay
Computer: Old Celeron 633 512Mb RAM running Mach3 EVALUATION version

Motor is a 6-wire and is connected to the driver as follow (maybe it’s wrong but that how I read the diagram and it’s the only combination that worked for me):
ZA+ = Yellow
ZA- = Black
ZB+ = Green
ZB- = Red

White and Black wires are not connected to anything.

I followed the configuration instructions that came with controller and set all the flags in Mach3 according to them (Ports and Pins config, Motor output, etc). I run Driver test that came with Mach3 and it always shown “Excellent” status (this tells me not to blame old PC).

Sorry for the long post, I’ll try to keep it shorter as I gain more experience…
Reply With Quote

  #2   Ban this user!
Old 09-23-2011, 09:46 PM
 
Join Date: Jul 2011
Location: usa
Posts: 198
stewi is on a distinguished road

I fear, this motor driver board requires at least 2A motor. Your motors do only 1A.
Also, if you connect only half the coil on each phase, than you should have connected Red, White and Yellow, Black.
Hope, my manual helps a bit more: http://www.steering-inc.com/cncmanual.pdf
Reply With Quote

  #3   Ban this user!
Old 09-23-2011, 10:52 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

I agree that your motors are not well matched to your driver board.

You may be able to use the full windings (as you evidently are doing now) instead of using half windings (as was suggested), but neither choice will correct that essential mismatch. (I believe that you meant to write that you are using the Yellow and Blue wires, and not the Yellow and Black wires.)

If you have experience using a soldering iron, you may be able to either replace the 6 precision current-setting resistors on that board, or possibly double them up by wiring additional resistors in parallel with the existing ones, in order to arrive at the proper resistance value to set the TB6560's current limits at 1.0 A.

(I have a version of that board that is supposedly set up to handle 1.0 A motors, however based on my interpretation of the current setting resistor value formula in the TB6560AHQ data sheet, the current setting associated with those resistor values comes out to be 2.0 A instead of 1.0 A, and so I'm not sure whether my calculation was incorrect or whether the board manufacturer's current rating spec for my board was incorrect. Either way, I'm a little bit reluctant to tell you what value resistor to use. IIRC, though, that value on my board is 0.22 ohms. You should be able to find a precision resistor color code decoding web page that will help you to figure out what value resistors your board currently has.)

Depending on the way that you have your DIP switches set (for the % of maximum current), it is possible that you could get some better results from your board as it is, but there are no guarantees.

Also note that some steppers may have a tendency to jitter or vibrate in place or otherwise fail to rotate properly if they have no load attached (other than the motor's own shaft), especially if the driver is set to a high microstepping mode.

One more note - those motors have a fairly high inductance, and so I'm not even sure whether the low voltage that you're running them at will build up the current properly.

(I hope that makes some kind of sense...)
Reply With Quote

  #4   Ban this user!
Old 09-24-2011, 07:46 AM
 
Join Date: Jul 2011
Location: usa
Posts: 198
stewi is on a distinguished road

Magnets don't like too much heat and there is a good chance, that the motors have gone bad. Yes, you can change the current resistor and you can use all four coils, leaving the center wire unattended, but the motors may do only 50%, if at all.
Reply With Quote

  #5   Ban this user!
Old 09-24-2011, 10:07 AM
stank's Avatar  
Join Date: Sep 2011
Location: US
Posts: 4
stank is on a distinguished road

Thanks, guys. The controller link i gave you was not from the same seller. I remember specifically asking for 1A board when ordering mine. What and where exactly should i look to determine if my board supports 1A motors? (I'm comfortable with soldering as a process but not very strong with electronics themselves and calculations around it) Also, is it better to use full windings vs half as suggested by stewi? Doorknob - what would be the settings on DIP switches to try?

Appreciate you help guys.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-24-2011, 10:56 AM
 
Join Date: Jul 2011
Location: usa
Posts: 198
stewi is on a distinguished road

There is indeed a 0.8-3 A board on the market, but I wouldn't trust the vendor a bit.
From the 6 dip switches, the first two should be off for lowest current. 3 and 4 can be on for fast buffer and I would set 5 on, 6 off for 1/2 step mode.

If you use both coils, then you have a higher inductance (force), which likely comes with lower speed.
I don't want to be negative, but it is very likely that your motors don't do anymore.
Reply With Quote

  #7   Ban this user!
Old 09-24-2011, 11:44 AM
 
Join Date: Jul 2011
Location: USA
Posts: 8
djbillyd007 is on a distinguished road

I have that same board and it gives me a fit everytime I try to run at 1/2 step. May not be your problem but i would be curious what it does at 1/8 step. I also had a bear of a time getting it set up. I never did get my z axis to work with Mach3. I am using kcam. You might try them on y and x if you havent already done so. I'll try to find my setup sheet that I got to work. The one that was sent with the board didn't work. I think enable on z and step on y had to be inverted signal.
Reply With Quote

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

Originally Posted by stank View Post
Thanks, guys. The controller link i gave you was not from the same seller. I remember specifically asking for 1A board when ordering mine. What and where exactly should i look to determine if my board supports 1A motors? (I'm comfortable with soldering as a process but not very strong with electronics themselves and calculations around it)
I will post a photo later this afternoon showing the resistors that set the maximum winding current.

On my board (which was advertised as having a 1.0 A max current rating), the resistor values are 0.22 ohms. The resistors on my board have a 4-band color code of Red, Red, Silver, Gold. Some of the boards may have resistors with a 5-band color code.

There is a guide to reading resistor color codes at: How to read resistor color codes

As I mentioned earlier, my interpretation of the current setting resistor value formula in the TB6560AHQ datasheet would lead me to believe that a 0.22 ohm resistor would give a maximum current rating of 2.0A, instead of 1.0A. So I can't be certain of what the real value is supposed to be. But if your board's resistors have a value of 0.22 ohms, then at least you will know that your board is set up identically to mine (which is claimed to have a 1.0A maximum rating). If that's the case, then I would first try operating it with the DIP switch set to 50% current, and then see how it functions with the switch set to 100% current.

Originally Posted by stank View Post
Also, is it better to use full windings vs half as suggested by stewi?
The half-winding recommendation by stewi makes sense to me.

OK, here is a really poor cellphone camera-style image of my board, with the current setting resistors highlighted:


Last edited by doorknob; 09-24-2011 at 01:44 PM. Reason: Added photo of current setting resistors
Reply With Quote

  #9   Ban this user!
Old 09-24-2011, 03:33 PM
stank's Avatar  
Join Date: Sep 2011
Location: US
Posts: 4
stank is on a distinguished road

ok, now something start making sense to me:

Doorknob - thanks a bunch for the photo - mine has identical setup red-red-silver-gold.
Stewi - I compared your doc with the one that came with my card and Mach3 pin settings are different.

djbillyd007 - appreciate if you can find your settings, i had no problems with Z-axis in Mach3 (that's the one i'm actually playing with and using Y-axis as compare).

So, for now my plan of actions are;
1. Rewire motor as suggested by stewi
2. Mount motors to eliminate vibration
3. Try changing settings on DIP switches
4. Try changing configs on Mach3 as per stewi doc.

I'll keep it posted on any changes, thanks again for the help and direction!
Reply With Quote

  #10  
Old 09-24-2011, 08:09 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,448
ger21 is on a distinguished road
Buy me a Beer?

I don't think it's part of this problem, but your PC is well below the minimum requirements of Mach3, which is 1Ghz.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-25-2011, 09:36 PM
stank's Avatar  
Join Date: Sep 2011
Location: US
Posts: 4
stank is on a distinguished road

You guys rock!
After rewiring motor, changing DIP switch configuration, and setting the “motor tuning and setup” parameters to match once in stewi’s doc it finally started hamming alone as supposed to!!! And motor runs ice cold!
I do feel a jog (? Not sure how to explain it, it feels like it’s trying to stall, makes a gurgling noise but then keeps going) once in a while and it lasts less then a second, I think it’ll bite me later on precision testing, but I’m happy for now.

DIP switch call was right on money – tried setting it back to On and motor start running rough and noisy right away…

Next I need to figure out calculation for 5/16-18 rod that I’m using (remember cheap) and see what precision I can get out of it.
Not holding my breath for super performance as it’s a test (cheap) machine, I’ll probably use it to actually manufacture pieces for “real” CNC machine but for now I managed to keep this whole build under $200…

Thanks for all the help, I’m sure it’s not the last snag I hit on this journey.
Reply With Quote

  #12   Ban this user!
Old 09-25-2011, 09:56 PM
 
Join Date: Jul 2011
Location: USA
Posts: 8
djbillyd007 is on a distinguished road

Originally Posted by stank View Post
You guys rock!
After rewiring motor, changing DIP switch configuration, and setting the “motor tuning and setup” parameters to match once in stewi’s doc it finally started hamming alone as supposed to!!! And motor runs ice cold!
I do feel a jog (? Not sure how to explain it, it feels like it’s trying to stall, makes a gurgling noise but then keeps going) once in a while and it lasts less then a second, I think it’ll bite me later on precision testing, but I’m happy for now.

DIP switch call was right on money – tried setting it back to On and motor start running rough and noisy right away…

Next I need to figure out calculation for 5/16-18 rod that I’m using (remember cheap) and see what precision I can get out of it.
Not holding my breath for super performance as it’s a test (cheap) machine, I’ll probably use it to actually manufacture pieces for “real” CNC machine but for now I managed to keep this whole build under $200…

Thanks for all the help, I’m sure it’s not the last snag I hit on this journey.

Glad to hear you got it. I built mine as cheap as possible also. I ended up coming in around $200. i was amazed after i got the bugs worked out how quick I was making things and how acurate it actually. I had my z on a 1/2 13 and it held up pretty well.
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
max 60 ipm before motors stall?! bikedude987 Automation Technology Products 6 06-13-2011 05:25 PM
Problem- Stepper stutter issues resolved pencilneck DIY-CNC Router Table Machines 2 10-14-2010 07:13 AM
Stepper motor stall warning? Also EMC questions. borne2fly Tormach PCNC 9 03-08-2010 01:18 AM
Stepper stall ez-cnc.com Stepper Motors and Drives 7 12-23-2006 09:10 PM
Need help with stepper stall orbyog Stepper Motors and Drives 10 03-19-2006 03:54 PM




All times are GMT -5. The time now is 12:12 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