---
title: Low-dropout regulators
heading: Pass devices, a load-dependent output pole, ESR zeros and supply rejection
eyebrow: S2 · Lesson 26 · Low-dropout regulators
xp: 50
---

::: hook
Every chip with analog circuits has linear regulators on it: they turn a noisy battery or switcher output into a quiet, steady supply. A low-dropout regulator (LDO) is a feedback amplifier whose output transistor carries the whole load current, which makes it an unusual one to stabilize: its output pole moves by orders of magnitude as the load changes from microamps to hundreds of milliamps, and the output capacitor's own series resistance often decides whether it's stable. This lesson analyzes the loop, the dropout, and how well it rejects ripple on its input.
:::

::: play
- The line is the output pole of an LDO, $I_L/(2\pi V_\text{out}C_\text{out})$, against load current on log axes: it moves a decade for every decade of load.
- The dashed line is the zero from the output capacitor's equivalent series resistance, $1/(2\pi R_\text{ESR}C_\text{out})$, fixed by the capacitor.
- Many LDOs rely on that zero to cancel a pole near crossover. Change the ESR and watch where the zero lands relative to the pole's range.
:::

```sim plot
view: graph
x: I = 0.001..1000 mA log
y: f = 0.01..10000 kHz log
slider: C = 0.1..10 = 1 µF log
slider: R = 0.01..1 = 0.1 Ω log
plot: I/1000/(2*pi*2.5*C*1e-6)/1000 | label: output pole (2.5 V out)
plot: 1/(2*pi*R*C*1e-6)/1000 + 0*I | dashed | label: ESR zero
```

::: predict
## An LDO's load steps from 0 to 100 mA. Before its loop reacts, about 1 µs, the 1 µF output capacitor supplies the current. How far does the output dip?

- [ ] About 1 mV
- [ ] About 10 mV
- [x] About 100 mV
- [ ] About 1 V

::: reveal
$\Delta V = I\,\Delta t/C = 0.1 \times 10^{-6}/10^{-6} = 0.1$ V, plus the ESR's own step $I \cdot R_\text{ESR}$. A faster loop or a larger capacitor shrinks the dip; on-chip LDOs with no external capacitor need loops fast enough to respond in nanoseconds.
:::
:::

::: nameit
## The circuit

An error amplifier compares a divided-down output with a reference and drives the gate of a PMOS pass transistor between the input and the output. A PMOS can be driven to the input rail's full $V_{GS}$, so the regulator works until $V_\text{in} - V_\text{out}$ falls to the pass device's $I_LR_{on}$: the **dropout**.

## Efficiency

At most $V_\text{out}/V_\text{in}$ (ignoring quiescent current): the difference times the load current is heat.

## The loop

The output pole $p_\text{out} \approx 1/(R_LC_\text{out})$, with $R_L = V_\text{out}/I_L$, moves with load, while the error amplifier's pole sits at its own output node. The capacitor's ESR adds a zero at $1/(2\pi R_\text{ESR}C_\text{out})$. Designs either make the output pole dominant (a large output capacitor) or the amplifier's pole dominant and use the ESR zero or internal compensation to keep phase margin across the whole load range.

## Regulation and rejection

Load regulation: the open-loop output resistance divided by $1 + T$. Supply rejection: at low frequency about the loop gain; above the loop's bandwidth the input couples straight through the pass device, so PSRR falls to the ratio set by the output capacitor and the pass device's impedance.
:::

::: example
## An LDO turns 3.3 V into 2.5 V at 100 mA, through a pass transistor of 1 Ω on-resistance. What are its efficiency, its heat and its dropout?

::: solution
1. **Efficiency.** At most
   $$\frac{2.5}{3.3} = 75.8\%$$
2. **Heat.** The pass device dissipates
   $$\begin{aligned} P &= 0.8\ \text{V} \times 0.1\ \text{A} \\ &= 80\ \text{mW} \end{aligned}$$
3. **Dropout.**
   $$\begin{aligned} V_\text{do} &= I_LR_{on} \\ &= 0.1\ \text{V} \end{aligned}$$
   so it regulates down to $V_\text{in}$ = 2.6 V.
4. **Compared with a switcher.** A switcher would be more efficient; the LDO is quieter and has no ripple of its own.

**Answer:** at most 75.8% efficiency, 80 mW of heat in the pass device, and 0.1 V of dropout, so it regulates down to 2.6 V in.
:::
:::

::: example
## With 1 µF at the 2.5 V output and 0.1 Ω of ESR, where are the output pole at 100 mA and at 1 mA, and the ESR zero?

::: solution
1. **Pole at 100 mA.** Here $R_L$ = 25 Ω:
   $$\begin{aligned} f_p &= \frac{1}{2\pi \times 25\ \Omega \times 1\ \text{µF}} \\ &= 6.4\ \text{kHz} \end{aligned}$$
