SNVA866A February 2019 – January 2023 LM5155 , LM5155-Q1 , LM51551 , LM51551-Q1
The current sense resistor is selected to avoid triggering peak current limit protection when the minimum supply voltage is present, VSUPPLY_min, and supplying the maximum output power, POUT_total. Due to component tolerances and inefficiencies of the regulator, the peak current limit is set some margin above the calculated peak current of the transformer primary winding. A margin of 20% to 30% (MI_LIMIT=0.2-0.3) is a good starting point. Equation 9 is used to calculate the desired peak switch current limit value. In this design example, MI_LIMIT is selected to be 30%.
Selecting the correct current sense resistor is an iterative process. The first step is calculating the maximum current sense resistor value, assuming that no external slope compensation is required (RSL = 0Ω). The maximum current sense resistor value is selected using Equation 10.
where
Assuming that no external slope compensation is required, the current sense resistor value is calculated using Equation 11.
where
If the calculated RS_wo_sl resistance value is less than the RS_MAX resistance value, then RS_wo_sl is selected for the current sense resistor value (RS). If the calculated RS_wo_sl resistance value is greater than the calculated RS_MAX resistance value, there are two approaches to take; decrease the current sense resistor value or add external slope compensation.
External slope compensation is added by setting RSL to a non-zero value, but less than 1kΩ. In applications where external slope compensation is required, RS is calculated using Equation 12.
RSL is calculated using Equation 13.
where
If the calculated RSL value is negative, the internal slope compensation is adequate and the additional slope compensation is not required. If the calculated RSL value exceeds the maximum value of the 1kΩ, the down slope of the sensed current needs to be reduce. To reduce the down slope of the primary winding current, the primary winding inductance value of LM must be increased. If the primary winding inductance value is changed the current sense resistor calculations must be redone.
Following the design procedure, a current sense resistor value is selected to be 20mΩ (RS), which is the nearest standard resistor value to the calculated value in Equation 14. No external slope compensation is required and RSL is selected to be 0Ω. The peak current limit of the transformer primary winding is calculated using Equation 14.
where
The peak current limit of the transformer primary winding is constant, regardless of the supply voltage, because there is no added external slope compensation. The saturation current rating of the transformer primary winding is 6A, and is adequate for the selected RS value of 20mΩ.