---
title: Coupled lines and crosstalk
heading: Neighboring traces, differential pairs and the noise they share
eyebrow: C10 · Lesson 21 · Coupled lines and crosstalk
xp: 40
---

::: hook
Two traces running side by side share some of each other's field. A fast edge on one, the aggressor, induces a copy on the other, the victim: a burst at the victim's near end that lasts as long as the coupled run, and a sharper spike at its far end. The same coupling is put to work in differential pairs, where two traces carry opposite signals and the pair has its own impedance. Both come from the same two numbers: how the pair behaves when driven together and when driven apart.
:::

::: play
- The solid curve is the near-end (backward) crosstalk on the victim, as a fraction of the aggressor's swing, against the length of the coupled run. It grows until the run is half a rise time long, then saturates at the backward coupling coefficient $K_b$.
- The dashed curve is the far-end (forward) crosstalk, which keeps growing with length and with the edge's speed.
- Shorten the rise time: both get worse, and the near-end saturates on a shorter run. Set the inductive and capacitive coupling equal, as in stripline, and the far-end crosstalk disappears.
:::

```sim plot
view: graph
x: l = 0..30 cm
y: k = 0..0.2
slider: Kb = 0.01..0.1 step 0.005 = 0.05
slider: tr = 0.1..2 step 0.05 = 0.5 ns
slider: d = 0..0.1 step 0.005 = 0.04
plot: Kb*(2*l/(tr*15) - (2*l/(tr*15) - 1)*step(2*l/(tr*15) - 1)) | label: near end (backward)
plot: d/2*(l/15)/tr | dashed | label: far end (forward)
readout: saturation length, cm = tr*15/2 | digits: 3
```

::: predict
## A 3.3 V aggressor couples to a victim with $K_b$ = 0.05 over a run much longer than the saturation length. How big is the near-end crosstalk?

- [ ] 3.3 V
- [ ] 1.65 V
- [x] 165 mV
- [ ] 16.5 mV

::: reveal
165 mV: $K_bV$ = 0.05 × 3.3 V. It lasts for the round-trip delay of the coupled section, so a long parallel run makes a long pulse rather than a bigger one. Doubling the spacing between traces typically cuts $K_b$ several times over, which is the basis of spacing rules like "three trace widths".
:::
:::

::: nameit
## Even and odd modes

Two identical coupled lines have two natural ways to carry a wave:

- **Even mode**: both driven the same. The field between them cancels, so each line sees less capacitance: impedance $Z_e > Z_0$.
- **Odd mode**: driven opposite. The field between them adds, so each line sees more capacitance: impedance $Z_o < Z_0$.

A **differential pair** carries the odd mode. Its differential impedance, between the two traces, is

$$Z_\text{diff} = 2Z_o$$

and its common-mode impedance, both traces to ground together, is $Z_e/2$. The **coupling coefficient** is $K = (Z_e - Z_o)/(Z_e + Z_o)$.

## Crosstalk

A fast edge couples through both the mutual capacitance $C_m$ and mutual inductance $L_m$:

- **Near-end (backward)**: $K_b = \tfrac14\left(\frac{C_m}{C} + \frac{L_m}{L}\right)$. The victim's near end sees $K_bV$, a pulse as long as the round trip along the coupled run. It reaches full height once the run is half a rise time long, $l \ge t_rv/2$.
- **Far-end (forward)**: $V_\text{far} = \tfrac12\left(\frac{C_m}{C} - \frac{L_m}{L}\right)\frac{l/v}{t_r}V$. It grows with coupled length and edge speed. In a uniform dielectric (stripline) the two ratios are equal and it vanishes; in microstrip, inductive coupling wins and the far-end pulse is negative.

## What helps

Wider spacing, ground planes close underneath, shorter parallel runs, slower edges, stripline for long runs, and differential signaling, whose receiver ignores whatever both traces pick up together.
:::

::: example
## A coupled pair has $Z_e$ = 60 Ω and $Z_o$ = 40 Ω. Find the differential and common-mode impedances and the coupling coefficient.

::: solution
1. **Differential impedance.**
   $$\begin{aligned} Z_\text{diff} &= 2Z_o \\ &= 80\ \Omega \end{aligned}$$
2. **Common-mode impedance.**
   $$\frac{Z_e}{2} = 30\ \Omega$$
3. **Coupling coefficient.**
   $$\begin{aligned} K &= \frac{60 - 40}{60 + 40} \\ &= 0.2 \end{aligned}$$
4. **Designing for 100 Ω.** A "100 Ω differential" pair needs $Z_o$ = 50 Ω, which with tight coupling means each trace alone would be well above 50 Ω.

**Answer:** 80 Ω differential, 30 Ω common mode, and K = 0.2.
:::
:::

::: example
## An aggressor switches 3.3 V in 1 ns on a board where signals travel 15 cm/ns. With $K_b$ = 0.05, how long must the parallel run be to reach the full near-end crosstalk?

::: solution
1. **Saturation length.**
   $$\begin{aligned} l_\text{sat} &= \frac{t_rv}{2} \\ &= \frac{1 \times 15}{2}\ \text{cm} \\ &= 7.5\ \text{cm} \end{aligned}$$
2. **Full near-end crosstalk.** Runs longer than that give the full
   $$0.05 \times 3.3\ \text{V} = 165\ \text{mV}$$
   just for longer.
3. **A shorter run.** A 2.5 cm run gives a third of it, 55 mV.

**Answer:** the run must be 7.5 cm long to reach the full 165 mV.
:::
:::

::: example
## A 10 cm microstrip pair has $C_m/C - L_m/L = -0.04$. With 0.5 ns edges and 15 cm/ns, what far-end crosstalk does a 3.3 V aggressor cause?

::: solution
1. **Coupled delay.**
   $$\frac{10\ \text{cm}}{15\ \text{cm/ns}} = 0.667\ \text{ns}$$
2. **Far-end crosstalk.**
   $$\begin{aligned} V_\text{far} &= \tfrac12(-0.04)\left(\frac{0.667}{0.5}\right)(3.3\ \text{V}) \\ &= -88\ \text{mV} \end{aligned}$$
   a negative spike as fast as the edge.
3. **How to reduce it.** Moving the pair to stripline, where the two ratios match, would remove it; halving the run would halve it.

**Answer:** a −88 mV spike at the far end.
:::
:::

::: check
kind: parts
given: Ze = 55 | 60 | 70; Zo = 35 | 40 | 45

## A coupled pair has $Z_e$ = {Ze} Ω and $Z_o$ = {Zo} Ω.

::: part
answer: 2*Zo
unit: Ω
tolerance: 0.5%

### What is its differential impedance?

::: misses
- [Zo] Between the two traces the odd-mode impedances add.
- [any] $2Z_o$.
:::
:::

::: part
answer: (Ze - Zo)/(Ze + Zo)
tolerance: 0.5%

### What is its coupling coefficient?

::: misses
- [any] $(Z_e - Z_o)/(Z_e + Z_o)$.
:::
:::
:::

::: check
kind: parts
given: Ze = 55 | 75; Zo = 40 | 45

## A pair has $Z_e$ = {Ze} Ω and $Z_o$ = {Zo} Ω.

::: part
answer: Ze/2
unit: Ω
tolerance: 0.5%

### What is its common-mode impedance?

::: misses
- [any] The even mode in parallel: $Z_e/2$.
:::
:::

::: part
answer: 2*Zo
unit: Ω
tolerance: 0.5%

### What resistor across the pair terminates the differential signal?

::: misses
- [any] $Z_\text{diff} = 2Z_o$.
:::
:::
:::

::: check
kind: parts
given: Kb = 0.02 | 0.05 | 0.1; V = 1.8 | 3.3; tr = 0.3 | 1; v = 15 | 20

## An aggressor switches {V} V in {tr} ns, with $K_b$ = {Kb} and a speed of {v} cm/ns.

::: part
answer: tr*v/2
unit: cm
tolerance: 0.5%

### How long must the coupled run be for the near-end crosstalk to saturate?

::: misses
- [tr*v] Half the rise time's length.
- [any] $t_rv/2$.
:::
:::

::: part
answer: Kb*V*1000
unit: mV
tolerance: 0.5%

### What is the saturated near-end crosstalk?

::: misses
- [any] $K_bV$.
:::
:::
:::

::: check
kind: parts
given: d = -0.02 | -0.06; l = 5 | 20; tr = 0.2 | 1; V = 1 | 3.3

## A microstrip pair has $C_m/C - L_m/L$ = {d}; the run is {l} cm at 15 cm/ns, with {tr} ns edges.

::: part
answer: d/2*(l/15)/tr*V*1000
unit: mV
tolerance: 0.5%

### What far-end crosstalk does a {V} V edge cause?

::: misses
- [any] $\tfrac12(C_m/C - L_m/L)\frac{l/v}{t_r}V$.
:::
:::

::: part
answer: 0
unit: mV
tolerance: 0

### What would it be in a stripline, where the two ratios are equal?

::: misses
- [any] The two terms cancel.
:::
:::
:::

::: check
kind: parts
given: Cm = 0.04 | 0.1; Lm = 0.1 | 0.2

## A pair's mutual capacitance is {Cm} of its total capacitance and its mutual inductance {Lm} of its self-inductance.

::: part
answer: (Cm + Lm)/4
tolerance: 0.5%

### What is $K_b$?

::: misses
- [any] $\tfrac14(C_m/C + L_m/L)$.
:::
:::

::: part
answer: Cm - Lm
tolerance: 0.5%

### What is the far-end factor $C_m/C - L_m/L$?

::: misses
- [any] Subtract.
:::
:::
:::

::: check
kind: derivation
vars: e = 20..120, o = 10..100

## Two coupled lines have even-mode impedance e and odd-mode impedance o.

::: step
answer: 2*o

### What is the impedance between the two lines for a differential signal?
:::

::: step
answer: e/2

### What is the impedance of both lines together to ground, for a common-mode signal?
:::

::: right
Right. Odd mode in series for differential, even mode in parallel for common mode.
:::
:::

::: check
kind: choice

## Why does far-end crosstalk vanish between striplines but not between microstrips?

- [ ] Striplines are always further apart
- [x] In a uniform dielectric the capacitive and inductive couplings are equal, and their far-end contributions cancel
- [ ] Stripline has no mutual inductance
- [ ] Far-end crosstalk only happens on long lines

::: misses
- [1] Spacing changes the amount, not whether it cancels.
- [3] It has mutual inductance; it's matched by the mutual capacitance.
- [4] Length scales it, but microstrip shows it on any length.
:::
:::

::: check
kind: python

## Write `crosstalk(Kb, d, V, tr, l, v)`: the near-end and far-end crosstalk voltages, `(next, fext)`, for backward coefficient Kb, far-end factor d = $C_m/C - L_m/L$, aggressor swing V, rise time tr, coupled length l and speed v (consistent units).

```python starter
def crosstalk(Kb, d, V, tr, l, v):
    return (Kb * V, 0.0)
```

```python solution
def crosstalk(Kb, d, V, tr, l, v):
    sat = tr * v / 2
    near = Kb * V * min(1.0, l / sat)
    far = d / 2 * (l / v) / tr * V
    return (near, far)
```

```python tests
n, f = crosstalk(0.05, -0.04, 3.3, 1, 10, 15)
assert abs(n - 0.165) < 1e-12 and abs(f + 0.044) < 1e-12, f"A 10 cm run, 1 ns edges: 165 mV near, -44 mV far; got {n}, {f}."
n, f = crosstalk(0.05, -0.04, 3.3, 1, 2.5, 15)
assert abs(n - 0.055) < 1e-12 and abs(f + 0.011) < 1e-12, f"A 2.5 cm run, below saturation: 55 mV and -11 mV; got {n}, {f}."
assert crosstalk(0.05, 0, 1, 0.5, 30, 15)[1] == 0, "Stripline (d = 0) has no far-end crosstalk."
```

::: right
Right. Near-end saturates with length; far-end keeps growing.
:::
:::

::: explain
## Why does a differential pair tolerate crosstalk and ground noise better than a single trace?

::: model
The receiver of a differential pair responds only to the difference between the two traces. Noise from a nearby aggressor or a bouncing ground mostly arrives on both traces at once, as a common-mode voltage, because they're close together and see nearly the same fields; the difference cancels it. The signal itself is carried in the odd mode, whose field is concentrated between the two traces, so it also radiates and couples less to its neighbors. The pair's impedance is set by its own coupling, $2Z_o$, so it can be routed and terminated as a unit, with one resistor across the pair.
:::
:::

::: practice
::: check
given: Zo = 42.5 | 50; Ze = 60 | 70
answer: 2*Zo
unit: Ω
tolerance: 0.5%

## Differential impedance with $Z_o$ = {Zo} Ω, $Z_e$ = {Ze} Ω?

::: misses
- [any] $2Z_o$.
:::
:::

::: check
given: Kb = 0.03 | 0.08; V = 1.2 | 5
answer: Kb*V*1000
unit: mV
tolerance: 0.5%

## Saturated near-end crosstalk, $K_b$ = {Kb}, {V} V edge?

::: misses
- [any] $K_bV$.
:::
:::

::: check
given: tr = 0.2 | 0.8; v = 15 | 18
answer: tr*v/2
unit: cm
tolerance: 0.5%

## Saturation length for {tr} ns edges at {v} cm/ns?

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