Hi,
I am using the LaunchXL-F28069 with a BoostXL-DRV8301 pack to run a BLDC motor. I'm programming via Matlab/Simulink Embedded coder and implemented a sensorless FOC which is working great. However, I'm also looking into a backup BLDC trapezoidal control, which I had implemented on a DRV8312-C2-Kit before.
While the total shunt current measurement is not available, I will use the individual measurements to compute the total current. I now ran into a problem with generating the PWM signals correctly. In order to measure the back-EMF in the unenergized phase both FETs in the respective half bridge need to be turned off. At the same time, a dead band has to be implemented to avoid shorting of the half bridge during the switching events. The PWM signals passed to the booster pack by the launchpad can each be disabled with the forcing to zero input of the simulink block. However, when the deadband unit is activated (active high complementary), it seems to overwrite the forcing to zero input, i.e. even when I enable both inputs for ePWMxA and ePWMxB, the complementary signal (ePWMxB) will stay at logic high level. I remember, that the DRV8312-C2-kit uses the RESET_x pins of the DRV8312 to disable the gates of each half bridge individually, however, the DRV8301 does not offer that option as there is only a single gate enable pin.
Did I miss any option in the ePWM settings or is there maybe an easy workaround?
Thanks for your help,
Matthias