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.
Every part of the schematic in section 04 has one job in the loop:
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.
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.
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.
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.
Plots are relative to the event (t = 0). Dashed lines on the VOUT plot mark ±2 % of the nominal output.
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.
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.
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.
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.
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.
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.
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.