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

No Fixed Timing Relationship Between Control and Switching Frequency

The typical way of achieving LLC control in MCU is to implement a control loop with fixed frequency, so that the interrupts and background loops can all be well organized and responded correctly. However, since the LLC switching frequency is changing from cycle to cycle, the timing relationship between switching and control ISR becomes unpredictable.

 PWM Update Overlapping With
                    Shadow to Active Load Figure 2-1 PWM Update Overlapping With Shadow to Active Load

Traditionally, shadow register is loaded as active whenever the event configured happens. And in type-4 PWM it can be CTR=PRD, CTR-Zero and, and so forth. Thus, in LLC converter it is important to ensure PWM configuration is carefully updated at the beginning or ending of a PWM switch cycle, to guarantee it does not cause any PWM disorder. Ideally the shadow to active load should be forbidden when PWM configuration update happens, so duty cycle, period and phase shift mismatch would not happen.

 Type -4 ePWM Global Load Block
                    Diagram Figure 2-2 Type -4 ePWM Global Load Block Diagram

To solve this problem, one shot load is introduced in C2000 type-4 ePWM. The idea is to add an additional ‘mask’ to the shadow to active load event. The shadow to active load will only be trigger by the load event when GLDCTL2[OSHTLD] is set as 1, and this bit will be cleared automatically once a load happens, to get ready for the next update.

 One-Shot Load Feature Figure 2-3 One-Shot Load Feature