EE Primers · Power

Inside the LDO feedback loop, one step at a time

An LDO holds its output by sensing it, comparing it with a reference, and adjusting how hard a pass transistor conducts. This page draws a complete PMOS LDO, lets you enter VIN, VOUT, dropout and load, sizes the feedback divider, and then walks the loop through a load step, a load release, a line step and a trip into dropout: link by link, or in small time steps, with the node voltages updating on the schematic.

01 · The circuit

The parts and what each one does

Every part of the schematic in section 04 has one job in the loop:

  • Pass transistor MP (PMOS). A voltage-controlled resistor between VIN and VOUT. Pulling its gate down raises VSG and passes more current; pushing it up toward VIN turns it off. Because the gate can go all the way to 0 V, the device can be driven fully on, which is what makes the dropout low: \(V_{\text{DO}}\approx I_{\text{LOAD}}\cdot R_{\text{DS(on)}}\).
  • Feedback divider R1/R2. Scales VOUT down to the reference: \(V_{\text{FB}}=V_{\text{OUT}}\cdot R_2/(R_1+R_2)=\beta\cdot V_{\text{OUT}}\).
  • Reference VREF. A bandgap, typically 0.5–1.2 V. The output can never be set below it.
  • Error amplifier. Amplifies \(e=V_{\text{FB}}-V_{\text{REF}}\) and drives the gate. The feedback goes to its non-inverting input because the common-source PMOS stage inverts: a higher gate means less current.
  • COUT and its ESR. Supplies or absorbs the difference between IPASS and ILOAD until the loop catches up, and sets the loop's output pole. Most modern LDOs want 1–10 µF of ceramic capacitance.
  • CIN. Keeps VIN stiff while the pass current changes; without it, source and trace inductance turn every load step into a line step too.
  • CFF (optional). A feed-forward capacitor across R1. It passes fast changes of VOUT straight to the feedback node, so the amplifier reacts sooner, and it lowers output noise.
$$V_{\text{OUT}}=V_{\text{REF}}\cdot\left(1+\frac{R_1}{R_2}\right)\qquad I_{\text{DIV}}=\frac{V_{\text{OUT}}}{R_1+R_2}\qquad P_{\text{D}}=(V_{\text{IN}}-V_{\text{OUT}})\cdot I_{\text{LOAD}}+V_{\text{IN}}\cdot I_{\text{Q}}$$
02 · Design inputs

Enter VIN, VOUT and dropout; the divider is sized for you

R2 is chosen from the reference and the divider current you want (\(R_2=V_{\text{REF}}/I_{\text{DIV}}\)), then R1 from the target output; both snap to E96 (1 %) values, and the actual output follows from the snapped pair. The dropout you enter, at the rated current, sets the pass device's on-resistance. Everything below, including the simulator, uses these numbers.

LDO design

03 · The loop

Seven links, and why the loop always pushes back

Whatever disturbs the output (load, input, temperature), the correction follows the same chain. Each link has a sign, and the product of the signs is negative: that is what makes it negative feedback.

VOUT ↓→ divider →VFB ↓→e = VFB − VREF < 0→ EA (+ input) →VG ↓→VSG ↑→ PMOS →IPASS ↑→ charges COUT →VOUT ↑
VOUT ↑→ divider →VFB ↑→e > 0→ EA →VG ↑→VSG ↓→ PMOS →IPASS ↓→ load drains COUT →VOUT ↓

The loop is not instant. The amplifier has finite bandwidth and the gate node has capacitance (a large pass device can have hundreds of picofarads), so for the first fraction of a microsecond after a fast change, COUT alone carries the difference:

$$\frac{dV_{\text{OUT}}}{dt}=\frac{I_{\text{PASS}}-I_{\text{LOAD}}-I_{\text{DIV}}}{C_{\text{OUT}}}\qquad\Delta V_{\text{OUT}}\approx\frac{\Delta I_{\text{LOAD}}}{2\pi f_{\text{u}}\cdot C_{\text{OUT}}}+\Delta I_{\text{LOAD}}\cdot\text{ESR}$$

