Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
EE Times-Asia > Power/Alternative Energy
Power/Alternative Energy??

Detect stepper motor stall with back EMF technique (Part 1)

Posted: 07 Nov 2011 ?? ?Print Version ?Bookmark and Share

Keywords:stepper motors? brushless DC? Back EMF? back electro-motive force?

The applications for stepper motors in the automotive domain may include headlight leveling, adaptive headlamps (that is where the headlamps turn right or left with the steering wheel), exhaust gas recirculation (EGR) 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.

For many years we thought we understood stepper motors. They seemed fairly straightforward machines. A stepper motor is essentially a motor who is a slave to the controller. "Aren't they all?" You say. Not like this. Commutation is done by the controller, when the controller wants to; without regard to anything the stepper motor has to say. The controller requires no feedback to help with appropriate times to commutate.

In comparison, a brush type motor commutates when it wants to and doesn't need the controller to perform any of the commutation. The brushless DC (BLDC) motor, a close relative to the stepper motor, at least gets to tell the controller when it wants to commutate. A stepper motor, on the other hand, is told to go or told to stop at any point... a slave. As a result the motor has to be driven well beyond what is necessary to ensure that it moves (and stops) when told. The stepper motor controller doesn't need feedback. When one is yelling he/she is not interested in feedback. A stepper motor controller is, in effect, yelling at the motor.

A good analogy would be a restaurant:

???A brush type motor is like a buffet... You eat what you want when you want. The amount of food available is all that is controlled.
???A brushless motor is like a fancy sit-down restaurant where the waiter is waiting for you to tell him when to serve you. He does his best to serve you when you want to be served. He only has control as to the amount of food you get to eat.
???For a stepper motor, the waiter says "YOU EAT NOW!" or "YOU GO HOME NOW!"... I think you get my point.

Feedback is important
Even in a stepper motor feedback can be desirable. For instance it would be good to know if the motor stops listening (i.e., stalls). We can look for feedback on the state of the motor by polling a third party such as a position sensor. Or we can look to the motor itself for rotational information. This can be done in the form of motor current monitoring as a reflection of back electro-motive force (Back EMF or BEMF). Or we can look directly at BEMF.

External components to monitor motor position can add cost to the system. If we can get what we need without adding components or cost then we will. Our mantra... "More Features with Less Cost" is a good thing. After all, we are engineers.

The L9942 is an integrated stepper motor driver for bipolar stepper motors used in automotive headlamp leveling. Among its features is (quoting from the datasheet) "a programmable current profile look-up-table to allow for flexible adaptation of the stepper a motor characteristics and intended operating conditions." In other words it can do full stepping, half stepping, and micro-stepping. The L9942 micro-stepping mode provides for 32 programmable current regulated steps over 360 electrical degrees. That translates to eight different levels of current per quadrant.

Figure 1: L9942 microstepping mode.

Each step current is regulated by pulse-width modulation (PWM) control. The PWM on-time is fixed by an oscillator. The off-time is set by the current measured. A current mirror feedback provided from the high side switches is compared to a preset (programmable) current value through a look-up table. When the current in the phase matches the value in the look-up table the phase is turned off until the next PWM on-time. As a result a current sine wave is approximated in 32 steps through PWM control of the outputs.

Figure 2: L9942 current regulation block diagram.

Stall detection methods
Of the two methods previously described, monitoring motor current for the absence of back EMF is more indirect. During stall, the motor current rises quickly because the back EMF is absent. Lack of BEMF does two things. First, it increases the potential current in a winding at a given voltage per Ohm's law. Secondly, it increases the rate of change of the current in the windings because the rate of change of current in an inductor is proportional to the voltage across the inductor. With little or no BEMF in a motor winding the current both rises, and rises quickly.

Figure 3: Typical motor phase winding components.

1???2???3?Next Page?Last Page

Article Comments - Detect stepper motor stall with back...
*? You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.

Back to Top