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?
30 ps: 5 mm × 6 ps/mm. At 10 Gb/s a bit lasts 100 ps, so that's nearly a third of a bit between the two halves of the pair, enough to convert some of the signal into common-mode noise. Pairs are length-matched to a fraction of a millimeter for that reason.
Name it
Reflections and termination
From lesson 8: match at the source (series resistor) or at the load (parallel resistor to , 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
and far-end crosstalk that grows with coupled length and edge speed. Both fall quickly with spacing: about as 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:
Differential signaling
A pair carries and . Interference that hits both equally (common mode) cancels at the receiver, and the pair's differential impedance is about 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 . 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
- Total current step. Eight outputs of 20 mA each switch together: 160 mA in 1 ns.
- Ground bounce.
- 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
- Add the rise times in quadrature.
- 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
- Signal bandwidth.
- Scope rise time. Rise times add in quadrature, so for the displayed edge to be within 5% of 100 ps, which gives ps.
- Scope bandwidth. 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 = 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 = 0.1 and = 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?
A differential pair sends the signal as the difference between two conductors routed side by side. Interference from a nearby source, magnetic or electric, couples into both conductors almost equally, because they're close together and see nearly the same field. The receiver responds only to the difference between them, so the equal parts, the common mode, cancel, while the signal, which is opposite on the two, doubles. A single-ended signal is measured against a ground that may be far away and carrying other currents, so any interference between the trace and that ground appears directly as noise.
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.