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.
Hi,
I am using 3 PWMs phase shifted by 60 degree. Everything is good at all frequency except when I try to jump frequency (special control) from a period of 40 (365KHz) to 400 (37KHz), I have a shoot through on some phases. See picture.
I am using Phase sift load, with link to EPWM1 for period and CMP in up mode. I normally cannot use up/down or dead band as I also have different mode of operation of PWM (Frequency and constant ON time mode). PWMs are not always complementary.
I am attached the code based on epwm_ex3_synchronization example. In this example, you can change the variable "open_modulo" from 40 to 400 to see the behavior. I also have attached the code.
Let me know if there is a way to avoid these situations. Shoot through is very catastrophic from our device, we need to make sure it will never occur.
Thanks,
Arnaud
EPWM1 is D0,D1
EPWM2 is D2,D3
EPWM3 is D4,D5
Hello Ahugron Hugron,
I've located what is causing your shoot-through, and I've got what I believe is the simplest way to solve it.
First, notice that it's only ePWM2 and 3 that have this behavior, not 1. That's because it's caused by synchronization. In the current settings, when ePWM1 reaches ZRO, ePWM2 and 3 are instantly reset to 0+Phase. With a static or slow changing frequency, this behavior isn't a problem- you won't miss anything with it, so long as your CMPx events are not particularly close to the sync event.
With a changing frequency, though, there's a bit more work you need to do.
I have suggestions that should solve this-
I hope this information and these solutions help!
Regards,
Jason Osborn
I just realized I never explained why the synchronization could be causing the problem- sorry about that! See this thread for an in-depth explanation.
Regards,
Jason Osborn