---
title: Output stages and drivers
heading: Efficiency, dissipation and crossover in class A, B and AB stages
eyebrow: S2 · Lesson 24 · Output stages and drivers
xp: 50
---

::: hook
An op amp's gain stages deal in microamps; its output stage must drive milliamps or amps into a load while wasting as little power as possible and adding as little distortion as possible. Those goals pull against each other. A class A stage is linear but burns its full bias current all the time. Class B stops wasting current at idle but distorts where the two halves hand over. Class AB biases the halves just on, and C6 built one. This lesson adds the numbers a designer needs: efficiency at every signal level, the worst-case heat the transistors must survive, and how feedback hides what's left of the crossover.
:::

::: play
- Efficiency (power delivered to the load over power drawn from the supplies) against the output amplitude as a fraction of the supply, for a class A follower biased for full swing and a class B push-pull stage. The dashed curve is the class B stage's total transistor dissipation, in units of $V_{CC}^2/R_L$.
- Class B reaches π/4 = 78.5% only at full swing; at a tenth of full swing it's about 8%. Class A tops out at 25%.
- The class B transistors run hottest at about 64% of full swing, not at full swing.
:::
:::

```sim plot
view: graph
x: a = 0..1
y: e = 0..1
plot: pi/4*a | label: class B efficiency
plot: a^2/4 | color: ch2 | label: class A efficiency (resistive load)
plot: 2*a/pi - a^2/2 | dashed | color: ch3 | label: class B dissipation ÷ (VCC²/RL)
marker: x = 2/pi | label: worst dissipation
```

::: predict
## A class B amplifier on ±12 V drives 8 Ω. At what output amplitude do its transistors dissipate the most?

- [ ] At full swing, 12 V
- [x] At about 7.6 V peak
- [ ] At zero output
- [ ] At 6 V, half swing

::: reveal
At $\frac{2V_{CC}}{\pi}$ = 7.6 V peak. The supply power grows linearly with amplitude while the load power grows as its square, so their difference, the heat in the transistors, peaks in between: $P_\text{diss,max} = \frac{2V_{CC}^2}{\pi^2R_L}$ = 3.65 W total, against 9 W delivered at full swing. Heat sinks are sized for that worst case, not for full output.
:::
:::

::: nameit
## Class A

A follower biased with a current at least the peak load current conducts all the time. With a resistive load and the bias set for full swing ($I_Q = V_{CC}/R_L$), the efficiency at output amplitude $V_p$ is

$$\eta = \frac{1}{4}\left(\frac{V_p}{V_{CC}}\right)^2$$

at most 25% (50% with an inductor or transformer load). The full bias power is dissipated at idle.

## Class B

Two complementary devices, each conducting half the cycle. With sinusoidal output $V_p$ into $R_L$ from ±$V_{CC}$:

$$P_L = \frac{V_p^2}{2R_L}, \qquad P_S = \frac{2V_{CC}V_p}{\pi R_L}, \qquad \eta = \frac{\pi}{4}\cdot\frac{V_p}{V_{CC}}$$

The dissipation $P_S - P_L$ peaks at $V_p = \frac{2V_{CC}}{\pi}$, at $\frac{2V_{CC}^2}{\pi^2R_L}$ for the pair.

## Crossover and class AB

Near zero output neither device conducts in a pure class B stage (each needs a $V_{BE}$ or $V_{GS}$ to turn on), leaving a dead zone: **crossover distortion**, worst at low levels. Class AB biases both devices slightly on with a small quiescent current $I_Q$, set by a translinear loop (lesson 2) or, in CMOS, a floating current source between the output gates, at the cost of $2V_{CC}I_Q$ of idle power.

## Feedback

The output stage sits inside the op amp's loop, so its remaining nonlinearity is divided by the loop gain at the signal frequency. A 50 mV dead zone inside a loop gain of 1000 shows up as 50 µV at the output. Loop gain falls with frequency, so crossover distortion rises at high audio frequencies, which is why audio amplifiers are tested at 20 kHz.

## CMOS rail-to-rail outputs

Common-source output transistors (a PMOS to the top rail, an NMOS to the bottom) swing within a saturation voltage of each rail, unlike followers, which lose a $V_{GS}$. Their gain is part of the op amp's, so they're compensated as a second stage.
:::

