---
title: Antenna measurements
heading: Far-field ranges, gain by comparison and by three antennas, near-field scanning and efficiency
eyebrow: S5 · Lesson 40 · Antenna measurements
xp: 50
---

::: hook
Every number on an antenna's datasheet, its gain, beamwidth, sidelobes and efficiency, comes from a measurement, and each measurement has a geometry that limits it. A pattern measured too close to a large antenna is blurred by the curvature of the incoming wave; gain needs either a reference antenna of known gain or a clever trick with three unknown ones; and big antennas are now measured in their near field and transformed mathematically. This lesson covers how each works and what it demands.
:::

::: play
- The curve is the phase error at the edge of an aperture of size D, illuminated by a source at distance R, against R in units of $D^2/\lambda$: $\pi D^2/(4\lambda R)$, in degrees.
- At the conventional far-field distance $2D^2/\lambda$ the error is 22.5° (π/8), small enough that the measured gain is low by only a few hundredths of a decibel and the first sidelobes are nearly right.
- Halving the distance doubles the error, and the pattern's nulls start to fill in.
:::

```sim plot
view: graph
x: x = 0.25..10 log
y: p = 0..200 °
plot: 180/(4*x) | label: edge phase error
plot: 22.5 + 0*x | dashed | label: π/8 at 2D²/λ
```

::: predict
## A 1 m dish is to be measured at 10 GHz on an outdoor range. How far away must the source antenna be for the far-field criterion?

- [ ] About 3 m
- [x] About 67 m
- [ ] About 6.7 km
- [ ] About 33 cm

::: reveal
$2D^2/\lambda = 2 \times 1^2/0.03 = 67$ m. At 30 GHz it would be 200 m, which is why large or high-frequency antennas are measured in compact ranges (a reflector makes a plane wave in a room) or in near-field scanners.
:::
:::

::: nameit
## The far-field criterion

A source at distance R illuminates an aperture of size D with a spherical wave; the path to the aperture's edge is longer than to its center by about $D^2/8R$, a phase error of $\pi D^2/(4\lambda R)$. Requiring at most π/8 gives
$$R \ge \frac{2D^2}{\lambda}$$
along with $R \gg D$ and $R \gg \lambda$.

## Gain

- **Comparison (substitution):** measure the received power with the antenna under test and with a standard gain horn of known gain in the same spot: $G_\text{AUT} = G_\text{std} + (P_\text{AUT} - P_\text{std})$ in dB.
- **Three antennas:** with none known, measure each pair i, j at the same distance. By Friis, $G_i + G_j = A_{ij}$, where $A_{ij} = P_r - P_t + 20\log_{10}(4\pi R/\lambda)$ in dB. Three equations give each gain, for example $G_1 = \frac{A_{12} + A_{13} - A_{23}}{2}$.

## Chambers and near fields

Anechoic chambers line the walls with absorber (reflectivity around −40 dB) to approximate free space indoors. **Near-field scanners** sample the field on a plane or sphere close to the antenna, at spacing no more than λ/2, and compute the far field by a Fourier transform, so a planar scan of an L × L aperture takes about $(2L/\lambda)^2$ samples.

## Efficiency

The **Wheeler cap** method measures the input resistance in free space ($R_\text{free}$, radiation plus loss) and inside a closed metal cap that stops radiation without touching the near field ($R_\text{cap}$, loss only): efficiency $= (R_\text{free} - R_\text{cap})/R_\text{free}$.
:::

::: example
## Three antennas are measured in pairs at the same distance, giving $A_{12}$ = 20 dB, $A_{13}$ = 25 dB and $A_{23}$ = 21 dB. What are their gains?

::: solution
1. **Antenna 1.**
   $$\begin{aligned} G_1 &= \frac{20 + 25 - 21}{2} \\ &= 12\ \text{dBi} \end{aligned}$$
2. **Antenna 2.**
   $$\begin{aligned} G_2 &= \frac{20 + 21 - 25}{2} \\ &= 8\ \text{dBi} \end{aligned}$$
3. **Antenna 3.**
   $$\begin{aligned} G_3 &= \frac{25 + 21 - 20}{2} \\ &= 13\ \text{dBi} \end{aligned}$$
4. **Check.**
   $$G_1 + G_2 = 20$$
   as measured. No antenna's gain had to be known in advance, which is how standard gain horns themselves are calibrated.

