Design Article
Back EMF method detects stepper motor stall: Pt. 2—Torque effects and detection circuitry
David Swanson and Radek Stejskal, STMicroelectronics
11/3/2011 10:34 PM EDT
(Automotive applications for stepper motors may include headlight leveling, adaptive headlamps (that is where the headlamps turn right or left with the steering wheel), EGR (exhaust gas recirculation) valves, and adjustable mirrors. Non-automotive apps for the method described in this series would be any stepper motor application where the current is around 1A.)
Part 1 of this series covered stepper motor basics.
To more easily see the effects of torque on back EMF (BEMF) the following is a look at a stepper motor driven in full step mode. Figure 9 (below) illustrates an unloaded motor being driven in full step mode. The red is the current while the purple is the voltage on the phase. The thin black line is a feeble attempt at estimating the back EMF.
In an unloaded motor (Figure 9), the back EMF leads the phase current. What are seen here is a skewed BEMF peak and a prolonged low (near zero) period. This is the torque first speeding up the rotor then slowing it down. Just spinning the motor would provide a very symmetrical BEMF waveform.
Looking at Figure 10 (below) for a loaded motor, we can see the loading is more in line with the current it is being fed. The back EMF is more symmetrical to the driving currents. The zero crossing point is more in the middle, or between the two driving current regions. If we were to load this motor much further, it would stall.
You can see why systems that use stepper motors severely overdrive their motors to ensure that they never, under all normal operating conditions, approach stall.
Now, if we were to compare these waveforms with what appears during stall, we can see a dramatic difference.
In Figure 11 (above) we see that there is virtually no back EMF during the non-driven intervals. This would be nice if there wasn’t some play in the mechanical aspect of the system. Typically, a stalled rotor will actually vibrate as it tries to move. As we know, any rotational movement will translate to BEMF.
Looking at a stalled but vibrating rotor (Figure 12, below) we can see that there is somewhat of an issue with BEMF detection.
Comparing these waveforms with the previous running waveforms we can see that there is some overlap. Of course, this figure is showing the behavior of a full step mode driven motor. This is a bit different than a motor driven in micro step mode. In micro step mode we are only looking during that short moment when the current is zero. It is like reading a document through a straw. You can only see a small portion at a time. It may seem limiting but it is enough.
To get some idea what the BEMF looks like on average for a given motor we built a simple system that will check BEMF synchronously with the stepper motor phasing.
With our microprocessor A to D sampling we were able to obtain several thousand BEMF readings in a short period of time and generate a histogram of the values. This provided an understanding as to what to expect.
Part 1 of this series covered stepper motor basics.
To more easily see the effects of torque on back EMF (BEMF) the following is a look at a stepper motor driven in full step mode. Figure 9 (below) illustrates an unloaded motor being driven in full step mode. The red is the current while the purple is the voltage on the phase. The thin black line is a feeble attempt at estimating the back EMF.
Figure 9, Unloaded motor driven in full step mode
Looking at Figure 10 (below) for a loaded motor, we can see the loading is more in line with the current it is being fed. The back EMF is more symmetrical to the driving currents. The zero crossing point is more in the middle, or between the two driving current regions. If we were to load this motor much further, it would stall.
Figure 10, A loaded motor driven in full step mode
Now, if we were to compare these waveforms with what appears during stall, we can see a dramatic difference.
Figure 11, Motor in hard stall
In Figure 11 (above) we see that there is virtually no back EMF during the non-driven intervals. This would be nice if there wasn’t some play in the mechanical aspect of the system. Typically, a stalled rotor will actually vibrate as it tries to move. As we know, any rotational movement will translate to BEMF.
Looking at a stalled but vibrating rotor (Figure 12, below) we can see that there is somewhat of an issue with BEMF detection.
Figure 12, An example where the motor is in stall but allowed to “vibrate.”
Comparing these waveforms with the previous running waveforms we can see that there is some overlap. Of course, this figure is showing the behavior of a full step mode driven motor. This is a bit different than a motor driven in micro step mode. In micro step mode we are only looking during that short moment when the current is zero. It is like reading a document through a straw. You can only see a small portion at a time. It may seem limiting but it is enough.
To get some idea what the BEMF looks like on average for a given motor we built a simple system that will check BEMF synchronously with the stepper motor phasing.
Figure 13, Simplified block diagram of Back EMF detection circuit
With our microprocessor A to D sampling we were able to obtain several thousand BEMF readings in a short period of time and generate a histogram of the values. This provided an understanding as to what to expect.
Navigate to related information



t.alex
11/5/2011 8:33 AM EDT
Is it applicable in dashboard application or window control ?
Sign in to Reply
MrDave
11/7/2011 9:07 AM EST
Theoretically, it is possible to measure stall using this method for instrument panel gauges. The currents are much lower and are typically driven directly by the micro (with special ports for stepper motors). With that said, as long as the A/D can be synchronized with the stepper motor action it should be feasible.
From what I understand typical instrument panel micros do not have this capability.
Also, I have never seen a stepper motor version of a windowlift motor.
Sign in to Reply
WKetel
11/10/2011 7:33 PM EST
I know that during the early 1980s I was an engineer at a company that did have a stepper-stall detector board as one of their standard modules. It did work, although I never had occasion to use it. So the concept is very valid and not quite new. BUT it is certainly worth looking at.
Sign in to Reply
t.alex
11/11/2011 6:02 PM EST
Window lift is using DC motor? How can they detect the stall int this case ?
Sign in to Reply
MrDave
11/22/2011 1:37 PM EST
Simple, They can look at motor current, or they can turn off the motor for a moment and look for BEMF. I did this back in 1986 using a 4 bit micro.
Sign in to Reply