---
title: Near and far fields
heading: How an antenna's fields change with distance, from stored energy close in to radiation far away
eyebrow: C10 · Lesson 41 · Near and far fields
xp: 40
---

::: hook
Lesson 40 described antennas by their far-field patterns, the fields many wavelengths away that fall as $1/r$ and carry power off to infinity. Close to an antenna the fields look completely different: they fall as $1/r^2$ and $1/r^3$, store energy that sloshes back and forth each cycle, and have a wave impedance far from 377 Ω. Contactless payment cards and wireless chargers work in that near field, where coupling falls off violently with distance; EMC engineers must know which region they're in to choose a shield (lesson 48); and an antenna range must be far enough away to measure the true far-field pattern.
:::

::: play
- The relative strength of the three terms in a short dipole's electric field, against distance in wavelengths: the $1/r^3$ (quasi-static), $1/r^2$ (induction) and $1/r$ (radiation) terms.
- They cross at $kr$ = 1, the **radian sphere**, $r = \lambda/2\pi$. Inside it the stored fields dominate; outside, radiation does.
- The dashed curve is the wave impedance $|E/H|$ in units of the free-space 377 Ω: high close to a small electric dipole, settling to 1 in the far field.
:::

```sim plot
view: graph
x: r = 0.01..10 log
y: E = 0.001..10000 log
plot: 1/(2*pi*r)^3 | label: 1/r³ term
plot: 1/(2*pi*r)^2 | color: ch3 | label: 1/r² term
plot: 1/(2*pi*r) | color: ch4 | label: 1/r term
plot: sqrt((1 - 1/(2*pi*r)^2)^2 + 1/(2*pi*r)^2)/sqrt(1 + 1/(2*pi*r)^2) | dashed | color: ch2 | label: wave impedance ÷ 377 Ω
marker: x = 1/(2*pi) | label: radian sphere
```

::: predict
## A contactless card reader works at 13.56 MHz with a card a few centimeters away. Is the card in the reader's near field or far field?

- [x] Deep in the near field: the radian sphere is about 3.5 m
- [ ] In the far field, since it receives a signal
- [ ] At the boundary between them
- [ ] It depends on the card's orientation only

::: reveal
At 13.56 MHz, $\lambda$ = 22.1 m and $\lambda/2\pi$ = 3.5 m, so a card a few centimeters away is about a hundredth of the way to the radian sphere. The reader and card are coupled coils, a loosely coupled transformer (the coupled coils of wireless power in Physics II), and the magnetic field falls as $1/r^3$, which is why the card must nearly touch the reader: that's a security feature.
:::
:::

::: nameit
## The fields of a short dipole

A short current element $Il$ produces, at distance $r$ and angle θ from its axis,

$$H_\phi = \frac{jkIl\sin\theta}{4\pi r}\left(1 + \frac{1}{jkr}\right)e^{-jkr}, \qquad E_\theta = \frac{j\eta kIl\sin\theta}{4\pi r}\left(1 + \frac{1}{jkr} - \frac{1}{(kr)^2}\right)e^{-jkr}$$

with $k = 2\pi/\lambda$. The terms in $1/(kr)^2$ and $1/(kr)$ beyond the leading 1 describe stored, reactive energy; only the $1/r$ terms carry power away. All three are equal in size at $kr$ = 1.

## Wave impedance

$$\frac{|E_\theta|}{|H_\phi|} = \eta\frac{|1 + 1/(jkr) - 1/(kr)^2|}{|1 + 1/(jkr)|}$$

Close to an electric dipole ($kr \ll 1$) it's about $\eta/(kr)$: high impedance, mostly electric field. Close to a small loop (a magnetic dipole) it's about $\eta\,kr$: low impedance, mostly magnetic. Far away both approach $\eta$ = 377 Ω. Shields reflect high-impedance fields easily and low-impedance (magnetic) ones poorly, which is why magnetic fields near transformers and motors need thick or magnetic shielding.

