TExcelTAD
Home › Electromagnetic Theory: Maxwell's Equations to Waves › The Smith Chart and Stub Matching

The Smith Chart and Stub Matching

Every RF engineer reads the same circular chart. A vector network analyser draws its measurements on it, antenna datasheets show impedance on it, and matching networks are designed by tracing short arcs across it. The Smith chart is nothing more than the complex reflection-coefficient plane with a grid of impedance values printed on it, but that grid turns the awkward formula for the input impedance of a line (Input Impedance, Stubs and the Quarter-Wave Transformer) into a rotation, and parallel elements into a reflection through the centre. This lesson builds the chart from Γ\Gamma, reads impedances and admittances from it, and designs a single-stub match three ways: on the chart, with closed-form formulas, and with scikit-rf.

From reflection coefficient to chart

On a line of characteristic impedance Z0Z_0, normalise the load, z=Z/Z0=r+jxz = Z/Z_0 = r + jx. Its reflection coefficient is

Γ=z−1z+1,z=1+Γ1−Γ\Gamma = \frac{z - 1}{z + 1}, \qquad z = \frac{1 + \Gamma}{1 - \Gamma}

Every passive load (r≥0r \ge 0) has ∣Γ∣≤1\lvert\Gamma\rvert \le 1, so all of them fit inside the unit circle of the Γ\Gamma plane. Plotting where constant rr and constant xx land gives two families of circles:

  • Constant-resistance circles, centred on the real axis at Γ=r/(1+r)\Gamma = r/(1 + r) with radius 1/(1+r)1/(1 + r), all touching at Γ=1\Gamma = 1. The r=1r = 1 circle passes through the centre.
  • Constant-reactance arcs, centred at Γ=1+j/x\Gamma = 1 + j/x with radius 1/∣x∣1/\lvert x\rvert: inductive (x>0x > 0) in the upper half, capacitive below.

Landmarks: the centre is the match (z=1z = 1, Γ=0\Gamma = 0); the left end of the real axis a short circuit; the right end an open circuit; the outer rim pure reactances.

Moving along the line is a rotation

Moving a distance dd from the load towards the generator multiplies Γ\Gamma by e−j2βde^{-j2\beta d} (Reflection Coefficient and VSWR): the point keeps its distance from the centre (so the VSWR stays the same) and turns clockwise, one full turn per half wavelength. Charts carry a "wavelengths toward generator" scale around the rim for exactly this reason. The VSWR circle crosses the positive real axis at r=VSWRr = \text{VSWR}, where the voltage is maximum, and the negative real axis at r=1/VSWRr = 1/\text{VSWR}, the voltage minimum.

Admittances. Since y=1/zy = 1/z corresponds to −Γ-\Gamma, the normalised admittance of any point is read at the diametrically opposite point. Engineers either rotate by 180∘180^\circ or use an admittance chart (the impedance chart turned through 180∘180^\circ). Shunt elements add admittances, so shunt matching is done on the admittance chart.

shortopen load z = 2 + j1 Gamma = 0.447 at 26.6 deg 1. line, d = 0.199 lambda clockwise on the VSWR circle 2. shunt short stub, -j1 along the g = 1 circle to centre dashed: r = 1 (grey), g = 1 (red), constant VSWR 2.62 (purple)

Single-stub matching

A load ZLZ_L that is not Z0Z_0 can be matched with two pieces of the same line: a length dd between load and stub, and a shunt stub of length ℓ\ell, shorted (easy to make in coax and stripline) or open (easy in microstrip). The recipe:

  1. Rotate the load's admittance towards the generator until it meets the g=1g = 1 circle: there y=1+jby = 1 + jb. This fixes dd; there are two crossings per half wavelength.
  2. Choose the stub to add −jb-jb, landing on the centre. A short stub has ystub=−jcot⁡βℓy_\text{stub} = -j\cot\beta\ell; an open stub ystub=jtan⁡βℓy_\text{stub} = j\tan\beta\ell.

