---
title: Network analyzers
heading: Measuring S-parameters, and calibrating the errors away
eyebrow: C11 · Lesson 14 · Network analyzers
xp: 40
---

::: hook
A spectrum analyzer measures how much signal there is at each frequency. A vector network analyzer measures what a component does to a signal: it sends a known wave in and measures, in magnitude and phase, what reflects and what comes through, sweeping across frequency. Its raw readings are full of the analyzer's own imperfections, and the trick that makes it precise is calibration: measuring known standards and solving for those errors.
:::

::: play
- The curves are the range a return-loss measurement can read for a load whose true return loss is on the bottom axis, when the analyzer's directivity is limited.
- Leakage of the incident wave straight into the reflection receiver adds a stray reflection of size D, in any phase. The measured |Γ| lies between |Γ| − D and |Γ| + D.
- Measuring a well-matched load whose return loss approaches the directivity gives meaningless readings. Calibration raises the effective directivity from about 20 dB to 40 dB or more.
:::

```sim plot
view: graph
x: R = 5..50 dB
y: M = 0..70 dB
slider: d = 15..50 step 1 = 30 dB
plot: R | dashed | label: true
plot: -20*log(10^(-R/20) + 10^(-d/20)) | label: lowest reading
plot: -20*log(abs(10^(-R/20) - 10^(-d/20)) + 0.000001) | label: highest reading
readout: spread for a 20 dB load, dB = -20*log(abs(0.1 - 10^(-d/20)) + 0.000001) + 20*log(0.1 + 10^(-d/20)) | digits: 3
```

::: predict
## An analyzer has 40 dB of directivity. A load's true return loss is 20 dB. What range can the measurement fall in?

- [ ] Exactly 20 dB
- [x] About 19.2 to 20.9 dB
- [ ] About 10 to 40 dB
- [ ] Anything above 40 dB

::: reveal
About 19.2 to 20.9 dB. The true |Γ| is 0.1 and the stray reflection 0.01, so the reading is between 0.09 and 0.11. The closer the load's return loss to the directivity, the wider the spread: a 40 dB load could read anywhere from 34 dB to near infinity.
:::
:::

::: nameit
## How a VNA works

A source sweeps frequency. **Directional couplers** sample the wave going toward the device and the wave coming back, and receivers measure each as a phasor. The ratios give the S-parameters: reflected over incident at port 1 is $S_{11}$, transmitted to port 2 over incident is $S_{21}$.

## The errors

A real analyzer adds systematic errors, modeled for each port by:

- **Directivity**: incident wave leaking into the reflection receiver, a false reflection.
- **Source match**: the port's own imperfect 50 Ω, which re-reflects waves coming back from the device.
- **Reflection tracking**: the frequency response of the reflection path.

and for transmission, load match and transmission tracking, plus isolation. Twelve terms in all for two ports.

## Calibration

Measuring known standards lets the analyzer solve for those terms at every frequency and remove them. **SOLT** uses a short, an open, a matched load at each port and a thru between them; **TRL** uses a thru, a reflection and a length of line, and suits fixtures and wafers. Calibration moves the **reference plane** to where the standards were connected; anything beyond it, such as an adapter, must be removed by **port extension**, which subtracts its electrical delay.

## Dynamic range

The largest and smallest transmission an analyzer can measure is set by its source power and its receiver noise floor, which falls 10 dB for every tenfold narrowing of the IF bandwidth, at the cost of a slower sweep.
:::

::: example
## A raw analyzer has 25 dB of directivity; after a one-port calibration its effective directivity is 46 dB. A load reads 26 dB return loss. How well is it known, before and after calibration?

::: solution
1. **Stray term after calibration.**
   $$\begin{aligned} D &= 10^{-46/20} \\ &= 0.0050 \end{aligned}$$
2. **The reading.**
   $$\begin{aligned} \lvert\Gamma\rvert &= 10^{-26/20} \\ &= 0.0501 \end{aligned}$$
3. **Range of the true value.** The stray term can add to the reading or subtract from it:
   $$0.0451 \le \lvert\Gamma\rvert \le 0.0551$$
   That's 25.2 to 26.9 dB.
4. **Before calibration.** The stray term, 0.056, is larger than the reading itself, so the true return loss could be anything from 19.5 dB to a perfect match.
5. **What calibration does.** Calibration leaves the hardware as it is: it measures the error terms and subtracts them.

**Answer:** after calibration the return loss is known to be 25.2 to 26.9 dB; before, it could be anything from 19.5 dB to a perfect match.
:::
:::

::: example
## A 5 cm air-filled adapter is left past the calibration plane at 3 GHz. What phase error does it add to $S_{11}$?

::: solution
1. **Wavelength.**
   $$\begin{aligned} \lambda &= \frac{c}{3\ \text{GHz}} \\ &= 10\ \text{cm} \end{aligned}$$
   so 5 cm is half a wavelength one way.
2. **Round trip.** The reflection travels it twice: a full wavelength, 360°.
3. **Across a sweep.** That happens to look like no error at exactly 3 GHz, but it rotates the phase by 120° per GHz across a sweep.
4. **Port extension.** It removes the error by subtracting the adapter's electrical delay:
   $$\begin{aligned} \tau &= \frac{2 \times 5\ \text{cm}}{c} \\ &= 0.33\ \text{ns} \end{aligned}$$

**Answer:** 360°, which looks like no error at exactly 3 GHz but rotates the phase by 120° per GHz across a sweep.
:::
:::

::: example
## An analyzer outputs 0 dBm and its receiver floor is −110 dBm at 10 Hz IF bandwidth. What dynamic range does it have at 10 Hz and at 1 kHz?

::: solution
1. **At 10 Hz.**
   $$0 - (-110) = 110\ \text{dB}$$
