SLVA416A September   2010  – September 2021 DRV8424 , DRV8812 , DRV8813 , DRV8818

 

  1.   Trademarks
  2. 1Introduction
  3. 2Full Step vs. Microstep
    1. 2.1 The Full Step
    2. 2.2 The Micro Step
  4. 3Application Block Diagram
    1. 3.1 Microstepping Indexer
    2. 3.2 Microcontroller Side Control Signals
    3. 3.3 Microstepping Engine Algorithm
  5. 4Example Plots
  6. 5Revision History

Introduction

Bipolar stepper motors are often designed to be driven at full steps. However, it is a known fact that when each step is divided into multiple and smaller steps (referred to as micro steps), better motion quality can be observed. The application of microstepping to practically any stepper application allows for other improvements such as:

  1. Better torque response
  2. Less vibration
  3. Less resonance incidence

High resolution microstepping can be achieved by modulating the VREF analog inputs provided for current regulation setting in the driver. All which needs to be done is to apply an analog waveform to said reference voltage inputs, and the winding current magnitude will be regulated to follow the respective input. Generating this waveform can be accomplished by the utilization of a DAC output such as the ones found on an MSP430 microcontroller. Putting all of this together gives us a series of advantages such as:

  1. Degrees of microstepping can be made as large as there is resolution on the DAC block. With a 12 bit DAC, you could have up to 4096 levels of microstepping. Far much more than most applications should require.
  2. Any waveform, however intricate, can be encoded into the VREF analog inputs. This could be used to resolve any magnetic non linearity within the stepper motor itself.

In this application note example we will detail the mechanisms put in place to achieve high resolution microstepping by utilizing a microcontroller, such as the MSP430F1612, in combination with a dual H-bridge DC motor drive device with an output current regulation function. The same concept can also be applied to two single H-bridge devices.