SPRADK6 September   2024 TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Challenge of Implementing LLC Control in MCU
    1. 2.1 Frequency Changing Requires Multiple PWM Configuration update
    2. 2.2 No Fixed Timing Relationship Between Control and Switching Frequency
  6. 3Corner Cases and Real-Case Challenges
    1. 3.1 Software Workaround
    2. 3.2 CLB-Based Hardware Workaround
  7. 4Summary
  8. 5References

Frequency Changing Requires Multiple PWM Configuration update

In LLC converter a switching frequency change would require multiple PWM registers to be updated accordingly, including TBPRD, CMPx or TBPHS in multi-phase interleaved topology. Thus, it is necessary to have a mechanism to shorten the CPU cycles needed for updating registers and to sync up the shadow to load active of multiple registers.

In type-4 ePWM, a new global load feature can be used for all the shadow registers if the corresponding GLDCFG[REGx] is set to 1, and all the load from shadow to active register happens simultaneously once the event configured by GLDMODE register happens. The available global load event source is presented in Figure 2-1.

Additionally, in LLC converter, since multiple power switches share the same switching frequency and duty cycle in the converter. The PWMLINK can be enabled by configuring the corresponding bits in EPWMXLINK register. For example, if EPWM2LINK[CMPALINK] is set to 0x0000(EPWM1), then all the writing to EPWM1 CMPA register result in a simultaneous writing to EPWM2 CMPA.

By doing all the procedures above, you could shorten the PWM upgrade time period as much as possible, and also forbidden unexpected shadow to active load before PWM upgrade finishes.

Overall, type-4 ePWM’s new feature would significantly simplify the control of LLC conversion and help reduce the potential risk caused by unexpected PWM behavior.