Hi,
I'm reviewing PMP23126 software.
I have questions about softstart at closedloop. The softstart is written at interrupt service routine and there is some lines checking 5% Vref, 10% Vref and others.
1) In below lines for startup, why is there need to load higher valued deadband to PWM1? Could you please explain idea behind it?
if(PSFB_vLVBus_Volts < (PSFB_VOUT_TYPICAL_VOLTS*0.05f)) // 5% Vref
{
if (PSFB_cntlMax < PSFB_IREF_Max_PU)
{
PSFB_cntlMax = PSFB_cntlMax + PSFB_IREF_Max_STEP_PU;
PSFB_cntlMin = PSFB_cntlMin + PSFB_IREF_Min_STEP_PU;
EPWM_setFallingEdgeDelayCount(PSFB_FB_PWM1_BASE, initial_db);
EPWM_setRisingEdgeDelayCount(PSFB_FB_PWM1_BASE, initial_db);
}
2) What is the purpose of Frequency Folding? Why is there need to change PSFB_FB_PWM_PERIOD_TICKS? Could you please explain idea behind it?
// Frequency folding
if(PSFB_freq_fold_enable == 1)
{
.....