The chart is the intuition; closed-form expressions give the numbers. With ZL=RL+jXLZ_L = R_L + jX_L and t=tan⁡βdt = \tan\beta d, the condition Re⁡{y}=1\operatorname{Re}\{y\} = 1 gives (for RL≠Z0R_L \neq Z_0)

t=XL±RL[(Z0−RL)2+XL2]/Z0RL−Z0,b=Z0 RL2t−(Z0−XLt)(XL+Z0t)Z0[RL2+(XL+Z0t)2]t = \frac{X_L \pm \sqrt{R_L\left[(Z_0 - R_L)^2 + X_L^2\right]/Z_0}}{R_L - Z_0}, \qquad b = Z_0\,\frac{R_L^2 t - (Z_0 - X_L t)(X_L + Z_0 t)}{Z_0\left[R_L^2 + (X_L + Z_0 t)^2\right]}

then d/λ=12πarctan⁡td/\lambda = \frac{1}{2\pi}\arctan t (plus 12\frac{1}{2} if negative) and, for a short stub, ℓ/λ=12πarctan⁡(1/b)\ell/\lambda = \frac{1}{2\pi}\arctan(1/b), reduced to between 00 and 12\frac{1}{2}.

Worked example: match 100 + j50 Ohm at 1 GHz

Given: ZL=100+j50 ΩZ_L = 100 + j50\ \Omega on a 50 Ω50\ \Omega air line at 1 GHz1\ \text{GHz} (λ=299.8 mm\lambda = 299.8\ \text{mm}).

Find: ΓL\Gamma_L and the VSWR; dd and the length of a shorted stub; the bandwidth with ∣Γ∣≤0.1\lvert\Gamma\rvert \le 0.1.

Solve:

ΓL=50+j50150+j50=0.447∠26.57∘,VSWR=1.4470.553=2.618t=50±100(2500+2500)/5050=50±10050=3 or −1t=3:d=arctan⁡32πλ=0.1988λ=59.6 mm,b=+1,ℓ=arctan⁡12πλ=0.125λ=37.5 mm\begin{aligned} \Gamma_L &= \frac{50 + j50}{150 + j50} = 0.447\angle 26.57^\circ, \qquad \text{VSWR} = \frac{1.447}{0.553} = 2.618 \\ t &= \frac{50 \pm \sqrt{100(2500 + 2500)/50}}{50} = \frac{50 \pm 100}{50} = 3 \ \text{or} \ -1 \\ t = 3:\quad d &= \frac{\arctan 3}{2\pi}\lambda = 0.1988\lambda = 59.6\ \text{mm}, \qquad b = +1, \qquad \ell = \frac{\arctan 1}{2\pi}\lambda = 0.125\lambda = 37.5\ \text{mm} \end{aligned}

The second solution (t=−1t = -1) gives d=0.375λd = 0.375\lambda with b=−1b = -1, needing a longer stub of 0.375λ0.375\lambda. Prefer the shorter total length: it is less frequency-sensitive.

Check: on the chart, z=2+j1z = 2 + j1 rotates through 2⋅360∘⋅0.1988=143.1∘2 \cdot 360^\circ \cdot 0.1988 = 143.1^\circ clockwise to Γ=0.447∠−116.6∘=−0.2−j0.4\Gamma = 0.447\angle{-116.6^\circ} = -0.2 - j0.4, which lies on the g=1g = 1 circle (distance 0.50.5 from −0.5-0.5) and corresponds to y=1+j1y = 1 + j1. A shorted λ/8\lambda/8 stub has y=−jcot⁡45∘=−j1y = -j\cot 45^\circ = -j1. The sum is 11: matched.

In Python with scikit-rf

skrf builds the stub, the line and the load as networks, cascades them with **, and plots on a Smith chart. Give lines their physical length (here in metres) so the electrical length scales with frequency, and give the medium its propagation constant explicitly.

python · try it yourself
import numpy as np
import matplotlib.pyplot as plt
import skrf as rf

