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! > Electronics > Stepper Motors and Drives


Stepper Motors and Drives Discuss stepper motors, drivers and related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-14-2008, 02:01 PM
 
Join Date: Apr 2007
Location: USA
Posts: 284
LaserImage is on a distinguished road
Need help with setup

I am having some problems getting any kind of reasonable performance out of my cnc router. I built it using 80/20 and trucks similar to the ones on cncrouterparts.com. I used 1/2-10 acme, single start and leadnuts from dumpstercnc. Everything moves very smoothly, no binding and virtually zero backlash. I can move in all three directions with almost no force needed, the trucks work extremely well!

The problem is in the electronics and setup in Mach3. I have Mechatronics 3 axis drive and Keling KL23H276-30-8A steppers and a 24volt 7amp power supply. I have the steppers wired for series connection. I have the vref on the board at 4.2v and the pfd at 2.5v. I have tried full, 1/2, 1/4 and 1/8 resolution on the board, currently it is at 1/8.

The problem is that I am getting a max of 30 velocity and 10 acceleration in Mach3 before I get stalling. Sometimes I can get travel all the way in both directions, sometimes it only goes part way. It's not consistent where it stalls, so I have ruled out binding. I have talked to Keling, he suggested I use 1/8 resolution and it should work fine, if not then there is something wrong with the driver board. I am waiting to hear back from Mechatronics. I have been fighting with this problem for two weeks and really need to get this resolved, it's the last thing I needed to do in order to "finish" my build.

I have read as much as I can find about setup and motor tuning, here is how I got to where I am now:
1. Set board to 1/8 resolution
2. Set acceleration to 1 in Mach3
3. Start at 10 velocity and increase by 5 until stepper stalls then reduce back to where it didn't stall
4. Start acceleration at 1 and increase by 1 until stepper stalls, then reduce back.
This is how I ended up at 30, but it's not working well there either, it just seems that if I go any faster, or slower, then it stalls more often. I have tried this experiment at all resolution settings and none of them made any difference.

Any ideas of what I should do next? Could it be the board? Could it be the power supply? (it's putting out 24v, I checked it with my dvm)

Edit: this is true for all three axes and I have tried switching steppers with the same results

Thanks in advance for any help!

Gary
Reply With Quote

  #2   Ban this user!
Old 07-14-2008, 03:55 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Hi LaserImage. Welcome to the Zone!

Best running voltage= 32 times the square root of inductance. With series wiring, you are running a 95V motor from a 24V PS. AMPs= Torque. Volts = torque at SPEED. So your motors are under volted and don't carry much power into higher rpms.

It doesn't help that you are running the drivers at 1/8 microstepping. Ten X 200 X 8= 16000 steps your motor has to perform just to move the table one inch--OF COURSE your rapids are slow.

If your driver would allow you to wire the motors in Unipolar, (3A at up to 48V) they should perform better. Surely you could lower the microstepping to 2? Can the driver take 36 or 48 Volts? That would help too.

Otherwise you need new Higher voltage/amps drivers along with 48V PS and/or different motors.

CR.
Reply With Quote

  #3   Ban this user!
Old 07-14-2008, 04:10 PM
 
Join Date: Apr 2007
Location: USA
Posts: 284
LaserImage is on a distinguished road

Thanks for the reply CR

The board has a max of 32v and recommended 24v, and only supports bipolar series wiring. I can change steps to 2 but I have tried that with no noticable change. I'll try it again when I get home tonight.

It seems that this board/power supply may be too weak for the setup I have. Is the Hobbycnc board a better choice for this price range? Or am I up against the power supply being too low voltage? I would love to use Keling or Gecko but when I figure in the cost for the drive, power supply and bob, I'm at about $300.00 - more than I have in the budget right now.

It's a long story, but I bought what was supposed to be a "complete" system and I have more into rebuilding this than if I had just built it from scratch... I'd rather not have to replace the electronics if I don't have to, not right now anyway.

Thanks,
Gary
Reply With Quote

  #4   Ban this user!
Old 07-14-2008, 05:29 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

At 1/8 micro stepping, (16K steps per inch) the motor has to turn 80 revs to move 1 inch. At 1/2 micro stepping, 4K steps per inch) the motor only has to turn 20 revs to move an inch.

CR.
Reply With Quote

  #5   Ban this user!
Old 07-14-2008, 11:35 PM
 
Join Date: Apr 2007
Location: USA
Posts: 284
LaserImage is on a distinguished road

CR,
I changed to 1/2 resolution and ended up with the following:
X = 4,000 steps per unit, 34.998 Velocity and 5 acceleration
Y = same
Z = 4,000 steps, 28.002 velocity and 5 acceleration

This is slightly better in the X and Y but slower in Z. Would increasing the voltage of the power supply get me better results? What about increasing the vref? How much could I increase the vref without causing problems?

