---
title: Power amplifiers
heading: Load lines, classes A, B and C by conduction angle, efficiency in back-off and the Doherty idea
eyebrow: S6 · Lesson 35 · Power amplifiers
xp: 50
---

::: hook
A small-signal amplifier is designed for gain and noise; a power amplifier is designed for watts and efficiency. Its transistor is driven across its whole range, from its knee voltage to its maximum current, and the load it sees is chosen to make that swing deliver the most power, not to match its small-signal S-parameters. How the transistor is biased, how much of each cycle it conducts, decides how much of the DC supply becomes RF and how much becomes heat, and modern signals, whose average power sits far below their peaks, make efficiency in back-off the hardest problem of all.
:::

::: play
- The curves are the ideal drain efficiencies of class A and class B amplifiers against output back-off from full power.
- Class A draws constant current, so its efficiency falls in proportion to output power: from 50% at full swing to 5% at 10 dB back-off.
- Class B's current follows the signal, so its efficiency falls only with the voltage swing: from 78.5% to 25% at 10 dB back-off.
:::

```sim plot
view: graph
x: b = 0..15 dB
y: e = 0..80 %
plot: 50*10^(-b/10) | label: class A
plot: 78.54*10^(-b/20) | label: class B
```

::: predict
## A GaN transistor runs from 28 V with a 3 V knee and a 2 A maximum current. In class A, what load should its drain see, and how much power does it give?

- [ ] 50 Ω and 25 W
- [x] 25 Ω and 12.5 W, at 45% efficiency
- [ ] 14 Ω and 28 W
- [ ] 100 Ω and 6 W

::: reveal
The voltage can swing 25 V each way about 28 V, and the current 1 A each way about its 1 A bias, so the load line needs $R_\text{opt} = 25/1 = 25$ Ω and delivers $\frac12 \times 25 \times 1 = 12.5$ W from 28 W of DC: 44.6%. Matching it to 50 Ω for best small-signal gain would clip the voltage before the current reached its limit, giving less power.
:::
:::

::: nameit
## The load line

A transistor with supply $V_{DD}$, knee voltage $V_k$ and peak current $I_\text{max}$ delivers the most power when its load lets voltage and current both reach their limits at once (Cripps):

$$R_\text{opt} = \frac{2(V_{DD} - V_k)}{I_\text{max}}, \qquad P_\text{out} = \frac{(V_{DD} - V_k)I_\text{max}}{4}$$

The output network transforms the 50 Ω antenna to $R_\text{opt}$, often only a few ohms, with the transistor's output capacitance absorbed into it.

## Conduction angle

Bias sets the fraction of each cycle the transistor conducts, its conduction angle α. With a current that is a clipped cosine of peak $I_\text{max}$:

$$I_{dc} = \frac{I_\text{max}}{2\pi}\frac{2\sin\frac{\alpha}{2} - \alpha\cos\frac{\alpha}{2}}{1 - \cos\frac{\alpha}{2}}, \qquad I_1 = \frac{I_\text{max}}{2\pi}\frac{\alpha - \sin\alpha}{1 - \cos\frac{\alpha}{2}}$$

and at full voltage swing the drain efficiency is $\eta = \frac{I_1}{2I_{dc}}\frac{V_{DD} - V_k}{V_{DD}}$.

- **Class A** (α = 2π): $I_{dc} = I_1 = I_\text{max}/2$, η = 50%.
- **Class B** (α = π): $I_{dc} = I_\text{max}/\pi$, $I_1 = I_\text{max}/2$, η = π/4 = 78.5%.
- **Class AB** lies between; **class C** (α < π) is more efficient still but gives less power and gain.
- **Switching classes** (D, E, F) drive the transistor as a switch and shape the voltage and current so they don't overlap: ideally 100%.

## Efficiency, back-off and Doherty

**Power-added efficiency** is $\text{PAE} = (P_\text{out} - P_\text{in})/P_{DC}$, and the transistor dissipates $P_{DC} + P_\text{in} - P_\text{out}$. In back-off, class A's efficiency falls as $10^{-\text{BO}/10}$ and class B's as $10^{-\text{BO}/20}$. A **Doherty** amplifier adds a peaking amplifier that turns on only near peak power and, through a quarter-wave inverter, raises the main amplifier's load at low power, so efficiency peaks both at full power and 6 dB below it.
:::

::: example
## The same 28 V, 3 V knee, 2 A transistor runs in class B. What efficiency does it reach at full power, and at 8 dB back-off? Compare with class A.

::: solution
1. **DC current.** Class B gives the same 12.5 W with
   $$\begin{aligned} I_{dc} &= 2/\pi \\ &= 0.637\ \text{A} \end{aligned}$$
2. **Efficiency at full power.** $P_{DC}$ = 17.8 W, so
   $$\begin{aligned} \eta &= \frac{\pi}{4} \times \frac{25}{28} \\ &= 70.1\% \end{aligned}$$
3. **At 8 dB back-off.**
   $$\begin{aligned} \eta &= 70.1\% \times 10^{-0.4} \\ &= 27.9\% \end{aligned}$$
4. **Class A at 8 dB back-off.** It still draws 28 W to deliver 1.98 W: 7.1%.
5. **Why it matters.** For an OFDM signal averaging 8 dB below its peaks, that difference is the difference between a warm phone and a hot one.

**Answer:** class B reaches 70.1% at full power and 27.9% at 8 dB back-off, against 7.1% for class A at the same back-off.
:::
:::

::: example
## A class C stage conducts for 120° of each cycle. What fractions of $I_\text{max}$ are its DC and fundamental currents, and what is its ideal efficiency?

::: solution
1. **DC current.** With α = 2π/3:
   $$\begin{aligned} I_{dc} &= \frac{I_\text{max}}{2\pi}\cdot\frac{1.732 - 1.047}{0.5} \\ &= 0.218I_\text{max} \end{aligned}$$
2. **Fundamental.**
   $$\begin{aligned} I_1 &= \frac{I_\text{max}}{2\pi}\cdot\frac{2.094 - 0.866}{0.5} \\ &= 0.391I_\text{max} \end{aligned}$$
3. **Ideal efficiency.** With no knee,
   $$\begin{aligned} \eta &= \frac{0.391}{2 \times 0.218} \\ &= 89.7\% \end{aligned}$$
4. **Compare with class A.** The fundamental is 78% of class A's, so with the load re-chosen for full swing the power is 1.07 dB lower; the gain falls further, since the drive must be larger.

**Answer:** $I_{dc}$ = 0.218 $I_\text{max}$ and $I_1$ = 0.391 $I_\text{max}$, for an ideal efficiency of 89.7%.
:::
:::

::: example
## The class A design needs its 50 Ω antenna transformed to 25 Ω. What does a single quarter-wave section need, and what would an L-section's Q be for a 2 Ω load instead?

::: solution
1. **Quarter-wave section.**
   $$\sqrt{50 \times 25} = 35.4\ \Omega$$
2. **L-section for 2 Ω.** For a large transistor with $R_\text{opt}$ = 2 Ω,
   $$\begin{aligned} Q &= \sqrt{50/2 - 1} \\ &= 4.9 \end{aligned}$$
3. **What that means.** That's narrowband and lossy at those currents, so high-power stages use multi-section or tapered matching, often starting inside the transistor's package.

**Answer:** a 35.4 Ω quarter-wave line; for a 2 Ω load an L-section would have Q = 4.9.
:::
:::

::: check
kind: parts
given: V = 5 | 28 | 50; k = 0.5 | 3; I = 0.5 | 2 | 6

## A transistor runs from {V} V with a {k} V knee and {I} A peak current, in class A.

::: part
answer: 2*(V - k)/I
unit: Ω
tolerance: 0.5%

### What load resistance gives the most power?

::: misses
- [(V - k)/I] The current swings only $I_\text{max}/2$ each way: $R = 2(V_{DD} - V_k)/I_\text{max}$.
- [any] $2(V_{DD} - V_k)/I_\text{max}$.
:::
:::

::: part
answer: (V - k)*I/4
unit: W
tolerance: 0.5%

### How much power does it deliver?

::: misses
- [any] $(V_{DD} - V_k)I_\text{max}/4$.
:::
:::

::: part
answer: (V - k)*I/4/(V*I/2)*100
unit: %
tolerance: 0.5%

### What is its drain efficiency?

::: misses
- [any] Output over $V_{DD}I_\text{max}/2$.
:::
:::
:::

::: check
kind: parts
given: V = 12 | 28 | 50; k = 1 | 3; I = 1 | 4

## The same kind of transistor ({V} V, {k} V knee, {I} A peak) runs in class B at full swing.

::: part
answer: V*I/pi
unit: W
tolerance: 0.5%

### What DC power does it draw?

::: misses
- [V*I/2] That's class A's bias; class B's average current is $I_\text{max}/\pi$.
- [any] $V_{DD}I_\text{max}/\pi$.
:::
:::

::: part
answer: pi/4*(V - k)/V*100
unit: %
tolerance: 0.5%

### What is its drain efficiency?

::: misses
- [78.54] Include the knee: $\frac{\pi}{4}\frac{V_{DD} - V_k}{V_{DD}}$.
- [any] $\frac{\pi}{4}\frac{V_{DD} - V_k}{V_{DD}}$.
:::
:::
:::

::: check
kind: parts
given: b = 3 | 6 | 10; a = 45 | 50; c = 70 | 78.5

## An amplifier pair is compared in back-off: class A reaches {a}% at full power and class B {c}%. The signal runs {b} dB below full power.

::: part
answer: a*10^(-b/10)
unit: %
tolerance: 0.5%

### What is class A's efficiency there?

::: misses
- [a*10^(-b/20)] Class A's DC power is constant, so its efficiency follows output power.
- [any] $\eta_A10^{-\text{BO}/10}$.
:::
:::

::: part
answer: c*10^(-b/20)
unit: %
tolerance: 0.5%

### And class B's?

::: misses
- [c*10^(-b/10)] Class B's DC current follows the signal, so its efficiency falls only with the voltage swing.
- [any] $\eta_B10^{-\text{BO}/20}$.
:::
:::
:::

::: check
kind: parts
given: a = 90 | 120 | 150 | 270

## A stage conducts for {a}° of each cycle (no knee voltage).

::: part
answer: (2*sin(a*pi/360) - a*pi/180*cos(a*pi/360))/(1 - cos(a*pi/360))/(2*pi)
tolerance: 0.5%

### What is $I_{dc}/I_\text{max}$?

::: misses
- [any] $\frac{1}{2\pi}\frac{2\sin(\alpha/2) - \alpha\cos(\alpha/2)}{1 - \cos(\alpha/2)}$.
:::
:::

::: part
answer: (a*pi/180 - sin(a*pi/180))/(1 - cos(a*pi/360))/(2*pi)
tolerance: 0.5%

### What is $I_1/I_\text{max}$?

::: misses
- [any] $\frac{1}{2\pi}\frac{\alpha - \sin\alpha}{1 - \cos(\alpha/2)}$.
:::
:::

::: part
answer: 50*(a*pi/180 - sin(a*pi/180))/(2*sin(a*pi/360) - a*pi/180*cos(a*pi/360))
unit: %
tolerance: 0.5%

### What is its ideal efficiency?

::: misses
- [any] $I_1/(2I_{dc})$.
:::
:::
:::

::: check
kind: parts
given: P = 37 | 40 | 47; G = 8 | 10 | 13; e = 40 | 55 | 70; let D = 10^(P/10)/1000/(e/100)

## A PA delivers {P} dBm with {G} dB of gain from {D} W of DC.

::: part
answer: (10^(P/10) - 10^((P - G)/10))/1000/D*100
unit: %
tolerance: 0.5%

### What is its power-added efficiency?

::: misses
- [10^(P/10)/1000/D*100] That's drain efficiency; subtract the input power.
- [any] $(P_\text{out} - P_\text{in})/P_{DC}$.
:::
:::

::: part
answer: D + 10^((P - G)/10)/1000 - 10^(P/10)/1000
unit: W
tolerance: 0.5%

### How much heat must the transistor shed?

::: misses
- [D - 10^(P/10)/1000] The input drive is dissipated too.
- [any] $P_{DC} + P_\text{in} - P_\text{out}$.
:::
:::
:::

::: check
kind: parts
given: R = 1 | 3 | 12.5; Z = 50

## A PA's optimum load is {R} Ω and its antenna is {Z} Ω.

::: part
answer: sqrt(Z*R)
unit: Ω
tolerance: 0.5%

### What impedance must a single quarter-wave transformer have?

::: misses
- [any] $\sqrt{Z_0R_\text{opt}}$.
:::
:::

::: part
answer: sqrt(Z/R - 1)
tolerance: 0.5%

### What Q would a single L-section have?

::: misses
- [any] $\sqrt{R_H/R_L - 1}$.
:::
:::
:::

::: check
kind: choice

## Why do cellular base stations use Doherty amplifiers rather than a single class AB stage?

- [ ] Doherty amplifiers have more gain
- [x] Their signals run 6 to 10 dB below peak on average, where a single class AB stage's efficiency has collapsed; a Doherty keeps efficiency high from full power down to about 6 dB back-off by modulating the main amplifier's load
- [ ] Doherty amplifiers are more linear without correction
- [ ] They use fewer transistors

::: misses
- [1] Their gain is usually a little lower.
- [3] They need predistortion to meet linearity specs.
- [4] They use two, a main and a peaking amplifier.
:::
:::

::: check
kind: derivation
vars: a = 1.6..6.28

## A stage conducts for a conduction angle of a radians.

::: step
answer: (2*sin(a/2) - a*cos(a/2))/(1 - cos(a/2))/(2*pi)

### What is $I_{dc}/I_\text{max}$?
:::

::: step
answer: (a - sin(a))/(1 - cos(a/2))/(2*pi)

### What is $I_1/I_\text{max}$?
:::

::: step
answer: (a - sin(a))/(2*(2*sin(a/2) - a*cos(a/2)))

### What is the ideal efficiency?
:::

::: right
Right. Shrinking the conduction angle concentrates the current where the voltage is lowest, raising efficiency toward 100% as α → 0, but with vanishing output.
:::
:::

::: check
kind: python

## Write `harmonics(alpha, N=100000)`: the DC and fundamental components of a clipped-cosine current of peak 1 and conduction angle alpha, by numerically averaging over one cycle; check them against the closed forms.

```python starter
def harmonics(alpha, N=100000):
    return (0.5, 0.5)
```

```python solution
import math

def harmonics(alpha, N=100000):
    c = math.cos(alpha / 2)
    s0 = s1 = 0.0
    for k in range(N):
        th = -math.pi + 2 * math.pi * (k + 0.5) / N
        i = max(0.0, (math.cos(th) - c) / (1 - c))
        s0 += i
        s1 += i * math.cos(th)
    return (s0 / N, 2 * s1 / N)
```

```python tests
import math
idc, i1 = harmonics(math.pi)
assert abs(idc - 1 / math.pi) < 1e-6 and abs(i1 - 0.5) < 1e-6, "Class B: 1/π and 1/2."
a = 2 * math.pi / 3
idc, i1 = harmonics(a)
assert abs(idc - 0.2180) < 1e-4 and abs(i1 - 0.3910) < 1e-4, "120°: 0.218 and 0.391."
assert abs(i1 / (2 * idc) - 0.8968) < 1e-3, "Ideal efficiency 89.7%."
```

::: right
Right. The same averaging gives the harmonics a switching amplifier's output network must handle.
:::
:::

::: explain
## Why does a power amplifier's efficiency matter so much more for modern signals than for a constant-envelope tone?

::: model
A transistor amplifier is most efficient when its voltage and current swing all the way between their limits, at full power. Signals such as OFDM have a high ratio of peak to average power, so the amplifier must be sized for the peaks and spends most of its time well below them. In class A the DC current is constant, so efficiency falls in proportion to output power; even in class B it falls with the voltage swing, so at 8 to 10 dB of back-off most of the DC power becomes heat. That heat limits battery life and cooling, which is why techniques that keep efficiency high in back-off, the Doherty amplifier and envelope tracking, along with predistortion to keep them linear, dominate modern transmitters.
:::
:::

::: practice
::: check
given: V = 10 | 32; k = 1 | 4; I = 1 | 3
answer: 2*(V - k)/I
unit: Ω
tolerance: 0.5%

## Class A optimum load: {V} V, {k} V knee, {I} A?

::: misses
- [any] $2(V_{DD} - V_k)/I_\text{max}$.
:::
:::

::: check
given: b = 4 | 9; c = 65 | 75
answer: c*10^(-b/20)
unit: %
tolerance: 0.5%

## Class B efficiency {b} dB below a full-power {c}%?

::: misses
- [any] $\eta10^{-\text{BO}/20}$.
:::
:::

::: check
given: P = 33 | 43; G = 12 | 18; e = 45 | 65; let D = 10^(P/10)/1000/(e/100)
answer: (10^(P/10) - 10^((P - G)/10))/1000/D*100
unit: %
tolerance: 0.5%

## PAE: {P} dBm out, {G} dB gain, {D} W DC?

::: misses
- [any] $(P_\text{out} - P_\text{in})/P_{DC}$.
:::
:::
:::
