SNVA941A June 2020 – November 2022 LM5156 , LM5156-Q1 , LM51561 , LM51561-Q1 , LM51561H , LM51561H-Q1 , LM5156H , LM5156H-Q1
The current sense resistor is selected to avoid current limiting during the minimum supply voltage, VSUPPLY_min, and the maximum load current, ILOAD_max. Due to component tolerances and power loss of the regulator, the peak current limit should be set some margin above the calculate peak inductor current. A margin of 20% to 40% (MI_LIMIT = 0.2) is a good starting point. Equation 5 is used to calculate the desired peak inductor current limit value. In this design example, MI_LIMIT is selected to be 30%.
where
Selecting the correct current sense resistor is an iterative process. The first step is to calculate the maximum current sense resistor, assuming that no external slope compensation is required (RSL = 0 Ω), using Equation 6.
where
Assuming that no external slope compensation is required, the current sense resistor value is calculated using Equation 7.
where
If the calculated RS_wo_sl resistance value is less than the RS_MAX resistance value, the 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 less than 1 kΩ. In applications where external slope compensation is added, RS is calculated using Equation 8.

where
RSL is calculated using Equation 9.
where
If the calculated RSL value exceeds the maximum value of the 1 kΩ, the down slope of the sensed inductor current needs to be reduce. To reduce the down slope of the inductor current, the inductance value of LM must be increased. If the LM inductance value is changed the current sense resistor calculations must be recalculated. If the calculated value of RSL is negative no external slope compensation is required.
For this design example a current sense resistor value is selected to be 4 mΩ (RS), which is the nearest standard resistor value to the calculated value in Equation 7. This value is selected to keep from triggering current limit protection during load transients. No external slope compensation is required and RSL is selected to be 0 Ω. The peak inductor current limit is calculated using Equation 10.
The peak inductor current limit is constant, regardless of the supply voltage, because there is no external slope compensation. For this design the inductor saturation current rating should be greater than 25 A.