Hi,
I have configured four PWM signals along with their complementary signals (PWM1A_1B, PWM2A_2B, PWM3A_3B, PWM4A_4B) using the PWM (Variable) Generator block (used F280039c mcu). I have set the same switching frequency for all signals with a 50% duty cycle. However, when comparing PWM1A and PWM2A, I noticed a phase difference of 19ns, even though I did not add any phase shift for channels 1 and 2.
For channels 3 and 4, I intentionally added a 23-degree phase shift. However, I don’t understand why there is an unintended phase shift in PWM2A.
To verify my configuration, I created a code in CCS (Code Composer Studio) and ran it on the F280039C MCU. The results showed no phase difference between the signals, confirming that the issue is specific to my PLECS model.
Could you please help me identify the error in my PLECS model and suggest a solution? I have attached the figures for reference.
Thanks for your support!