Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 18:16 20 Mar 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Question for Computerized motion gurus

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11094
Posted: 03:26pm 19 Mar 2026
Copy link to clipboard 
Print this post

Probably no correct answer but...

If I get an estop condition should I remove the enable on the motion drivers?

For: guarantees power is removed
Against: axis momentum could cause more issues
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1791
Posted: 04:10pm 19 Mar 2026
Copy link to clipboard 
Print this post

In the context of closed loop servo motors:

A regular e-stop, I change the current decel ramp to as fast as is reasonable. Use the motor power to bring the motor to a controlled stop and then disable. Coasting can be catastrophic.

If the e-stop is caused by a servo loop going awry (servo-amp, feedback, etc.) then disable immediately.

In some applications, my motors feature an integral brake (fail-to-safe).

Don't know about open loop steppers, though.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8681
Posted: 04:23pm 19 Mar 2026
Copy link to clipboard 
Print this post

It's a case of which is the lesser of two evils - let the thing come to a natural stop or use some sort of braking to prevent damage from inertia. Industrial approaches often use the latter, with mechanical brakes held off by a control supply. If that supply fails the brakes come on. If the device is still being powered then it will probably trip it's overcurrent protection. Pumps and medium size fans are usually just left to freewheel to a stop.

A motion drive module may be configurable to use electrical braking if disabled (e.g. both top or bottom devices in a H bridge turned on to short circuit the motor).
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1791
Posted: 04:33pm 19 Mar 2026
Copy link to clipboard 
Print this post

  Quote  Dynamic Braking in Stepper Motors
Dynamic braking is possible with stepper motors, but it's implemented differently than in traditional DC or AC motors.

Understanding Dynamic Braking
Dynamic braking involves using the motor's own energy to slow it down quickly. When a stepper motor is decelerating, the energy generated during this process can be reused or dissipated through various methods:

Regenerative Braking: This method recovers energy by feeding it back into the power supply or storage elements (like capacitors). However, this is less common in standard stepper motors.
Resistive Braking: In this approach, the motor's windings are short-circuited, converting kinetic energy into heat. This method is typically straightforward and effective for rapid deceleration.
Motor Feedback and Control Systems: Using a closed-loop system, you can dynamically manage the braking process. Sensors can detect the motor's position and speed, allowing for more precise control over the dynamic braking method.


Mick, yeah I had to ask ChatGPT it dynamic braking worked for steppers  
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3084
Posted: 09:06pm 19 Mar 2026
Copy link to clipboard 
Print this post

If the E-stop needs to cater for controller failure a DPDT relay for each motor could supply dynamic braking without short-circuiting the driver.
The contact Commons go to one end of the stepper phases, the NCs to the other ends and the NOs to the driver.
Cutting power to the relay shorts the motor.
 
mozzie
Senior Member

Joined: 15/06/2020
Location: Australia
Posts: 235
Posted: 04:35am 20 Mar 2026
Copy link to clipboard 
Print this post

G'day,
Not claiming to be a guru by any means  

This is going to depend as much on the way the motors drive the machine as the motor type.

With single/dual start (fine pitch) leadscrews the motor+leadscrew inertia is going to be the main factor determining how quickly the machine comes to rest.

With multistart / broad pitch leadscrews or rack+pinion / chain / toothed belt drive the actual machine inertia will be the main factor.

Stepper motors also have a fairly high detent torque and this plays a major role, regardless of the driver state.

Also some motor drivers handle the inhibit / enable signal differently so more variables.

My suggestion would be making it a parameter in STEPPER INIT so the integrator can decide what will work best on a given machine. Also throws the onus back on them to make the correct choice.

Regards,
Lyle.
Edited 2026-03-20 16:51 by mozzie
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8681
Posted: 07:43am 20 Mar 2026
Copy link to clipboard 
Print this post

There are many ways of braking. Another is by DC injection onto the windings of an AC motor. I suspect this would stop a stepper immediately by locking the rotor solid. You only need to inject across 2 of the wires.

In all cases though, stopping the prime mover of a system will always stop the rest of the drive chain, although it's possible for something to get damaged in some cases. In an emergency stop that doesn't matter as the machine can be repaired. The important thing is that it stops.

As ChatGPT says though, sometimes you don't want a sudden stop, you want a controlled deceleration. This would be typical for a crane, where a sudden brake could snap the cable with even worse consequences as the load is suddenly removed.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026