FOCCurrentSensor board

Hey all! I’ve been having issues with current sense accuracy in my application (motor running unloaded at 730rad/s+ with currents typically around 30mA). I haven’t been able to get optimal results with the SimpleFOCShield or with the ESP32s3 internal ADC so I’m designing a dedicated current sense board:

  • 3 x INA240 current sense amplifiers
  • MCP3462R ADC with SPI interface

With the right choice of shunt resistors I’m hoping for <1mA of precision, bandwidth of 20kHz at a 40kHz loop rate.

Keen for any thoughts on the design! Once it’s finished I’ll publish the project on EasyEDA so hopefully it might be of use to people:

2 Likes

If you build it, please let us know how it works out. We don’t support SPI based analog in at the moment, but it would be an interesting feature…

It’s hard to comment on this without knowing the expected current range of operation of the motor but it looks like a good plan.

I am also using an ESP32S3 with the SimpleFOC Shield v3 and currently following the steps to get my motor up and running. I hope it actually works, as I bought it in good faith thinking the ACS712 current sensor was on the board because it was actually suitable!