SPRADJ1A June 2024 – August 2024 TMS320F280021 , TMS320F280023 , TMS320F280023C , TMS320F280025 , TMS320F280025C , TMS320F280033 , TMS320F280034 , TMS320F280037 , TMS320F280037C , TMS320F280039 , TMS320F280039C , TMS320F280041 , TMS320F280041C , TMS320F280045 , TMS320F280049 , TMS320F280049C , TMS320F28075 , TMS320F28076 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377S , TMS320F28378D , TMS320F28378S , TMS320F28379D , TMS320F28379S , TMS320F28P550SJ , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK
To avoid sub-harmonics oscillation, slope compensation is required to induced for the inner current loop [1]. For C2000 devices, each CMPSS provides the ramp generator dedicated for slope compensation. As shown in Figure 3-1, the ramp generator produces a falling ramp waveform for the high-reference 12-bit DAC as the negative input of CMPSS. The calculated value from voltage control loop compensator is used to decide the initial value of the ramp register RAMPSTS. After receiving the selected ramp source signal (EPWM1SYNCE in this case), the defined slope value, is subtracted from RAMPSTS on every subsequent CPU cycle. In addition, to filter out the unexpected noise at the VCR signal, the suggestion is to enable the digital filter, which is helpful to avoid the unexpected comparator actions by switching noise. The recommendation is to select the latch output option of CMPSS for the further PWM control, since the latch feature ensures only the 1st comparator event can take effect, regardless of any further events within the same switching cycle. The latched output status of CMPSS is required to be cleared by the same EPWMxSYNCPER signal, to monitor the VCR signal in the new switching cycle.