This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8412: How to realize 1/4 stepping

Part Number: DRV8412
Other Parts Discussed in Thread: DRV8711

Dear experts,

The customer plan to use DRV8412 driver a  bipolar stepper motor and want to realize 1/4 stepping. However, They don't know how to give PWMs to achieve it? Would you please introduce the control strategy or  relevant codes?

Thanks!

  • Hi Dylan,

    There may be better options than the DRV8412 depending on the current requirements.

    Can you provide the system voltage, and the stepper motor parameters (rated voltage, current, resistance)?
    With this information, we may be able to suggest better options.

    If the DRV8412 is needed we can point to the DRV8412-C2-KIT schematic as a starting point.
  • Hi Dylan,

    Do you have any additional information about regarding the system voltage and stepper motor parameters?

    Was the DRV8412-C2-KIT schematic sufficient?
  • Hi Rick,

    Sorry for late. The simple and easy solutions are welcome.The peak current is about 3.5A. System is 24V.  DRV8412-C2-KIT is a good starting point. However,  Other MCU is chose to control without current closed loop. The problems customers facing now is output current vibration. The 1/4 stepping output current as follows.Is it because there is no current loop that causes the Issue?  Or control strategies? 

    Best Regards,

    Dylan Zheng

  • Hi Dylan,

    The lack of current control loop is likely causing this. Without a current control loop, the back EMF of the stepper can cause the current to increase or decrease at some steps.

    Control strategies would include monitoring the current to determine when to drive and regulate, or consider a device like the DRV8711 with external FETs.

    The BOOST-DRV8711EVM is a good example. The EVM uses dual N-channel FETs to reduce the size and can operate from 8 to 52V, with 4.5A current per winding. A SPI interface is required.
  • Hi Rick,

    Thanks. That's very helpful.

    Best Regards,

    Dylan Zheng