If you're interested in a board of the alpha run please let me know here: https://forms.gle/S7gtZfyXZeQ7XbT29
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.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Great achievement ! Waiting for your opensource project on github
Are you sure? yes | no