Current sensing!

A project log for Dagor Brushless Motor Controller

Brushless motor controller for velocity and position control with wireless communication.

David GonzalezDavid Gonzalez 11/30/2020 at 19:241 Comment

If you're interested in a board of the alpha run please let me know here:

The Dagor Controller uses a low-side shunt resistor for current sensing, this posed a challenge to sync the ADC measurement with the on-time of the low-side FET of each phase. With the ESP32's MCPWM unit I managed to do this and get good current readings.

Good current readings:

Bad current readings:

This happens because there's no current flowing through the shunt resistor when the low-side FET of the phase is off.


EM_Hacker wrote 01/01/2021 at 10:01 point

Great achievement ! Waiting for your opensource project on github

  Are you sure? yes | no