Gary
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-15-2008, 07:15 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Your motors, wired in series, are too voltage starved. Series winding current max is 2.1 A. Vref= 2 X desired current. Vref is set as high as it can go for series winding these motors.
CR.
Reply With Quote

  #7   Ban this user!
Old 07-15-2008, 07:36 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Bipolar Parallel wiring would be best for 24V, but your board can't handle the 4.2A that would be needed. I think your best bet with this existing setup is to wire the motors in half winding. Half winding is nearly as good as Bipolar Parallel, but requires less amps.

To do this, connect the Blue and Red wires as the first coil pair. Connect the Brown and Black wires as the second coil pair. Tape the ends of the other wires and don't use them. Now set the Vref at 5 volts. This is 1/2A less than the 3 A the motors will want, but is max for your board and should work. It won't hurt the motor or driver. Try this on one motor and see if things improve.

CR.
Reply With Quote

  #8   Ban this user!
Old 07-15-2008, 11:45 AM
 
Join Date: Apr 2007
Location: USA
Posts: 284
LaserImage is on a distinguished road

CR,
I really appreciate the help!

Do you know for sure that this board supports wiring as you mentioned? I only ask because the manual only mentions series wiring. It's funny though, because the board is screened with "Bipolar 3 Axis" and the manual states "Two phases bipolar driver (PWM Technology)".

Also, you said "Blue and Red wires as the first coil pair. Connect the Brown and Black wires as the second coil pair" - are the coil pairs the "A and -A" and "B and -B"? If so, then I would connect blue to A, Red to -A, brown to B and black to -B? And the other wires are not connected, just taped to insulate them?

Thanks again,
Gary

P.S. Just to be clear... When I question something you say it's not because I don't believe or trust you, it's purely because I don't understand and just want to be sure I am reading your advice correctly.
Reply With Quote

  #9   Ban this user!
Old 07-15-2008, 12:06 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Hi Gary! Yes that's the correct way to wire the coils. According to the Data sheet, your drive can be wired for bipolar Parallell, or Bipolar Serial. They do not SHOW the half coil wiring method, but it will work:

http://www.easy-cnc.com/web/download...3Axis(NEW).pdf

Zylotex, on the other hand, with the same type of board, DOES mention the half coil winding:

http://www.xylotex.com/XS3525V202.pdf

Basically, this gives the higher speed of the Bipolar Parallel wiring method, along with the lower amps of the Unipolar method.

CR.
Reply With Quote

  #10   Ban this user!
Old 07-15-2008, 12:13 PM
 
Join Date: Jul 2008
Location: USA
Posts: 49
rfrenzl is on a distinguished road

After following this thread for a little while, I just have to chime in. It appears that some of the information it not entirely accurate (but close enough to not hurt anything and simple is a good thing with electronics).

I found some excellent documentation on motor wiring and explains what the different wiring arrangements are, how to calculate current requirements, and many other things. It is on the IMS site. I just happen to have a couple of the drivers so I needed to know the wiring layout and found the motor info as a bonus. Besides wiring options, it also give a little information on why a particular wiring option is better than another (ie. serial vs. parallel in speed and torque requirements).

I hope this helps make things clear for the new CNC person and prevent the inadvertent blow-up of a driver board.

The document is the manual for the IM483 driver and the motor information is on page 28 of the PDF. http://www.imshome.com/Product%20Manual%20PDF/im483.pdf

Good luck,
Ron
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-15-2008, 12:35 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Hi Ron. Welcome to the Zone!

I THINK what you are saying, is that whether wired in Bipolar Parallel or Half winding, these motors will still require 4.2A either way. This may be true.

Neither way will hurt anything, so maybe best to wire say X Axis in Bipolar Parallel and Y in Half winding, and compare the results. OR, just try both methods on the X Axis.

So to wire these motors in Bipolar Parallel: A+ = Blue & Yellow connected together. A- = Red & Green connected together. B+ = Brown & Orange together. B- = Black & White together. Vref is still set to 5V.

CR.
Reply With Quote

  #12   Ban this user!
Old 07-15-2008, 12:49 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

However, I should ALSO state that the motor spec sheet says the motor draws 3A wired in Unipolar mode. Unipolar only USES 1/2 coil at a time--ONE for forward and the OTHER one for reverse. Hence, half coil wiring should have the same amperage as Unipolar wiring. Now it MAY be that different drive electronics see this differently, But I think, in this case, that the half winding method will run faster with more torque at speed than the present series wiring.

CR.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNC Setup phoodieman General CNC (Mill and Lathe) Control Software (NC) 6 12-18-2006 05:55 PM
Help with new setup bulldog2001 General Topics 1 12-18-2006 01:48 PM
What is your setup? dolanosa CNC Wire Foam Cutter Machines 5 10-09-2005 02:00 AM
Setup i need help k-linkz Hobbycnc (Products) 3 08-07-2005 08:11 AM
Setup ACME General Metal Working Machines 0 09-07-2004 09:37 AM




All times are GMT -5. The time now is 10:08 AM.





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