**Answer:** the gains are 12, 8 and 13 dBi.
:::
:::

::: example
## A planar near-field scanner measures a 1 m × 1 m array at 30 GHz. How many samples does it need, and how long does the scan take at 50 points a second?

::: solution
1. **Sample spacing.** λ = 1 cm, so the spacing is 5 mm.
2. **Number of samples.**
   $$\begin{aligned} N &= 200 \times 200 \\ &= 40\,000 \end{aligned}$$
3. **Scan time.**
   $$\begin{aligned} t &= \frac{40\,000}{50}\ \text{s} \\ &= 800\ \text{s} \end{aligned}$$
   about 13 minutes per frequency (multi-frequency receivers measure many at each point).
4. **Compare with a far-field range.** The equivalent range would be
   $$\begin{aligned} \frac{2D^2}{\lambda} &= \frac{2 \times 1^2}{0.01}\ \text{m} \\ &= 200\ \text{m} \end{aligned}$$

**Answer:** the scan needs 40,000 samples and takes 800 s, about 13 minutes.
:::
:::

::: example
## A small antenna's input resistance is 50 Ω in free space and 5 Ω inside a Wheeler cap. What is its radiation efficiency?

::: solution
1. **Efficiency.** Inside the cap only the loss resistance remains:
   $$\begin{aligned} \eta &= \frac{50 - 5}{50} \\ &= 90\% \end{aligned}$$
   which is 0.46 dB of loss.
2. **Size of the cap.** It must be big enough not to disturb the antenna's near field, roughly a radian sphere in radius.

**Answer:** the radiation efficiency is 90%, 0.46 dB of loss.
:::
:::

::: check
kind: parts
given: D = 0.3 | 1 | 3; f = 3 | 10 | 30; k = 1 | 0.5

## An antenna of size {D} m is measured at {f} GHz, with the source at {k} times the far-field distance.

::: part
answer: 2*D^2*f*1e9/299792458
unit: m
tolerance: 0.5%

### What is the far-field distance $2D^2/\lambda$?

::: misses
- [D^2*f*1e9/299792458] The criterion is $2D^2/\lambda$.
- [any] $2D^2/\lambda$.
:::
:::

::: part
answer: 22.5/k
unit: °
tolerance: 0.5%

### What phase error does the aperture's edge see at the range used?

::: misses
- [any] π/8 at the far-field distance, inversely proportional to R.
:::
:::
:::

::: check
kind: parts
given: a = 18 | 20 | 24; b = 22 | 25 | 27; c = 19 | 21 | 23

## Three antennas are measured in pairs: $A_{12}$ = {a} dB, $A_{13}$ = {b} dB, $A_{23}$ = {c} dB.

::: part
answer: (a + b - c)/2
unit: dBi
tolerance: 0.5%

### What is antenna 1's gain?

::: misses
- [any] $(A_{12} + A_{13} - A_{23})/2$.
:::
:::

::: part
answer: (a + c - b)/2
unit: dBi
tolerance: 0.5%

### And antenna 2's?

::: misses
- [any] $(A_{12} + A_{23} - A_{13})/2$.
:::
:::
:::

::: check
kind: parts
given: L = 0.3 | 1 | 2; f = 10 | 30 | 77; r = 20 | 100

## A planar near-field scanner covers an {L} m square aperture at {f} GHz, at {r} points a second.

::: part
answer: (2*L*f*1e9/299792458)^2
unit: samples
tolerance: 1%

### How many samples does a λ/2 grid need?

::: misses
- [any] $(2L/\lambda)^2$.
:::
:::

::: part
answer: (2*L*f*1e9/299792458)^2/r/60
unit: min
tolerance: 1%

### How long does the scan take?

::: misses
- [any] Samples over rate.
:::
:::
:::

::: check
kind: parts
given: F = 20 | 50 | 73; C = 1 | 5 | 15

## An antenna's input resistance is {F} Ω in free space and {C} Ω in a Wheeler cap.

::: part
answer: (F - C)/F*100
unit: %
tolerance: 0.5%

### What is its radiation efficiency?

::: misses
- [C/F*100] That's the fraction lost.
- [any] $(R_\text{free} - R_\text{cap})/R_\text{free}$.
:::
:::

::: part
answer: F - C
unit: Ω
tolerance: 0.5%

### What is its radiation resistance?

::: misses
- [any] Free-space resistance less the loss.
:::
:::
:::

