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.

epwm skipping

Hi all,

 

I'm working on a converter that requires variable frequency pulses. I need four outputs, so I synchronized two epwm modules and then just modify the period and phase shift depending on the operating point of the converter. The issue I'm having is that it is that the switching order is important, and synching two epwm modules means that there is a non-zero probability that a switching operation could get skipped. While the manual says 'this skipping is considered normal operation', it is anything but for me.

 

As far as I can tell I have two possibilities, ensure the TBPHS value is such that it failsafe when it jumps to it after a synch command or detect the skipped operation and disable the controller. The first isn't really possible for me and the second isn't ideal (although may be my only option). Idealy I would be able to control more than two outputs on an epwm module, but as far as I know that isn't possible. I'm fairly new still to code composer and so I just thought I'd check if there was a better way to do this.

 

Many thanks for any help,

 

JR

 

  • I figured it out.  The skipping was due to the fact that I had the shadow mode enabled for both epwm modules so that they both updated at the zero crossing; however, since they were phase shifted from each other then one was being updated before the other.