2. **Pole at 1 mA.** Here $R_L$ = 2.5 kΩ, so the pole is at 64 Hz.
3. **ESR zero.**
   $$\begin{aligned} f_z &= \frac{1}{2\pi \times 0.1\ \Omega \times 1\ \text{µF}} \\ &= 1.6\ \text{MHz} \end{aligned}$$
4. **Why it's hard.** A hundredfold load change moves the output pole a hundredfold: the central difficulty of LDO compensation.

**Answer:** the output pole is at 6.4 kHz at 100 mA and 64 Hz at 1 mA, and the ESR zero is at 1.6 MHz.
:::
:::

::: example
## The pass device and divider give 2 Ω of open-loop output resistance, and the loop gain is 1000. What is the load regulation, and the output change for a 100 mA step after the loop settles?

::: solution
1. **Load regulation.**
   $$\begin{aligned} R_\text{out} &= \frac{2\ \Omega}{1 + 1000} \\ &= 2.0\ \text{m}\Omega \end{aligned}$$
2. **A 100 mA step.**
   $$100\ \text{mA} \times 2.0\ \text{m}\Omega = 0.20\ \text{mV}$$
3. **PSRR.** The PSRR at low frequency is about the same 60 dB of loop gain.

**Answer:** the load regulation is 2.0 mΩ, so a 100 mA step moves the output by 0.20 mV.
:::
:::

::: check
kind: parts
given: Vi = 3.3 | 5; Vo = 1.8 | 2.5 | 3; I = 10 | 100 | 500

## An LDO turns {Vi} V into {Vo} V at {I} mA.

::: part
answer: Vo/Vi*100
unit: %
tolerance: 0.5%

### What is its best efficiency?

::: misses
- [any] $V_\text{out}/V_\text{in}$.
:::
:::

::: part
answer: (Vi - Vo)*I
unit: mW
tolerance: 0.5%

### What does its pass device dissipate?

::: misses
- [any] $(V_\text{in} - V_\text{out})I$.
:::
:::
:::

::: check
kind: parts
given: R = 0.2 | 0.5 | 2; I = 50 | 200 | 1000; Vo = 1.8 | 3.3

## A pass device has {R} Ω on-resistance and carries {I} mA for a {Vo} V output.

::: part
answer: R*I/1000
unit: V
tolerance: 0.5%

### What is the dropout?

::: misses
- [any] $I_LR_{on}$.
:::
:::

::: part
answer: Vo + R*I/1000
unit: V
tolerance: 0.5%

### What is the lowest input that keeps regulation?

::: misses
- [any] Output + dropout.
:::
:::
:::

::: check
kind: parts
given: C = 0.47 | 1 | 10; I = 1 | 100; V = 1.2 | 3.3; E = 0.01 | 0.1 | 1

## An LDO's {V} V output has {C} µF with {E} Ω of ESR, at {I} mA load.

::: part
answer: I/1000/V/(2*pi*C*1e-6)
unit: Hz
tolerance: 0.5%

### Where is the output pole?

::: misses
- [any] $1/(2\pi R_LC)$ with $R_L = V/I$.
:::
:::

::: part
answer: 1/(2*pi*E*C*1e-6)/1000
unit: kHz
tolerance: 0.5%

### Where is the ESR zero?

::: misses
- [any] $1/(2\pi R_\text{ESR}C)$.
:::
:::
:::

::: check
kind: parts
given: I = 10 | 100 | 300; t = 0.1 | 1 | 5; C = 1 | 4.7 | 22; E = 0.01 | 0.1

## A load steps by {I} mA; the loop takes {t} µs to respond, and the output capacitor is {C} µF with {E} Ω ESR.

::: part
answer: I/1000*t*1e-6/(C*1e-6)*1000
unit: mV
tolerance: 0.5%

### How far does the capacitor's charge sag before the loop responds?

::: misses
- [any] $I\Delta t/C$.
:::
:::

::: part
answer: I/1000*E*1000
unit: mV
tolerance: 0.5%

### What instant step does the ESR add?

::: misses
- [any] $IR_\text{ESR}$.
:::
:::
:::

::: check
kind: parts
given: R = 0.5 | 2 | 10; T = 100 | 1000 | 10000; I = 10 | 100

## An LDO's open-loop output resistance is {R} Ω and its loop gain {T}.

::: part
answer: R/(1 + T)*1000
unit: mΩ
tolerance: 0.5%

### What is its closed-loop output resistance?

::: misses
- [any] $R/(1 + T)$.
:::
:::

::: part
answer: R/(1 + T)*I
unit: mV
tolerance: 0.5%

### How much does the output move for a {I} mA load change?

::: misses
- [any] Current × output resistance.
:::
:::
:::

::: check
kind: choice

## An LDO is stable with a tantalum capacitor (high ESR) but oscillates when a ceramic capacitor of the same value (tiny ESR) is fitted. Why?

- [ ] Ceramic capacitors have more capacitance than marked
- [x] The tantalum's ESR zero added phase near crossover; the ceramic's zero moves far above it and the loop loses that phase lead
- [ ] Ceramic capacitors leak
- [ ] The loop gain is higher with ceramics