## Regions around an antenna

For an antenna of largest dimension $D$:

- **Reactive near field:** $r < 0.62\sqrt{D^3/\lambda}$ (for a small antenna, roughly inside $\lambda/2\pi$). Stored energy dominates.
- **Radiating near field (Fresnel region):** the pattern still changes with distance, because the paths from different parts of the antenna differ by more than a small part of a wavelength.
- **Far field (Fraunhofer region):** $r > 2D^2/\lambda$ (and $r \gg \lambda$, $r \gg D$). The path differences are below $\lambda/16$, the pattern no longer changes with distance, and the fields fall as $1/r$.

## Falloff

In the far field, field strength falls as $1/r$ and power density as $1/r^2$: 6 dB per doubling of distance. In the near field of a small loop, the magnetic field falls as $1/r^3$: 18 dB per doubling, and the power coupled into a second loop, proportional to the field squared, falls by 36 dB.
:::

::: example
## Where is the radian sphere at 13.56 MHz (NFC), 2.45 GHz (Wi-Fi) and 60 GHz?

::: solution
1. **Radian sphere at each frequency.**
   $$\frac{\lambda}{2\pi} = 3.52\ \text{m at 13.56 MHz}$$
   $$\frac{\lambda}{2\pi} = 19.5\ \text{mm at 2.45 GHz}$$
   $$\frac{\lambda}{2\pi} = 0.80\ \text{mm at 60 GHz}$$
2. **NFC.** NFC lives entirely in the near field.
3. **Wi-Fi.** A Wi-Fi router's near field ends a couple of centimeters from its antenna.
4. **60 GHz.** At 60 GHz almost every practical distance is the far field.

**Answer:** the radian sphere is 3.52 m out at 13.56 MHz, 19.5 mm at 2.45 GHz and 0.80 mm at 60 GHz.
:::
:::

::: example
## A 1 m dish antenna is tested at 10 GHz. How far away must the measurement antenna be to see its far-field pattern? And a 3 m dish?

::: solution
1. **Wavelength.** At 10 GHz, λ = 3 cm.
2. **Far-field distance for the 1 m dish.**
   $$\begin{aligned} \frac{2D^2}{\lambda} &= \frac{2 \times 1}{0.03}\ \text{m} \\ &= 66.7\ \text{m} \end{aligned}$$
3. **For the 3 m dish.** Nine times as far, 600 m.
4. **How big antennas are measured.** That's why large antennas are measured in compact ranges, which use a reflector to make a plane wave close by, or by near-field scanning, which measures the field close in and computes the far field mathematically.

**Answer:** 66.7 m for the 1 m dish, and 600 m for the 3 m dish.
:::
:::

::: example
## Find the wave impedance of a short electric dipole's fields at $kr$ = 0.1, 1 and 10.

::: solution
1. **At kr = 0.1.**
   $$\begin{aligned} \frac{|1 - 10j - 100|}{|1 - 10j|} &= \frac{99.5}{10.05} \\ &= 9.90 \end{aligned}$$
   so $|E/H|$ = 3730 Ω, mostly electric.
2. **At kr = 1.**
   $$\begin{aligned} \frac{|1 - j - 1|}{|1 - j|} &= \frac{1}{1.414} \\ &= 0.707 \end{aligned}$$
   so $|E/H|$ = 266 Ω.
3. **At kr = 10.** The ratio is 0.990, so $|E/H|$ = 373 Ω, nearly the far-field value.
4. **The shape of the curve.** The impedance doesn't fall monotonically to 377 Ω: it dips below it near the radian sphere.

**Answer:** 3730 Ω at kr = 0.1, 266 Ω at kr = 1 and 373 Ω at kr = 10.
:::
:::

::: check
given: f = 0.1 | 13.56 | 433 | 2450 | 60000
answer: 3e8/(f*1e6)/(2*pi)
unit: m
tolerance: 0.5%

