Skip to content
LumenaryAcademy
Waves 75 min

Transmission lines and matching

When a wire is long enough to matter, signals travel as waves along it, and every change of impedance sends part of them back.

Code tested · 5AI-draftedAwaiting review by an electrical engineer

Your guides: Chloe · The Physicist, Margaret · The Bench Engineer, Gideon · The Design Reviewer

MotivationH

When a wire stops being a wire

In circuit analysis a wire is a perfect connection: the voltage at one end is the voltage at the other, instantly. That is an approximation, and it fails in a way every engineer meets sooner or later. A microcontroller drives a 3.3 V clock signal along a 16 cm trace to another chip, and the oscilloscope at the far end shows not a clean step but a spike to 5 V, a dip, and a ringing tail. The signal leaves an antenna amplifier perfectly and half of it comes back. An Ethernet cable works over 100 m but a home-made extension with the wrong cable fails at 10 m.

All of these are the same phenomenon. A signal does not appear at the far end of a wire instantly: it travels as an electromagnetic wave guided by the conductors, at a large fraction of the speed of light, exactly as in the previous lesson but confined to the space around two conductors. When the wave reaches a point where the impedance changes, part of it reflects. If the travel time is short compared with how fast the signal changes, the reflections blur into the lumped circuit you know. If not, you must treat the connection as a transmission line.

This lesson builds the model, computes the impedance of real cables and circuit-board traces, simulates the reflections, and shows how engineers match impedances so that the wave arrives and stays.

IntuitionH

Length, wavelength and rise time

Two comparisons decide whether a connection is "electrically long".

Length against wavelength. For a sine wave of frequency ff travelling at speed vv, the wavelength is λ=v/f\lambda = v/f. If the line is much shorter than λ\lambda, the voltage is nearly the same along it at any instant; if it is a sizeable fraction of λ\lambda, the voltage at the two ends can be quite different, even opposite. A common rule of thumb draws the line at about λ/10\lambda/10.

  • The 50 Hz mains in a house: λ=c/f≈6000\lambda = c/f \approx 6000 km. House wiring is lumped. A 1000 km high-voltage line is not, and power engineers model it as a transmission line.
  • A 2.4 GHz Wi-Fi signal on a circuit board, where v≈0.55cv \approx 0.55c: λ≈7\lambda \approx 7 cm. A 1 cm trace to the antenna is already a transmission line.

Delay against rise time. Digital signals are not sine waves; what matters is how fast the edges are. A step with a 10–90 % rise time trt_r contains significant frequencies up to roughly 0.35/tr0.35/t_r (the bandwidth of a single-pole system with that rise time, from frequency response). If the line's one-way delay TdT_d is more than a fraction of trt_r (rules of thumb range from a sixth to a half, depending on how much ringing a design can tolerate), the reflections are visible as separate steps rather than smoothed into the edge.

Example— Is this trace a transmission line?

A 10 cm microstrip trace on an FR-4 circuit board has a delay of about 6 ps per millimetre (computed below), so Td≈0.6T_d \approx 0.6 ns. A slow logic family with tr=5t_r = 5 ns gives Td/tr=0.12T_d/t_r = 0.12: lumped is fine. A modern microcontroller output with tr≈1t_r \approx 1 ns gives 0.60.6: a transmission line, whose reflections will show. A 10 Gbit/s serial link with tr≈30t_r \approx 30 ps gives 20: the trace holds twenty rise times of signal at once and must be designed as a transmission line from the start.

The clock frequency is not what matters. A 1 MHz clock with 1 ns edges rings as badly as a 100 MHz clock with 1 ns edges; it just rings less often. Engineers who forget this are surprised when a "slow" design fails after a supplier switches to a faster part.

DefinitionsH

The telegrapher's model

Any two parallel conductors (the core and shield of a coaxial cable, a circuit-board trace and the copper plane beneath it, the two wires of a twisted pair) store magnetic energy when current flows and electric energy when there is a voltage between them. Spread along the line, that gives an inductance and a capacitance per unit length. Cut the line into short sections of length Δz\Delta z and each one is a small circuit:

R ΔzL ΔzC ΔzG Δz……one section of length Δz
The telegrapher's model: a transmission line as a chain of identical short sections. Each section of length Δz has series resistance R Δz and inductance L Δz (the conductors), and shunt capacitance C Δz and conductance G Δz (the insulation between them). Letting Δz shrink to zero gives the telegrapher's equations.

Apply Kirchhoff's voltage law around one section and the current law at its node, divide by Δz\Delta z and let Δz→0\Delta z \to 0. For a lossless line (R=G=0R = G = 0) this gives the telegrapher's equations

