IHM08M1 - Issues with the Over Current Protection (OCP)
Hello all,
I am developing a position control for a 48V BLDC motor here. The hardware I'm using is an IHM08M1 motorshield and a NUCLEO-H743ZI2 microcontroller board. Since I use the Ethernet functionality of the Nucleo board (and the RMII has overlaps with other pins), the two boards are not plugged to each other but initially only wired with the necessary pins.
Now I am sitting in front of two blown MOSFETS (phase A) on the motor board. Actually the OCP should pull the BKIN pin from logical 3.3V to GND when the current is greater than 30A. Which would then cause the PWM signal at timer 1 to be turned off
See UM1996 (Getting Started with the IHM08M1). On page 17/29 the following is written: "Over Current Protection (OCP) is implemented by hardware with a detection circuit. The current is compared with an embedded current reference (by the MCU) and the output generates a fault condition at the BKIN pin that goes to ground. This pin, connected to STM32 Nucleo board (BKIN Timer function), detects this condition and immediately disables the driving signals (see the schematic below)."
According to Figure 12, the electronic circuit is as follows:
If I understand this correctly, the reference voltage Vref for the OCP cannot be set (via a signal from the MCU), but is always according to the simple voltage divider 3.3/11 = 0.3V. Which corresponds to a limit current of 30A with a shunt resistor of 0.01Ohm, where BKIN from 3.3V to GND is set.
Unfortunately this mechanism does not work. Even at a current of 40A BKIN is still HIGH (3.3V). That's why the transistors of one phase have been destroyed in case of a controller fault now. I made a cross check by applying for the signal CURRENT_REF at pin PB4 (CN10_27) the for 30A corresponding reference voltage (30A*Rshunt*5.18). As soon as this current is exceeded, CPOUT at pin PA12 (CN10_12) switches from GND to 3.3V. So the current is obviously detected correctly via the shunt resistor (which is also confirmed by the readout of the Curr_Fdbk signals at the ADC).
Does anyone have any idea why the BKIN protection mechanism is not triggering properly?
Since I can't plug the boards on top of each other, could possibly the fault be in a non-transmitted signal (the wording with the specified signal by the MCU for the OCP in the UM1996 confuses me)?
The OCP circuit actually only needs the 3.3V supply voltage from MCU and IHM08M1 (pin C7_12) to work properly?