Undervoltage, overvoltage and overcurrent protection

How input-window lockout and current limiting are built from comparators, dividers and a pass element, with the equations needed to size them.

UV/OV window comparator

The input rail is scaled by a resistor divider and compared against an internal bandgap reference. The pass FET (or the converter's switching) is enabled only while VIN sits above the UV threshold and below the OV threshold. One three-resistor string sets both limits.

Three-resistor divider feeding UV and OV comparators that gate a pass FET VIN Q1 pass FET Gate driver charge pump VOUT Load R1 R2 R3 UV sense OV sense VREF + − UV comp − + OV comp UV_OK OV Fault logic UV_OK AND /OV + deglitch EN
Figure 1. Window comparator. Blue blocks are typically inside the controller IC (eFuse, hot-swap controller, ideal-diode controller or PMIC); R1–R3 are external.

How it works

$$\begin{aligned}V_{\text{UV}}&=V_{\text{REF}}\times (R_{1}+R_{2}+R_{3})/(R_{2}+R_{3}) \\ V_{\text{OV}}&=V_{\text{REF}}\times (R_{1}+R_{2}+R_{3})/R_{3}\end{aligned}$$

Worked example: 12 V automotive input

Target UV ≈ 6 V and OV ≈ 18 V with \(V_{\text{REF}}=1.2\ \text{V}\). That needs a total-to-(R2+R3) ratio of 5 and a total-to-R3 ratio of 15.

$$\begin{aligned}\text{Pick}\ R_{3}&=10\ \text{k}\Omega \to R_{\text{total}}=150\ \text{k}\Omega \\ R_{2}+R_{3}&=30\ \text{k}\Omega \to R_{2}=20\ \text{k}\Omega \\ R_{1}&=150-30=120\ \text{k}\Omega \\ \text{Divider current at}\ 12\ \text{V}&\approx 80\ \text{µA}\end{aligned}$$

Check the result against worst-case reference tolerance and 1% resistors. The UV trip must stay below the minimum cold-crank voltage you need to ride through, and the OV trip must stay below the downstream parts' absolute-max rating with margin for the trip delay.

Hysteresis

A converter starting up draws current, which drops VIN across the source impedance. Without hysteresis that drop re-trips the UVLO and the system oscillates on and off. Many parts solve this with a switched current sink on the EN/UVLO pin, which lets the hysteresis be set independently of the threshold.

UVLO pin with a switched hysteresis current sink controlled by the comparator output VIN RTOP RBOT EN / UVLO pin IHYS + − VREF UV_OK → enable sink ON while UV_OK is low
Figure 2. Current-sink hysteresis. While the device is off, IHYS pulls the pin down, so VIN must rise higher to turn on. Once enabled, the sink turns off and the pin jumps up, so VIN must fall further to turn off.
$$\begin{aligned}V_{\text{FALL}}&=V_{\text{REF}}\times (1+R_{\text{TOP}}/R_{\text{BOT}}) \\ V_{\text{RISE}}&=V_{\text{FALL}}+I_{\text{HYS}}\times R_{\text{TOP}} \\ \Delta V_{\text{HYS}}&=I_{\text{HYS}}\times R_{\text{TOP}}\end{aligned}$$

Example

\(V_{\text{REF}}=1.2\ \text{V}\), \(I_{\text{HYS}}=20\ \text{µA}\). Target turn-on at 7 V and turn-off at 6 V.

$$\begin{aligned}R_{\text{TOP}}&=1\ \text{V}/20\ \text{µA}=50\ \text{k}\Omega \\ R_{\text{TOP}}/R_{\text{BOT}}&=6/1.2-1=4 \\ R_{\text{BOT}}&=12.5\ \text{k}\Omega\end{aligned}$$
Hysteresis loop of enable versus input voltage VIN EN on off VFALL VRISE ΔV_HYS
Figure 3. The loop the input must traverse to turn on and off.

OV pins often have fixed internal hysteresis (a few percent of the threshold) rather than a programmable current, since OV recovery is less sensitive to source impedance.

Timing and fault response

Overcurrent protection

OCP measures load current, compares it to a limit, and then either cuts off the pass element or regulates it to cap the current. The sensing method and the response after detection matter more than the comparator itself.

High-side shunt with current-sense amplifier, comparator, fault timer and pass FET VIN RSENSE Q1 Gate driver VOUT Load CSA gain G Kelvin taps G·I·RS + − VTH Fault timer trip / retry / latch CT Error amp linear limit loop optional: regulates gate to hold I = ILIM
Figure 4. High-side shunt OCP as used in eFuses and hot-swap controllers. The comparator path detects the fault; the dashed path (where present) actively limits current while the timer on CT decides how long that is allowed to last.

How it works

$$\begin{aligned}I_{\text{LIM}}&=V_{\text{TH}}/(G\times R_{\text{SENSE}}) \\ P_{\text{SENSE}}&=I^{2}\times R_{\text{SENSE}} \\ P_{\text{Q1}}\,(\text{during limit})&\approx (V_{\text{IN}}-V_{\text{OUT}})\times I_{\text{LIM}}\end{aligned}$$

Example: 10 A limit

$$\begin{aligned}R_{\text{SENSE}}&=2\ \text{m}\Omega \to V_{\text{SENSE}}=20\ \text{mV at}\ 10\ \text{A} \\ G&=50\to V_{\text{TH}}=1.0\ \text{V} \\ P_{\text{SENSE}}\ \text{at}\ 10\ \text{A}&=0.2\ \text{W} \\ \text{Hard short at}\ 14\ \text{V}:\,P_{\text{Q1}}&\approx 14\ \text{V}\times 10\ \text{A}=140\ \text{W}\end{aligned}$$

That last number is the reason for the timer. Q1 can only dissipate 140 W for as long as its SOA curve allows at the expected case temperature, often a few milliseconds. Size CT so the fault time falls inside the SOA with margin, and make sure it is still longer than the inrush period charging the output capacitance.

Response modes

ModeBehaviourTypical use
Circuit breakerTurns off as soon as the threshold is crossed (after a short deglitch). No current regulation.Simple load switches, fast fuse replacement
Constant current + timerRegulates current at ILIM; turns off if it persists past the timer.Hot-swap, eFuses, capacitive loads
FoldbackAllowed current drops as VOUT collapses, reducing FET dissipation into a short.Linear regulators, hot-swap with tight SOA
HiccupShuts down and periodically retries, keeping average power low during a persistent short.DC/DC converters, PoE, auto-retry eFuses
Cycle-by-cycleTerminates each switching cycle when the inductor or switch current hits the peak limit.Switching regulators (peak current-mode control)
Output voltage versus current for constant-current and foldback limiting IOUT VOUT ISC ILIM regulation constant I foldback
Figure 5. Foldback cuts short-circuit current to ISC, trading lower FET stress for a startup risk: a heavy or capacitive load can get stuck on the foldback curve and never come up.

Current sensing methods

MethodStrengthsWeaknesses
Shunt resistorMost accurate (≈1–2%), low tempco, independent of FET.I²R loss, board area, needs Kelvin layout and a CSA with adequate common-mode range.
RDS(on) sensingNo extra loss or parts.RDS(on) varies part to part and rises roughly 1.5–2× from 25 °C to 125 °C, so the limit is loose.
Inductor DCRLossless in buck converters; RC network matches the L/DCR time constant.Copper tempco (~0.39%/°C) needs compensation; sensitive to inductor tolerance.
SenseFET / current mirrorIntegrated in eFuses and smart high-side switches; scaled replica of main current.Accuracy typically 5–15%, depends on matching and low-current behaviour.

Design checklist