∂V∂z=−L∂I∂t,∂I∂z=−C∂V∂t,\frac{\partial V}{\partial z} = -L\frac{\partial I}{\partial t}, \qquad \frac{\partial I}{\partial z} = -C\frac{\partial V}{\partial t},

the same pair of coupled first-order equations as Faraday's and the Ampère–Maxwell laws for a plane wave. Eliminating II gives the wave equation ∂2V/∂z2=LC ∂2V/∂t2\partial^2 V/\partial z^2 = LC\,\partial^2 V/\partial t^2, so voltage and current travel as waves.

Definition— characteristic impedance and propagation speed

A lossless line with inductance LL and capacitance CC per unit length carries waves at speed v=1/LCv = 1/\sqrt{LC}. A wave travelling in one direction has a fixed ratio of voltage to current, the characteristic impedance

Z0=LC.Z_0 = \sqrt{\frac{L}{C}}.

With losses, in the sinusoidal steady state, Z0=(R+jωL)/(G+jωC)Z_0 = \sqrt{(R + j\omega L)/(G + j\omega C)} and the wave decays as it travels.

Z0Z_0 is not a resistance you can measure with an ohmmeter: it is the ratio V/IV/I seen by a wave that has not yet met anything. A step launched into a long 50 Ω cable draws exactly the current it would draw from a 50 Ω resistor, until the reflection from the far end returns. For a line filled with a dielectric of permittivity εr\varepsilon_r, LC=εr/c2LC = \varepsilon_r/c^2 always, so v=c/εrv = c/\sqrt{\varepsilon_r}, with εr\varepsilon_r replaced by an effective permittivity when the field is partly in air.

ExplanationH

Coaxial cables and circuit-board traces

For a coaxial cable with inner conductor diameter dd, outer diameter DD and dielectric εr\varepsilon_r, Gauss's and Ampère's laws give exact formulas:

L=μ02πln⁡Dd,C=2πε0εrln⁡(D/d),Z0=η02πεrln⁡Dd≈60 Ωεrln⁡Dd.L = \frac{\mu_0}{2\pi}\ln\frac{D}{d}, \qquad C = \frac{2\pi\varepsilon_0\varepsilon_r}{\ln(D/d)}, \qquad Z_0 = \frac{\eta_0}{2\pi\sqrt{\varepsilon_r}}\ln\frac{D}{d} \approx \frac{60\ \Omega}{\sqrt{\varepsilon_r}}\ln\frac{D}{d}.

A microstrip (a trace of width ww on a board of thickness hh over a ground plane) has part of its field in the board and part in the air above, so it has no exact formula. Engineers use fitted closed-form approximations, such as Hammerstad's below, for first estimates, and field solvers for final designs. The program computes a coaxial cable with dimensions like the common RG-58 family, finds the trace width for 50 Ω on FR-4 board material for two board thicknesses, and asks a historical question.

python
import math

c, eps0, mu0 = 299_792_458.0, 8.8541878188e-12, 1.25663706127e-6
eta0 = math.sqrt(mu0 / eps0)

def coax(d_inner, d_outer, eps_r):
    """Per-metre L and C, characteristic impedance and speed of a coaxial line."""
    ln = math.log(d_outer / d_inner)
    L = mu0 / (2 * math.pi) * ln
    C = 2 * math.pi * eps0 * eps_r / ln
    return L, C, math.sqrt(L / C), 1 / math.sqrt(L * C)

def microstrip(w, h, eps_r):
    """Hammerstad's closed-form approximations: (Z0, effective permittivity)."""
    u = w / h
    if u <= 1:
        e_eff = (eps_r + 1) / 2 + (eps_r - 1) / 2 * (1 / math.sqrt(1 + 12 / u) + 0.04 * (1 - u) ** 2)
        z0 = 60 / math.sqrt(e_eff) * math.log(8 / u + u / 4)
    else:
        e_eff = (eps_r + 1) / 2 + (eps_r - 1) / 2 / math.sqrt(1 + 12 / u)
        z0 = eta0 / (math.sqrt(e_eff) * (u + 1.393 + 0.667 * math.log(u + 1.444)))
    return z0, e_eff

L, C, z0, v = coax(0.81e-3, 2.95e-3, 2.25)    # dimensions like the common RG-58 family
print(f"coax: L = {L * 1e9:.0f} nH/m, C = {C * 1e12:.0f} pF/m, Z0 = {z0:.1f} ohm, "
      f"v = {v / c:.3f} c, delay = {1e9 / v:.2f} ns/m")

