Support Resources Webinars Using the F28379D for Complex PWM Gating Signal Generation

Using the F28379D for Complex PWM Gating Signal Generation

How to use the X-Bar, PWM trip settings, ePWM, trip zones, etc.

The F28379D is capable of generating very complex PWM gating signals. Trying to make sense of it all can require extreme mental gymnastics. With PSIM’s code generation tools, we will help simplify this process so that you can easily simulate and move to the hardware stage with confidence.



  • You can use PWM waveforms to trigger other PWM waveforms with different logic settings
  • You can trigger a PWM from an analog current feedback using the onboard comparators
  • You can set up slope compensation for peak current control

To accomplish the above topics we use and set up THESE SPECIFIC FEATURES using PSIM embedded code generation:

  • X-BAR
  • Trip zone settings
  • Multiple trip sources
  • Using trip sources to set a PWM high, low, toggle, etc. on the carrier rising or falling slopes.
  • Comparator initialization
  • Setup slope compensation for peak current control

We generate the code with PSIM and verify the operation with a real-time Hardware-in-the-Loop simulation using a Typhoon HIL600 and a TI F2879D controlCARD.



  1. A bi-directional phase-shifted full-bridge converter with peak current mode control and an active secondary controlled by the HIL simulation with real control hardware and code.
  2. The forward direction features peak current control from the DC input current. The DC input current toggles the phase-shift to transfer more or less power to the secondary. This phase-shifted waveform can be mapped to the X-BAR to generated the active rectifier waveforms.
  3. In the reverse direction, we control the secondary side with a phase-shifted constant duty cycle we then map to the X-Bar again to generate new gating waveforms for the full-bridge circuit.


If none of this makes sense, GOOD, watch the webinar recording and then then it will make sense.