---
title: Time, frequency and wavelength
heading: When a circuit board is big
eyebrow: A1 · Lesson 12 · Time, frequency and wavelength
xp: 40
---

::: hook
A 10 cm circuit board is small. Or is it? A signal needs time to get from one end of a trace to the other, about two-thirds of a nanosecond on a typical board. A 50 Hz mains waveform barely moves in that time, so the whole board sees the same voltage. A 2 GHz signal goes through more than one full cycle while crossing it, so one end of a trace can be at the top of the wave while the other end is at the bottom. Whether a board is "big" depends on its size compared with the wavelength of its signals.

::: play
- The curve is the voltage along a trace at one instant. The marker is the edge of the board.
- Start at 100 MHz and slide the frequency up. At what frequency does a whole wave fit on the board?
- Change $\varepsilon_r$, the relative permittivity of the board's insulation. What does a higher value do to the wavelength?
:::
:::

```sim plot
view: graph
x: x = 0..0.3 m
y: v = -1.2..1.2 V
slider: f = 10M..3G = 100M Hz log
slider: L = 0.02..0.3 = 0.1 m
slider: er = 1..10 = 4
plot: sin(2*pi*f*x*sqrt(er)/3e8) | label: voltage along the trace
marker: x = L | label: board edge
readout: period = 1/f s | format: si
readout: wavelength on the board = 3e8/sqrt(er)/f m | format: si
readout: board length in wavelengths = L*f*sqrt(er)/3e8 | digits: 3
```

::: predict
## A 2.4 GHz Wi-Fi signal travels through air at the speed of light. About how long is one wavelength?

- [ ] 12.5 m
- [x] 12.5 cm
- [ ] 1.25 mm
- [ ] 125 km

::: reveal
About 12.5 cm. In one period, $1/(2.4 \times 10^9)$ = 0.417 ns, light travels $3 \times 10^8 \times 0.417 \times 10^{-9}$ = 0.125 m. That's why Wi-Fi antennas are a few centimeters long: a common antenna is a quarter or a half of a wavelength.
:::
:::

::: nameit
## Period, wavelength and speed

**Frequency and period** are reciprocals. Frequency $f$ counts cycles per second, in hertz; the period $T$ is the time one cycle takes:

$$T = \frac{1}{f}$$

| Signal | $f$ | $T$ |
|---|---|---|
| Mains (US) | 60 Hz | 16.7 ms |
| Mains (Europe) | 50 Hz | 20 ms |
| Audio tone | 1 kHz | 1 ms |
| FM radio | 100 MHz | 10 ns |
| Wi-Fi | 2.4 GHz | 417 ps |

A wave also has a **wavelength**, the distance it travels in one period. At speed $v$:

$$\lambda = vT = \frac{v}{f}$$

In vacuum, and very nearly in air, $v$ is the speed of light, $c$ = 299 792 458 m/s, or $3.00 \times 10^8$ m/s to three figures. Light covers about 30 cm, roughly a foot, in a nanosecond.

**In cables and on boards,** signals travel slower, because the field between the conductors passes through insulation:

$$v = \frac{c}{\sqrt{\varepsilon_r}}$$

where $\varepsilon_r$ is the insulation's relative permittivity. The ratio $v/c$ is called the **velocity factor**. Polyethylene coax ($\varepsilon_r = 2.25$) has a velocity factor of 0.66. A trace inside an FR-4 board ($\varepsilon_r$ about 4) carries signals at about half the speed of light, roughly 15 cm/ns.

**Propagation delay** is the time to cross a distance $d$:

$$t = \frac{d}{v}$$

**When size matters.** When a circuit is much smaller than a wavelength, the voltage is nearly the same all along each wire at any instant, and wires behave as plain connections. Engineers call this a **lumped** circuit, and every circuit course up to C9 assumes it. A common rule of thumb draws the line at a tenth of a wavelength: a trace longer than $\lambda/10$ has to be treated as a **transmission line**, which you'll meet in C10. At 60 Hz the wavelength is 5000 km, so a house's wiring is lumped. At 1 GHz on a board, $\lambda/10$ is 1.5 cm.
:::

::: example
## How long is a quarter-wave antenna for 433 MHz, a common band for remote controls?

::: solution
1. **Wavelength.**
   $$\begin{aligned} \lambda &= \frac{c}{f} \\ &= \frac{3.00 \times 10^8}{433 \times 10^6}\ \text{m} \\ &= 0.692\ \text{m} \end{aligned}$$
2. **Quarter wave.**
   $$\begin{aligned} \frac{\lambda}{4} &= \frac{0.692\ \text{m}}{4} \\ &= 17.3\ \text{cm} \end{aligned}$$