::: example
## A class B stage on ±12 V drives 8 Ω. Find the maximum load power, the efficiency there, and the worst-case transistor dissipation.

::: solution
1. **Maximum load power.** At full swing:
   $$\begin{aligned} P_L &= \frac{12^2}{2 \times 8} \\ &= 9\ \text{W} \end{aligned}$$
2. **Supply power.** The efficiency there is η = 78.5%, so the supplies deliver
   $$\frac{9\ \text{W}}{0.785} = 11.5\ \text{W}$$
   and the transistors take 2.5 W.
3. **Worst-case dissipation.** It comes at 7.6 V peak:
   $$\begin{aligned} P_D &= \frac{2 \times 144}{\pi^2 \times 8} \\ &= 3.65\ \text{W} \end{aligned}$$
   for the pair, 1.82 W each.
4. **Compare class A.** A class A follower delivering the same 9 W would need its full 1.5 A bias from 24 V of total supply: 36 W, mostly heat.

**Answer:** 9 W into the load at 78.5% efficiency; the worst-case dissipation is 3.65 W for the pair, 1.82 W per transistor.
:::
:::

::: example
## A class AB stage idles at 5 mA from ±15 V. Its 40 mV crossover dead zone sits inside a loop gain of 2000 at 1 kHz and 100 at 20 kHz. Find the idle power and the dead zone's effect at each frequency.

::: solution
1. **Idle power.**
   $$\begin{aligned} P &= 2 \times 15\ \text{V} \times 5\ \text{mA} \\ &= 0.15\ \text{W} \end{aligned}$$
2. **At 1 kHz.** The feedback reduces the 40 mV dead zone to
   $$\frac{40\ \text{mV}}{2000} = 20\ \text{µV}$$
3. **At 20 kHz.**
   $$\frac{40\ \text{mV}}{100} = 0.4\ \text{mV}$$
   twenty times worse at the top of the audio band.
4. **What follows.** That's why a good audio op amp keeps plenty of loop gain there.

**Answer:** 0.15 W at idle; the dead zone shrinks to 20 µV at 1 kHz and 0.4 mV at 20 kHz.
:::
:::

::: example
## What are the best efficiencies of class A (resistive load), class A (inductively coupled) and class B output stages at full sine output?

::: solution
1. **Class A, resistive load.** 25%.
2. **Class A, transformer or choke coupled.** 50%.
3. **Class B.** Each device conducts only half the time and draws current in proportion to the output:
   $$\frac{\pi}{4} = 78.5\%$$
4. **Class AB.** It sits just below class B at full power, and does much better than class A at low power.

**Answer:** 25% for class A with a resistive load, 50% for class A inductively coupled, and 78.5% for class B.
:::
:::

::: check
given: a = 0.1 | 0.5 | 0.9
answer: pi/4*a*100
unit: %
tolerance: 1%

## A class B stage delivers a sine of amplitude {a} times its supply. What's its efficiency?

::: right
Right. $\frac{\pi}{4}\cdot\frac{V_p}{V_{CC}}$ = {answer}%.
:::

::: misses
- [a^2/4*100] That's class A.
- [any] Not yet. Load power over supply power.
:::
:::

::: check
given: V = 5 | 15 | 30; R = 4 | 8 | 50
answer: 2*V^2/(pi^2*R)
unit: W
tolerance: 1%

## A class B pair runs from ±{V} V into {R} Ω. What's its worst-case total dissipation?

::: right
Right. $\frac{2V_{CC}^2}{\pi^2R_L}$ = {answer} W.
:::

::: misses
- [V^2/(2*R)] That's the maximum load power, not the dissipation.
- [any] Not yet. Maximize $P_S - P_L$ over amplitude.
:::
:::

::: check
given: V = 5 | 12 | 24
answer: 2*V/pi
unit: V
tolerance: 1%

## At what output amplitude does a class B stage on ±{V} V dissipate the most?

::: right
Right. $\frac{2V_{CC}}{\pi}$ = {answer} V.
:::

::: misses
- [V/2] Set the derivative of $P_S - P_L$ to zero: $2V_{CC}/\pi$.
- [any] Not yet. Differentiate the dissipation.
:::
:::

::: check
given: a = 0.3 | 0.7 | 1
answer: a^2/4*100
unit: %
tolerance: 1%

## A class A follower biased for full swing into a resistive load outputs {a} of full swing. What's its efficiency?