where fu is the loop's crossover frequency (hundreds of kHz to a few MHz). The undershoot ends at the instant IPASS catches up with ILOAD, since that is where dVOUT/dt passes through zero. The two directions are not symmetric: the PMOS can source as much current as its gate drive allows, but it cannot sink any. On a load release, the most the loop can do is turn the pass device off; the excess charge then leaves only through the load and the divider.

04 · Simulator

Step through the loop

Pick a scenario. Then either click through the seven stages, which jump the time cursor to the instant each link is acting, or step the time cursor yourself and watch the node voltages, the arrows and the highlighted part move. ↑ and ↓ mark the direction each node is heading at the cursor.

The seven stages

Plots are relative to the event (t = 0). Dashed lines on the VOUT plot mark ±2 % of the nominal output.

05 · Loading and line conditions

What makes VOUT sag, and what makes it rise

VOUT sags
  • Load step up faster than the loop bandwidth (a processor waking, a radio keying up, a motor driver enabling). Size: \(\Delta I/(2\pi f_{\text{u}}C_{\text{OUT}})+\Delta I\cdot\text{ESR}\).
  • Starting from light load. The pass device's transconductance scales with \(\sqrt{I}\), so the loop is slowest exactly when the step begins at 1 mA. Compare scenario 2 with a 50 mA starting load.
  • VIN falling into dropout (a battery sagging, an upstream buck in current limit). Below \(V_{\text{OUT}}+I\cdot R_{\text{DS(on)}}\), the output follows the input down.
  • Line step down faster than the loop: VSG briefly collapses because the source moves before the gate does.
  • Too little effective COUT: a 10 µF 0402 at 1.8 V of DC bias can be 4 µF. Less capacitance means a deeper first dip, and it can ring.
  • High ESR or long traces to the load: an immediate \(\Delta I\cdot R\) step with no loop delay at all.
  • Current limit or thermal foldback: the loop is asking for current the protection won't give.
VOUT rises
  • Load release. The PMOS can only turn off, so the excess charge leaves through the load and the divider. Recovery time ≈ \(\Delta V\cdot C_{\text{OUT}}/(I_{\text{LOAD}}+I_{\text{DIV}})\), which can be milliseconds at light load. Some LDOs add an active pull-down for this.
  • Line step up. CGS drags the gate up only part of the way, so VSG grows and the pass device briefly over-conducts.
  • Exiting dropout. While in dropout, the amplifier sits railed with its gate at 0 V. When VIN comes back, the fully-on pass device passes the rising input straight through until the gate slews back up: an overshoot.
  • No minimum load. At high temperature, pass-device leakage (µA) can exceed a nanopower divider current and lift VOUT. Datasheets that need a minimum load say so.
  • Back-feed from another rail through an I/O protection diode or a sleeping device: an LDO cannot sink this current.
06 · Worked examples

3.3 → 1.8 V and 1.8 → 1.35 V

Both rails use a 500 mA LDO with 150 mV dropout at full current, VREF = 0.6 V, 20 µA in the divider, 2.2 µF ceramic output, and a 1 mA → 500 mA step in 1 µs. The table is computed live from the same design routine and simulator as above.

3.3 → 1.8 V has 1.5 V of headroom, ten times its dropout, so the loop has plenty of margin and PSRR is good. The cost is heat: 0.75 W at 500 mA in a small package is \(T_{\text{J}}\approx T_{\text{A}}+0.75\cdot\theta_{\text{JA}}\), a 75 °C rise at θJA = 100 °C/W. Efficiency is 55 %. Above roughly 200 mA, this rail is usually a buck followed, if it needs to be quiet, by an LDO.

1.8 → 1.35 V is the classic post-regulator (a DDR3L memory rail fed from a 1.8 V buck). It is 75 % efficient and dissipates only 0.23 W, but there are only 450 mV of headroom, three times the dropout. A 300 mV droop on the 1.8 V rail would leave 150 mV and push the LDO right to its dropout edge. That is why the 1.8 V preset steps the line by 200 mV: try 300 mV in scenario 5 and watch the output drop out of regulation.

