TExcelTAD
Home › Analog Electronics: Diodes, Transistors & Op-Amps › LDOs, Dropout and Thermal Design

LDOs, Dropout and Thermal Design

A microcontroller board runs from a single lithium-ion cell: 4.2 V4.2\ \text{V} when full, 3.0 V3.0\ \text{V} when empty. It needs 3.3 V3.3\ \text{V}. The discrete regulator of Voltage References and Linear Regulators needs 2 to 3 V of headroom and would quit at 5.5 V5.5\ \text{V} 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 VBEV_{BE} below the base, and the base drive needs its own headroom, so the minimum Vin−VoutV_\text{in} - V_\text{out} is about VBE+VdriveV_{BE} + V_\text{drive}, roughly 1.51.5 to 2.5 V2.5\ \text{V} (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 (VCE,satV_{CE,\text{sat}}) or one IRDS(on)I R_{DS(\text{on})} of the input.

+ - + Vref 1.20 V Vin 3.0 ... 5 V M1 PMOS pass gate R1 17.5 kOhm R2 10 kOhm fb Cout ESR Vout error amp

Note the inputs: the common-source pass device inverts, so the divider now goes to the error amplifier's ++ input. Output too low, Vfb<VrefV_{fb} < V_\text{ref}, the amplifier output falls, VSGV_{SG} rises, more current flows. With the PMOS fully on (gate at 0 V) it is a resistor:

Vdropout=IoutRDS(on),RDS(on)≈1k (VSG−∣Vt∣)V_\text{dropout} = I_\text{out} R_{DS(\text{on})}, \qquad R_{DS(\text{on})} \approx \frac{1}{k\,(V_{SG} - \lvert V_t \rvert)}

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 IQI_Q: what the regulator itself consumes. A PMOS LDO needs no base current, so IQI_Q stays from about 1 μA1\ \mu\text{A} (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), 20log⁡10(ΔVin/ΔVout)20\log_{10}(\Delta V_\text{in}/\Delta V_\text{out}) 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, fo=1/(2πRloadCout)f_o = 1/(2\pi R_\text{load} C_\text{out}), 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, fz=1/(2π ESR Cout)f_z = 1/(2\pi\,\text{ESR}\,C_\text{out}), and their datasheets showed an "ESR stability window" (for example 0.10.1 to 10 Ω10\ \Omega): 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 1 μF1\ \mu\text{F}) 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): 60 dB60\ \text{dB} of DC loop gain, the error amplifier's pole at 10 Hz10\ \text{Hz}, the output pole at 1 kHz1\ \text{kHz} and a parasitic pole at 100 kHz100\ \text{kHz}. Toggle the zero (the ESR zero) at 5 kHz5\ \text{kHz}.

806040200-20-40-60-80|L| (dB)-270-180-90090100m1101001k10k100k1Mf (Hz)phase (deg)PM 16.4 degGM 20.2 dB|L| exactphase exactasymptotesunity-feedback closed loop: stable

Without the zero the lab shows a crossover at 3.083 kHz3.083\ \text{kHz} and a phase margin of only 16.4∘16.4^\circ: stable, but with a large ringing on every load step. With the zero at 5 kHz5\ \text{kHz} the margin rises to 48.8∘48.8^\circ (crossover 3.406 kHz3.406\ \text{kHz}) and the phase never reaches −180∘-180^\circ. Move f2f_2, the output pole (lighter load means a lower f2f_2), 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 W/L=1000W/L = 1000 (so k=1 A/V2k = 1\ \text{A/V}^2), a 1.20 V1.20\ \text{V} ideal reference standing in for a bandgap, the course op-amp macro-model with its output limited to 0…Vin0 \ldots V_\text{in}, R1=17.5 kΩR_1 = 17.5\ \text{k}\Omega, R2=10 kΩR_2 = 10\ \text{k}\Omega and a 16.5 Ω16.5\ \Omega load (200 mA200\ \text{mA}). The fine sweep measures where the output has fallen 1 %; the coarse one shows the gate voltage.

