TExcelTAD
Home › Analog Electronics: Diodes, Transistors & Op-Amps › Voltage References and Linear Regulators

Voltage References and Linear Regulators

A battery sags from 9.6 V9.6\ \text{V} to 7 V7\ \text{V} as it discharges; a plug-in adapter's output wanders by a volt with load; a car's "12 V" rail swings from 9 V during cranking to over 14 V while charging. Analog circuits want a voltage that does not move: an ADC's full scale is only as good as its reference, and an amplifier's bias shifts with its supply. A linear regulator turns a messy input into a steady output by burning the difference in a transistor. This lesson builds one from parts you know (a reference, an op-amp, a transistor and a divider), shows how good each version is, and explains the price: heat.

Voltage references

Every regulator compares its output with a reference, a voltage that depends as little as possible on current, supply and temperature.

Reference Typical voltage Temperature behaviour Notes
Zener diode (Zener and Schottky Diodes) 2.4 to 200 V low-voltage Zeners drift negative, high-voltage ones positive; near zero around 5 to 6 V needs a few mA; noisy; dynamic resistance a few to tens of ohms
Bandgap about 1.2 V (or scaled, e.g. 2.5 V, 4.096 V) a VBEV_{BE} (falling about 2 mV/K2\ \text{mV/K}) plus a scaled VTV_T term (rising) cancel to first order in every regulator IC and ADC
Adjustable shunt reference (the "431" type) 2.5 V internal, set higher with two resistors tens of ppm/K behaves like a programmable Zener; also the error amplifier in many power supplies
Precision series reference 1.25 to 10 V below 10 ppm/K10\ \text{ppm/K}, initial error to 0.05 %0.05\ \% or better for data converters and instruments (figures typical as of 2026)

The bandgap idea in one line: VBEV_{BE} of a junction falls with temperature, while VT=kT/qV_T = kT/q rises, so Vref=VBE+KVTV_\text{ref} = V_{BE} + K V_T with the right KK (set by a current ratio between two transistors) is flat at the top of its curve. The flat point lands near the silicon bandgap voltage, about 1.2 V1.2\ \text{V}, hence the name. The full circuit belongs to IC design, in the Embedded Systems and Chip Design track.

From Zener to regulator

The Zener shunt regulator wastes current: its resistor must pass the full load current plus the Zener minimum even at the lowest input. Two improvements follow naturally.

Zener plus emitter follower. Let the Zener only set the voltage and let a transistor (Common-Collector and Common-Base Amplifiers) carry the load current: Vout=VZ−VBEV_\text{out} = V_Z - V_{BE}. The Zener now supplies only the base current, Iout/βI_\text{out}/\beta. The output resistance is roughly re+(RZ∥rz)/βr_e + (R_Z \parallel r_z)/\beta, a fraction of an ohm. But VBEV_{BE} changes with load current and temperature, and the Zener's dynamic resistance passes some input change through.

Series regulator with an error amplifier. Put the transistor inside a negative feedback loop (Negative Feedback). An op-amp compares a fraction of the output with the reference and drives the pass transistor until they are equal:

Vout=Vref(1+R1R2)V_\text{out} = V_\text{ref}\left(1 + \frac{R_1}{R_2}\right)

This is a non-inverting amplifier (The Ideal Op-Amp) of the reference, with a current booster inside the loop. The loop gain divides every error: VBEV_{BE} variation, the pass device's output resistance, ripple on the input. Load regulation improves by roughly the loop gain, so a few milliohms of output resistance are normal.

+ - + Vref 2.50 V Vin 12 V Q2 pass RB 470 Ohm RS 1.2 Ohm Q3 limit R1 10 kOhm R2 10 kOhm load Vout fb error amp