07 · The model

What the simulator includes, and what it leaves out

  • Pass device: a square-law PMOS with a triode region, VT = 0.5 V and λ = 0.04 V−1. Its k is chosen so that, at full gate drive from the entered VIN, the rated current produces exactly the entered dropout. Dropout then appears on its own: when the gate reaches 0 V, nothing more is available.
  • Error amplifier: a proportional-plus-integral core, which stands in for internal compensation (a zero at fu/5), with a finite DC gain of 3000. It is followed by a gate-node pole at 2.5·fu and an 8 V/µs slew limit, and clamped between 0 V and VIN. The gain is set for a 700 kHz crossover at full load with 2.2 µF, then held fixed, as it would be inside a real IC: change COUT and the crossover and phase margin move with it.
  • VIN coupling: 60 % of any VIN step appears on the gate at once, through CGS.
  • Output: COUT with series ESR, the divider (with CFF across R1 if selected), and the load as an ideal current source with a linear edge.
  • Not modelled: current limit, thermal shutdown, soft-start, quiescent current, noise, PSRR at frequency, CIN and source impedance (VIN is ideal), active output discharge, and the ESL of the capacitor and its traces.

The numbers are representative of a 500 mA-class PMOS LDO rather than of any particular part. To check a real design, use the vendor's transient curves or its simulation model, at your COUT after DC-bias derating.

08 · Check yourself

Questions worth being able to answer

Why does the feedback go to the error amplifier's non-inverting input in a PMOS LDO?

The common-source PMOS inverts: raising its gate lowers IPASS and therefore VOUT. With the feedback on the + input, a rising VOUT raises the gate, which cuts the current: the loop's net sign is negative. An NMOS source-follower pass device does not invert, so there the feedback goes to the inverting input.

Where exactly is the bottom of the undershoot after a load step?

At the instant IPASS equals ILOAD + IDIV. Before that, COUT is supplying the difference and VOUT falls; after it, the pass device supplies more than the load and VOUT recovers. Step to stage 6 in scenario 2 to see the two currents cross at the minimum.

Why is the load-release overshoot slower to recover than the load-step undershoot?

The PMOS can only source current. Once the loop has turned it fully off, the extra charge \(C_{\text{OUT}}\cdot\Delta V\) can leave only through the new, lighter load and the divider. At 1 mA, 50 mV on 2.2 µF takes about 110 µs. An undershoot, by contrast, is corrected by the full drive of the pass device.

The output overshoots when VIN recovers from a brown-out. Why?

In dropout, the amplifier pulls the gate to 0 V and stays there, wound up. When VIN rises again, the fully-on pass device connects VOUT almost directly to VIN until the amplifier slews the gate back up to its regulating level. Faster VIN recovery, a slower amplifier and less COUT all make the overshoot bigger.

What does a feed-forward capacitor across R1 change?

It adds a zero at \(1/(2\pi R_1C_{\text{FF}})\) and a pole at \(1/(2\pi (R_1\parallel R_2)C_{\text{FF}})\). Between the two, the feedback is closer to unity than to β, so a fast change in VOUT reaches the amplifier un-attenuated. The result is a smaller undershoot, and the reference noise is no longer amplified by 1/β. With high-value dividers, check that it does not cost phase margin.

09 · Further reading

References

  1. Texas Instruments, LDO Basics (SLYY151), e-book covering dropout, PSRR, noise, transient response and stability.
  2. Texas Instruments, Technical Review of Low Dropout Voltage Regulator Operation and Performance (SLVA072).
  3. Texas Instruments, Understanding the Terms and Definitions of LDO Voltage Regulators (SLVA079).
  4. G. A. Rincón-Mora, Analog IC Design with Low-Dropout Regulators, 2nd ed., McGraw-Hill, 2014.