Motor Control with B-G431B-ESC1: Unusable ADC current sensing resolution for small currents
Hello,
I want to use the B-G431B-ESC1 board to control a small motor with FOC.
After looking at the example project from the Motor Control Workbench, I set up the current sensing. In CubeIDE, I connected the motor phases to the OPAMP inputs. The OPAMP outputs are connected to ADC inputs. The OPAMPS are set in PGA mode with a gain of 16.
The motor only draws between -2A to +2A. I understand that the current needs to be polarized because the ADC needs a positive input voltage. The polarization resistor network on the B-G431B-ESC1 seems to be designed to work from -40A to +40A. That means that the 12 Bit ADC can only measure the current with a resolution of roughly 30mA. I checked my calculation with the calculator in the Motor Control Workbench. This resolution is too large to result in a good FOC when controlling the currents.
What are my options to increase to ADC resolution?
I can only think of changing the polarization resistor network but that means soldering the really small SMD resistors.
Are there other options?
Best regards
Michael S.
