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.

How to do regenerative braking on DRV 8312 using PM sensorless project?

I am working on a project in which I have to do regenerative braking using the DRV 8312 kit and a PMSM BLDC motor.

I would like to know if anyone can assist/was successful in doing so. In terms of altering the code itself. Thank you.

  • In most cases, you can regenerate by simply commanding a lower speed than the motor is running. In terms of the current in a field-oriented system, this causes the commanded value of the q-axis current to change polarity, which changes the polarity of the torque. So if the speed is one polarity and the torque is a different polarity, then you have energy coming back from the motor into the electric drive. Be careful what you do with this energy, as it can result in an over-voltage situation that can blow up your power supply or bus capacitor.
    Regards,Dave