Regulation figures and protection

  • Line regulation ΔVout/ΔVin\Delta V_\text{out}/\Delta V_\text{in} (mV/V or %/V): how much of an input change gets through, at DC. At ripple frequencies the same idea is the power-supply rejection ratio, discussed in LDOs, Dropout and Thermal Design.
  • Load regulation ΔVout/ΔIout\Delta V_\text{out}/\Delta I_\text{out}: the regulator's output resistance.
  • Dropout voltage: the smallest Vin−VoutV_\text{in} - V_\text{out} at which regulation still works. In the circuit above it is VBE+VRSV_{BE} + V_{RS} plus whatever the op-amp output needs below its supply, about 2 to 3 V.
  • Current limit. When the load current makes IRSI R_S reach a VBEV_{BE} (about 0.6 to 0.7 V), Q3Q_3 turns on and steals base drive from Q2Q_2, so Ilim≈VBE/RSI_\text{lim} \approx V_{BE}/R_S. RBR_B gives Q3Q_3 something to pull against.
  • Foldback limiting adds a divider to Q3Q_3's base so the limit falls as the output voltage collapses. In a short circuit the pass transistor then dissipates far less than Vin⋅IlimV_\text{in} \cdot I_\text{lim}; the price is that some loads (lamps, motors, capacitive loads) may fail to start.
  • Thermal shutdown in IC regulators switches off at a die temperature of typically about 150 to 175 °C (the exact trip point and hysteresis are in each part's datasheet).

Efficiency. The pass device carries the whole load current with Vin−VoutV_\text{in} - V_\text{out} across it:

Ppass=(Vin−Vout) Iout,η≈VoutVinP_\text{pass} = (V_\text{in} - V_\text{out})\,I_\text{out}, \qquad \eta \approx \frac{V_\text{out}}{V_\text{in}}

ignoring the small reference and divider currents. A linear regulator is quiet and simple but never more efficient than Vout/VinV_\text{out}/V_\text{in}; that limit is what switching regulators remove.

Worked example

Given: the regulator in the figure: Vref=2.50 VV_\text{ref} = 2.50\ \text{V}, R2=10 kΩR_2 = 10\ \text{k}\Omega, Vin=12 VV_\text{in} = 12\ \text{V}, load 0.5 A0.5\ \text{A}, RS=1.2 ΩR_S = 1.2\ \Omega.

Find: R1R_1 for 5.0 V5.0\ \text{V}, the pass dissipation and efficiency, the current limit, and the dissipation in a short circuit.

Solve:

R1=R2(VoutVref−1)=10 kΩ⋅(2−1)=10 kΩPpass=(12−5) V⋅0.5 A=3.5 W,η=5/12=41.7 %Ilim≈0.65 V1.2 Ω=0.54 A,Pshort≈12 V⋅0.6 A=7.2 W\begin{aligned} R_1 &= R_2\left(\frac{V_\text{out}}{V_\text{ref}} - 1\right) = 10\ \text{k}\Omega \cdot (2 - 1) = 10\ \text{k}\Omega \\ P_\text{pass} &= (12 - 5)\ \text{V} \cdot 0.5\ \text{A} = 3.5\ \text{W}, \qquad \eta = 5/12 = 41.7\ \% \\ I_\text{lim} &\approx \frac{0.65\ \text{V}}{1.2\ \Omega} = 0.54\ \text{A}, \qquad P_\text{short} \approx 12\ \text{V} \cdot 0.6\ \text{A} = 7.2\ \text{W} \end{aligned}

Check: in a short circuit the pass transistor dissipates twice its normal-load power: the heat sink must be sized for the fault, not for the load, unless foldback or thermal shutdown is fitted. The divider draws only 0.25 mA0.25\ \text{mA}, so η\eta is indeed close to Vout/VinV_\text{out}/V_\text{in}.

python · try it yourself
# Series regulator, 5.0 V from a 2.50 V reference: divider, sense resistor, dissipation
Vref, Vout, Iout = 2.50, 5.0, 0.5
R2 = 10e3
R1 = R2 * (Vout / Vref - 1)
Vbe_lim = 0.65
print(f"R1 = {R1 / 1e3:.1f} k (with R2 = {R2 / 1e3:.0f} k), divider current {Vout / (R1 + R2) * 1e3:.2f} mA")
print(f"R_sense for a 0.6 A limit: {Vbe_lim / 0.6:.2f} Ohm (use 1.2 Ohm -> {Vbe_lim / 1.2:.2f} A)")
print(" Vin   P_pass   efficiency")
for Vin in [7, 9, 12, 15]:
    P = (Vin - Vout) * Iout
    print(f"{Vin:4.0f} V {P:6.2f} W {100 * Vout / Vin:8.1f} %")
# Short circuit: the pass device holds the limit current with the whole input across it
print(f"Short circuit at 12 V: {12 * 0.6:.1f} W in the pass transistor")
R1 = 10.0 k (with R2 = 10 k), divider current 0.25 mA
R_sense for a 0.6 A limit: 1.08 Ohm (use 1.2 Ohm -> 0.54 A)
 Vin   P_pass   efficiency
   7 V   1.00 W     71.4 %
   9 V   2.00 W     55.6 %
  12 V   3.50 W     41.7 %
  15 V   5.00 W     33.3 %
Short circuit at 12 V: 7.2 W in the pass transistor

Cross-check with SPICE: follower against feedback regulator

Two regulators share one input. (1) A 5.1 V5.1\ \text{V} Zener fed through 1 kΩ1\ \text{k}\Omega drives an emitter follower; its load is a current sink set by VL (in amperes). (2) The feedback regulator of the figure, with a 2.50 V2.50\ \text{V} ideal source as its reference (standing in for a bandgap), the course op-amp macro-model whose output cannot rise above Vin−1.5 VV_\text{in} - 1.5\ \text{V} (a behavioural B source), and a resistive load RL2. Models: the course NPN and Zener. Three sweeps: input voltage, follower load current, regulator load resistance.

bash · try it yourself
cat > reg.cir <<'EOF'
* (1) Zener + emitter follower, (2) op-amp series regulator with current limit
.model DZ D(Is=1n N=1.5 Rs=1 BV=5.1 IBV=1m)
.model QN NPN(Is=1e-14 Bf=200 Vaf=100 Br=2 Rb=10 Cje=10p Cjc=4p Tf=0.4n)
VIN vin 0 12
VL ctl 0 0.1
* (1) 1 k feeds the Zener, Q1 follows it
RZ vin z 1k
DZ1 0 z DZ
Q1 vin z out1 QN
G1 out1 0 ctl 0 1
* (2) 2.50 V reference, error amplifier (course macro-model, output limited to vin - 1.5 V),
*     pass transistor Q2, 1.2 ohm sense resistor and limit transistor Q3
VREF ref 0 2.5
GA 0 n1 ref fb 1m
RA n1 0 100meg
CA n1 0 159.2p
BA oa 0 V = min(v(n1), v(vin) - 1.5)
RB oa b2 470
Q2 vin b2 e2 QN
RS e2 out2 1.2
Q3 b2 e2 out2 QN
R1 out2 fb 10k
R2 fb 0 10k
RL2 out2 0 50
.control
dc VIN 8 16 4
print v(out1) v(out2)
dc VL 0.01 0.21 0.1
print v(out1)
dc RL2 25 5 -5
print v(out2)
.endc
.end
EOF
ngspice -b reg.cir 2>&1 | grep -E '^(Index|[0-9])'
Index   v-sweep         v(out1)         v(out2)         
0	8.000000e+00	4.357824e+00	4.999877e+00	
1	1.200000e+01	4.401673e+00	4.999878e+00	
2	1.600000e+01	4.429603e+00	4.999878e+00	
Index   v-sweep         v(out1)         
0	1.000000e-02	4.467719e+00	
1	1.100000e-01	4.396820e+00	
2	2.100000e-01	4.369607e+00	
Index   res-sweep       v(out2)         
0	2.500000e+01	4.999870e+00	
1	2.000000e+01	4.999867e+00	
2	1.500000e+01	4.999861e+00	
3	1.000000e+01	4.999848e+00	
4	5.000000e+00	3.025991e+00	

Reading the numbers:

  • Line regulation. From 8 V to 16 V the follower's output rises 72 mV72\ \text{mV} (9.0 mV/V9.0\ \text{mV/V}: the Zener current, and so its voltage, follows the input through 1 kΩ1\ \text{k}\Omega). The feedback regulator moves by 1 μV1\ \mu\text{V}.
  • Load regulation. From 10 mA to 210 mA the follower drops 98 mV98\ \text{mV}, an output resistance of 0.49 Ω0.49\ \Omega. The regulator drops 22 μV22\ \mu\text{V} from 200 mA (25 Ω25\ \Omega) to 500 mA (10 Ω10\ \Omega): about 73 μΩ73\ \mu\Omega, the loop gain at work.
  • Current limit. At 5 Ω5\ \Omega the output falls to 3.03 V3.03\ \text{V}, so the current is 3.026/5=0.605 A3.026/5 = 0.605\ \text{A}: the limit. It is a little above the 0.54 A0.54\ \text{A} estimate because Q3Q_3 carries several milliamps of collector current and needs about 0.73 V0.73\ \text{V} of VBEV_{BE} to do so.

Guided lab: a discrete 5 V regulator

Hand calculation. Vout=5.00 VV_\text{out} = 5.00\ \text{V}, Ilim≈0.55I_\text{lim} \approx 0.55 to 0.6 A0.6\ \text{A}, Ppass=3.5 WP_\text{pass} = 3.5\ \text{W} at 12 V and 0.5 A.

Simulation. The SPICE session above; change VIN and the loads to explore.

What you would measure. Build the regulator with a "431"-type shunt reference (biased at about 1 mA) or a 2.5 V series reference, a general-purpose op-amp powered from VinV_\text{in}, a TO-220 NPN power transistor (or a Darlington, since β\beta falls at high current) on a heat sink, and 1 % divider resistors. Supply from a bench supply set to 12 V with a 1 A limit; load with power resistors (50 Ω50\ \Omega, 25 Ω25\ \Omega, 10 Ω10\ \Omega, rated at least 5 W). Expect VoutV_\text{out} within about ±2 %\pm 2\ \% of 5.00 V (reference tolerance plus two 1 % resistors), load regulation of a few millivolts limited by wiring (measure at the load terminals, not at the board edge), and line regulation below 1 mV/V from 8 to 16 V. Then short the output briefly through the ammeter: the current should sit at 0.5 to 0.65 A, and the heat sink warms quickly at 7 W.

Hazards and safe setup. Low voltage, current-limited supply. The pass transistor, its heat sink and the load resistors reach temperatures that burn skin in seconds at several watts: touch them only after switching off and waiting, or measure with a thermocouple. Keep the short-circuit test brief.

Pitfalls

  • Sizing the heat sink for normal load only. The fault case (short circuit, or minimum load resistance at maximum input) sets it.
  • Measuring regulation at the wrong place. 50 mΩ50\ \text{m}\Omega of wire at 0.5 A is 25 mV, several hundred times the regulator's own load regulation (about 37 µV at 0.5 A in the SPICE run). Use Kelvin (four-wire) sensing, covered in Grounding, Shielding and PCB Layout for Analog.
  • Forgetting that a regulator is a feedback loop. It can oscillate. The output capacitor and the pass device add poles; follow the datasheet's capacitor rules (LDOs, Dropout and Thermal Design).
  • Expecting a Zener reference to be quiet. Zeners above about 6 V use avalanche breakdown and are noisy; filter the reference with an RC before the error amplifier.

Practice

  1. With a 1.25 V1.25\ \text{V} reference and R2=1 kΩR_2 = 1\ \text{k}\Omega, what R1R_1 gives 3.3 V3.3\ \text{V}?
  2. A linear regulator delivers 3.3 V3.3\ \text{V} at 0.8 A0.8\ \text{A} from 5 V5\ \text{V}. Find the pass dissipation and efficiency.
  3. Choose RSR_S for a current limit of about 150 mA150\ \text{mA}, taking VBE=0.65 VV_{BE} = 0.65\ \text{V}.
Answer
  1. R1=1 kΩ⋅(3.3/1.25−1)=1.64 kΩR_1 = 1\ \text{k}\Omega \cdot (3.3/1.25 - 1) = 1.64\ \text{k}\Omega; E96 1.65 kΩ1.65\ \text{k}\Omega gives 3.31 V3.31\ \text{V}.
  2. P=(5−3.3)⋅0.8=1.36 WP = (5 - 3.3) \cdot 0.8 = 1.36\ \text{W}; η=3.3/5=66 %\eta = 3.3/5 = 66\ \%.
  3. RS=0.65/0.15=4.3 ΩR_S = 0.65/0.15 = 4.3\ \Omega (E24 4.3 Ω4.3\ \Omega).

Test yourself

A series regulator has Vref=2.5 VV_\text{ref} = 2.5\ \text{V}, R1=15 kΩR_1 = 15\ \text{k}\Omega (top) and R2=10 kΩR_2 = 10\ \text{k}\Omega (bottom). Its output is…

  1. 1.5 V1.5\ \text{V}
  2. 3.75 V3.75\ \text{V}
  3. 6.25 V6.25\ \text{V}
  4. 8.75 V8.75\ \text{V}

A linear regulator gives 5 V5\ \text{V} at 1 A1\ \text{A} from 12 V12\ \text{V}. The pass device dissipates about…

  1. 1 W1\ \text{W}
  2. 5 W5\ \text{W}
  3. 7 W7\ \text{W}
  4. 12 W12\ \text{W}

Why does the op-amp series regulator have far better load regulation than a Zener and emitter follower?

  1. Its reference is more accurate
  2. The pass transistor has a higher β\beta
  3. The feedback loop divides the follower's output resistance by the loop gain
  4. It has a current limit

What is the main purpose of foldback current limiting?

  1. To raise the output voltage
  2. To reduce the pass transistor's dissipation in a short circuit
  3. To improve line regulation
  4. To lower the dropout voltage