## How far is the radian sphere, $\lambda/2\pi$, from a small antenna at {f} MHz?

::: right
Right. $\lambda/2\pi$ = {answer}.
:::

::: misses
- [3e8/(f*1e6)] That's a whole wavelength. Divide by $2\pi$.
- [any] Not yet. $r = c/(2\pi f)$.
:::
:::

::: check
given: D = 0.3 | 0.6 | 3; f = 2.4 | 10 | 30
answer: 2*D^2/(3e8/(f*1e9))
unit: m
tolerance: 0.5%

## An antenna {D} m across is measured at {f} GHz. What's the minimum far-field distance $2D^2/\lambda$?

::: right
Right. {answer}.
:::

::: misses
- [D^2/(3e8/(f*1e9))] It's $2D^2/\lambda$.
- [2*D/(3e8/(f*1e9))] Square the antenna's size.
- [any] Not yet. $2D^2/\lambda$.
:::
:::

::: check
given: kr = 0.2 | 0.5 | 2 | 5
answer: 376.73*sqrt((1 - 1/kr^2)^2 + 1/kr^2)/sqrt(1 + 1/kr^2)
unit: Ω
tolerance: 0.5%

## What is the wave impedance of a short electric dipole's fields at $kr$ = {kr}?

::: right
Right. $\eta|1 + 1/(jkr) - 1/(kr)^2|/|1 + 1/(jkr)|$ = {answer}.
:::

::: misses
- [376.73] That's the far-field value. Close in, the fields are mostly electric.
- [376.73/kr] That's the small-$kr$ approximation; use the full expression.
- [any] Not yet. Evaluate the ratio of the two field expressions.
:::
:::

::: check
given: n = 2 | 3 | 10
answer: 60*log(n)
tolerance: 0.5%

## In a small loop's near field the magnetic field falls as $1/r^3$. By how many dB does the power coupled into a nearby coil fall when the distance grows {n} times?

::: right
Right. Field $\propto 1/r^3$, power $\propto 1/r^6$: $60\log_{10}n$ = {answer} dB.
:::

::: misses
- [20*log(n)] That's the far-field power falloff, $1/r^2$.
- [30*log(n)] That's the field's falloff in dB. Power goes as the field squared.
- [any] Not yet. Power $\propto 1/r^6$.
:::
:::

::: check
given: D = 0.1 | 0.5 | 2; f = 1 | 5 | 20
answer: 0.62*sqrt(D^3/(3e8/(f*1e9)))
unit: m
tolerance: 0.5%

## An antenna {D} m across operates at {f} GHz. Where does its reactive near field end, by $0.62\sqrt{D^3/\lambda}$?

::: right
Right. {answer}.
:::

::: misses
- [2*D^2/(3e8/(f*1e9))] That's where the far field begins.
- [any] Not yet. $0.62\sqrt{D^3/\lambda}$.
:::
:::

::: check
kind: choice

## A thin aluminum shield blocks the electric field near a high-voltage switching node well but barely reduces the magnetic field near a power transformer. Why?

- [x] Near a transformer the field is low-impedance (mostly magnetic), and thin conductive shields reflect low-impedance fields poorly
- [ ] Aluminum is not a conductor at power frequencies
- [ ] Magnetic fields don't interact with metals
- [ ] The transformer's field is in its far field

::: right
Right. Reflection loss depends on the mismatch between the wave impedance and the shield's tiny surface impedance. High-impedance electric fields are strongly mismatched and reflect; low-impedance magnetic fields are better matched and get through, so they need thick or high-permeability shields.
:::

::: misses
- [2] Aluminum conducts well at any frequency; the issue is the wave impedance.
- [3] Conductive shields affect magnetic fields through eddy currents, but thin ones only weakly at low frequency.
- [4] At 50 or 60 Hz, a transformer's surroundings are deep in its near field.
:::
:::

