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 09-16-2010, 06:15 AM
 
Join Date: Aug 2007
Location: England
Posts: 213
stirling is on a distinguished road
Quickest way to stop a stepper

If we accelerate a stepper to some speed and then simply stop sending step pulses, the motor will surely stop. BUT it will more than likely "skip steps" in doing so. If we DECELERATE the motor we know that we can avoid these skipped steps. BUT - is there an acceleration curve that will actually stop the motor MORE QUICKLY than simply stopping the step pulses AND not cause skipped steps?

Last edited by stirling; 09-16-2010 at 07:21 AM.
Reply With Quote

  #2   Ban this user!
Old 09-16-2010, 08:20 AM
 
Join Date: Jun 2010
Location: USA
Posts: 26
_AR_ is on a distinguished road

There are devices called "Stepper Motor Brakes" that activate to stop the motion when the driver stops sending pulse signals. I am unsure of exactly how they work, but I assume they are meant to solve the issue that you are referring to.
Reply With Quote

  #3   Ban this user!
Old 09-17-2010, 06:40 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

Inertia.... When the motor is running, the inertia of the rotor (and attached parts) acting as a flywheel tends to want to keep on turning. The faster it is running, the more power it will take to stop it. Your car engine stops if you pop the clutch at idle, but maybe not with the engine running at 6000 rpm. The more power that is "stored" in the rotating part, the more power it will take to stop it.

Steve
Reply With Quote

  #4   Ban this user!
Old 09-17-2010, 07:33 AM
 
Join Date: Aug 2007
Location: England
Posts: 213
stirling is on a distinguished road

Thanks _AR_ but what I'm really after is whether this can be done without extra equipment. i.e. is there a step pulse sequence that will stop the motor faster than just no pulses at all.

Thanks Steve - not sure what question you're answering but it doesn't look like it was mine

Ian
Reply With Quote

  #5  
Old 09-18-2010, 07:45 AM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,251
RomanLini is on a distinguished road

Assuming there are no issues with motor resonance the fastest stop would be by linear deceleration, ie increasing the time between each step by a constant linear amount per time period. Your control software should have a deceleration constant you can just change the value of?

In real life you will have less torque at higher revs so you can't decelerate quite as hard there, and during mid revs you will have resonance issues so you won't want to dwell there and it can be best to decelerate MORE during this speed to quickly pass through the resonance band. This whole system is often wrapped in a nice term like "S-shaped deceleration curve" etc.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-18-2010, 09:56 AM
 
Join Date: Aug 2007
Location: England
Posts: 213
stirling is on a distinguished road

I give up...
Reply With Quote

  #7   Ban this user!
Old 09-19-2010, 09:23 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

Ian,

Most software packages have but one setting for acceleration and deceleration. A motion control board I have has several curves to select from but is still the same for both acceleration and deceleration.

Here is a link to the torque curves of several stepper motors....
http://www.helicalcoupling.net/image...0(800x894).png

One thing you will notice (as RomanLini stated) is that the available torque is lower at higher rpm. Sometimes as little as 1/10 torque at speeds of 3000 rpm (50 RPS) or so. To stop a stepper motor that is turning at some speed takes torque. In theory, the fastest deceleration curve for a given motor will be a curve where the steps/sec/sec decrease in relation to the available torque curve for that motor. That is, the higher the RPM the slower the accel/decel RATE.

So for your application the curve would be something that looks somewhat like the second quadrent of a sine wave as with the X value as time and the Y value as RPM.

Steve
Reply With Quote

  #8   Ban this user!
Old 09-19-2010, 11:02 AM
 
Join Date: Aug 2007
Location: England
Posts: 213
stirling is on a distinguished road

Sorry - this has turned into a bit of a meal but to be fair I probably havn't phrased my question very well.

I use Mach for all my stepper systems and if your familiar with it (mach) you'll know that the system response to both limit and e-stops is to simply stop the pulse stream (as it is of course in many systems). Now of course this works just fine with regard to stopping the machine pronto (the most important thing under these two conditions) but of course a minimal downside is that the controller (mach) loses positional synch with the machine. However, a question arose as to whether it's possible that a stepper system can actually be brought to rest more quickly by using a different accel curve than would typically be used for general motion. i.e. more quickly than stopping the pulse train. That way not only would limits and e-stop conditions stop the machine more quickly but also position would not be lost. Personally I had my doubts that this was possible but others insisted it was. I just wondered if anyone could confirm/deny this possibility is all.

Ian
Reply With Quote

  #9  
Old 09-19-2010, 11:31 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,467
ger21 is on a distinguished road
Buy me a Beer?

No, it's not possible. Accel and Decel are the same in most systems, and are typically set as fast as safely possible.

If you want to decel for limits and Estop, then neither do what they are supposed to do.

There is a way you can possibly cheat with limit switches, though. Set up soft limits, with a slow zone outside the limit switches and a very slow speed. So that when you get to the slow zone, it decels to a very slow speed before it hits the limits, so it doesn't (maybe) lose steps. The softlimits can be behind the physical switches, so the limits don't trip.