::: right
Right. $\frac{1}{4}\left(\frac{V_p}{V_{CC}}\right)^2$ = {answer}%.
:::

::: misses
- [pi/4*a*100] That's class B.
- [any] Not yet. The bias power is constant; the load power grows as $V_p^2$.
:::
:::

::: check
given: V = 9 | 15; R = 8 | 32; p = 0.4 | 0.8
answer: 2*V*p*V/(pi*R)
unit: W
tolerance: 1%

## A class B stage on ±{V} V drives {R} Ω at {p} of full swing. How much power does it draw from the supplies?

::: right
Right. $\frac{2V_{CC}V_p}{\pi R_L}$ = {answer} W.
:::

::: misses
- [(p*V)^2/(2*R)] That's the load power.
- [any] Not yet. Average of $V_{CC}|i|$ over a cycle.
:::
:::

::: check
given: D = 20 | 50 | 100; T = 100 | 1000 | 5000
answer: D/T*1000
unit: µV
tolerance: 1%

## An output stage's crossover dead zone is {D} mV, inside a loop gain of {T}. How large is its effect at the output?

::: right
Right. $\frac{\text{dead zone}}{T}$ = {answer} µV.
:::

::: misses
- [any] Not yet. Feedback divides the error by the loop gain.
:::
:::

::: check
given: V = 5 | 15; I = 1 | 10
answer: 2*V*I
unit: mW
tolerance: 1%

## A class AB stage idles at {I} mA from ±{V} V. What's its idle power?

::: right
Right. $2V_{CC}I_Q$ = {answer} mW.
:::

::: misses
- [V*I] The quiescent current flows from +V to −V: across $2V_{CC}$.
- [any] Not yet. Current times total supply voltage.
:::
:::

::: check
kind: parts
given: V = 12 | 15 | 24; R = 4 | 8 | 16

## A class B stage on ±{V} V drives {R} Ω.

::: part
answer: V^2/(2*R)
unit: W
tolerance: 0.5%

### What is its maximum sine output power?

::: misses
- [any] $V^2/(2R_L)$.
:::
:::

::: part
answer: 2*V^2/(pi^2*R)/2
unit: W
tolerance: 0.5%

### What is each transistor's worst-case dissipation, $V^2/(\pi^2R_L)$?

::: misses
- [any] $V_{CC}^2/(\pi^2R_L)$ per device.
:::
:::
:::

::: check
kind: derivation
vars: V = 5..50, R = 2..100, a = 0.1..1

## A class B stage on ±V drives R at output amplitude a·V.

::: step
answer: (a*V)^2/(2*R)

### What power reaches the load?
:::

::: step
answer: 2*V*a*V/(pi*R)

### What does the supply deliver?
:::

::: step
answer: pi*a/4

### What is the efficiency?
:::

::: right
Right. Efficiency rises in proportion to the amplitude, reaching π/4 at full swing.
:::
:::

::: explain
## Why does a class B output stage dissipate the most heat at partial output rather than at full output?

::: model
The supply current in a class B stage is just the load current, so the power drawn from the supplies grows in proportion to the output amplitude. The power delivered to the load grows as the amplitude squared. The transistors dissipate the difference. At small amplitudes both are small; at full amplitude most of the supply power reaches the load because each transistor drops little voltage when its output is near the rail. In between, the transistors carry substantial current while also dropping a large share of the supply voltage, so their losses peak, at about 64% of full swing.
:::
:::

::: practice

::: check
given: a = 0.25 | 0.4 | 0.5 | 0.6 | 0.75 | 0.9 | 1
answer: pi/4*a*100
unit: %
tolerance: 1%

## Class B efficiency at {a} of full swing?

::: misses
- [any] $\frac{\pi}{4}a$.
:::
:::

::: check
given: V = 10 | 20; R = 4 | 16
answer: 2*V^2/(pi^2*R)
unit: W
tolerance: 1%

## Worst-case class B dissipation: ±{V} V, {R} Ω?

::: misses
- [any] $2V_{CC}^2/\pi^2R_L$.
:::
:::

::: check
given: D = 30 | 80; T = 300 | 3000
answer: D/T*1000
unit: µV
tolerance: 1%

## Dead zone {D} mV inside loop gain {T}?

::: misses
- [any] Dead zone over T.
:::
:::
:::