::: check
kind: python
given: hi = 1.05 | 1.1 | 1.2

## Map a short dipole's wave impedance. Write `zw(kr)` returning $|E_\theta/H_\phi|/\eta$ from the formulas above using complex arithmetic. On `kr = numpy.logspace(-2, 2, 40001)`, set `kr_min` and `zmin`, where the ratio is smallest and its value, and `kr_settle`, the first grid point after the last one where `abs(zw(kr) - 1) >= hi - 1`, beyond which the ratio stays within that band ({hi} gives the upper limit).

```python starter
import numpy as np
def zw(kr):
    return 1 / kr
kr_min, zmin, kr_settle = 1.0, 1.0, 1.0
```

```python solution
import numpy as np
def zw(kr):
    kr = np.asarray(kr, dtype=float)
    num = np.abs(1 + 1 / (1j * kr) - 1 / kr**2)
    den = np.abs(1 + 1 / (1j * kr))
    return num / den
kr = np.logspace(-2, 2, 40001)
z = zw(kr)
i = np.argmin(z)
kr_min, zmin = float(kr[i]), float(z[i])
bad = np.abs(z - 1) >= hi - 1
kr_settle = float(kr[np.nonzero(bad)[0][-1] + 1])
```

```python tests
import numpy as np
kr = np.logspace(-2, 2, 40001)
z = np.abs(1 + 1 / (1j * kr) - 1 / kr**2) / np.abs(1 + 1 / (1j * kr))
assert np.allclose(zw(kr), z, rtol=1e-12), "zw must follow the dipole formulas."
i = np.argmin(z)
assert abs(kr_min - kr[i]) < 1e-9 and abs(zmin - z[i]) < 1e-12, f"The minimum is {z[i]:.6f} at kr = {kr[i]:.5f}."
bad = np.abs(z - 1) >= hi - 1
assert abs(kr_settle - kr[np.nonzero(bad)[0][-1] + 1]) < 1e-12, "kr_settle is the first grid point after the last one outside the band."
```

::: right
Right. The impedance dips to 0.68η at $kr$ = 1.17, then settles toward 377 Ω within a few radian spheres: the far-field value is an approximation that becomes good only some wavelengths out.
:::
:::

::: explain
## A wireless charger and an NFC payment terminal both work over a few centimeters, while a Wi-Fi router reaches across a house. Explain the difference in terms of near and far fields.

::: model
The charger (around 100 to 200 kHz) and the NFC terminal (13.56 MHz) have wavelengths of kilometers and tens of meters, so a few centimeters is deep inside their radian spheres. There, a coil's magnetic field is a stored, reactive field that falls as $1/r^3$, and the coupled power falls as $1/r^6$: excellent coupling at a centimeter, almost none at a meter. That's efficient for power transfer and intentionally short-ranged for payments. A Wi-Fi router at 2.4 or 5 GHz has its radian sphere within a couple of centimeters of the antenna, so almost everywhere in the house is its far field, where the fields carry power away as radiation falling only as $1/r$ in strength, $1/r^2$ in power, which reaches tens of meters at the same transmitted power.
:::
:::

::: practice

::: check
given: f = 27 | 915 | 5800
answer: 3e8/(f*1e6)/(2*pi)*100
unit: cm
tolerance: 0.5%

## Where is the radian sphere at {f} MHz, in cm?

::: misses
- [3e8/(f*1e6)*100] Divide the wavelength by $2\pi$.
- [any] $\lambda/2\pi$.
:::
:::

::: check
given: D = 0.5 | 2.4; f = 3 | 12
answer: 2*D^2/(3e8/(f*1e9))
unit: m
tolerance: 0.5%

## How far away does the far field of a {D} m antenna start at {f} GHz?

::: misses
- [D^2/(3e8/(f*1e9))] Use $2D^2/\lambda$.
- [any] $2D^2/\lambda$.
:::
:::
:::