3. **Trim for a real antenna.** Real antennas are cut a few percent shorter than this, because the wire's thickness and the charge that gathers at its tip make it act slightly longer than it is.

**Answer:** a quarter wave at 433 MHz is 17.3 cm, and a real antenna is cut a few percent shorter.
:::
:::

::: example
## A 100 MHz clock runs along a 20 cm trace inside an FR-4 board ($\varepsilon_r \approx 4$). How long does the signal take to cross, and is the trace still lumped?

::: solution
1. **Speed on the board.**
   $$\begin{aligned} v &= \frac{c}{\sqrt{4}} \\ &= 1.5 \times 10^8\ \text{m/s} \end{aligned}$$
   or 15 cm/ns.
2. **Delay.**
   $$\begin{aligned} t &= \frac{0.20}{1.5 \times 10^8}\ \text{s} \\ &= 1.33\ \text{ns} \end{aligned}$$
3. **Wavelength on the board.**
   $$\begin{aligned} \lambda &= \frac{v}{f} \\ &= \frac{1.5 \times 10^8}{10^8}\ \text{m} \\ &= 1.5\ \text{m} \end{aligned}$$
   so $\lambda/10$ is 15 cm.
4. **Apply the rule of thumb.** The 20 cm trace is longer than $\lambda/10$, so by the rule of thumb it has to be designed as a transmission line.
5. **Consider the edges.** A digital clock's sharp edges make this more pressing, since they contain frequencies many times the clock rate.

**Answer:** the signal takes 1.33 ns to cross, and the trace is too long to treat as lumped: it has to be designed as a transmission line.
:::
:::

::: example
## A cable tester sends a pulse into polyethylene coax and sees the echo from a break 400 ns later. How far away is the break?

::: solution
1. **Speed in the cable.** With $\varepsilon_r = 2.25$, the velocity factor is
   $$\frac{1}{\sqrt{2.25}} = 0.667$$
   so $v = 2.00 \times 10^8$ m/s.
2. **Distance.** The pulse goes out and back, covering twice the distance:
   $$\begin{aligned} d &= \frac{vt}{2} \\ &= \frac{(2.00 \times 10^8)(400 \times 10^{-9})}{2}\ \text{m} \\ &= 40\ \text{m} \end{aligned}$$
3. **Name the method.** This is time-domain reflectometry, the way faults in long cables are found without digging the cable up.

**Answer:** the break is 40 m away.
:::
:::

::: check
given: f = 1k..100M E3 Hz
answer: 1/f
unit: s

## What is the period of a {f} signal?

::: right
Right. $T = 1/f$ = {answer}.
:::

::: misses
- [f] That's the frequency itself. The period is its reciprocal, $1/f$.
- [any] Not yet. Divide 1 by the frequency in hertz.
:::
:::

::: check
given: f = 1M..10G E3 Hz
answer: 3e8/f
unit: m

## What is the wavelength of a {f} radio wave in air? Use $c = 3.00 \times 10^8$ m/s.

::: right
Right. $\lambda = c/f$ = {answer}.
:::

::: misses
- [f/3e8] That's upside down. A higher frequency has a shorter wavelength: divide the speed by the frequency.
- [3e8*f] Divide the speed by the frequency.
- [any] Not yet. Use $\lambda = c/f$, with $f$ in hertz.
:::
:::

::: check
given: er = 2.25 | 4 | 9; f = 100M..3G E3 Hz
answer: 3e8/sqrt(er)/f
unit: m

## A {f} signal travels along a cable whose insulation has $\varepsilon_r$ = {er}. What is its wavelength in the cable?

::: right
Right. The signal travels at $c/\sqrt{\given{er}}$, so $\lambda$ = {answer}.
:::

::: misses
- [3e8/f] That's the wavelength in air. In the cable the wave is slower, so its wavelength is shorter.
- [3e8/er/f] Divide the speed of light by the square root of $\varepsilon_r$.
- [3e8*sqrt(er)/f] The insulation slows the wave, so divide by $\sqrt{\varepsilon_r}$.
- [any] Not yet. Find the speed, $c/\sqrt{\varepsilon_r}$, then divide by the frequency.
:::
:::

::: check
given: d = 0.1 | 0.3 | 1 | 5 | 20; vf = 0.66 | 0.7 | 0.8
answer: d/(vf*3e8)
unit: s

## A coax cable has a velocity factor of {vf}. How long does a signal take to travel {d} m along it?

::: right
Right. It travels at $\given{vf} \times 3 \times 10^8$ m/s, so it takes {answer}.
:::

::: misses
- [d/3e8] That's the time in air. The cable is slower: multiply the speed of light by the velocity factor.
- [d*vf/3e8] The velocity factor scales the speed, so it goes in the bottom of $t = d/v$.
- [any] Not yet. Find the speed in the cable, then $t = d/v$.
:::
:::