Z0, ZL, F0 = 50.0, 100 + 50j, 1e9
RL, XL = ZL.real, ZL.imag
gl = (ZL - Z0) / (ZL + Z0)
print(f"load: Gamma = {abs(gl):.4f} at {np.degrees(np.angle(gl)):.2f} deg, VSWR = {(1+abs(gl))/(1-abs(gl)):.3f}")

# hand formulas: distance d where Re(Y) = 1/Z0, then a short stub cancelling the susceptance
for sign in (+1, -1):
    t = (XL + sign * np.sqrt(RL * ((Z0 - RL)**2 + XL**2) / Z0)) / (RL - Z0)
    d_wl = (np.arctan(t) / (2 * np.pi)) % 0.5
    b = (RL**2 * t - (Z0 - XL * t) * (XL + Z0 * t)) / (Z0 * (RL**2 + (XL + Z0 * t)**2)) * Z0
    l_wl = (np.arctan(1 / b) / (2 * np.pi)) % 0.5            # short stub: -j cot(beta l) = -j b
    print(f"solution: d = {d_wl:.4f} lambda, y = 1 {b:+.4f}j, short stub l = {l_wl:.4f} lambda")
    if sign == +1:
        d_use, l_use = d_wl, l_wl

# build the matched network in scikit-rf and sweep it
# physical lengths (air line, lambda = 0.2998 m at 1 GHz), so the electrical lengths scale with f
lam = 2.998e8 / F0
freq = rf.Frequency(0.6, 1.4, 801, unit="GHz")
air = rf.media.DefinedGammaZ0(frequency=freq, z0=Z0, gamma=1j * freq.w / 2.998e8)   # lossless 50 Ohm air line
load = air.load(gl, name="load")
matched = air.shunt_delay_short(l_use * lam, unit="m") ** air.line(d_use * lam, unit="m") ** load
s11 = np.abs(matched.s[:, 0, 0])
print(f"at 1 GHz: d = {d_use*lam*1e3:.1f} mm, stub = {l_use*lam*1e3:.1f} mm")
for f_ghz in [0.8, 0.9, 1.0, 1.1, 1.2]:
    k = int(np.argmin(np.abs(freq.f - f_ghz * 1e9)))
    print(f"  {f_ghz:.1f} GHz: |S11| = {s11[k]:.4f}" if s11[k] > 1e-6 else f"  {f_ghz:.1f} GHz: |S11| < 1e-6")
ok = freq.f[s11 <= 0.1]
print(f"|S11| <= 0.1 from {ok.min()/1e9:.3f} to {ok.max()/1e9:.3f} GHz ({(ok.max()-ok.min())/F0*100:.1f} %)")

plt.figure(figsize=(4.6, 4.6))
load.plot_s_smith(label="load (constant)", marker="o")
matched.plot_s_smith(label="matched, 0.6 to 1.4 GHz")
plt.title("Single-stub match of 100 + j50 Ohm")
plt.show()
load: Gamma = 0.4472 at 26.57 deg, VSWR = 2.618
solution: d = 0.1988 lambda, y = 1 +1.0000j, short stub l = 0.1250 lambda
solution: d = 0.3750 lambda, y = 1 -1.0000j, short stub l = 0.3750 lambda
at 1 GHz: d = 59.6 mm, stub = 37.5 mm
  0.8 GHz: |S11| = 0.4170
  0.9 GHz: |S11| = 0.2034
  1.0 GHz: |S11| < 1e-6
  1.1 GHz: |S11| = 0.1682
  1.2 GHz: |S11| = 0.2945
|S11| <= 0.1 from 0.950 to 1.056 GHz (10.6 %)

The script reproduces the hand formulas, then shows the price of a single-stub match: ∣S11∣≤0.1\lvert S_{11}\rvert \le 0.1 (return loss 20 dB20\ \text{dB}) only from 0.9500.950 to 1.056 GHz1.056\ \text{GHz}, about 10 %10\ \%, much narrower than the quarter-wave transformer of the mini project, because this load is further from Z0Z_0 and is complex. On the chart, the swept curve is a small loop through the centre: the match is perfect at one frequency only.

Guided lab: match an antenna with a VNA

