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 06-07-2004, 04:52 PM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road
Whaaaaa???

Rec'd a new IMS stepper today (3431-6.3) rated at 637 oz.in. to replace an obsolete 3424 rated at 235 oz.in.

So I'm reading the specs and fiddling with the motor turning the shaft (nothing is hooked up). Sometimes the shaft spins with only a slight detent feel, other times the shaft turns kinda stiff.

Then I notice the lead ends are sometimes touching, sometimes not, and if I short the two coil windings (A+ to A-, and B+ to B-) the shaft locks up solid.

I didn't get out pliers or anything to see how much force was needed, just using my fingers. Figure I might screw something up.

Anyways, what is going on inside that makes this happen?
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 06-07-2004, 05:48 PM
*Registered*
 
Join Date: Apr 2004
Location: Norway
Posts: 678
ESjaavik is on a distinguished road

The stepper works as an AC generator when you turn it. If the 2 leads of a winding touches each other the generator is shorted and the force needed to turn it gets much larger. If you short out all windings this way, you should not feel the detent, just a strong resistance to turn. Try to turn it faster and the resistance increases. You don't hurt the motor doing this unless you turn it faster and more forceful than you can do it by hand.

I have understood that one use of surplus steppers is as generators for windmills. It makes sense as it is designed for minimum losses.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 06-07-2004, 06:34 PM
 
Join Date: Apr 2003
Location: US
Posts: 306
cbcnc is on a distinguished road

I forget the term for it but isn't that one of the specs for a dc motor? The ratio of the speed that you turn the shaft to the voltage produced?

Chris
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 06-07-2004, 07:20 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 37
Greg Fill is on a distinguished road

Just for information - because a Stepper motor acts as a generator when rotated it makes a good low cost quadrature encoder for jogging inputs. Take a 200 step motor from a old 5 1/4 inch floppy, one opamp, some diodes and a few resistors and you have a a rotary jogging device. Turning that shaft produces a voltage, the voltage is applified, and the output is quadratured encoded. We drive the stepper motor with a quadrature encoded voltage to make it turn. Just reverse the process, turning the shaft by hand produces a voltage that is quadrature encoded.
Turbocnc has inputs for jogging Channel A and Channel B thats works very nicely with this circuit. To make the jogging circuit work just a little bit better I have tied the quadrature outputs of my stepper motor to a PIC12C508 first. I have coded the PIC so that if you turn the jogging input quickly it outputs a fast jogging pulse stream. Turn the shaft slowly and it outputs a slower stream. This makes fast turns of the shaft mean jog fast and slow moves of the shaft mean jog slow. Your PC's mouse does the same thing when you move it around.
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 06-07-2004, 07:35 PM
High Seas's Avatar
Gold Member
 
Join Date: Sep 2003
Location: Malaysia/Australia/NZ/USA
Age: 62
Posts: 1,124
High Seas is on a distinguished road

Greg Fill -
What a cool idea! Now, I'm not much of a "wire-head" , but if you had a hand shetch of a diagram and parts list I'd give that a go! Cool idea.
BTW I seem to be collecting a lot of used steppers form printers etc. What a greta way to use 'em up!
Cheers -- Jim
__________________
Experience is the BEST Teacher. Is that why it usually arrives in a shower of sparks, flash of light, loud bang, a cloud of smoke, AND -- a BILL to pay? You usually get it -- just after you need it.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 06-07-2004, 07:43 PM
*Registered*
 
Join Date: Apr 2004
Location: Norway
Posts: 678
ESjaavik is on a distinguished road

Greg, that idea also crossed my mind. Did you find out how much electronics is needed to condition the signal for detection by a microcontroller. If not much, then it is a very cheap way of making an encoder. One stepper, preferrably small (free), one PIC/AVR or whatever ($2-3), 2 opamps, 4 diodes and a few resistors? A stepper from a 3,5" floppy is small enough for fitting into a handy enclosure.