bash · try it yourself
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 200 mA200\ \text{mA} is 85.6 mV85.6\ \text{mV}. By hand: in dropout VSG≈3.35 VV_{SG} \approx 3.35\ \text{V}, so RDS(on)≈1/(1⋅2.35)=0.43 ΩR_{DS(\text{on})} \approx 1/(1 \cdot 2.35) = 0.43\ \Omega and 0.2 A⋅0.43 Ω=85 mV0.2\ \text{A} \cdot 0.43\ \Omega = 85\ \text{mV}. Above dropout the gate rises with the input to keep VSGV_{SG} just right, and the output changes by only 54 μV54\ \mu\text{V} from 3.5 V to 5 V (36 μV/V36\ \mu\text{V/V}, set by the MOSFET's channel-length modulation and the loop gain). At 3.0 V3.0\ \text{V} in, the gate sits at 0 V, so VSG=3 VV_{SG} = 3\ \text{V} and RDS(on)≈1/(1⋅2)=0.5 ΩR_{DS(\text{on})} \approx 1/(1 \cdot 2) = 0.5\ \Omega; the load then takes 2.91 V/16.5 Ω=176 mA2.91\ \text{V}/16.5\ \Omega = 176\ \text{mA} and the drop is about 88 mV88\ \text{mV}, so the output is 2.91 V2.91\ \text{V}: 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:

PD=(Vin−Vout) Iout+VinIQ,TJ=TA+PD θJA,θJA=θJC+θCS+θSAP_D = (V_\text{in} - V_\text{out})\,I_\text{out} + V_\text{in} I_Q, \qquad T_J = T_A + P_D\,\theta_{JA}, \qquad \theta_{JA} = \theta_{JC} + \theta_{CS} + \theta_{SA}
TA PD TJ TC TS theta_JC 3.0 theta_CS 0.5 theta_SA 40 C heat (W) flows like current, temperature (C) like voltage, K/W like ohms

Datasheets give θJC\theta_{JC} (junction to case) and a θJA\theta_{JA} 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 TJT_J below the rated maximum (often 125 ∘C125\ ^\circ\text{C}) 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 IQ=5 mAI_Q = 5\ \text{mA}; ambient up to 40 ∘C40\ ^\circ\text{C}; TJ,max⁡=125 ∘CT_{J,\max} = 125\ ^\circ\text{C}.

Find: TJT_J in a SOT-223 (θJA=60 K/W\theta_{JA} = 60\ \text{K/W}) from 5 V5\ \text{V} and from 12 V12\ \text{V}, and the heat sink a TO-220 needs from 12 V12\ \text{V} (θJC=3.0 K/W\theta_{JC} = 3.0\ \text{K/W}, θCS=0.5 K/W\theta_{CS} = 0.5\ \text{K/W}).

Solve:

P5 V=1.7 V⋅0.5 A+5 V⋅5 mA=0.875 W,TJ=40+0.875⋅60=92.5 ∘CP12 V=8.7 V⋅0.5 A+12 V⋅5 mA=4.41 W,TJ=40+4.41⋅60=305 ∘CθJA≤125−404.41=19.3 K/W  ⇒  θSA≤19.3−3.0−0.5=15.8 K/W\begin{aligned} P_{5\ \text{V}} &= 1.7\ \text{V} \cdot 0.5\ \text{A} + 5\ \text{V} \cdot 5\ \text{mA} = 0.875\ \text{W}, \qquad T_J = 40 + 0.875 \cdot 60 = 92.5\ ^\circ\text{C} \\ P_{12\ \text{V}} &= 8.7\ \text{V} \cdot 0.5\ \text{A} + 12\ \text{V} \cdot 5\ \text{mA} = 4.41\ \text{W}, \qquad T_J = 40 + 4.41 \cdot 60 = 305\ ^\circ\text{C} \\ \theta_{JA} &\le \frac{125 - 40}{4.41} = 19.3\ \text{K/W} \;\Rightarrow\; \theta_{SA} \le 19.3 - 3.0 - 0.5 = 15.8\ \text{K/W} \end{aligned}

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 15.8 K/W15.8\ \text{K/W} 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.

python · try it yourself
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 1+L1 + L. 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 θJA\theta_{JA}; compute TJT_J 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 6.8 Ω6.8\ \Omega, 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 Vin−VoutV_\text{in} - V_\text{out} 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 TA+PD θCAT_A + P_D\,\theta_{CA}, a few tens of kelvin above ambient for 0.85 W; the meter's and thermocouple's ±1\pm 1 to 2 K2\ \text{K} uncertainty is small compared with the spread in θ\theta.

Hazards and safe setup. Low voltage, current-limited supply. The regulator tab and the load resistor can exceed 80 ∘C80\ ^\circ\text{C}: 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 RDS(on)R_{DS(\text{on})} rises when hot).
  • Using the datasheet's θJA\theta_{JA} 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

  1. A PMOS LDO has RDS(on)=0.3 ΩR_{DS(\text{on})} = 0.3\ \Omega in dropout. What dropout at 0.4 A0.4\ \text{A}?
  2. An LDO in SOT-23 (θJA=200 K/W\theta_{JA} = 200\ \text{K/W}) makes 1.8 V at 100 mA from 3.3 V, ambient 50 ∘C50\ ^\circ\text{C}. Find TJT_J (ignore IQI_Q).
  3. Why does PSRR fall at high frequency?
Answer
  1. 0.4 A⋅0.3 Ω=120 mV0.4\ \text{A} \cdot 0.3\ \Omega = 120\ \text{mV}.
  2. P=1.5 V⋅0.1 A=0.15 WP = 1.5\ \text{V} \cdot 0.1\ \text{A} = 0.15\ \text{W}; TJ=50+0.15⋅200=80 ∘CT_J = 50 + 0.15 \cdot 200 = 80\ ^\circ\text{C}.
  3. 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?

  1. A better reference
  2. A PNP or p-channel pass device with its emitter or source on the input, which can be driven fully on
  3. A larger output capacitor
  4. Foldback current limiting

An LDO delivers 3.3 V3.3\ \text{V} at 0.5 A0.5\ \text{A} from 5 V5\ \text{V} in a package with θJA=60 K/W\theta_{JA} = 60\ \text{K/W} at 40 ∘C40\ ^\circ\text{C} ambient. Ignoring IQI_Q, TJT_J is about…

  1. 51 ∘C51\ ^\circ\text{C}
  2. 91 ∘C91\ ^\circ\text{C}
  3. 139 ∘C139\ ^\circ\text{C}
  4. 250 ∘C250\ ^\circ\text{C}

In the SPICE LDO the dropout at 200 mA200\ \text{mA} was 85.6 mV85.6\ \text{mV}. At 400 mA400\ \text{mA} you would expect about…

  1. 43 mV43\ \text{mV}
  2. 86 mV86\ \text{mV}
  3. 170 mV170\ \text{mV}
  4. 1 V1\ \text{V}

In the LDO loop lab, what did adding the ESR zero at 5 kHz5\ \text{kHz} do?

  1. Lowered the DC gain
  2. Raised the phase margin from about 16∘16^\circ to about 49∘49^\circ
  3. Moved the output pole
  4. Made the loop unstable