Tool/software:
Hello,
In the dual active bridge control application if there is an asymmetric pulse at the start of PWM output and possibly when PWM is turned off, there will be a DC offset in the output which has led to saturation and failed devices.
I have decided to use the TZFRC to disable all PWM outputs when not needed, and to TZCLR when it's time to begin the soft start procedure. I cannot use AQ because the active high complimentary deadband results in high/low output. Stopping or resetting the counter seems to have resulted in bad behavior. I am currently running the Enable check inside PWM1 interrupt, but I don't have to do this.
Since TZ is asynchronous this results in the PWM starting and stopping at any point during the period, which is undesirable.
Desirable behavior is to have a full PWM period on all PWM channels (0 phase shift) when I enable a software flag.
Similarly, a full PWM1 period should complete when disabling the PWM outputs with software flag. Since the phase may not be zero, only PWM1 needs to complete a full period here
Any ideas would be appreciated.