Hand calculation. Measure or assume ZLZ_L, then compute dd and ℓ\ell as above for your cable's velocity factor (λ\lambda in the cable =vp/f= v_p/f).

Simulation. The script with your ZLZ_L and a medium with γ=jωεr/c\gamma = j\omega\sqrt{\varepsilon_r}/c.

What you would measure. A hobby vector network analyser (a few milliwatts of output) is enough. Calibrate it at the end of the cable with open, short and load standards, then connect a 100 Ω100\ \Omega resistor in series with a small inductor as the load (or a short wire antenna). Read ZLZ_L on the Smith display at your frequency, cut a coax T-piece stub to the computed length (shorted with a solder blob or a shorting cap) and place it at the computed distance. Expect the trace to pass close to the centre at the design frequency: a return loss of 20 dB20\ \text{dB} or better is typical for a first attempt, limited by the T-piece's own length (a few centimetres of extra line at 1 GHz1\ \text{GHz}) and connector repeatability. Trim the stub a few millimetres at a time and watch the minimum move.

Hazards and safe setup. Milliwatt test signals: no RF exposure concern. Never connect a transmitter or power amplifier to a VNA port, and protect the ports from static.

Pitfalls

  • Clockwise or counter-clockwise? Towards the generator is clockwise; towards the load counter-clockwise.
  • Impedance or admittance chart? Shunt elements add on the admittance chart; series elements on the impedance chart. Rotate by 180∘180^\circ when switching.
  • Forgetting the velocity factor. Stub and line lengths are in wavelengths in the line: multiply by vp/fv_p/f, not c/fc/f.
  • Ignoring the junction. At gigahertz frequencies the T-junction adds its own length and reactance; designs are tuned on the bench.

Practice

  1. Find Γ\Gamma and the VSWR for ZL=25−j25 ΩZ_L = 25 - j25\ \Omega on a 50 Ω50\ \Omega line.
  2. A load sits at Γ=0.5∠0∘\Gamma = 0.5\angle 0^\circ. Where, in wavelengths from the load, is the first voltage minimum?
  3. Design the open-stub version of the worked example (first solution).
Answer
  1. z=0.5−j0.5z = 0.5 - j0.5: Γ=(−0.5−j0.5)/(1.5−j0.5)=0.447∠−116.6∘\Gamma = (-0.5 - j0.5)/(1.5 - j0.5) = 0.447\angle{-116.6^\circ}, VSWR 2.622.62.
  2. A real positive Γ\Gamma is a voltage maximum (r=3r = 3). The minimum is half a turn of the chart (180∘180^\circ of Γ\Gamma) later: 0.25λ0.25\lambda from the load.
  3. The stub must add −j1-j1: jtan⁡βℓ=−j1j\tan\beta\ell = -j1 gives βℓ=135∘\beta\ell = 135^\circ, ℓ=0.375λ=112.4 mm\ell = 0.375\lambda = 112.4\ \text{mm} at 1 GHz1\ \text{GHz}, at the same d=0.1988λd = 0.1988\lambda.

Test yourself

Where does a short circuit appear on the Smith chart?

  1. at the centre
  2. at the right end of the real axis
  3. at the left end of the real axis
  4. at the top of the rim

Moving a quarter wavelength towards the generator moves a point on the Smith chart through…

  1. 90∘90^\circ clockwise
  2. 180∘180^\circ clockwise
  3. 360∘360^\circ
  4. 90∘90^\circ counter-clockwise

To match 100+j50 Ω100 + j50\ \Omega to 50 Ω50\ \Omega with a shorted shunt stub, the first solution puts the stub at 0.1988λ0.1988\lambda. The stub length is…

  1. 0.0625λ0.0625\lambda
  2. 0.125λ0.125\lambda
  3. 0.25λ0.25\lambda
  4. 0.375λ0.375\lambda

Why are shunt stubs designed on the admittance chart?

  1. admittance charts are more accurate
  2. parallel elements add their admittances
  3. stubs have no impedance
  4. the impedance chart cannot show reactances