::: check
kind: choice

## Why does measuring a large antenna's pattern too close to the source make its nulls fill in and its gain read low?

- [ ] The source's power is too high nearby
- [x] The incoming wave is curved, so the aperture is illuminated with a phase error that grows toward its edges; that defocuses the pattern like a lens at the wrong distance
- [ ] Near fields don't carry power
- [ ] The receiver saturates

::: misses
- [1] Power level scales the result but doesn't change its shape.
- [3] At these distances the measured fields are radiating fields; the issue is their curvature.
- [4] Saturation would compress the main beam, not fill the nulls.
:::
:::

::: check
kind: derivation
vars: a = 0..40, b = 0..40, c = 0..40

## Pairs of three antennas measure $A_{12}$ = a, $A_{13}$ = b and $A_{23}$ = c (each the sum of the two gains, in dB).

::: step
answer: (a + b - c)/2

### What is $G_1$?
:::

::: step
answer: (a + c - b)/2

### What is $G_2$?
:::

::: step
answer: (b + c - a)/2

### What is $G_3$?
:::

::: right
Right. Three sums determine three unknowns: the method needs only a calibrated power ratio and distance.
:::
:::

::: check
kind: python

## Write `three_antenna(pt_dbm, pr_dbm, R, f)`: pr_dbm is a dict with keys (1, 2), (1, 3), (2, 3) giving the received power for each pair at distance R meters and frequency f hertz, with pt_dbm transmitted. Return the three gains (dBi) as a tuple.

```python starter
def three_antenna(pt_dbm, pr_dbm, R, f):
    return (0.0, 0.0, 0.0)
```

```python solution
import math

def three_antenna(pt_dbm, pr_dbm, R, f):
    lam = 299792458 / f
    fspl = 20 * math.log10(4 * math.pi * R / lam)
    A = {k: v - pt_dbm + fspl for k, v in pr_dbm.items()}
    g1 = (A[(1, 2)] + A[(1, 3)] - A[(2, 3)]) / 2
    g2 = (A[(1, 2)] + A[(2, 3)] - A[(1, 3)]) / 2
    g3 = (A[(1, 3)] + A[(2, 3)] - A[(1, 2)]) / 2
    return (g1, g2, g3)
```

```python tests
import math
f, R = 10e9, 5.0
fspl = 20 * math.log10(4 * math.pi * R * f / 299792458)
G = (12.0, 8.0, 13.0)
pr = {(i, j): 0 + G[i - 1] + G[j - 1] - fspl for (i, j) in ((1, 2), (1, 3), (2, 3))}
g = three_antenna(0, pr, R, f)
assert all(abs(a - b) < 1e-9 for a, b in zip(g, G)), "Recovers 12, 8 and 13 dBi from the measurements."
```

::: right
Right. Friis with known distance and frequency turns each pair's power ratio into a sum of gains.
:::
:::

::: explain
## How can three antennas of unknown gain be calibrated without any reference?

::: model
By the Friis equation, the power received between two antennas at a known distance and frequency depends only on the sum of their gains, once the free-space path loss is accounted for. Measuring all three pairs gives three such sums: G1 + G2, G1 + G3 and G2 + G3. Three independent equations in three unknowns can be solved: adding two of the sums and subtracting the third isolates one gain. The only things that must be known accurately are the distance, the frequency and the ratio of transmitted to received power, all of which can be measured directly.
:::
:::

::: practice
::: check
given: D = 0.5 | 2; f = 6 | 18
answer: 2*D^2*f*1e9/299792458
unit: m
tolerance: 0.5%

## Far-field distance for {D} m at {f} GHz?

::: misses
- [any] $2D^2/\lambda$.
:::
:::

::: check
given: a = 17 | 22; b = 24 | 26; c = 20 | 23
answer: (a + b - c)/2
unit: dBi
tolerance: 0.5%

## $G_1$ from $A_{12}$ = {a}, $A_{13}$ = {b}, $A_{23}$ = {c} dB?

::: misses
- [any] $(A_{12} + A_{13} - A_{23})/2$.
:::
:::

::: check
given: F = 30 | 60; C = 3 | 12
answer: (F - C)/F*100
unit: %
tolerance: 0.5%

## Wheeler-cap efficiency: {F} Ω free, {C} Ω capped?

::: misses
- [any] $(R_\text{free} - R_\text{cap})/R_\text{free}$.
:::
:::
:::