::: check
given: f = 50M..2G E3 Hz
answer: 1.5e8/f/10
unit: m

## Signals on a board travel at half the speed of light. Using the $\lambda/10$ rule, what is the longest trace that still counts as short at {f}?

::: right
Right. On the board $\lambda = 1.5 \times 10^8 / f$, and a tenth of that is {answer}.
:::

::: misses
- [3e8/f/10] That uses the speed of light in air. On the board, signals travel at half that.
- [1.5e8/f] That's a whole wavelength. The rule draws the line at a tenth of one.
- [any] Not yet. Find the wavelength on the board, then take a tenth.
:::
:::

::: check
kind: choice

## A 15 cm board carries a 1 GHz clock, on traces where signals travel at half the speed of light. Which is right?

- [ ] The board is tiny compared with the wavelength, so its traces are plain connections
- [x] The board is about one wavelength long, so the voltage changes along a trace and long traces must be treated as transmission lines
- [ ] The clock is too fast for the signal to reach the far end at all
- [ ] Only the length in air matters, which is 30 cm, so the board is half a wavelength long

::: right
Right. On the board $\lambda = 1.5 \times 10^8 / 10^9$ = 15 cm, the size of the board. A tenth of a wavelength is only 1.5 cm.
:::

::: misses
- [1] Work out the wavelength on the board: $1.5 \times 10^8$ m/s divided by $10^9$ Hz.
- [4] The wave travels along the trace, through the board's insulation, so use the slower speed.
- [any] Compare the board with the wavelength on the board, $v/f$.
:::
:::

::: explain
## Why does the wiring in a house never need transmission line theory at 60 Hz, while a 5 cm trace at 2 GHz might?

::: model
What matters is length compared with wavelength. At 60 Hz the wavelength is about 5000 km, so even the longest wire in a house is a tiny fraction of a wavelength and the voltage is effectively the same all along it at any instant. At 2 GHz on a board, where signals move at about half the speed of light, the wavelength is about 7.5 cm, so a 5 cm trace is most of a wavelength and the voltage at its two ends can be completely different.
:::
:::

::: practice

::: check
given: T = 10n..100m E3 s
answer: 1/T
unit: Hz

## A signal repeats every {T}. What is its frequency?

::: misses
- [T] That's the period. Frequency is its reciprocal.
- [any] $f = 1/T$, with $T$ in seconds.
:::
:::

::: check
given: lam = 1m..1k E3 m
answer: 3e8/lam
unit: Hz

## A radio wave in air has a wavelength of {lam}. What is its frequency?

::: misses
- [lam/3e8] That's upside down. $f = c/\lambda$.
- [any] $f = c/\lambda$, with $c = 3.00 \times 10^8$ m/s.
:::
:::

::: check
given: f = 100k..3G E3 Hz
answer: 3e8/f
unit: m

## What is the wavelength of a {f} wave in air?

::: misses
- [f/3e8] Divide the speed by the frequency.
- [any] $\lambda = c/f$.
:::
:::

::: check
given: d = 2 | 5 | 10 | 30; er = 2.25 | 4 | 9
answer: d*1e-2*sqrt(er)/3e8
unit: s

## How long does a signal take to cross {d} cm of a line whose insulation has $\varepsilon_r$ = {er}?

::: misses
- [d*1e-2/3e8] That's in air. The insulation slows the signal by $\sqrt{\varepsilon_r}$.
- [d*1e-2*er/3e8] Use the square root of $\varepsilon_r$.
- [any] The speed is $c/\sqrt{\varepsilon_r}$, and $t = d/v$.
:::
:::

::: check
given: d = 0.5 | 1 | 2 | 10; vf = 0.66 | 0.8
answer: d/(vf*3e8)
unit: s

## How long is the delay through {d} m of cable with a velocity factor of {vf}?

::: misses
- [d/3e8] That's in air. Multiply the speed by the velocity factor.
- [d*vf/3e8] Divide by the velocity factor: the cable is slower.
- [any] $t = d/(\text{velocity factor} \times c)$.
:::
:::

::: check
given: f = 10M..1G E3 Hz; er = 4 | 9
answer: 3e8/sqrt(er)/f/10
unit: m

## Using the $\lambda/10$ rule, how long can a trace get at {f} on a board with $\varepsilon_r$ = {er} before it needs transmission line treatment?

::: misses
- [3e8/f/10] Use the speed on the board, $c/\sqrt{\varepsilon_r}$.
- [3e8/sqrt(er)/f] That's a full wavelength. Take a tenth.
- [any] Find $\lambda = c/(\sqrt{\varepsilon_r} f)$, then divide by 10.
:::
:::
:::