A bigger question would be why do you keep hitting the limits and/or Estop?
__________________
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

  #10   Ban this user!
Old 09-19-2010, 11:51 AM
 
Join Date: Aug 2007
Location: England
Posts: 213
stirling is on a distinguished road

Originally Posted by ger21 View Post
No, it's not possible. Accel and Decel are the same in most systems, and are typically set as fast as safely possible.
Gerry - I KNOW THIS - the discussion was whether this could be improved on for the special case of limit or e-stop - it's a theoretical discussion.

Originally Posted by ger21 View Post
If you want to decel for limits and Estop, then neither do what they are supposed to do.
Why am I having so much difficulty with this? - The idea as I've said was to determine if it was theoretically possible to stop them EVEN FASTER than simply stopping the step stream! - I don't know - by cleverly arranging the pulses to actually perform braking or something.

Originally Posted by ger21 View Post
There is a way you can possibly cheat with limit switches, though. Set up soft limits, with a slow zone outside the limit switches and a very slow speed. So that when you get to the slow zone, it decels to a very slow speed before it hits the limits, so it doesn't (maybe) lose steps. The softlimits can be behind the physical switches, so the limits don't trip.
This has already been discussed on the mach forum but this is not the point of my question.

Originally Posted by ger21 View Post
A bigger question would be why do you keep hitting the limits and/or Estop?
OFFS - I DON'T - like I've said it was a question raised (on the mach forum) where if you look at the thread both me, Hood and others posed this very same question "why do you keep hitting the limits"? but that's beside the point. The OP over there stated that he believed steppers could be stopped faster than simply removing the step pulse stream - I stated I doubted that - but heaven forgive me I thought I'd check it out here just in case someone knew better - I really wish I'd never bothered - don't people actually bother to RTFP anymore?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-19-2010, 12:37 PM
 
Join Date: Jun 2010
Location: USA
Posts: 26
_AR_ is on a distinguished road

Originally Posted by stirling View Post
Gerry - I KNOW THIS - the discussion was whether this could be improved on for the special case of limit or e-stop - it's a theoretical discussion.


Why am I having so much difficulty with this? - The idea as I've said was to determine if it was theoretically possible to stop them EVEN FASTER than simply stopping the step stream! - I don't know - by cleverly arranging the pulses to actually perform braking or something.


This has already been discussed on the mach forum but this is not the point of my question.


OFFS - I DON'T - like I've said it was a question raised (on the mach forum) where if you look at the thread both me, Hood and others posed this very same question "why do you keep hitting the limits"? but that's beside the point. The OP over there stated that he believed steppers could be stopped faster than simply removing the step pulse stream - I stated I doubted that - but heaven forgive me I thought I'd check it out here just in case someone knew better - I really wish I'd never bothered - don't people actually bother to RTFP anymore?
It doesn't really make sense what you want to do. Stopping faster than simply stopping and locking the motors is like saying you want to travel back in time or something so that it can happen faster. I understand the missed steps and losing position problem, but that's the trade-off you have for the safety purpose of e-stop and limits. They are for safety. If you want to keep position, use feed hold or pause.
Reply With Quote

  #12   Ban this user!
Old 09-19-2010, 02:33 PM
Torsten's Avatar  
Join Date: Nov 2004
Location: U.S.A.
Posts: 260
Torsten is on a distinguished road

Originally Posted by stirling View Post
I give up...
As mentioned before the fastest way to stop involves using a brake.
Most of the time that is unnessesary because you use your motor to do the braking for you, the key here is to have the system properly tuned for the acceleration/deceleration settings.
When tuning you do want to know what the highest rate of decellertion is without loosing steps in the process.
Your final setting will be very close to that, allowing some reduction for relieabilitie and comfort level.
You may be suprised on how fast a well tuned system is able to accel/decel.
A tight system usually results in some hard banging sounds durring reversals, this may be hard on the mechanical components.
People often reduce those settings some to get a smuther running machine.
However even with some reduction most Systems stop with just a friction of an inch of overrun. This is usually faster then your reaction time anyway.
A ergonomic location for your Stop Button will gain you much more then the few tousends of an inch of improvement a brake would get you.
(special cases excluded from this general opinion)
Good Luck
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
New Machine Build- EMC2 E-stop parallel port pinout and E-stop loop GreenLead LinuxCNC (formerly EMC2) 12 08-03-2010 12:05 PM
Help! Mach 3 Won't Move my Stepper Motor - Emergency Stop Mode AntonCNC Machines running Mach Software 7 02-21-2010 11:23 PM
: Stepper+Encoder :How to Stop Exec on Missed Steps? joprinz LinuxCNC (formerly EMC2) 6 01-26-2010 06:18 AM
Need Help!- quickest way to mach.large bores? stovepipesteve Haas Mills 10 11-18-2008 10:15 AM
Simplest, Cheepest, Quickest Antibacklash nut P.Passuello Linear and Rotary Motion 3 08-16-2007 12:01 PM




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