LDOs, Dropout and Thermal Design
A microcontroller board runs from a single lithium-ion cell: when full, when empty. It needs . The discrete regulator of Voltage References and Linear Regulators needs 2 to 3 V of headroom and would quit at in. A low-dropout regulator (LDO) keeps regulating down to an input only 0.1 to 0.3 V above its output. It does this with a different pass device, and that change brings its own stability rules. The second half of the lesson deals with what every linear regulator turns its headroom into: heat.
Why the classic regulator drops out early
In an NPN follower the output sits a below the base, and the base drive needs its own headroom, so the minimum is about , roughly to (the classic three-terminal regulators of the 1970s specify about 2 V). The cure is to turn the pass device round: a PNP or p-channel MOSFET in common-emitter or common-source connection, with its emitter or source on the input. Pulling its base or gate down turns it fully on, so the output can rise to within one saturation voltage () or one of the input.
Note the inputs: the common-source pass device inverts, so the divider now goes to the error amplifier's input. Output too low, , the amplifier output falls, rises, more current flows. With the PMOS fully on (gate at 0 V) it is a resistor:
the triode-region resistance from MOSFET Biasing and the MOSFET Switch. Dropout therefore grows in proportion to load current and is worst at low input voltage (less gate drive).
The other LDO numbers
- Quiescent (ground) current : what the regulator itself consumes. A PMOS LDO needs no base current, so stays from about (battery-oriented parts) to a few milliamps, independent of load; a PNP LDO's ground current rises with load and soars in dropout as the PNP saturates.
- PSRR (power-supply rejection ratio), at each frequency. At low frequencies it equals roughly the loop gain, 60 to 80 dB; it falls as the loop gain falls, to 20 to 40 dB at 100 kHz, where the output capacitor takes over. A switching regulator's ripple at hundreds of kilohertz therefore passes an LDO much better than mains ripple does (An Introduction to Switching Regulators). Near dropout, PSRR collapses: there is no gain left.
- Output capacitor and ESR. The output capacitor and the load make a pole at the output, , which moves with load. With a slow error amplifier that is two poles inside the loop. Older PNP LDOs relied on the capacitor's equivalent series resistance to add a zero, , and their datasheets showed an "ESR stability window" (for example to ): a low-ESR ceramic capacitor could make them oscillate. Most current CMOS LDOs are compensated internally to be stable with ceramics of a stated minimum value (often ) as of 2026, but check the datasheet, including the capacitance lost to DC bias in small ceramic packages.
Interactive: what the ESR zero does
A stability sketch of an LDO loop (Stability and Frequency Compensation): of DC loop gain, the error amplifier's pole at , the output pole at and a parasitic pole at . Toggle the zero (the ESR zero) at .
Without the zero the lab shows a crossover at and a phase margin of only : stable, but with a large ringing on every load step. With the zero at the margin rises to (crossover ) and the phase never reaches . Move , the output pole (lighter load means a lower ), and see the margin change: the reason LDO datasheets specify stability over a range of load current and capacitance.
Cross-check with SPICE: measuring dropout
A 3.3 V LDO in SPICE: the course PMOS model scaled to (so ), a ideal reference standing in for a bandgap, the course op-amp macro-model with its output limited to , , and a load (). The fine sweep measures where the output has fallen 1 %; the coarse one shows the gate voltage.
cat > ldo.cir <<'EOF'
* 3.3 V LDO: PMOS pass device (course PMOS model, W/L = 1000), 1.20 V reference
.model MP PMOS(Level=1 Vto=-1 Kp=1m Lambda=0.02)
VIN vin 0 5
VREF ref 0 1.2
* error amplifier: course macro-model, output limited to 0 ... vin
GA 0 n1 fb ref 1m
RA n1 0 100meg
CA n1 0 159.2p
BA g 0 V = max(0, min(v(n1), v(vin)))
M1 out g vin vin MP W=1000u L=1u
R1 out fb 17.5k
R2 fb 0 10k
RL out 0 16.5
.control
dc VIN 3.0 5.0 0.01
meas dc vin_1pct when v(out)=3.267 rise=1
let vdrop = vin_1pct - 3.267
print vdrop
dc VIN 3.0 5.0 0.5
print v(out) v(g)
.endc
.end
EOF
ngspice -b ldo.cir 2>&1 | grep -E '^(vin_1pct|vdrop|Index|[0-9])'vin_1pct = 3.352626e+00
vdrop = 8.562600e-02
Index v-sweep v(out) v(g)
0 3.000000e+00 2.909897e+00 0.000000e+00
1 3.500000e+00 3.300039e+00 1.403201e+00
2 4.000000e+00 3.300065e+00 2.371720e+00
3 4.500000e+00 3.300079e+00 2.874684e+00
4 5.000000e+00 3.300093e+00 3.377834e+00
The dropout at is . By hand: in dropout , so and . Above dropout the gate rises with the input to keep just right, and the output changes by only from 3.5 V to 5 V (, set by the MOSFET's channel-length modulation and the loop gain). At in, the gate sits at 0 V, so and ; the load then takes and the drop is about , so the output is : no regulation, just a closed switch.
Thermal design
Every watt the pass device burns has to leave through a chain of thermal resistances (Heat in Components), and the junction temperature rises above ambient in proportion:
Datasheets give (junction to case) and a measured on a standard test board (JEDEC JESD51 boards); a real board can be much better or worse, since copper area is the heat sink for small packages. Typical values (as of 2026, check the specific part): SOT-23 about 150 to 250 K/W; SOT-223 about 60 K/W on the JEDEC four-layer test board but 80 to 140 K/W with only a small copper pad (the LM1117 datasheet lists 61.6 K/W and 84 to 136 K/W); TO-220 about 1.5 to 5 K/W junction-to-case (tab), and roughly 60 K/W standing in free air with no heat sink. Keep below the rated maximum (often ) with margin; reliability halves roughly with every 10 to 20 K of extra temperature.
Worked example
Given: a 3.3 V, 0.5 A load; LDO with ; ambient up to ; .
Find: in a SOT-223 () from and from , and the heat sink a TO-220 needs from (, ).
Solve:
Check: from 5 V the SOT-223 is fine with 32 K of margin. From 12 V it would exceed any rating (it would reach thermal shutdown and cycle). A TO-220 on a sink of or better works, but burning 4.4 W to deliver 1.65 W (efficiency about 27 %) is the signal to use a switching regulator first.
import numpy as np
# Thermal: junction temperature of a 3.3 V regulator at 0.5 A
Vout, Iout, Iq, Ta, Tj_max = 3.3, 0.5, 5e-3, 40.0, 125.0
for Vin, pkg, theta_ja in [(5.0, "SOT-223", 60.0), (12.0, "SOT-223", 60.0), (12.0, "TO-220 + sink", None)]:
P = (Vin - Vout) * Iout + Vin * Iq
if theta_ja is None:
theta_ja = (Tj_max - Ta) / P # the total the heat path may have
print(f"{Vin:4.1f} V {pkg:14s} P = {P:.2f} W -> need theta_JA <= {theta_ja:.1f} K/W"
f" (sink <= {theta_ja - 3.0 - 0.5:.1f} K/W after 3.0 + 0.5 K/W)")
else:
print(f"{Vin:4.1f} V {pkg:14s} P = {P:.2f} W -> Tj = {Ta + P * theta_ja:5.1f} C")
# PSRR of the error loop: input ripple reaching the output, single-pole amplifier
A0, GBW, beta = 1e5, 1e6, 1.2 / 3.3
print(" f loop gain PSRR")
for f in [100, 1e3, 1e4, 1e5, 1e6]:
A = A0 / (1 + 1j * f * A0 / GBW)
L = A * beta
print(f"{f:8.0f} Hz {abs(L):9.1f} {20 * np.log10(abs(1 + L)):6.1f} dB") 5.0 V SOT-223 P = 0.88 W -> Tj = 92.5 C
12.0 V SOT-223 P = 4.41 W -> Tj = 304.6 C
12.0 V TO-220 + sink P = 4.41 W -> need theta_JA <= 19.3 K/W (sink <= 15.8 K/W after 3.0 + 0.5 K/W)
f loop gain PSRR
100 Hz 3618.3 71.2 dB
1000 Hz 363.6 51.2 dB
10000 Hz 36.4 31.2 dB
100000 Hz 3.6 11.5 dB
1000000 Hz 0.4 0.5 dB
The PSRR table is the simplest model: all input ripple reaches the output through the pass device and the loop corrects it by . It falls 20 dB per decade with the loop gain of the 1 MHz macro-model; real LDOs do better at high frequency thanks to the output capacitor, which this model leaves out.
Guided lab: dropout and temperature of a small LDO
Hand calculation. For your LDO, read the datasheet's dropout at your load current and ; compute at the highest input you will use.
Simulation. The SPICE dropout sweep and the Python thermal table.
What you would measure. Mount a 3.3 V LDO in a SOT-223 or TO-220 package on a breakout with the datasheet's input and output capacitors. Feed it from a bench supply (current limit 0.6 A) and load it with a , 5 W resistor (about 0.49 A). Step the input down from 5.0 V in 50 mV steps, measuring input and output with two meters at the regulator pins: the output holds 3.30 V (within the part's 1 to 2 % tolerance) until approaches the specified dropout (often 0.2 to 0.6 V at full load, depending on the part), then follows the input. Then hold 5 V in and measure the tab temperature with a thermocouple taped to it after 10 minutes: expect roughly , a few tens of kelvin above ambient for 0.85 W; the meter's and thermocouple's to uncertainty is small compared with the spread in .
Hazards and safe setup. Low voltage, current-limited supply. The regulator tab and the load resistor can exceed : do not touch them, keep them off plastic and paper, and let them cool before handling. Never raise the input towards the part's absolute maximum rating.
Pitfalls
- Assuming dropout is a constant. It scales with load current (and with temperature, since rises when hot).
- Using the datasheet's as gospel. It belongs to a test board; your copper area decides the real value.
- A ceramic output capacitor on an LDO that needs ESR, or a capacitor whose effective value has collapsed under DC bias: both can make the regulator oscillate.
- Forgetting the input capacitor. A long lead from the supply has inductance; without a local input capacitor the LDO's input rings and so does its output.
Practice
- A PMOS LDO has in dropout. What dropout at ?
- An LDO in SOT-23 () makes 1.8 V at 100 mA from 3.3 V, ambient . Find (ignore ).
- Why does PSRR fall at high frequency?
Answer
- .
- ; .
- PSRR at a frequency is roughly the loop gain there, and the error amplifier's gain falls with frequency; above the loop's crossover only the output capacitor and the pass device's isolation are left.
Test yourself
What gives an LDO its low dropout compared with an NPN-follower regulator?
- A better reference
- A PNP or p-channel pass device with its emitter or source on the input, which can be driven fully on
- A larger output capacitor
- Foldback current limiting
An LDO delivers at from in a package with at ambient. Ignoring , is about…
In the SPICE LDO the dropout at was . At you would expect about…
In the LDO loop lab, what did adding the ESR zero at do?
- Lowered the DC gain
- Raised the phase margin from about to about
- Moved the output pole
- Made the loop unstable