Hi all,
I am using simplefoc v2.1.1.
H/W is a customized bldc driver board with stm32f103cb.
Driver is TI drv8313PWP, phase Current OPA is INA240A2.
The problem I met is current log is not correct, when I blocked the motor or motor went into targeted angle, the Iq and Id is random. So, I used the scope to detect the INA240A2 output when then motor went to targeted angle, log shown below:
U2, U3 INA240A2 pin 8 output
Current sensor Sch shown as below
UART log shown as below