This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335 HRPWM 180º delay

Other Parts Discussed in Thread: TMS320F28335

Hi,

I am trying to configure the HRPWM of a TMS320F28335 to in the Simulink environment so that S1 and S2 are complementary with a certain dead band.

The switching frequency is 100 kHz and I would like HRPWM1 and HRPWM2 to be delayed 180º, so I have set the Timer Period to 750 and the delay of the PWM2 to 750 as well (I am using the up-down counting mode).

Below you can see the parameters of each PWM:

  • PWM1:

  • PWM2:

My problem is that when I apply the mentioned delay, the dead time between both PWMs is not the same on both edges of the pulses. The figures below show this difference in the dead times.

    

I have tried to increase the phase offset value but whenever I put more than 750 the code is not generated properly. 

Do you have any idea why is this happening?

Many thanks in advance.

Eneko