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 08-15-2008, 04:59 PM
 
Join Date: Jul 2008
Location: UK
Posts: 135
HankMcSpank is on a distinguished road
Fairly basic questions re stepper motor wiring!

Ik, I'm new to stepper motors, but not to general electronics (in other words I can handle a multimeter, oscilloscope ok).

I've sourced some stepper motors out of some old dot matrix printer. Their spec is identical to the picture number 5 on this page....

http://www.engadget.com/2006/06/29/h...achine-part-1/ (ie 3V & 3.5 ohms & 1.8 deg)

My first problem was working out the wiring, so I followed the guide here...

http://www.doc.ic.ac.uk/~ih/doc/stepper/others/

ok, so now I know which is coil 1, coil 2, coil 3 & coil 4 for my stepper motors.

But my stepper motor driver board's instruction manual, doesn't talk of indiviual coils, it talks of A+ & A- and B+ & B-

Now, then using this earlier guide/diagram...

http://img178.imageshack.us/my.php?i...9518717hy3.jpg

In my situation, coil 1 = red wire, coil 2 = blue wire coil 3 = beige wire, coil 4 = yellow wire

How do I wire up to reflect this driver board instruction manual

http://img381.imageshack.us/my.php?i...1431289ho5.jpg

I'm figuring....

A+ is coil 1 (red wire) A- is coil 3 (beige wire)
B+ is coil 2 (blue wire) B- is coil 4 (yellow wire)

Is this right?

Ok, now what should happen when I connect the stepper motor to the driver board & power it up? (I'm only connecting the x axis for now)

Should there's be a hum from the motor, silence ...what?

Final question my driver board manual talks of setting the axis current - how do I determine what this should be for the motor I mentioned above?! (I'm assuming that becuase the motor spec says 3V & 3.5 ohms ....then I=V/R, therefore 0.86A?)

many thanks.

Last edited by HankMcSpank; 08-15-2008 at 05:17 PM.
Reply With Quote

  #2   Ban this user!
Old 08-15-2008, 06:52 PM
 
Join Date: Jul 2008
Location: UK
Age: 54
Posts: 411
irving2008 is on a distinguished road

Your stepper driver board is expecting 4 wire bipolar motor, i.e. 2 coils A and B two wires per coil + & -. (the diagram in the manual shows a 6 wire which can be wired as bipolar or unipolar, they just don't use the centre taps).

Your stepper is a 5 wire quad coil - a 4-phase unipolar motor. I don't think that this can be used with that driver unless you can isolate the coils to get 8 wires and then pair them up to create effectively two single coils. It is essential that you get the phasing right so that the coils are working together and not against each other. You must separate the windings or you run the risk of frying your driver chips/output transistors

The ratings given are for one coil. Once separated you have the option of wiring in series or parallel to give ratings of 6v, 7ohm (.9A) or 3v, 1.75ohm (1.7A)
Reply With Quote

  #3   Ban this user!
Old 08-15-2008, 07:10 PM
 
Join Date: Apr 2007
Location: Canada
Posts: 15
jamesl is on a distinguished road

Dot matrix printer motors are fine as a learning curve, but if you are thinking any serious engraving or routing, they just don't cut the mustard.
Reply With Quote

  #4   Ban this user!
Old 08-16-2008, 07:44 AM
 
Join Date: Jul 2008
Location: UK
Posts: 135
HankMcSpank is on a distinguished road

Originally Posted by irving2008 View Post
Your stepper driver board is expecting 4 wire bipolar motor, i.e. 2 coils A and B two wires per coil + & -. (the diagram in the manual shows a 6 wire which can be wired as bipolar or unipolar, they just don't use the centre taps).

Your stepper is a 5 wire quad coil - a 4-phase unipolar motor. I don't think that this can be used with that driver unless you can isolate the coils to get 8 wires and then pair them up to create effectively two single coils. It is essential that you get the phasing right so that the coils are working together and not against each other. You must separate the windings or you run the risk of frying your driver chips/output transistors

The ratings given are for one coil. Once separated you have the option of wiring in series or parallel to give ratings of 6v, 7ohm (.9A) or 3v, 1.75ohm (1.7A)
Oh dear - I read their spec that "6 wire motors can be used" & bought the driver board on that basis.

I need to delve a bit more!

If you read page 4 of the driver board guide...

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

The manual says that 6 wire motors can be used (albeit, it didn't say unipolar or bipolar!). I'm hopeful here because I have two common wires (as opposed to one common wire).

this is how I think my unipolar stepper motor is wired....

http://img58.imageshack.us/my.php?image=68681830sc4.jpg

ie if you ignore the common centre tap in each coil above, then there are two coils above wired series? but can I assume these two coils correlate with rotational bearing in this diagram http://img297.imageshack.us/my.php?image=79496882ht7.jpg[/url] )

Last edited by HankMcSpank; 08-16-2008 at 08:11 AM.
Reply With Quote

  #5   Ban this user!
Old 08-16-2008, 08:57 AM
 
Join Date: Jul 2008
Location: UK
Age: 54
Posts: 411
irving2008 is on a distinguished road

Originally Posted by HankMcSpank View Post
Oh dear - I read their spec that "6 wire motors can be used" & bought the driver board on that basis.

I need to delve a bit more!

If you read page 4 of the driver board guide...

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

The manual says that 6 wire motors can be used (albeit, it didn't say unipolar or bipolar!). I'm hopeful here because I have two common wires (as opposed to one common wire).

this is how I think my unipolar stepper motor is wired....

http://img58.imageshack.us/my.php?image=68681830sc4.jpg

ie if you ignore the common centre tap in each coil above, then there are two coils above wired series? but can I assume these two coils correlate with rotational bearing in this diagram http://img297.imageshack.us/my.php?image=79496882ht7.jpg[/url] )
If your motors have 2 'common' wires and you separate these do you have two completely isolated sets of three wires that have some low resistance to two and ONLY two other wires? If so then you will be able to use it. If, on the other hand there are more than 3 wires that have some connectivity you wont.

Assuming you can separate the two commons to give 6 wires, do the following:
a/ Pick a 'common' wire, label it #1. Measure resistance to all other wires. If you have only 2 other wires that seem to be connected to this one label them #2 and #3. If not then give up because you can't isolate the coils (unless you can open the motor case) and find a better motor.

b/ If the resistances are the same from #1 to #2 and #1 to #3 then you have one coil and #2 and #3 are the ends, #1 is the centre.. The resistance between #2 and #3 should be twice the resistance between #1 and #2 or #1 and #3 (with me so far? ). If not then #1 wasn't the common, so find the pair (out of #1, #2 and #3) with the highest resistance between them and those are the ends of the coil, so relabel them #2 and #3 and the remaining one becomes #1.

c/ Repeat a and b for the other 3 wires, using labels #4, #5 and #6.

d/ The result should be 6 wires, labelled #1 thru #6 where the resistance between #2 and #3 is the same as that between #5 and #6 and wires #1 - #3 are isolated from #4 - #6. If not, give up and find a better motor.

e/ Assuming all the above wire #2 to A+, #3 to A-, #5 to B+, #6 to B-. This should get the motor turning. The current limit should be set to 3v divided by the resistance between wires #2 and #3.

f/ if the motor turns in the wrong direction you can either correct this in the software or swap either wires #2 and #3 OR #5 and #6 over (but only one pair, not both).

Hope that's helps and is as clear as mud
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-16-2008, 03:29 PM
 
Join Date: Jul 2008
Location: UK
Posts: 135
HankMcSpank is on a distinguished road

Originally Posted by irving2008 View Post

Assuming you can separate the two commons to give 6 wires, do the following:
a/ Pick a 'common' wire, label it #1. Measure resistance to all other wires. If you have only 2 other wires that seem to be connected to this one label them #2 and #3. If not then give up because you can't isolate the coils (unless you can open the motor case) and find a better motor.


b/ If the resistances are the same from #1 to #2 and #1 to #3 then you have one coil and #2 and #3 are the ends, #1 is the centre.. The resistance between #2 and #3 should be twice the resistance between #1 and #2 or #1 and #3 (with me so far? ). If not then #1 wasn't the common, so find the pair (out of #1, #2 and #3) with the highest resistance between them and those are the ends of the coil, so relabel them #2 and #3 and the remaining one becomes #1.

c/ Repeat a and b for the other 3 wires, using labels #4, #5 and #6.

d/ The result should be 6 wires, labelled #1 thru #6 where the resistance between #2 and #3 is the same as that between #5 and #6 and wires #1 - #3 are isolated from #4 - #6. If not, give up and find a better motor.

e/ Assuming all the above wire #2 to A+, #3 to A-, #5 to B+, #6 to B-. This should get the motor turning. The current limit should be set to 3v divided by the resistance between wires #2 and #3.

f/ if the motor turns in the wrong direction you can either correct this in the software or swap either wires #2 and #3 OR #5 and #6 over (but only one pair, not both).

Hope that's helps and is as clear as mud

Thanks for the comprehensive post. I'd actually got to where you're describing prior to posting. By this, I mean I'd established I have a stepper motor with two separate 'center tapped' coils.

Here's a graphical representation of the coils with your numbering scheme...

http://img512.imageshack.us/img512/3212/coilyn3.jpg

the main thrust of my line of question (having established two individual center tapped coils) was - which ends would be A+ & A- & which ends of the coils would be B+ & B-, but you've answered that above - tks!

Earlier today, I gave this a quick go using a trial version of Kcam4. When I go onto the CNC control page & click the right arrow, after about 10 seconds the motor physically rotates one step clockwise - is this right?

Time delay aside, at first glance, the motor seems to be turning the opposite way that the KCam4 GUI arrow is indicating...but I guess if the motor was connected to a thread rod, then it could conceivably be right! eg clicking on the right arrow makes a stepper turn clockise which could conceivably move the 'X' table right?

Re the current limit - thanks that's useful info.

Are these fairly weak motors then? ...ie resistance between points 2 & 3 (one coil) is 6.9ohms. 3V divided by 6.9 ohms = 0.43A I had been hoping to have these drive a couple of light (perspex) 18" square X & Y platforms...but if .43A is the most current these stepper motors can handle, that doesn't seem like a whole lot?!

Last edited by HankMcSpank; 08-16-2008 at 05:45 PM.
Reply With Quote

  #7   Ban this user!
Old 08-17-2008, 04:55 AM
 
Join Date: Jul 2008
Location: UK
Posts: 135
HankMcSpank is on a distinguished road

Ok, two different CNC app (KCm4 & Mach 3) - with both programs the stepper motor seems *very* slow to react.

I've messed with all the acceleration settings.

Could this be my laptop, my PC-.Board cable or the voltage I'm supplying to the stepper board (my stepper board recommends 24V, but says 12V-30V can be used ..... I'm using 16V)
Reply With Quote

  #8   Ban this user!
Old 08-17-2008, 06:35 AM
 
Join Date: Apr 2007
Location: Canada
Posts: 15
jamesl is on a distinguished road

Go to www.geckodrive.com there is a very good article on stepper motor drives .
Reply With Quote

  #9   Ban this user!
Old 08-22-2008, 03:58 AM
 
Join Date: Jul 2008
Location: UK
Age: 54
Posts: 411
irving2008 is on a distinguished road

Originally Posted by HankMcSpank View Post
Ok, two different CNC app (KCm4 & Mach 3) - with both programs the stepper motor seems *very* slow to react.

I've messed with all the acceleration settings.

Could this be my laptop, my PC-.Board cable or the voltage I'm supplying to the stepper board (my stepper board recommends 24V, but says 12V-30V can be used ..... I'm using 16V)
I'm guessing here a little but it could be that the motors need a wider pulse than the software is currently configured for. Try ensuring that your controller is set for full step only (if that's configurable) as it might be set up for microstepping and these motors might not like that. Generally higher resistance coils suggest fairly weak motors, I'd guess those from a printer are going to be fractional Nm torque, maybe .2 - .5 at slow speed and it will fall off rapidly as speed increases. Running a higher voltage (typically 5 - 25 x motor rated volts) against the dynamic current limiter improves the torque curve somewhat at higher speed but can't overcome inherently poor motors.

You can measure the torque using a lever (6" plastic ruler) glued fixed to the motor spindle at the zero mark and a string attached at the 10cm mark with a plastic bag as a weight holder on the end. Arrange motor so that when you power up a single coil it keeps the ruler horizontal. Power up a coil (careful not to exceed current limit, so use low voltage as rated) and pour sugar into bag until motor cannot hold it. Measure weight of bag, string & sugar in kgrams = W , holding torque (i.e. torque at near standstill) of motor is then W Nm. It will degrade to maybe 1/10 of that at a few hundred steps/sec.
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
Boss spindle motor wiring questions moto21 Bridgeport and Hardinge Mills 11 03-29-2006 10:13 PM
Stepper motor wiring smitty Stepper Motors and Drives 11 03-05-2005 04:58 PM
Stepper Motor Wiring Sanghera Stepper Motors and Drives 5 11-06-2004 04:33 PM
4-phase motor and wiring questions DmitryZ General Electronics Discussion 10 04-13-2004 11:14 PM
Stepper Motor Wiring Questions TRC1 General Electronics Discussion 4 08-15-2003 09:03 PM




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