RobotGuide
Labs/Differential Signaling and the Eye Diagram

Lab 8 / 15 · Signals · A/B

Differential Signaling and the Eye Diagram

Drag bit rate, cable length, and termination, and watch the eye go from open to shut.

Math: Reading a sine waveNo coding neededNo hardware needed≈ 9 min

Link parameters

Data rate100 Mbps
Cable length0.5 m
Termination resistance120 Ω
Common-mode noiseon/off

The 'open' termination option equals no resistor installed — the most common mistake in the field.

Readouts

Eye height—
Rise time—
Reflection coefficient—
Estimated bit error rate—
Verdict—

The model covers rise time, one reflection, and Gaussian noise only — no full frequency response or ISI. Magnitudes reference real links but do not replace a measured eye diagram.

What problem this lab solves

The most counterintuitive fact of signal integrity: the same wire runs 10 Mbps with zero trouble, and 480 Mbps with errors everywhere. The cause is not «the wire got worse» — it is that rise time's share of the bit period changed. This experiment turns the abstract «eye diagram» into something you can drag.

How to read the figure

Each trace is one combination of two or three bits; stacked together, the empty region in the middle is the «eye». The wider the eye, the bigger the decision margin; once it closes, bit error rate climbs exponentially. Vertical margin gets eaten by rise time and reflections; horizontal margin gets eaten by jitter.

Hands-on

Set termination to 120 Ω and length to 0.5 m — see how wide the eye opens. Then stretch the line to 10 m and watch it collapse. Next try 60 Ω and open (no termination), and feel why «impedance mismatch» is deadlier than «the line is too long».

Related topics

Next labs (in play-learn order)