2. **At 1 kHz.** The noise bandwidth is 100 times wider, so the floor rises by 20 dB to −90 dBm:
   $$0 - (-90) = 90\ \text{dB}$$
   Each point is measured 100 times faster.
3. **The trade.** Measuring a filter's deep stopband means choosing between speed and depth.

**Answer:** 110 dB of dynamic range at 10 Hz, and 90 dB at 1 kHz.
:::
:::

::: check
kind: parts
given: R = 15 | 20 | 25; d = 30 | 40 | 50

## A load's true return loss is {R} dB, measured with {d} dB of directivity.

::: part
answer: -20*log(10^(-R/20) + 10^(-d/20))
unit: dB
tolerance: 0.5%

### What is the lowest return loss it might read?

::: misses
- [any] The stray reflection adds in phase: $-20\log_{10}(\lvert\Gamma\rvert + D)$.
:::
:::

::: part
answer: -20*log(10^(-R/20) - 10^(-d/20))
unit: dB
tolerance: 0.5%

### And the highest?

::: misses
- [any] Subtracting: $-20\log_{10}(\lvert\Gamma\rvert - D)$.
:::
:::
:::

::: check
kind: parts
given: L = 1 | 5 | 12; f = 1 | 3 | 10; e = 1 | 2.25

## An adapter {L} cm long with $\varepsilon_r$ = {e} sits beyond the calibration plane at {f} GHz.

::: part
answer: 2*L*sqrt(e)/29.98*1000
unit: ps
tolerance: 0.5%

### What round-trip delay does port extension subtract?

::: misses
- [L*sqrt(e)/29.98*1000] A reflection crosses it twice.
- [any] $2L\sqrt{\varepsilon_r}/c$.
:::
:::

::: part
answer: 360*f*2*L*sqrt(e)/29.98
unit: °
tolerance: 0.5%

### How many degrees of phase does it add to $S_{11}$ at {f} GHz?

::: misses
- [any] 360° × f × round-trip delay.
:::
:::
:::

::: check
kind: parts
given: P = -10 | 0 | 10; N = -120 | -110; B = 10 | 1000 | 100000

## An analyzer outputs {P} dBm and its floor is {N} dBm at 10 Hz IF bandwidth. It's set to {B} Hz.

::: part
answer: N + 10*log(B/10)
unit: dBm
tolerance: 0.5%

### What is the floor at {B} Hz?

::: misses
- [any] 10 dB per decade of bandwidth.
:::
:::

::: part
answer: P - (N + 10*log(B/10))
unit: dB
tolerance: 0.5%

### What dynamic range does that leave?

::: misses
- [any] Source power less the floor.
:::
:::
:::

::: check
kind: parts
given: s11 = -15 | -25; s21 = -0.5 | -3

## A passive two-port measures $S_{11}$ = {s11} dB and $S_{21}$ = {s21} dB.

::: part
answer: 10^(s11/10)*100
unit: %
tolerance: 0.5%

### What percentage of the incident power reflects?

::: misses
- [any] $\lvert S_{11}\rvert^2$.
:::
:::

::: part
answer: (1 - 10^(s11/10) - 10^(s21/10))*100
unit: %
tolerance: 0.5%

### What percentage is lost inside it?

::: misses
- [any] $1 - \lvert S_{11}\rvert^2 - \lvert S_{21}\rvert^2$.
:::
:::
:::

::: check
kind: choice

## Which set of standards does an SOLT calibration of a two-port analyzer use?

- [x] A short, an open and a matched load at each port, and a thru connecting them
- [ ] A thru, a reflection and a length of line
- [ ] Only a matched load
- [ ] A known amplifier

::: misses
- [2] That's TRL.
- [3] One standard can't separate the three error terms of each port.
- [4] Calibration standards are simple passive parts with well-known responses.
:::
:::

::: check
kind: derivation
vars: g = 0.001..0.9, D = 0.0001..0.1

## A load reflects |Γ| = g, and an analyzer's leakage adds a stray reflection D in an unknown phase.

::: step
answer: g + D

### What is the largest |Γ| it might read?
:::

::: step
answer: abs(g - D)

### And the smallest?
:::

::: right
Right. The reading is uncertain by ±D, which matters most when g is small.
:::
:::

::: explain
## Why can a network analyzer measure far more accurately than its hardware is built?

::: model
Most of an analyzer's errors are systematic: leakage, mismatch and frequency response that stay the same from one measurement to the next. Measuring standards whose responses are known exactly, a short, an open, a load and a thru, gives enough equations at each frequency to solve for every error term. The analyzer then removes those errors from every later measurement by computation. What's left are the errors that don't repeat (noise, drift, connector variation) and the imperfection of the standards themselves, which are far smaller than the raw hardware errors, so a 20 dB directivity becomes 40 dB or more after calibration.
:::
:::

::: practice
::: check
given: R = 18 | 26; d = 35 | 45
answer: -20*log(10^(-R/20) + 10^(-d/20))
unit: dB
tolerance: 0.5%

## Lowest reading for a {R} dB load with {d} dB directivity?

::: misses
- [any] $-20\log_{10}(\lvert\Gamma\rvert + D)$.
:::
:::

::: check
given: L = 2 | 8; f = 2 | 6
answer: 360*f*2*L/29.98
unit: °
tolerance: 0.5%

## Phase from a {L} cm air adapter at {f} GHz, round trip?

::: misses
- [any] 360° × f × 2L/c.
:::
:::

::: check
given: N = -115 | -100; B = 100 | 10000
answer: N + 10*log(B/10)
unit: dBm
tolerance: 0.5%

## Floor at {B} Hz if it's {N} dBm at 10 Hz?

::: misses
- [any] +10 dB per decade.
:::
:::
:::