::: misses
- [1] If anything, ceramics lose capacitance with bias.
- [3] Leakage doesn't affect stability.
- [4] The gain is about the same; the phase changes.
:::
:::

::: check
kind: derivation
vars: V = 1..5, C = 1e-7..1e-4, I = 1e-4..1, E = 1e-3..1

## An LDO's output is V with capacitor C of series resistance E, at load I.

::: step
answer: I/(2*pi*V*C)

### Where is the output pole (Hz)?
:::

::: step
answer: 1/(2*pi*E*C)

### Where is the ESR zero (Hz)?
:::

::: step
answer: V/(I*E)

### What is their ratio, zero over pole?
:::

::: right
Right. At light load the pole sits far below the zero; at heavy load they approach, so the phase the zero adds depends on the load.
:::
:::

::: check
kind: python

## Write `ldo_loop(f, A0, fa, IL, Vout, Cout, ESR)`: the loop gain magnitude and phase (degrees) at frequency f of an LDO modeled as a DC gain A0, an amplifier pole at fa, an output pole at $I_L/(2\pi V_\text{out}C_\text{out})$ and an ESR zero. Then `phase_margin(A0, fa, IL, Vout, Cout, ESR)`: find the unity-gain frequency by bisection in log f (1 Hz to 1 GHz) and return 180° plus the phase there.

```python starter
import math

def ldo_loop(f, A0, fa, IL, Vout, Cout, ESR):
    return (1.0, -90.0)

def phase_margin(A0, fa, IL, Vout, Cout, ESR):
    return 90.0
```

```python solution
import math

def ldo_loop(f, A0, fa, IL, Vout, Cout, ESR):
    fo = IL / (2 * math.pi * Vout * Cout)
    fz = 1 / (2 * math.pi * ESR * Cout)
    s = 1j * f
    H = A0 * (1 + s / fz) / ((1 + s / fa) * (1 + s / fo))
    return (abs(H), math.degrees(math.atan2(H.imag, H.real)))

def phase_margin(A0, fa, IL, Vout, Cout, ESR):
    lo, hi = 0.0, 9.0
    for _ in range(200):
        mid = (lo + hi) / 2
        if ldo_loop(10 ** mid, A0, fa, IL, Vout, Cout, ESR)[0] > 1:
            lo = mid
        else:
            hi = mid
    return 180 + ldo_loop(10 ** mid, A0, fa, IL, Vout, Cout, ESR)[1]
```

```python tests
pm_hi = phase_margin(1000, 1e4, 0.1, 2.5, 1e-6, 1.0)
pm_lo = phase_margin(1000, 1e4, 0.1, 2.5, 1e-6, 0.001)
assert pm_hi > pm_lo + 20, "1 Ω of ESR puts its zero near crossover and buys far more margin than 1 mΩ: about 72° against 4°."
m, p = ldo_loop(1.0, 1000, 1e4, 0.1, 2.5, 1e-6, 0.1)
assert abs(m - 1000) < 1, "At low frequency the gain is A0."
assert phase_margin(1000, 1e4, 0.001, 2.5, 1e-6, 0.1) != phase_margin(1000, 1e4, 0.1, 2.5, 1e-6, 0.1), "The margin depends on load."
```

::: right
Right. Sweeping load and ESR through this model is exactly how LDO datasheets arrive at their "stable with 0.01 to 1 Ω ESR" ranges.
:::
:::

::: explain
## Why does an LDO's output pole move with load current, and why does that make it harder to stabilize than an ordinary op amp?

::: model
The output node's resistance is mostly the load itself, the output voltage divided by the load current, in parallel with the pass device's output resistance. Its capacitance is the output capacitor. So the pole $1/(R_LC)$ is proportional to load current, and across a range from microamps to hundreds of milliamps it moves by five orders of magnitude. An ordinary op amp's poles stay put, so one compensation fits all conditions. In an LDO the compensation must leave enough phase margin whether the output pole sits far below the amplifier's pole or close to it, which usually means either making the output pole dominant with a large capacitor or relying on the capacitor's ESR zero, and checking stability at both load extremes.
:::
:::

::: practice
::: check
given: Vi = 3.6 | 5; Vo = 1.2 | 3.3
answer: Vo/Vi*100
unit: %
tolerance: 0.5%

## Best efficiency from {Vi} V to {Vo} V?

::: misses
- [any] $V_o/V_i$.
:::
:::

::: check
given: I = 0.01 | 0.3; V = 1.8 | 3.3; C = 1 | 10
answer: I/V/(2*pi*C*1e-6)
unit: Hz
tolerance: 0.5%

## Output pole at {I} A, {V} V, {C} µF?

::: misses
- [any] $I/(2\pi VC)$.
:::
:::

::: check
given: I = 50 | 500; t = 0.5 | 2; C = 1 | 10
answer: I*t/C
unit: mV
tolerance: 0.5%

## Sag for a {I} mA step, {t} µs response, {C} µF?

::: misses
- [any] $I\Delta t/C$.
:::
:::
:::
