background image

TIDA-00830 

24V Stepper Motor Design with AutoTune™ 

TI Reference Design 

2

 

 

 

2.  Current Limiting 

In order to properly commutate a stepper motor, the controller device must continuously regulate the 
current through the motor coils at predetermined current values. An overview of the current regulation 
scheme found in the DRV8880 is shown in 

Figure 1 

below.   

 

Sine DAC

VREF

TRQ[0:1]

Device 

Logic

1/Av

Internal

H-Bridge

Sense 

Resistor

PWM Logic

+

-

                             

1

2

3

4

TRQ[1:0] = 00 

– 100%

TRQ[1:0] = 01 

– 75%

TRQ[1:0] = 10 

– 50%

TRQ[1:0] = 11 

– 25%

TIME

V

O

L

T

A

G

E

 

 

Figure 1.  

Single Phase Current Regulation Control Scheme                       

Figure 2.  

1/4 Step Current Regulation Scaled by TRQ Percentage 

 

 
The DRV8880 adjusts the current flowing through each phase of a stepper motor by internally 
comparing a reference voltage generated by the internal sine DAC to the voltage measured across an 
external sense resistor.  This internal sine DAC is scaled based on the value of V

REF

 and has a preset 

table of voltage levels for each micro-stepping state. Current magnitude can be scaled using the 
percent torque inputs TRQ[1:0] as shown in 

Figure 2 

above.  Adjusting the current magnitude using 

just the TRQ[1:0] bits simplifies the control process by not requiring a change in V

M

 or a change in 

V

REF

.  If the voltage across the sense resistor is larger than the internal comparison voltage, the device 

enters a different decay mode depending on the state of the decay mode setting pins and ATE pin.  
Depending on if the sine DAC table is increasing or decreasing steps will also affect the decay mode 
the device uses.  All of these features included in the DRV8880s current regulation system allow the 
driver to have constant control over how much current is being supplied to the stepper motor.   

 
 

3.  Current Ripple 

While the device is enforcing a specific current level during each step, there is a tradeoff between using 
slow or fast decay modes for current regulation. If the device uses too much fast decay then the level of 
current ripple in the power supply will increase and can result in unwanted noise and vibration in the 
stepper motor.  However, if the device does not use enough fast decay then the current in the motor 
will gradually increase and result in the device not being able to effectively regulate current. This can 
damage the motor and create an uneven driving pattern.  Some stepper motor drivers utilize a decay 
mode called mixed decay to operate while the device is lowering current through the motor windings.  
Mixed decay works by including a percentage of fast decay during t

OFF

 and then the remaining amount 

of t

OFF

 is held at slow decay.  This allows the current to drop quickly during the fast decay interval and 

then slowly dissipate during the slow decay period, thus keeping the current ripple to a minimum. The 
downside to this form of current decay is that each t

OFF

 interval is often enforced regardless of how 

Summary of Contents for TIDA-00830

Page 1: ...motor tuning Simple GUI for driver input control and motor tuning Onboard USB communication for easy connectivity with external controller 100 mil header gives test probe access to all driver input controls Featured Applications Automatic Teller and Money Handling Machines 3D Printers Factory Automation and Robotics Video Security Cameras 1 Introduction For stepper motors a common design problem i...

Page 2: ...rs a different decay mode depending on the state of the decay mode setting pins and ATE pin Depending on if the sine DAC table is increasing or decreasing steps will also affect the decay mode the device uses All of these features included in the DRV8880s current regulation system allow the driver to have constant control over how much current is being supplied to the stepper motor 3 Current Rippl...

Page 3: ...the current decay Each drive cycle has a mandatory tBLANK interval to drive the motor Once the tBLANK interval has elapsed the device can continue with the remainder of the tDRIVE interval if it has not hit the current limit ITRIP or stop driving and begin decaying current if the current limit has been reached based on whichever decay setting AutoTune chooses tBLANK tDRIVE tSLOW tOFF tFAST ITRIP I...

Page 4: ...d from 100 to 25 torque using AutoTune and Slow Fast decay modes In Figure 6 AutoTune is being used to quickly adapt to the change in required torque and keep the regulation pattern constant Minimal current ripple is observed during the lower current steps Figure 7 uses a fixed decay setting where the current decreases more slowly through the winding until it falls below the current limit Figure 6...

Page 5: ...r to start drawing less current from the power supply If the motor were tuned at room temperature and without any load that same tuning may no longer be ideal once temperature increases AutoTune can actively adapt to changes in motor resistance caused by the increase in temperature Using a QSH 4218 41 10 035 stepper motor running at 1000 PPS under loaded conditions for 350 seconds at 1 8 micro ste...

Page 6: ...o 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 indemn...

Reviews: