---
title: When a connection is a transmission line
heading: Circuit size against wavelength and rise time
eyebrow: C10 · Lesson 1 · When a connection is a transmission line
xp: 40
---

::: hook
Circuit theory assumes a wire has the same voltage all along it at every instant. That's only true if the signal changes slowly compared with the time it takes to travel down the wire. A 50 Hz power cord is thousands of kilometers short of its wavelength, so it's fine. A 30 cm cable carrying a 1 GHz signal holds two whole cycles at once: one end can be at +1 V while the other is at −1 V. Then the wire stops being a node and becomes a **transmission line**, with reflections, delays and ringing that circuit theory can't predict. The first skill of high-speed and RF design is knowing which case you're in.
:::

::: play
- The curve is the voltage along a 30 cm trace (signals travel at $1.65 \times 10^8$ m/s on it) at one instant, for a sinusoid at frequency f. Drag the phase to watch the wave move.
- At 10 MHz the whole trace is at nearly the same voltage: lumped circuit theory works. Raise f to a few hundred megahertz and the voltage varies along the trace.
- At 1 GHz and above, the trace holds whole wavelengths. The readout shows the trace's length as a fraction of a wavelength.
:::
:::

```sim plot
view: graph
x: z = 0..0.3 m
y: v = -1.3..1.3 V
slider: f = 1M..3G = 100M Hz log
slider: phase = 0..360 = 0 step 5 °
plot: cos(phase° - 2*pi*f*z/1.65e8) | samples: 1500 | label: v(z)
readout: wavelength = 1.65e8/f m
readout: length in wavelengths = 0.3*f/1.65e8 | digits: 3
```

::: predict
## A 100 MHz clock runs along a 30 cm cable in which signals travel at $2 \times 10^8$ m/s. Should the cable be treated as a transmission line?

- [ ] No: 100 MHz is a low frequency
- [x] Yes: the cable is 0.15 of a wavelength, more than the usual limit of a tenth
- [ ] No: only cables longer than a wavelength are lines
- [ ] It depends only on the cable's resistance

::: reveal
Yes. λ = v/f = 2 m, and 0.3 m is 0.15λ. Past about a tenth of a wavelength the phase changes noticeably along the cable, and a square clock's harmonics at 300 and 500 MHz are worse still. Terminate it like a line, or expect ringing.
:::
:::

::: nameit
## Wavelength in a medium

A signal travels along a line at $v = c/\sqrt{\varepsilon_\text{eff}}$, where $\varepsilon_\text{eff}$ is the effective relative permittivity around the conductors: about 2.3 for polyethylene coax (v ≈ 0.66c), and about 3.3 for a microstrip trace on FR-4 circuit board (v ≈ 0.55c). Its wavelength is

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

and the delay per unit length is 1/v: about 6 ps per millimeter on FR-4 microstrip.

## The rules of thumb

- **Sinusoids:** a connection shorter than about λ/10 can be treated as a lumped node; longer needs line theory. The **electrical length** $\beta l = 360° \cdot l/\lambda$ says how much phase changes along it.
- **Digital edges:** what matters is the rise time $t_r$, not the clock rate. An edge contains significant frequencies up to about $0.35/t_r$. A trace is short enough to ignore when its one-way delay is less than about a sixth of the rise time, so the critical length is

$$l_\text{crit} \approx \frac{t_rv}{6}$$

A 1 ns edge on FR-4 has $l_\text{crit} \approx 2.8$ cm. Modern logic with 100 ps edges makes almost every trace a transmission line.
:::

::: example
## A 2.4 GHz Wi-Fi signal runs on FR-4 microstrip ($\varepsilon_\text{eff}$ = 3.3). What is its wavelength on the board, and how long is a 1 cm trace electrically?

::: solution
1. **Speed on the board.**
   $$\begin{aligned} v &= \frac{3 \times 10^8}{\sqrt{3.3}}\ \text{m/s} \\ &= 1.65 \times 10^8\ \text{m/s} \end{aligned}$$
2. **Wavelength.**
   $$\begin{aligned} \lambda &= \frac{1.65 \times 10^8}{2.4 \times 10^9}\ \text{m} \\ &= 6.9\ \text{cm} \end{aligned}$$
3. **Electrical length of 1 cm.** One centimeter is a fraction of that wavelength, and a full wavelength is 360° of phase:
   $$\begin{aligned} \frac{1\ \text{cm}}{6.9\ \text{cm}} &= 0.145\lambda \\ &= 52^\circ \end{aligned}$$
   That's definitely a transmission line.

**Answer:** the wavelength on the board is 6.9 cm, and a 1 cm trace is 0.145λ long, 52° of phase.
:::
:::

::: example
## A logic family has 1 ns rise times. How long can an FR-4 trace be before it needs line treatment?

::: solution
1. **Critical length.** Use the rule $l_\text{crit} = t_rv/6$ with the FR-4 speed:
   $$\begin{aligned} l_\text{crit} &= \frac{10^{-9} \times 1.65 \times 10^8}{6}\ \text{m} \\ &= 2.75\ \text{cm} \end{aligned}$$
2. **Check with the edge's bandwidth.**
   $$\frac{0.35}{1\ \text{ns}} = 350\ \text{MHz}$$
3. **A tenth of a wavelength there.** λ/10 at 350 MHz is 4.7 cm, the same order, so both rules say the same thing.

**Answer:** a trace longer than about 2.75 cm needs line treatment.
:::
:::

::: example
## A DDR4 data line at 3200 MT/s toggles at up to 1.6 GHz on FR-4 ($\varepsilon_\text{eff}$ = 3.3). How long a trace is a tenth of a wavelength there?

::: solution
1. **Speed on the board.**
   $$\begin{aligned} v &= \frac{c}{\sqrt{3.3}} \\ &= 1.65 \times 10^8\ \text{m/s} \end{aligned}$$
2. **Wavelength at 1.6 GHz.**
   $$\begin{aligned} \lambda &= \frac vf \\ &= 10.3\ \text{cm} \end{aligned}$$
3. **A tenth of it.**
   $$\frac{\lambda}{10} = 1.03\ \text{cm}$$
4. **What that means for routing.** Every memory trace on the board is longer than that, which is why DDR routing is done entirely as controlled-impedance lines with length matching.

**Answer:** a tenth of a wavelength is only 1.03 cm.
:::
:::

::: check
given: f = 50 | 433 | 2400; er = 2.25 | 3.3 | 4
answer: 299.792458/sqrt(er)/f
unit: m
tolerance: 0.5%

## What is the wavelength of a {f} MHz signal on a line with relative permittivity {er}?

::: right
Right. $\lambda = c/(f\sqrt{\varepsilon_r})$ = {answer} m.
:::

::: misses
- [299.792458/f] That's in free space; the dielectric slows the wave by $\sqrt{\varepsilon_r}$.
- [any] Not yet. $v = c/\sqrt{\varepsilon_r}$, then λ = v/f.
:::
:::

::: check
given: er = 2.25 | 3.3 | 4.4
answer: sqrt(er)/0.299792458
unit: ps
tolerance: 0.5%

## How long does a signal take to travel 1 mm on a line with relative permittivity {er}, in picoseconds?

::: right
Right. $\sqrt{\varepsilon_r}/c$ per meter is {answer} ps per millimeter.
:::

::: misses
- [1/0.299792458] That's in vacuum: 3.34 ps/mm. The dielectric slows it.
- [any] Not yet. Delay per length is 1/v.
:::
:::

::: check
given: tr = 0.1 | 0.5 | 2; er = 3.3 | 4.4
answer: tr*299.792458/sqrt(er)/6
unit: mm
tolerance: 0.5%

## Edges rise in {tr} ns on a board with relative permittivity {er}. About how long can a trace be before it acts as a transmission line (one-way delay = rise time/6)?

::: right
Right. $t_rv/6$ = {answer} mm.
:::

::: misses
- [tr*299.792458/sqrt(er)] Divide by 6: the rule is a sixth of the rise time.
- [tr*299.792458/6] The wave travels at $c/\sqrt{\varepsilon_r}$ on the board.
- [any] Not yet. $l_\text{crit} = t_rv/6$.
:::
:::

::: check
given: tr = 0.05 | 0.35 | 1 | 5
answer: 0.35/tr
unit: GHz
tolerance: 0.5%

## Up to roughly what frequency does an edge with a {tr} ns rise time carry significant energy?

::: right
Right. About $0.35/t_r$ = {answer} GHz.
:::

::: misses
- [1/tr] The usual estimate is 0.35/t_r, from a single-pole response's 10–90% rise.
- [any] Not yet. $0.35/t_r$.
:::
:::

::: check
given: l = 2 | 10 | 45; f = 100 | 900; er = 2.25 | 3.3
answer: 360*l/100*f*sqrt(er)/299.792458
unit: °
tolerance: 0.5%

## What is the electrical length, in degrees, of a {l} cm line at {f} MHz with relative permittivity {er}?

::: right
Right. $360° \cdot l/\lambda$ = {answer}°.
:::

::: misses
- [l/100*f*sqrt(er)/299.792458] That's in wavelengths; multiply by 360°.
- [any] Not yet. 360° × length/wavelength.
:::
:::

::: check
given: l = 0.5 | 3 | 30; v = 0.66 | 0.8
answer: 2*l/(v*0.299792458)
unit: ns
tolerance: 0.5%

## A cable is {l} m long with a velocity factor of {v} (v = {v}c). How long does a pulse take to reach the far end and reflect back?

::: right
Right. $2l/v$ = {answer} ns.
:::

::: misses
- [l/(v*0.299792458)] That's one way; the round trip is twice as long.
- [any] Not yet. Twice the length over the speed.
:::
:::

::: check
kind: choice

## Which connection can safely be treated as an ordinary circuit node?

- [ ] A 20 cm board trace carrying 100 ps edges
- [x] A 10 cm wire carrying a 1 MHz sine wave
- [ ] A 1 m coax cable carrying 433 MHz
- [ ] A 5 cm trace carrying a 5 GHz carrier

::: misses
- [1] Its critical length is about 3 mm; 20 cm is far longer.
- [3] λ is about 46 cm in the cable; 1 m is more than two wavelengths.
- [4] λ is under 4 cm on a board; 5 cm is more than a wavelength.
:::
:::

::: check
kind: parts
given: f = 0.5 | 2.4 | 5.8; e = 2.5 | 3.3 | 4.2; L = 2 | 5

## A {f} GHz signal runs on a trace with $\varepsilon_\text{eff}$ = {e}.

::: part
answer: 29.98/(f*sqrt(e))
unit: cm
tolerance: 0.5%

### What is its wavelength on the board?

::: misses
- [29.98/f] Divide by $\sqrt{\varepsilon_\text{eff}}$: the wave is slower on the board.
- [any] $c/(f\sqrt{\varepsilon_\text{eff}})$.
:::
:::

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

### How long is a {L} cm trace in degrees of phase?

::: misses
- [any] Length ÷ wavelength × 360°.
:::
:::
:::

::: check
kind: parts
given: tr = 0.1 | 0.5 | 2; e = 3.3 | 4.4

## A signal with {tr} ns edges runs on a board with $\varepsilon_\text{eff}$ = {e}.

::: part
answer: tr*29.98/sqrt(e)/6
unit: cm
tolerance: 0.5%

### How long can a trace be before it needs line treatment, by $l_\text{crit} = t_rv/6$?

::: misses
- [any] $t_rv/6$ with $v = c/\sqrt{\varepsilon_\text{eff}}$.
:::
:::

::: part
answer: 0.35/tr
unit: GHz
tolerance: 0.5%

### What bandwidth do those edges occupy?

::: misses
- [any] $0.35/t_r$.
:::
:::
:::

::: explain
## Why does the rise time of a digital signal, rather than its clock frequency, decide whether a trace is a transmission line?

::: model
A transmission-line effect appears when a voltage changes faster than the trace can carry the change from one end to the other. The clock frequency only says how often edges happen; the rise time says how fast each edge changes the voltage. A slow 10 MHz clock with 100 ps edges launches a step that reflects and rings on any trace longer than a couple of centimeters, exactly as a fast clock would. In frequency terms, a sharp edge contains energy up to about $0.35/t_r$, so the relevant wavelength is the one at that frequency, not at the clock rate.
:::
:::

::: practice

::: check
given: f = 100 | 1000; er = 1 | 4
answer: 299.792458/sqrt(er)/f
unit: m
tolerance: 0.5%

## Wavelength of {f} MHz at $\varepsilon_r$ = {er}?

::: misses
- [any] $c/(f\sqrt{\varepsilon_r})$.
:::
:::

::: check
given: tr = 0.1 | 0.2 | 0.35 | 0.5 | 1 | 2 | 5; er = 4
answer: tr*299.792458/sqrt(er)/6
unit: mm
tolerance: 0.5%

## Critical trace length for {tr} ns edges at $\varepsilon_r$ = {er}?

::: misses
- [any] $t_rv/6$.
:::
:::

::: check
given: tr = 0.05 | 0.1 | 0.2 | 0.35 | 0.5 | 1 | 2
answer: 0.35/tr
unit: GHz
tolerance: 0.5%

## Bandwidth of a {tr} ns edge?

::: misses
- [any] $0.35/t_r$.
:::
:::
:::
