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 02-21-2007, 12:06 PM
protopath's Avatar  
Join Date: Feb 2007
Location: US
Posts: 24
protopath is on a distinguished road
Several stepper/drive basics questions.

I'm currently playing with small uni-polar steppers. 12v taken from 5.25 floppy drives and other small steppers from printers and hard drives. Really just trying to learn about it, not build the ultimate machine. At this time.

I have a 27v transformer that I wish to power the 12v stepper with. Therefore I'm learning choppers and PWM with my pics and stand-alone comparators and such.

Here are my questions/reasonings:

1. I measure about 68ohms across my unipolar, that is double coils for more torque. Therefore I could calculate the desired voltage between the ground side of the motor and a current sense resistor using the voltage divider formula?

2. I can also just run 12v across two coils of the stepper and measure the voltage at the bottom side before a current sense resistor.

3. Using the voltage measured at #1 or #2 I can set my comparator to turn off when it exceeds that voltage, i.e. 27v is applied to the stepper and it rises beyond the 12v value.

4. What is a good value for a current sensing resistor? Can I get away with only 1 ohm or is that too small?

5. Can I take my voltage measurement after the coil selecting transistors and still get an ok result?

Thanks in advance.
Reply With Quote

  #2   Ban this user!
Old 02-24-2007, 02:30 PM
protopath's Avatar  
Join Date: Feb 2007
Location: US
Posts: 24
protopath is on a distinguished road

Bump.
Reply With Quote

  #3   Ban this user!
Old 02-24-2007, 09:10 PM
 
Join Date: Oct 2004
Location: USA
Posts: 395
OCNC is on a distinguished road

Originally Posted by protopath View Post
I'm currently playing with small uni-polar steppers. 12v taken from 5.25 floppy drives and other small steppers from printers and hard drives. Really just trying to learn about it, not build the ultimate machine. At this time.

I have a 27v transformer that I wish to power the 12v stepper with. Therefore I'm learning choppers and PWM with my pics and stand-alone comparators and such.

Here are my questions/reasonings:

1. I measure about 68ohms across my unipolar, that is double coils for more torque. Therefore I could calculate the desired voltage between the ground side of the motor and a current sense resistor using the voltage divider formula?

2. I can also just run 12v across two coils of the stepper and measure the voltage at the bottom side before a current sense resistor.

3. Using the voltage measured at #1 or #2 I can set my comparator to turn off when it exceeds that voltage, i.e. 27v is applied to the stepper and it rises beyond the 12v value.

4. What is a good value for a current sensing resistor? Can I get away with only 1 ohm or is that too small?

5. Can I take my voltage measurement after the coil selecting transistors and still get an ok result?

Thanks in advance.


I'm not sure that I'm understanding your questions explicitly but if in general you're looking to devise a pic based driver circuit you might want to take a look at the Linistepper schematic and related discussion. Linistepper
If the driver is made to be current limiting the voltage isn't that critical (up to a point).

Chris
Reply With Quote

  #4   Ban this user!
Old 02-25-2007, 12:20 AM
protopath's Avatar  
Join Date: Feb 2007
Location: US
Posts: 24
protopath is on a distinguished road

I'm probably misunderstanding something, I've done a lot of reading, just having trouble integrating some of it. Don't think I'll design a complete driver, just small ones so that I understand the concepts behind it. I really like the Linisteppers, OSS all the way.

As I understand it, to limit the current one should turn off the stepper when the voltage measured ahead of a current sense reisistor is going higher than you want. See attached schematic, maybe that explains a little better.

Thanks.
Attached Thumbnails
Click image for larger version

Name:	currentsense.png‎
Views:	69
Size:	8.4 KB
ID:	32449  
Reply With Quote

  #5   Ban this user!
Old 02-25-2007, 03:25 AM
jeffs555's Avatar  
Join Date: Jun 2004
Location: United States
Posts: 463
jeffs555 is on a distinguished road

If each coil in your 12 volt motor is 68 ohms, then from ohms law, your motor is rated at about .176 amps(12/68=.176)

You calculate the voltage across the sense resistor from Ohms law. V=IR If you use a 1 ohm resistor, then 1 amp will give 1 volt across the 1 ohm resistor. For .176 amps the voltage will be .176 volts. Should work, but probably better to use a little higher sense resistor to minimize noise problems.

The circuit you show would work for wave drive where only one coil is activated at a time, but for half step or full step with both phases on, you will need separate sense resistors and comparators for each phase, ie 2 resistors and two comparators.

If you just want a driver for your motor, the linistepper design is probably a good one for this low current motor. If you wanted to understand how a chopper drive works, you might look at this thread for a unipolar chopper drive design. http://www.cnczone.com/forums/showthread.php?t=25361
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-25-2007, 05:17 AM
 
Join Date: Oct 2004
Location: USA
Posts: 395
OCNC is on a distinguished road

Originally Posted by protopath View Post
See attached schematic, maybe that explains a little better.

Thanks.
If I understand the Linistepper correctly when the current in the sense resistor rises above the base-emitter current of the transistor the transistor shuts off and hence the limiting function (poor man's comparator?). The base bias needs to be set correctly for this to work.

Chris
Reply With Quote

  #7   Ban this user!
Old 02-25-2007, 10:37 AM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Originally Posted by OCNC View Post
If I understand the Linistepper correctly when the current in the sense resistor rises above the base-emitter current of the transistor the transistor shuts off and hence the limiting function (poor man's comparator?). The base bias needs to be set correctly for this to work.

Chris
Not exactly, on the linistepper each coil current is controlled by a Current Source controlled by the Microprocessor. This is completely analog, no chopping occurs. The transistor never shuts off (except when that coil is not energized on the phase sequence conmutation.)
Reply With Quote

  #8   Ban this user!
Old 02-25-2007, 06:27 PM
protopath's Avatar  
Join Date: Feb 2007
Location: US
Posts: 24
protopath is on a distinguished road

Jeffs555: working my way through that thread.

How about a sense resistor between 4-8 ohms? I can also use a comparator IC and some logic to run multiple comparators with no problem.

I'm doing this as a learning exercise, I don't really "get it" until after I've built something. I'm looking at CNC'ing a harbor freight micro mill and will use bi-polar steppers at that point. Just don't have a garage right now. I do want a gut level understanding of what is going on with the electronics and would like to build as much of it as possible. Otherwise why not just save up and buy a brand name CNC.

I'll use either purchased drivers or build from a an established design, but I want to figure it out first.

Thanks.
Reply With Quote

  #9   Ban this user!
Old 02-25-2007, 06:34 PM
 
Join Date: Oct 2004
Location: USA
Posts: 395
OCNC is on a distinguished road

Originally Posted by kreutz View Post
Not exactly, on the linistepper each coil current is controlled by a Current Source controlled by the Microprocessor. This is completely analog, no chopping occurs. The transistor never shuts off (except when that coil is not energized on the phase sequence conmutation.)
Thanks for clarifying that.

Chris
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
Electrocraft BRU-200 Drive questions Verboten General Electronics Discussion 20 01-05-2012 05:25 AM
Stepper motor basics snowshovelbmx Stepper Motors and Drives 0 09-03-2006 09:29 PM
Questions about EMC basics phantomcow2 LinuxCNC (formerly EMC2) 3 03-09-2006 10:52 AM
difference between a stepper indexer and a stepper drive pcroxford Stepper Motors and Drives 0 11-02-2005 07:35 AM
Stepper Motor Control Basics Halfnutz Stepper Motors and Drives 12 05-24-2005 01:40 PM




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