def width_for(z_target, h, eps_r):
    lo, hi = 0.01 * h, 20 * h          # Z0 falls as the trace gets wider: bisect on w
    for _ in range(60):
        mid = (lo + hi) / 2
        if microstrip(mid, h, eps_r)[0] > z_target:
            lo = mid
        else:
            hi = mid
    return mid

for h in (1.6e-3, 0.2e-3):                 # FR-4 laminate, eps_r about 4.3
    w = width_for(50, h, 4.3)
    z0, e_eff = microstrip(w, h, 4.3)
    print(f"50-ohm microstrip, h = {h * 1e3:.1f} mm: w = {w * 1e3:.2f} mm, "
          f"eps_eff = {e_eff:.2f}, delay = {math.sqrt(e_eff) / c * 1e10:.1f} ps/cm")

# Why 50 ohm? For an air-filled coax of fixed outer size, loss and power handling depend on b/a.
best_loss = min((x / 1000 for x in range(1100, 10000)), key=lambda x: (1 + x) / math.log(x))
best_power = max((x / 1000 for x in range(1100, 10000)), key=lambda x: math.log(x) / x**2)
for name, x in [("lowest loss", best_loss), ("highest power", best_power)]:
    print(f"air coax, {name:13}: b/a = {x:.2f}, Z0 = {eta0 / (2 * math.pi) * math.log(x):.1f} ohm")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

The coaxial cable carries signals at two-thirds of the speed of light, 5 ns per metre. The 50 Ω trace is about twice as wide as the board is thick, whatever the thickness, because Z0Z_0 depends only on the ratio w/hw/h; so a thin four-layer board needs narrow traces (0.39 mm here) and a 1.6 mm two-layer board needs wide ones (3.1 mm). The effective permittivity, 3.27, lies between that of air (1) and of FR-4 (4.3), and gives 60 ps per centimetre.

ExplanationH

Reflections, standing waves and VSWR

Suppose a line of impedance Z0Z_0 ends in a load ZLZ_L. The incident wave has V+/I+=Z0V^+/I^+ = Z_0, but the load insists on V/I=ZLV/I = Z_L. If ZL≠Z0Z_L \ne Z_0, both conditions can only hold if a reflected wave V−V^- (with V−/I−=−Z0V^-/I^- = -Z_0, since it travels the other way) is added. Solving V++V−=ZL (V+−V−)/Z0V^+ + V^- = Z_L\,(V^+ - V^-)/Z_0 gives the central formula of the subject.

Definition— reflection coefficient

The reflection coefficient at a load ZLZ_L on a line of impedance Z0Z_0 is

Γ=V−V+=ZL−Z0ZL+Z0.\Gamma = \frac{V^-}{V^+} = \frac{Z_L - Z_0}{Z_L + Z_0}.

