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

V_UV = VREF × (R1 + R2 + R3) / (R2 + R3) V_OV = VREF × (R1 + R2 + R3) / R3

Worked example: 12 V automotive input

Target UV ≈ 6 V and OV ≈ 18 V with VREF = 1.2 V. That needs a total-to-(R2+R3) ratio of 5 and a total-to-R3 ratio of 15.

Pick R3 = 10 kΩ → R_total = 150 kΩ R2 + R3 = 30 kΩ → R2 = 20 kΩ R1 = 150 − 30 = 120 kΩ Divider current at 12 V ≈ 80 µA

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 R_TOP R_BOT EN / UVLO pin I_HYS + − 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.
V_FALL = VREF × (1 + R_TOP/R_BOT) V_RISE = V_FALL + I_HYS × R_TOP ΔV_HYS = I_HYS × R_TOP

Example

VREF = 1.2 V, IHYS = 20 µA. Target turn-on at 7 V and turn-off at 6 V.

R_TOP = 1 V / 20 µA = 50 kΩ R_TOP/R_BOT = 6/1.2 − 1 = 4 R_BOT = 12.5 kΩ
Hysteresis loop of enable versus input voltage VIN EN on off V_FALL V_RISE Δ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 R_SENSE Q1 Gate driver VOUT Load CSA gain G Kelvin taps G·I·R_S + − V_TH Fault timer trip / retry / latch C_T Error amp linear limit loop optional: regulates gate to hold I = I_LIM
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

I_LIM = V_TH / (G × R_SENSE) P_SENSE = I² × R_SENSE P_Q1 (during limit) ≈ (VIN − VOUT) × I_LIM

Example: 10 A limit

R_SENSE = 2 mΩ → V_SENSE = 20 mV at 10 A G = 50 → V_TH = 1.0 V P_SENSE at 10 A = 0.2 W Hard short at 14 V: P_Q1 ≈ 14 V × 10 A = 140 W

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 I_OUT VOUT I_SC I_LIM 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