C1019 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C10 · Lesson 19 · Signal integrity

Clean edges on real boards

A circuit board carrying gigabit data is a dense web of transmission lines, and every flaw shows up in the signal: reflections from unterminated ends, crosstalk from the trace next door, ground that bounces when many outputs switch at once, and edges smeared by loss until a 1 and a 0 can barely be told apart. Signal integrity is the discipline of keeping those effects small enough that the receiver still sees clean bits. Its tool of choice is the eye diagram: every bit period laid on top of every other, where a wide-open eye means a healthy link and a closed one means errors.

  • An eye diagram of a binary signal after a channel whose bandwidth is fc, in units of the bit rate. Each trace is two bit periods of the received waveform.
  • At fc = 2 the eye is wide open. Lower fc: each bit's edges spread into its neighbors (intersymbol interference), and the eye closes from top and bottom.
  • Lower Eb/N0 to add noise as well. Around fc = 0.5 the bits are still separable, but there's little margin left.

Predict

A differential pair's two traces differ in length by 5 mm on FR-4, where signals take about 6 ps per millimeter. How much skew does that cause?

Name it

Reflections and termination

From lesson 8: match at the source (series resistor) or at the load (parallel resistor to Z0, or a Thévenin pair, or an RC "AC termination" that draws no DC current), and keep stubs and vias short compared with the rise time's critical length.

Crosstalk

Neighboring traces couple through their mutual capacitance and inductance. A switching aggressor induces near-end crosstalk (traveling back toward the source) of up to

VNEXT≈KbV,Kb=14(CmC+LmL)

and far-end crosstalk that grows with coupled length and edge speed. Both fall quickly with spacing: about as 1/(1+(s/h)2) for traces a distance s apart at height h over a plane.

Return paths and ground bounce

At high frequency the return current flows in the plane directly under the trace, where the loop inductance is smallest. A slot in the plane forces it around, adding inductance and radiating. Current changing through a shared inductance makes ground bounce:

V=LdIdt

Differential signaling

A pair carries +v and −v. Interference that hits both equally (common mode) cancels at the receiver, and the pair's differential impedance is about 2Z0 for loosely coupled traces (less when they're close). Skew between the two halves is their length difference divided by the speed.

Rise time and loss

Rise times through stages combine as tr≈tr12+tr22+⋯. A channel needs bandwidth of roughly half the bit rate for an open eye; loss that grows with frequency (lesson 18) smears edges and closes the eye, which receivers fight with equalization.

Worked example

Eight outputs each switch 20 mA in 1 ns through a shared 2 nH ground connection. How much does the ground bounce?

Show the solution
  1. Total current step. Eight outputs of 20 mA each switch together: 160 mA in 1 ns.
  2. Ground bounce. V=LdIdt=2nH×8×20mA1ns=0.32V
  3. How much that matters. On 1.8 V logic that's a large fraction of the noise margin, which is why chips have many ground pins and boards use solid planes.

Answer the ground bounces by 0.32 V.

Worked example

A 1 ns edge passes through a buffer whose own rise time is 0.5 ns. What rise time comes out?

Show the solution
  1. Add the rise times in quadrature. 12+0.52ns=1.12ns
  2. Which stage matters. The slower stage dominates; adding a stage much faster than the signal changes little.

Answer a 1.12 ns edge comes out.

Worked example

A signal has 100 ps edges. What bandwidth does it occupy, and how fast must a scope be to measure the edge within 5%?

Show the solution
  1. Signal bandwidth. BW≈0.35tr=3.5GHz
  2. Scope rise time. Rise times add in quadrature, so for the displayed edge to be within 5% of 100 ps, 1002+ts2≤105 which gives ts≤32 ps.
  3. Scope bandwidth. 0.3532ps≈11GHz about three times the signal's.

Answer the signal occupies about 3.5 GHz, and the scope needs a rise time of 32 ps or less, a bandwidth of about 11 GHz.

Check

A differential pair's traces differ by 5 mm on a board with εeff = 3.3. What is the skew?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

Check

4 outputs each switch 24 mA in 2 ns through a shared 2 nH. How big is the ground bounce?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

Check

An edge with a 1 ns rise time passes through a stage with a 0.3 ns rise time. About what rise time comes out?

Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.

Check

Two traces couple with Cm/C = 0.1 and Lm/L = 0.1. A 3.3 V edge on one. About how big is the near-end crosstalk on the other?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

Two loosely coupled 50 Ω traces form a differential pair. About what is its differential impedance?

Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.

Check

About how much channel bandwidth does a 5 Gb/s binary link need for an open eye?

Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.

Check

A high-speed trace crosses a slot cut in the ground plane beneath it. What's the main problem?

Check

8 outputs each switch 10 mA in 2 ns through a shared 5 nH ground lead.

(a)

How much does the ground bounce?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

(b)

How much if each output had its own lead?

Check

A 100 ps edge passes through a stage with a 50 ps rise time.

(a)

What rise time comes out?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

(b)

What bandwidth does that correspond to?

Explain why

Why does differential signaling reject interference that single-ended signaling picks up?

Practice

Keep practicing

11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.