Part Number: TMS320F28379D
Other Parts Discussed in Thread: TIDM-1001
Tool/software: Code Composer Studio
Hi, everyone!
I need to perform the soft-start on LLC resonant converter, for this, I plan to initialize TBPRD with a value that corresponds to the desired start-up frequency (900 kHz) and gradually ramp it up to a steady-state operating frequency (400 kHz). I have written a code snippet for ramp-up operation, but I don't know from where and how to run Soft-start operation (In ADC ISR or State Machine ISR), as it has to been performed only once when the converter is powered up. Below is my code for TBPRD ramp-up operation (Period = TBPRD, MaxP = TBPRD max). Moreover, my ADC ISR is running at 80 kHz and I plan to run the state machine on Timer 0 (5ms Period).
Period = Period +_IQ(0.001);
if(Period >= MaxP)
Period = MaxP;
Regards
Abhinav
