Part Number: TMS320F280049
Working on a LLC converters, a question regarding the PWM peripheral on TMS320F28004x has come up.
We use burst mode to regulate our converter in operating conditions where standard PFM cannot achieve the required voltage-gains.
When starting our LLC converters, we usually work with a high frequency pulse package to initialize the resonant tank to a steady state and then run from this pre-initialized state.
Now in this new LLC converter I prefer not to go too high with the initial switching frequency during this startup pulses. In order to get the resonant tank into an equilibrium an alternative approach is to startup the PWM a predefined phase angle, thus controlling the trajectory of the resonant tank in the first pulse.
This means still preserving PFM but just starting up PWMs at a predefined counter value.
So the desired sequence would be:
- Set TBCTR of module 0 = <some-predefined-value-of-our-choosing> (primary side FETs)
- Set TBCTR of module 1 = <some-predefined-value-of-our-choosing> (secondary side FETs)
- Run PWM
- Enable PWM output
I have already tried to manually set the counter values, but unfortunately this completely screws up the synchronization between modules and the PWM produces strange waveforms. This led me to the conclusion that this is not the proper way.
We currently use TZFRC and TZCLR registers to enable/disable the PWM outputs. However, since these registers act further down the PWM generation chain, they cannot affect the phase angle at which the outputs get enabled. In our application the phase angle is simply random, which is fine most of the time.
And looking at the reference manual, I don’t really see any other way…
Some other information that might be relevant:
- Peripheral configured in up-count mode
- Module 0 triggers reload on Module 1
- Each module is configured in complementary mode
- The control loop is not run from any PWM triggers and is triggered from a CPU timer
- All registers are shadowed
- We use global reload
How can we solve this challange.
Regards,Bernd