A matched load (ZL=Z0Z_L = Z_0) gives Γ=0\Gamma = 0; an open circuit gives Γ=+1\Gamma = +1 (the voltage doubles); a short gives Γ=−1\Gamma = -1 (the voltage cancels, as at the perfect conductor in the previous lesson's simulation). For a passive load ∣Γ∣≤1|\Gamma| \le 1.

With a sinusoidal signal, the incident and reflected waves add to a standing wave. At a distance dd back from the load the voltage is V+ejβd (1+Γe−2jβd)V^+e^{j\beta d}\,(1 + \Gamma e^{-2j\beta d}), where β=2π/λ\beta = 2\pi/\lambda. Its amplitude swings between ∣V+∣(1+∣Γ∣)|V^+|(1 + |\Gamma|) and ∣V+∣(1−∣Γ∣)|V^+|(1 - |\Gamma|), with maxima half a wavelength apart. Three numbers describe the mismatch, and you will meet all of them on datasheets:

  • the voltage standing-wave ratio VSWR=Vmax⁡/Vmin⁡=(1+∣Γ∣)/(1−∣Γ∣)\text{VSWR} = V_{\max}/V_{\min} = (1 + |\Gamma|)/(1 - |\Gamma|), from 1 (matched) to infinity;
  • the return loss −20log⁡10∣Γ∣-20\log_{10}|\Gamma| dB, how far below the incident power the reflection is (larger is better);
  • the mismatch loss −10log⁡10(1−∣Γ∣2)-10\log_{10}(1 - |\Gamma|^2) dB, the power that fails to reach the load because it was reflected.
VSWR∣Γ∣\lvert\Gamma\rvertReturn lossPower reflectedMismatch loss
1.10.04826.4 dB0.2 %0.01 dB
1.50.20014.0 dB4.0 %0.18 dB
2.00.3339.5 dB11.1 %0.51 dB
3.00.5006.0 dB25.0 %1.25 dB

A VSWR of 2 sounds bad and costs only half a decibel of power; mismatch matters more for what the reflection does (ringing in a digital link, an unstable amplifier, a distorted measurement) than for the power it loses.

Because of the standing wave, the impedance seen looking into the line changes with its length. A lossless line of length ℓ\ell ending in ZLZ_L presents

Zin=Z0 ZL+jZ0tan⁡βℓZ0+jZLtan⁡βℓ.Z_{\text{in}} = Z_0\,\frac{Z_L + jZ_0\tan\beta\ell}{Z_0 + jZ_L\tan\beta\ell}.

Three special cases are worth knowing by heart: a half-wavelength line repeats the load (Zin=ZLZ_{\text{in}} = Z_L); a quarter-wavelength line inverts it (Zin=Z02/ZLZ_{\text{in}} = Z_0^2/Z_L); and a short-circuited line of length ℓ\ell presents a pure reactance jZ0tan⁡βℓjZ_0\tan\beta\ell, an inductor if shorter than λ/4\lambda/4 and a capacitor if between λ/4\lambda/4 and λ/2\lambda/2. Microwave circuits use such stubs in place of components.

ComputationC

Bounce diagrams: reflections in time

Now return to the ringing clock signal. A driver with output resistance RsR_s steps from 0 to VsV_s at t=0t = 0, into a line of impedance Z0Z_0 and one-way delay TT, ending in a load RLR_L. At first the driver sees only Z0Z_0, so it launches a wave V1=VsZ0/(Rs+Z0)V_1 = V_s Z_0/(R_s + Z_0). At t=Tt = T this reaches the load and reflects with ΓL\Gamma_L; at 2T2T the reflection reaches the source and reflects again with Γs=(Rs−Z0)/(Rs+Z0)\Gamma_s = (R_s - Z_0)/(R_s + Z_0); and so on. A bounce diagram (or lattice diagram) draws the waves zigzagging down a time axis, and the voltage anywhere is the sum of every wave that has passed.

source endRs = 15 Ω, Γs = −0.54load end (open)ΓL = +102T4TT3T+2.54 V+2.54 V−1.37 V−1.37 V+0.74 Vload: 5.08 Vload: 2.34 Vtime ↓
Bounce diagram for a 3.3 V step from a 15 Ω driver into a 50 Ω line with an open end. Each arrow is one wave, labelled with its voltage. The load sees the sum of the arriving wave and its reflection: 2 × 2.54 = 5.08 V at time T, then 5.08 − 2 × 1.37 = 2.34 V at 3T, and so on, converging to 3.3 V.

The program adds up the waves for three designs: a strong (15 Ω) driver with no termination, the same line with the driver's resistance raised to 50 Ω (series termination), and the strong driver with a 50 Ω resistor at the far end (parallel termination). The delay of 1 ns is about 16 cm of the microstrip computed above.

python
import numpy as np

def bounce(vs, rs, z0, rl, delay, t_end, dt):
    """Voltage at the load of a lossless line driven by a step from vs through rs.
    Returns (times, load voltages) by adding up the waves of the lattice diagram."""
    gs = (rs - z0) / (rs + z0)                     # reflection coefficient at the source
    gl = 1.0 if rl == float("inf") else (rl - z0) / (rl + z0)
    v1 = vs * z0 / (rs + z0)                       # the first wave launched at t = 0
    t = np.arange(0, t_end, dt)
    v = np.zeros_like(t)
    k = 0
    while (2 * k + 1) * delay < t_end:             # the k-th forward wave arrives at (2k+1)*delay
        forward = v1 * (gl * gs) ** k
        v += np.where(t >= (2 * k + 1) * delay, forward * (1 + gl), 0.0)
        k += 1
    return t, v

T = 1e-9                                           # one-way delay: about 16 cm of microstrip
cases = [("15-ohm driver, open load", 15, np.inf),
         ("50-ohm series termination", 50, np.inf),
         ("15-ohm driver, 50-ohm load", 15, 50)]
print(f"{'time (ns):':26}" + "".join(f"{x:6.1f}" for x in np.arange(0.5, 10, 1.0)))
for name, rs, rl in cases:
    t, v = bounce(3.3, rs, 50, rl, T, 10e-9, 0.5e-9)
    print(f"{name:26}" + "".join(f"{x:6.2f}" for x in v[1::2]))

# An oscilloscope view of the first case: the load voltage from 0 to 12 ns, 0.25 ns per column
t, v = bounce(3.3, 15, 50, np.inf, T, 12e-9, 0.25e-9)
for level in np.arange(5.0, -0.1, -0.5):
    row = "".join("*" if abs(x - level) < 0.25 else " " for x in v)
    print(f"{level:4.1f} V |{row}")
print("       " + "+" + "-" * (len(v) - 1) + "> 12 ns")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

The unterminated line overshoots to 5.08 V, more than 1.5 V above the supply, then undershoots to 2.34 V and rings for many nanoseconds. A receiving chip would see a voltage outside its rated range (its protection diodes would clamp it, with currents nobody designed for), and the dip to 2.34 V comes close to the logic threshold: on a slightly longer line it could be read as a false edge. Both terminations fix it, in different ways:

  • Series termination makes Rs=Z0R_s = Z_0, so Γs=0\Gamma_s = 0. The driver launches only half the voltage, the open end doubles it to exactly 3.3 V, and the reflection is absorbed when it gets back. It costs no static power, but points along the line see a half-height step for a while, so it suits point-to-point links with the receiver at the end.
  • Parallel termination makes RL=Z0R_L = Z_0, so ΓL=0\Gamma_L = 0 and nothing reflects at all. But the load is now a 50 Ω resistor drawing current whenever the line is high, and the final voltage is the divider value 3.3×50/65=2.543.3 \times 50/65 = 2.54 V. Real designs terminate to a mid-supply voltage, or use a capacitor in series with the resistor, to limit the power.
ExplanationH

Matching

In RF engineering the goal is usually the opposite of a digital link's: not just to stop ringing but to deliver as much power as possible from a source (a transmitter, an amplifier) into a load (an antenna, the next stage) whose impedance is not Z0Z_0. A matching network placed between them transforms the load so that the source sees Z0Z_0. It must be lossless, so it is built from reactances and pieces of line, and it works only over a band of frequencies.

Theorem— Quarter-wave transformer

A section of line with impedance Z1Z_1 and length λ/4\lambda/4 at frequency f0f_0, ending in a resistive load RLR_L, presents an input impedance Z12/RLZ_1^2/R_L at f0f_0. Choosing Z1=Z0RLZ_1 = \sqrt{Z_0 R_L} therefore matches RLR_L to Z0Z_0.

Proof

At ℓ=λ/4\ell = \lambda/4, βℓ=π/2\beta\ell = \pi/2 and tan⁡βℓ→∞\tan\beta\ell \to \infty. Dividing the numerator and denominator of the input-impedance formula by tan⁡βℓ\tan\beta\ell and letting it grow gives Zin=Z1⋅(jZ1)/(jRL)=Z12/RLZ_{\text{in}} = Z_1 \cdot (jZ_1)/(jR_L) = Z_1^2/R_L. With Z12=Z0RLZ_1^2 = Z_0R_L this equals Z0Z_0.

∎

The L-network uses two reactances instead: one in series on the low-resistance side and one in shunt on the high-resistance side. To match RloR_{\text{lo}} to RhiR_{\text{hi}}, define Q=Rhi/Rlo−1Q = \sqrt{R_{\text{hi}}/R_{\text{lo}} - 1}; the series reactance is Xs=QRloX_s = QR_{\text{lo}} and the shunt reactance is Xp=Rhi/QX_p = R_{\text{hi}}/Q, one inductive and one capacitive. (The series reactance turns RloR_{\text{lo}} into an impedance whose parallel equivalent has resistance RhiR_{\text{hi}}; the shunt element cancels the leftover reactance.) The program checks both designs at and around their design frequency.

python
import numpy as np

def z_in(zl, z0, beta_l):
    """Input impedance of a lossless line of electrical length beta*l (radians) ending in zl."""
    t = np.tan(beta_l)
    return z0 * (zl + 1j * z0 * t) / (z0 + 1j * zl * t)

def gamma(z, z0=50):
    return (z - z0) / (z + z0)

def vswr(g):
    return (1 + abs(g)) / (1 - abs(g))

def show(z):
    re, im = round(z.real, 1) + 0.0, round(z.imag, 1) + 0.0     # + 0.0 avoids printing -0.0
    return f"{re:6.1f} {'+' if im >= 0 else '-'} j{abs(im):5.1f} ohm"

# 1. A 100-ohm load on a 50-ohm line: the impedance the source sees depends on the line's length
print("100-ohm load on a 50-ohm line")
for frac in [0, 0.0625, 0.125, 0.25, 0.375, 0.5]:
    z = z_in(100, 50, 2 * np.pi * frac)
    print(f"  {frac:6.4f} wavelengths: Zin = {show(z)}, |Gamma| = {abs(gamma(z)):.3f}")

# 2. A quarter-wave transformer with Z1 = sqrt(50 * 100), a quarter wavelength long at 1 GHz
z1 = np.sqrt(50 * 100)
print(f"\nquarter-wave transformer, Z1 = {z1:.1f} ohm, from 100 ohm to 50 ohm")
for f in [0.8e9, 0.9e9, 1.0e9, 1.1e9, 1.2e9]:
    z = z_in(100, z1, np.pi / 2 * f / 1e9)
    g = abs(gamma(z))
    rl = "  perfect" if g < 1e-6 else f"{-20 * np.log10(g):6.1f} dB"
    print(f"  {f / 1e9:.1f} GHz: Zin = {show(z)}, VSWR = {vswr(g):.2f}, return loss = {rl}")

# 3. An L-network matching a 12-ohm antenna to 50 ohm at 433 MHz
r_lo, r_hi, f0 = 12.0, 50.0, 433e6
q = np.sqrt(r_hi / r_lo - 1)
x_series, x_shunt = q * r_lo, r_hi / q              # series inductor, then shunt capacitor
L = x_series / (2 * np.pi * f0)
C = 1 / (2 * np.pi * f0 * x_shunt)
print(f"\nL-network: Q = {q:.2f}, series L = {L * 1e9:.2f} nH, shunt C = {C * 1e12:.2f} pF")
for f in [400e6, 420e6, 433e6, 446e6, 466e6]:
    w = 2 * np.pi * f
    z_series = r_lo + 1j * w * L                    # the antenna plus the series inductor
    z = 1 / (1 / z_series + 1j * w * C)             # in parallel with the capacitor
    print(f"  {f / 1e6:5.0f} MHz: Zin = {show(z)}, VSWR = {vswr(gamma(z)):.2f}")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

Three lessons are in the output. First, the impedance of a 100 Ω load seen through a 50 Ω line goes round a cycle every half wavelength while ∣Γ∣|\Gamma| stays 0.333: the line does not change how mismatched the load is, only how it looks. A quarter wavelength turns 100 Ω into 25 Ω, the inversion 502/10050^2/100. Second, the quarter-wave transformer is perfect at 1 GHz and still has a VSWR below 1.25 across ±20 %. Third, the L-network for a 12 Ω antenna at 433 MHz (a band used for short-range remote controls in many countries) needs a 7.85 nH inductor and a 13.08 pF capacitor, and is good to a VSWR of about 1.1 over ±13 MHz. The larger the ratio Rhi/RloR_{\text{hi}}/R_{\text{lo}}, the higher QQ and the narrower the band; wideband matches use several sections in cascade.

Explore

The Smith chart

Matching by algebra is tedious, and for eighty years RF engineers have done it with a picture instead. In 1939 Phillip Smith at Bell Laboratories published a chart (a similar chart had been published in Japan by Tosaku Mizuhashi in 1937) based on one idea: plot the reflection coefficient, not the impedance. Every passive load has ∣Γ∣≤1|\Gamma| \le 1, so the whole of the right half of the impedance plane, infinite as it is, fits in a unit disc.

Normalise the impedance, z=ZL/Z0=r+jxz = Z_L/Z_0 = r + jx, so that Γ=(z−1)/(z+1)\Gamma = (z - 1)/(z + 1). Lines of constant resistance rr map to circles that all touch the point Γ=1\Gamma = 1, and lines of constant reactance xx map to arcs of circles through the same point. The grid of those circles and arcs, drawn over the Γ\Gamma disc, is the Smith chart.

0.20.5125+j0.5+j1+j2−j0.5−j1−j2shortopenz = 2 + j1z = 1 − j1toward thegeneratorinductivecapacitive
A Smith chart with circles of constant normalised resistance r = 0.2, 0.5, 1, 2 and 5, and arcs of constant reactance x = ±0.5, ±1 and ±2. The centre is a perfect match, the left edge a short and the right edge an open circuit; the upper half is inductive, the lower half capacitive. The load z = 2 + j1 (100 + j50 Ω on a 50 Ω line) moves clockwise on a circle of constant |Γ| as we move towards the generator; after λ/8 it reaches z = 1 − j1 on the r = 1 circle.

The chart turns the input-impedance formula into geometry. Moving a distance ℓ\ell along a lossless line towards the source multiplies Γ\Gamma by e−2jβℓe^{-2j\beta\ell}: the point rotates clockwise about the centre on a circle of constant ∣Γ∣|\Gamma| (a constant-VSWR circle), and one full turn is half a wavelength. Adding a series reactance moves the point along a circle of constant rr; adding a shunt element moves it along a circle of constant conductance (the same chart rotated by 180°, which printed charts overlay in a second colour).

Example— Matching 100 + j50 Ω with a line and an inductor

On a 50 Ω line, ZL=100+j50 ΩZ_L = 100 + j50\ \Omega normalises to z=2+j1z = 2 + j1, so Γ=(1+j)/(3+j)=0.4+j0.2\Gamma = (1 + j)/(3 + j) = 0.4 + j0.2 and ∣Γ∣=0.447|\Gamma| = 0.447 (VSWR 2.62). Rotating clockwise on that circle, the point meets the r=1r = 1 circle after exactly λ/8\lambda/8, at z=1−j1z = 1 - j1, i.e. 50−j50 Ω50 - j50\ \Omega (check it with z_in(100 + 50j, 50, np.pi / 4) in the program above). The resistance is now right; a series reactance of +j50 Ω+j50\ \Omega cancels the rest. At 1 GHz that is an inductor of 50/(2π×109)≈7.9650/(2\pi \times 10^9) \approx 7.96 nH. Two steps on the chart, each obvious, replace a page of complex algebra.

ExplanationH

S-parameters

At high frequencies, voltages and currents at a component's terminals are hard to measure directly, but incident and reflected waves are easy: directional couplers separate them. So RF components are described by scattering parameters. At each port ii of a network, let aia_i be the incident wave and bib_i the outgoing wave (normalised so that ∣ai∣2|a_i|^2 is power). For a two-port,

(b1b2)=(S11S12S21S22)(a1a2),\begin{pmatrix} b_1 \\ b_2 \end{pmatrix} = \begin{pmatrix} S_{11} & S_{12} \\ S_{21} & S_{22} \end{pmatrix}\begin{pmatrix} a_1 \\ a_2 \end{pmatrix},

measured with every port terminated in Z0Z_0 (normally 50 Ω). S11S_{11} is the input reflection coefficient, Γ\Gamma again; S21S_{21} is the forward transmission (the gain of an amplifier, the loss of a cable or filter); S12S_{12} is the reverse transmission (isolation); S22S_{22} is the output reflection. All are complex and depend on frequency, and datasheets quote their magnitudes in dB.

Example— S-parameters of a series resistor

Put a 25 Ω resistor in series between two 50 Ω ports. Port 1 sees the resistor plus the 50 Ω termination, 75 Ω, so S11=(75−50)/(75+50)=0.2S_{11} = (75 - 50)/(75 + 50) = 0.2 (return loss 14 dB). The transmitted wave works out to S21=2Z0/(2Z0+R)=100/125=0.8S_{21} = 2Z_0/(2Z_0 + R) = 100/125 = 0.8. Of the incident power, ∣S11∣2=4%|S_{11}|^2 = 4\% is reflected and ∣S21∣2=64%|S_{21}|^2 = 64\% transmitted; the missing 32 % is turned into heat in the resistor. For a lossless network ∣S11∣2+∣S21∣2=1|S_{11}|^2 + |S_{21}|^2 = 1 (the S-matrix is unitary), so a shortfall measures loss.

S-parameters are measured with a vector network analyser (VNA), which sweeps a source across frequency and measures the magnitude and phase of the waves at each port, after a calibration with known standards (short, open, load and through) removes the effects of its own cables. Results are exchanged as Touchstone files (.s2p for two ports), which circuit simulators import directly. The open-source scikit-rf package reads, plots and calibrates them in Python. A two-port is the start: a high-speed differential link is routinely characterised as a four-port, and a phased-array antenna module as dozens.

ExplanationH

The professional view

  • Signal integrity. Every fast digital interface is a transmission-line design: DDR memory, PCIe, USB, HDMI and Ethernet specify their line impedances (USB pairs 90 Ω differential, Ethernet twisted pairs 100 Ω) and termination schemes. Engineers simulate links using driver and receiver models in the IBIS format and channel S-parameters, and look at eye diagrams (met in modulation).
  • Controlled-impedance boards. As in printed circuit boards, the stack-up is agreed with the manufacturer, who tunes trace widths to its process and verifies them with time-domain reflectometry (TDR): send a fast step down a test trace and watch the reflections, which map impedance along the line exactly as in the bounce diagram.
  • RF front ends. Every antenna, filter and amplifier in a phone is matched to 50 Ω with small L-networks of chip inductors and capacitors, tuned by measurement on a VNA because parasitics move every value. Free tools such as Qucs-S simulate such networks.
  • Power systems. Long overhead lines and cables are modelled as transmission lines too, and lightning surges travel along them as waves; that is part of the power grid.
Common misconceptionsH

Common misconceptions

Misconception

"A 50 Ω cable has a resistance of 50 Ω." An ohmmeter across the ends of an unterminated coaxial cable reads an open circuit, and along one conductor a fraction of an ohm. Z0Z_0 is the ratio of voltage to current in a travelling wave, set by the cable's geometry and dielectric, and a lossless line with Z0=50 ΩZ_0 = 50\ \Omega dissipates nothing.

Misconception

"Reflections only matter at high clock frequencies." It is the edge rate, not the clock rate, that matters. A 1 kHz signal with 1 ns edges rings on a 16 cm trace just as much as a fast clock does.

Misconception

"Matching always means making the load equal to Z₀, and it always maximises efficiency." Maximum power transfer from a source of impedance ZsZ_s needs the conjugate match ZL=Zs∗Z_L = Z_s^*, which equals Z0Z_0 only when the source is Z0Z_0. And maximum power transfer wastes half the power in the source; power amplifiers are often deliberately mismatched to the impedance that gives the best efficiency or output power (found by "load-pull" measurements).

Misconception

"A good VSWR means a good antenna." A 50 Ω resistor has a perfect VSWR and radiates nothing. VSWR says only that power is accepted, not where it goes; a lossy antenna or a lossy cable in front of a bad one also looks well matched.

Exercises

Exercises

1. Transmission lines and matching

Warm-upHuman

A 75 Ω television cable is connected to a 50 Ω test instrument, so the instrument's 50 Ω line ends in a 75 Ω load. What is the return loss, in dB, to the nearest whole number?

2. Transmission lines and matching

CoreHuman

Which of these connections should be analysed as transmission lines rather than as ideal wires? Take signals on a circuit board to travel at about 6 ps/mm and in coaxial cable at two-thirds of cc. Select all that apply.

Choose all that apply

3. Transmission lines and matching

CoreHuman

A power amplifier's output transistor presents 12.5 Ω, and must be matched to a 50 Ω line with a single quarter-wave section of transmission line. What characteristic impedance, in ohms, should the section have?

4. Transmission lines and matching

CoreHuman

A 3.0 V step from a driver with 25 Ω output resistance is launched at t=0t = 0 into a 50 Ω line with one-way delay TT, whose far end is open. What is the voltage at the far end just after t=3Tt = 3T, in millivolts, to the nearest whole number?

5. Transmission lines and matching

CoreHuman

On a Smith chart, a load is plotted at some point. You then add a quarter wavelength of lossless line (of the chart's Z0Z_0) in front of it and plot the new input impedance. Where does the point go?

Choose one

6. Transmission lines and matching

StretchHuman

A passive filter is measured on a network analyser at one frequency: ∣S11∣=−20|S_{11}| = -20 dB and ∣S21∣=−0.5|S_{21}| = -0.5 dB. What percentage of the incident power is dissipated inside the filter? Give the nearest whole number.

7. Transmission lines and matching

CoreComputational

Write vswr(zl, z0=50.0), the voltage standing-wave ratio of a load zl (a real or complex number of ohms) on a lossless line of impedance z0. When the load reflects all the power (a short, an open, or a pure reactance), return math.inf instead of dividing by zero. Floating-point arithmetic may give ∣Γ∣|\Gamma| a hair below 1 for a pure reactance, so use a small tolerance.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

8. Transmission lines and matching

StretchComputational

Write load_steps(vs, rs, z0, rl, n) for the bounce-diagram setting of the lesson: a step of vs volts from a source of resistance rs drives a lossless line of impedance z0 ending in a resistor rl (which may be math.inf, an open circuit). Return a list of the load voltage just after each of the first n arrivals of a wave at the load, i.e. at times T,3T,5T,…T, 3T, 5T, \ldots

The tests include an open load, both terminations from the lesson, a shorted load, and a check that after many round trips the load reaches the DC voltage-divider value.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

Further reading and resources

  • scikit-rfAn open-source Python package for RF and microwave engineering, with Touchstone files, S-parameters, Smith charts and calibration.
  • IBIS Open ForumMaintains the IBIS model format and the Touchstone file format used to exchange S-parameters.
  • Equations for Microstrip Circuit Design · E. O. Hammerstad · 1975Proceedings of the 5th European Microwave Conference. The source of the closed-form microstrip formulas used in this lesson.
  • The Feynman Lectures on Physics, Volume II, Chapter 24: Waveguides · Richard P. Feynman, Robert B. Leighton and Matthew SandsBegins with the transmission line as a chain of inductors and capacitors, as this lesson does.
  • Qucs-SA free, open-source circuit simulator with transmission-line models, S-parameter simulation and Smith-chart displays.