SLOA293A September   2020  – October 2021 DRV8424 , DRV8426 , DRV8428 , DRV8434 , DRV8434A , DRV8434S , DRV8436 , DRV8436E , DRV8889-Q1

 

  1.   Trademarks
  2. 1Introduction
  3. 2Various Factors Affecting Stepper Accuracy
    1. 2.1 Mechanical Factors
    2. 2.2 Electrical Factors
      1. 2.2.1 Stepper Driver Channel-to-Channel Current Matching
      2. 2.2.2 Stepper Driver Decay Mode
      3. 2.2.3 Microstepping Levels
      4. 2.2.4 Stepper Driver Current Sense Accuracy
  4. 3Conclusion
  5. 4References
  6. 5Revision History

Stepper Driver Channel-to-Channel Current Matching

A stepper motor driver has two electrical current windings and each winding is typically controlled with an H-Bridge. As Figure 2-1 shows, the stepper motor driver applies current waveforms approximating a sine wave into one coil (IA = coil A current) and a cosine wave into the other coil (IB = coil B current).

GUID-2B9D2B09-A6AF-4187-BE6A-E2FFA0CCC0F2-low.jpg Figure 2-1 Stepper Motor Coil Current Waveform

The output torque and angular position of a stepper motor are controlled by the magnitude of the currents flowing thorough the two windings. The output current of a stepper motor driver can be expressed as:

GUID-2AF1D9B5-11D2-47C4-880F-3B80A304FFB7-low.jpg

The angular position can be expressed as:

GUID-D89A12EE-6ED6-485C-8559-0447C5C99020-low.jpg

To ensure that the output current is constant and the incremental angle is the same in each microstep, ideally one coil current should be a pure sine wave, and the other coil current should be a pure cosine wave, phase-shifted by 90° from the other. The two coil currents must maintain this relation as much as possible, and any mismatch from ideal values will cause non-uniformity in the angular position increments and will lead to uneven output torque. The motor will step by a different amount of angle at each microstep, leading to position inaccuracies. Also, at higher speeds, the inaccuracies can cause short-term speed variations within a single rotation of the motor, which can lead to an increase in motor vibration.

As an example, assume a situation where IA and IB are both 1 A, such that the expected electrical angle of the stepper motor is 45° and the expected output current is 1.414 A. If the coil B current deviates by +5% from the expected value, the angle becomes 46.4° instead, which is 3% higher than the expected value and might be enough to distort the quality of image in a security camera application or make text unreadable. The output current also increases by 2.5% from the target value, decreasing the efficiency of the system.

Most legacy stepper drivers have a channel-to-channel current accuracy of ±5% or worse. However, the DRV84xx family of stepper drivers from Texas Instruments (such as the DRV8428, DRV8426, DRV8424, DRV8434, DRV8434A, DRV8434S, DRV8889-Q1, DRV8899-Q1, DRV8436, and so forth) have an improved channel-to-channel current accuracy of only ±2.5% in worst case, which results in excellent stopping accuracy of the stepper motor.

Figure 2-2 shows the stopping accuracy of DRV8424 running at 1000 pps speed with 1/8 microstepping, 2-A full-scale current setting and smart tune ripple control decay mode. The plot shows ±0.03° maximum angular error while driving an unloaded stepper motor with 1.8° step angle. For a motor with 1.8° step angle, ±0.05° or less stopping accuracy is considered excellent.

GUID-F33DF83B-0F6F-43D4-8EAB-EE77D8E1BC3B-low.jpg Figure 2-2 Stopping Accuracy of DRV8424