I will need such a device, so if you have experience on what goes between the stepper and MCU, please share it with us. I can teach a ATtiny15 to convert to step/dir outputs. It doesn't even need a crystal/ceramic resonator, and can drive an opto input directly.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 06-07-2004, 08:42 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 37
Greg Fill is on a distinguished road

I have the circuit on my DIY stepper driver board, I'll post the schematic once I do a cut and paste of the appropriate page and figure out how to attach a PDF file in the forum.

The BOM (Bill of materials)

1 - opamp LM358 about the cheapest the DIY can find but any opamp will do
4 - 1N4148 diodes
6 - 3K9 1/4 W resistors
2 - 1M 1/4 W resistors
1 - 10 uf 10 volt electolytic cap

alternatively you can use a LM392 comparator then the BOM would be
1 - LM392
4 - 1N4148 diodes
8 - 3K9 1/4 W resistors
1 - 10 uf 10 volt electolytic cap

The PIC is not required and is only used to condition the quadrature signal to make it into STEP and DIR or do what I did and have an acceleration function like your PC's mouse.

BTW ESjaavik I have completed my chopper controller design and built a few proto PCB's. I drive my 8 amp / phase test stepper motors at 35 volts and 8 microsteps. Max. Pulse rate from TurboCNC is set to 19200 equating to 720 RPM. To get to a higher step rate and RPM I need to use a higher voltage. The FETS I am using are only 50 volt rated so I can't go to a higher voltage until I change them which I probably won't do. 720 RPM equates to 144 ipm and with a planned table length of 24 inches it is fast enough.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 06-07-2004, 09:43 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,712
Al_The_Man is on a distinguished road
Buy me a Beer?

Here is the link for the schematic stepper as a rotary encoder http://members.iinet.au/~richardh/rotenc.htm
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 06-07-2004, 10:32 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 37
Greg Fill is on a distinguished road

Thanks Al, I figured out the circuit myself but I guess there are many ways to do the same thing if you know what you are doing. I was interested in your link to see how they made a jogger but the link seems to be dead. Anyways here is a PDF of my circuit. Pretty straightforward. Any voltage generated by the stepper is clipped by the diodes, amplified and output on Quadrature A and B. The negative input of the opamps are biased midway of the +5 volt power supply. C5 is just a small filter. You can tie the quadrature lines A and B directly to the lines defined by TurboCNC for Jogger channel A and B. I process Quadrature A and B with a PIC12C508 before feeding it to TurboCNC. I use a Unipolar stepper for the input but a 6 wire motor works fine as well. For a unipolar motor the common ties to my J8 pin 5. Winding A goes to pin 1, winding B to pin 2. For a 6 wire bipolar motor tie Winding A+ to 1, A- to 2 and the common of A+ and A- to 5. To help with the jog cogging I also tied my Unipolar motor winding A and D together. This gives a more positive feel when turning the motor.

The part values are quite arbitrary. The 3K9 can easily be anything from 1K to 10K as long as they are the same. The opamp is probably the most widely used general purpose device but any single supply opamp could be used.

Experiment and have fun.
Attached Files
File Type: pdf jogger.pdf‎ (49.0 KB, 192 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 06-08-2004, 12:15 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,712
Al_The_Man is on a distinguished road
Buy me a Beer?

The guy seems to have abandoned the link but the hard copy I have is just about identical to your pdf.
A typical motor giving 180 pulses per rev. It uses a LM358 for comparator.
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-08-2004, 11:31 AM
 
Join Date: May 2004
Location: Denmark
Posts: 80
Bent is on a distinguished road

Hi
Just lurking by to see what you where talking about. I found this a while ago but you proberly already have figured it out.

http://www.webx.dk/oz2cpu/20m/encoder.htm

Bent
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 06-08-2004, 01:20 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 37
Greg Fill is on a distinguished road

Thanks Bent I did figure out all the same things.
Well it goes to show that nothing is really ever new. Usually someone has already done or designed the same thing. It is a good article and people should read it to get a better understanding what I was trying to say. Lets see how many people actually try the circuit out and improve on it.
Tweet this Post!Share on Facebook
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





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