Matt Hein
It’s no secret that we love stepper motors here at TI. We love them so much that we work to come up with integrated circuits (ICs) and development tools that make stepper motors easier and easier to drive. We have small-form-factor BoosterPacks to encourage prototyping; innovative product features like adaptive decay to eliminate motor tuning; and a wealth of driver ICs with integrated indexers, integrated or external power stages, and the full gamut of protection features.
Stepper motors are unique among their motor comrades because they make position control really, really easy. Brushed and brushless DC motors require closed-loop position feedback in order to control where the rotor is; steppers are driven open loop so that you always know what step the rotor is at. This makes the stepper motor useful for a wealth of applications: stage lighting, security cameras, cash machines, medical analyzers, textile equipment, and scanners and printers. 3-D printing is an awesome example of using stepper motors to control position.
The disadvantage of the stepper motor is the same as its advantage – it is driven open loop. To prevent the motor from stalling, steppers must be driven with enough current so that the motor has adequate torque margin for any situation. This means that stepper motors may run a little bit hot, especially compared to their brushless-DC counterparts. Stepper motors can be very power-hungry.
I spent some time researching how to run a stepper motor more efficiently and asked myself several critical questions:
Leaving the last question aside and hoping for the best, I looked into methods of determining load on a stepper motor. Motor back electromotive force (EMF) seemed promising, as the back-EMF voltage will decrease as the motor is loaded down. At least in theory, you can look at the back EMF and set the stepper-driver output current based on that back-EMF measurement.
My theoretical system magically measures the back EMF and sends the data to the controller. The controller adjusts the stepper-driver output current back into the stepper motor, thereby creating closed-loop operation. The only caveat is that back EMF is only present when the motor is spinning. So this method will not work if the stepper motor is holding position or rotating very slowly.
Back EMF can be difficult to measure in any motor because it gets hidden when the motor windings are energized. As current flows through the winding, the voltage you see across the motor is equal to the back EMF plus the I x R from the resistance of the motor. You would need to back-calculate what the back EMF is, based on what you know about the motor and the current. This calculation method seems pretty difficult, so I don’t want to do it. And I’m very thankful that I don’t have to, because whenever a stepper motor is being microstepped, there is a step in which the current through the winding is zero. This “zero current step” seems to be the perfect time to measure the motor back EMF.
Of course, now we need to know when this zero-current step occurs so that we can actually measure the back EMF at the right time. This is very difficult because most stepper drivers with indexers will not tell you each time they reach a zero-current step. So you will either have to find a stepper driver that automatically samples the back EMF, or go the difficult route and manually drive the stepper motor with two independent H-bridges and control each step of the current waveform with the controller.
: The DRV8711 is a stepper gate driver that actually samples the back EMF for you.
In the next installment of this blog series, I’ll go into detail about my prototype of a power-efficient stepper driver using the DRV8711 BoosterPack and MSP430™ LaunchPad Value Line development kit.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated