---
title: Impedance matching with lines and stubs
heading: Quarter-wave transformers and single-stub tuners
eyebrow: C10 · Lesson 16 · Impedance matching with lines and stubs
xp: 50
---

::: hook
An antenna that presents 25 + j40 Ω to a 50 Ω radio reflects nearly a third of the transmitter's power back at it. A matching network fixes that, and at microwave frequencies the network is usually made of line itself: a quarter-wave section of the right impedance, or a short stub placed at just the right distance from the load. On the Smith chart, matching is a journey to the center: first along a circle of constant |Γ| (moving along the line), then along a circle of constant conductance (adding a stub), until the load looks like exactly 50 Ω.
:::

::: play
- A load $Z_L$ sits on a 50 Ω line. Moving d wavelengths toward the source takes it to $Z_1$; a shorted stub of length $l_s$ connected across the line there gives $Z_2$, what the source finally sees.
- First drag d until $Z_1$ lands on the circle r = 1 when inverted (its admittance has real part 1). Then drag $l_s$: the stub only adds susceptance, so $Z_2$ slides along a circle of constant conductance.
- Find the pair that puts $Z_2$ at the center: the readout shows the remaining |Γ|. For the starting 100 Ω load, d = 0.152 and $l_s$ = 0.152 work.
:::
:::

```sim plot
view: smith
z0: 50
slider: RL = 10..250 = 100 step 1 Ω
slider: XL = -100..100 = 0 step 1 Ω
slider: d = 0..0.5 = 0.1 step 0.001
slider: ls = 0.001..0.499 = 0.1 step 0.001
z: RL + j*XL | label: Z_L | vswr
z: 50*(RL + j*XL + j*50*tan(2*pi*d))/(50 + j*(RL + j*XL)*tan(2*pi*d)) | label: Z_1
z: 1/((50 + j*(RL + j*XL)*tan(2*pi*d))/(50*(RL + j*XL + j*50*tan(2*pi*d))) + 1/(j*50*tan(2*pi*ls))) | label: Z_2
readout: remaining |Γ| = abs((1/((50 + j*(RL + j*XL)*tan(2*pi*d))/(50*(RL + j*XL + j*50*tan(2*pi*d))) + 1/(j*50*tan(2*pi*ls))) - 50)/(1/((50 + j*(RL + j*XL)*tan(2*pi*d))/(50*(RL + j*XL + j*50*tan(2*pi*d))) + 1/(j*50*tan(2*pi*ls))) + 50)) | digits: 3
```

::: predict
## A quarter-wave transformer matches 100 Ω to 50 Ω at 1 GHz. What does the source see at 2 GHz?

- [ ] Still 50 Ω
- [x] 100 Ω: the section is now half a wavelength and just repeats the load
- [ ] 25 Ω
- [ ] An open circuit

::: reveal
100 Ω. At 2 GHz the 70.7 Ω section is λ/2 long, and a half-wave line repeats its load. Every line-based match works exactly at one frequency and degrades away from it; the bandwidth is part of the design.
:::
:::

::: nameit
## Quarter-wave transformer

To match a real load $R_L$ to $Z_0$: a λ/4 section of impedance $Z_1 = \sqrt{Z_0R_L}$. For complex loads, first move along the line to where the impedance is real (a voltage maximum or minimum), then add the transformer there. Several sections in a row, with impedances stepping gradually, widen the bandwidth.

## Single-stub shunt matching

1. Move a distance d from the load to where the normalized admittance is $y = 1 + jb$ (the chart's g = 1 circle).
2. Connect a stub in parallel there with susceptance −jb, leaving y = 1: matched.

For a real load $R_L > Z_0$, one solution is

$$\frac{d}{\lambda} = \frac{1}{2\pi}\tan^{-1}\sqrt{\frac{R_L}{Z_0}}, \qquad b = \frac{R_L - Z_0}{\sqrt{R_LZ_0}}$$

A shorted stub's normalized admittance is $-j\cot\beta l_s$, so canceling b needs

$$\frac{l_s}{\lambda} = \frac{1}{2\pi}\tan^{-1}\frac{1}{b}$$

(for b > 0; add a half wavelength's worth of angle, π, inside for b < 0). Open stubs work too and are often easier on a board; shorted ones avoid radiation from the open end.

## Lumped L-networks

At lower frequencies the same jobs are done by a series and a shunt reactance (C3's L-network): with $Q = \sqrt{R_\text{high}/R_\text{low} - 1}$, the series reactance is $QR_\text{low}$ and the shunt reactance $R_\text{high}/Q$.
:::

::: example
## Match a 100 Ω load to a 50 Ω line with a single shorted stub.

::: solution
1. **Stub position.**
   $$\begin{aligned} \frac d\lambda &= \frac{\tan^{-1}\sqrt2}{2\pi} \\ &= 0.152 \end{aligned}$$
2. **Admittance there.** The susceptance is
   $$\begin{aligned} b &= \frac{50}{\sqrt{5000}} \\ &= 0.707 \end{aligned}$$
   so $y = 1 + j0.707$.
3. **Stub length.** The stub must add $-j0.707$:
   $$\begin{aligned} \frac{l_s}\lambda &= \frac{\tan^{-1}(1/0.707)}{2\pi} \\ &= 0.152 \end{aligned}$$
4. **A coincidence.** Both happen to be 0.152 λ for this load.

**Answer:** put a shorted stub 0.152λ long at 0.152λ from the load.
:::
:::

::: example
## Design a quarter-wave transformer from 25 Ω to 50 Ω at 2.4 GHz on FR-4 ($\varepsilon_\text{eff}$ = 3.3).

::: solution
1. **Section impedance.**
   $$\begin{aligned} Z_1 &= \sqrt{25 \times 50}\ \Omega \\ &= 35.4\ \Omega \end{aligned}$$
2. **Wavelength on the board.**
   $$\begin{aligned} \lambda &= \frac{299.8}{2.4\sqrt{3.3}}\ \text{mm} \\ &= 68.8\ \text{mm} \end{aligned}$$
3. **Quarter of it.**
   $$\frac{68.8\ \text{mm}}{4} = 17.2\ \text{mm}$$
4. **The trace.** A wider trace than the 50 Ω line gives the lower impedance.

**Answer:** a 35.4 Ω section 17.2 mm long.
:::
:::

::: example
## Match a 10 Ω load to 50 Ω at 100 MHz with an L-network.

::: solution
1. **Q of the network.**
   $$\begin{aligned} Q &= \sqrt{\frac{50}{10} - 1} \\ &= 2 \end{aligned}$$
2. **Reactances.** The element in series with the 10 Ω load has
   $$\begin{aligned} X &= Q \times 10 \\ &= 20\ \Omega \end{aligned}$$
   and the shunt element across the 50 Ω side, of opposite type, has
   $$\begin{aligned} X &= \frac{50}{Q} \\ &= 25\ \Omega \end{aligned}$$
3. **Series inductor.**
   $$\begin{aligned} L &= \frac{20}{2\pi \times 100\ \text{MHz}} \\ &= 31.8\ \text{nH} \end{aligned}$$
4. **Shunt capacitor.**
   $$\begin{aligned} C &= \frac{1}{2\pi \times 100\ \text{MHz} \times 25} \\ &= 63.7\ \text{pF} \end{aligned}$$
5. **Bandwidth.** The match holds over roughly f/Q, about 50 MHz.

**Answer:** a 31.8 nH series inductor next to the load and a 63.7 pF shunt capacitor across the 50 Ω side.
:::
:::

::: check
given: RL = 12.5 | 100 | 200 | 450; Z0 = 50
answer: sqrt(Z0*RL)
unit: Ω
tolerance: 0.5%

## What impedance should a quarter-wave transformer have to match {RL} Ω to {Z0} Ω?

::: right
Right. $\sqrt{Z_0R_L}$ = {answer} Ω.
:::

::: misses
- [(Z0 + RL)/2] Use the geometric mean.
- [any] Not yet. $Z_1^2 = Z_0R_L$.
:::
:::

::: check
kind: parts
given: RL = 100 | 150 | 250; Z0 = 50

## A {RL} Ω load on a {Z0} Ω line is matched with a single shorted shunt stub.

::: part
answer: atan(sqrt(RL/Z0))/(2*pi)
tolerance: 0.5%

### How far from the load (in wavelengths) is the stub placed, for the first solution?

::: misses
- [any] $\tan^{-1}\sqrt{R_L/Z_0}/(2\pi)$.
:::
:::

::: part
answer: (RL - Z0)/sqrt(RL*Z0)
tolerance: 0.5%

### What normalized susceptance b does the line show there?

::: misses
- [any] $b = (R_L - Z_0)/\sqrt{R_LZ_0}$.
:::
:::

::: part
answer: atan(sqrt(RL*Z0)/(RL - Z0))/(2*pi)
tolerance: 0.5%

### How long must the shorted stub be, in wavelengths?

::: misses
- [any] $\tan^{-1}(1/b)/(2\pi)$.
:::
:::
:::

::: check
given: b = 0.5 | 0.7 | 2
answer: atan(1/b)/(2*pi)
tolerance: 0.5%

## A shorted stub must provide a normalized susceptance of −j{b}. How long is it, in wavelengths?

::: right
Right. $\cot\beta l_s = b$: $l_s = \tan^{-1}(1/b)/(2\pi)$ = {answer} λ.
:::

::: misses
- [atan(b)/(2*pi)] A shorted stub's admittance is $-j\cot\beta l$: cot, not tan, equals b.
- [any] Not yet. Solve $\cot\beta l_s = b$.
:::
:::

::: check
given: RL = 10 | 25 | 75 | 100 | 150 | 200; Z0 = 50
answer: abs((RL - Z0)/(RL + Z0))
tolerance: 0.5%

## A quarter-wave transformer matches {RL} Ω to {Z0} Ω at its design frequency. What is |Γ| at twice that frequency, where the section is half a wavelength?

::: right
Right. The half-wave section repeats the load, so Γ is the unmatched load's: {answer}.
:::

::: misses
- [0] The match only holds at the design frequency.
- [any] Not yet. A half-wave line shows the load itself.
:::
:::

::: check
kind: parts
given: Rh = 100 | 200 | 500; Rl = 10 | 50

## A lumped L-network matches {Rh} Ω to {Rl} Ω.

::: part
answer: sqrt(Rh/Rl - 1)
tolerance: 0.5%

### What is its Q?

::: misses
- [any] $\sqrt{R_\text{high}/R_\text{low} - 1}$.
:::
:::

::: part
answer: sqrt(Rh/Rl - 1)*Rl
unit: Ω
tolerance: 0.5%

### What series reactance does it need?

::: misses
- [any] $QR_\text{low}$.
:::
:::
:::

::: check
given: f = 0.9 | 2.4 | 5.8; er = 3.3 | 4.4
answer: 299.792458/(f*sqrt(er))/4
unit: mm
tolerance: 0.5%

## How long is a quarter-wave transformer at {f} GHz on a board with $\varepsilon_\text{eff}$ = {er}?

::: right
Right. λ/4 = {answer} mm.
:::

::: misses
- [299.792458/f/4] Use the wavelength on the board, slowed by $\sqrt{\varepsilon_\text{eff}}$.
- [any] Not yet. $c/(4f\sqrt{\varepsilon_\text{eff}})$.
:::
:::

::: check
kind: choice

## On the Smith chart, what path does adding a shunt stub take?

- [ ] A circle around the center
- [x] Along a circle of constant conductance, because the stub adds only susceptance
- [ ] Along a circle of constant resistance
- [ ] Straight to the center

::: misses
- [1] That's moving along the line.
- [3] A series reactance would move along constant resistance; a shunt one changes susceptance.
- [4] Only if the point is already on the g = 1 circle with the right b.
:::
:::

::: check
kind: parts
given: R = 5 | 10 | 20; Z = 50 | 75; f = 100 | 900

## An L-network matches a {R} Ω load to {Z} Ω at {f} MHz.

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

### What is its Q?

::: misses
- [any] $\sqrt{R_\text{high}/R_\text{low} - 1}$.
:::
:::

::: part
answer: sqrt(Z/R - 1)*R/(2*pi*f*1e6)*1e9
unit: nH
tolerance: 0.5%

### What series inductance does it use next to the load?

::: misses
- [any] $X = QR_\text{low}$, then $L = X/\omega$.
:::
:::
:::

::: check
kind: parts
given: Z1 = 25 | 12.5; Z2 = 50 | 75; f = 1 | 2.4; e = 3.3 | 1

## A quarter-wave transformer matches {Z1} Ω to {Z2} Ω at {f} GHz, on a line with $\varepsilon_\text{eff}$ = {e}.

::: part
answer: sqrt(Z1*Z2)
unit: Ω
tolerance: 0.5%

### What impedance must the section have?

::: misses
- [any] The geometric mean.
:::
:::

::: part
answer: 29.98/(f*sqrt(e))/4
unit: cm
tolerance: 0.5%

### How long is it?

::: misses
- [29.98/(f*sqrt(e))] A quarter of the wavelength.
- [any] $\lambda/4$ on the line.
:::
:::
:::

::: explain
## Why does single-stub matching need two adjustments, a position and a stub length?

::: model
A match requires the admittance at one point to equal $Y_0$ exactly: both its real and imaginary parts must be right, two conditions. A stub can only add imaginary admittance, susceptance, so it can fix the imaginary part but not the real part. Moving along the line changes both parts of the admittance as the point turns around the chart, and there are particular positions where the real part is exactly $Y_0$. Choosing such a position satisfies the first condition, and choosing the stub length cancels whatever susceptance is left, the second.
:::
:::

::: practice

::: check
given: RL = 25 | 75 | 100 | 150 | 200 | 300
answer: sqrt(50*RL)
unit: Ω
tolerance: 0.5%

## Quarter-wave transformer from {RL} Ω to 50 Ω?

::: misses
- [any] $\sqrt{50R_L}$.
:::
:::

::: check
given: b = 0.5 | 0.8 | 1 | 1.2 | 1.5 | 2 | 3
answer: atan(1/b)/(2*pi)
tolerance: 0.5%

## Shorted stub length for −j{b}?

::: misses
- [any] $\tan^{-1}(1/b)/2\pi$.
:::
:::

::: check
given: RL = 75 | 100 | 150 | 200 | 300 | 500
answer: atan(sqrt(RL/50))/(2*pi)
tolerance: 0.5%

## Stub position for {RL} Ω on 50 Ω?

::: misses
- [any] $\tan^{-1}\sqrt{R_L/Z_0}/2\pi$.
:::
:::
:::
