What is an Eye Diagram?

Zachariah Peterson
|  Created: September 1, 2022
Eye diagram

There are many ways to characterize high speed digital channels, with the goal being to verify specific signal integrity metrics that illustrate channel compliance. Things like S-parameters and impedance are useful, but there is one important measurement to be evaluated with a digital bitstream: an eye diagram.

The eye diagram is a useful measurement or simulation as part of channel compliance. The measurement shows many different factors that can affect signal behavior simultaneously, ultimately allowing for qualification of errors and losses in a channel. In this article, I’ll run over some of the fundamental measurements that you could manually extract from an eye diagram and how they reveal some strategies for improving channel designs.

Eye Diagrams in Signal Integrity Analysis

What is an Eye Diagram?

One of the fundamental measurements used to qualify channel designs in digital systems is an eye diagram. This involves superimposing rising and falling edges of a bitstream in a time domain sampling trace, such as with an oscilloscope. A signal integrity simulator can perform the same type of superposition of signal levels. By overlaying the rising and falling edges, it’s easy to visualize the level of variance in signal behavior.

Variances that can lead to bit error rates are the main quantities to be determined from this measurement. With overlaid signal traces, it’s possible to take statistics at various points along the time domain measurements. The image below shows an example eye diagram and a histogram of measurements taken from the LOW signal level in the trace. From this histogram you could fit the data to a normal distribution using calculations of the sample standard deviation and the average signal level. The resulting normal distribution is overlaid on the data below.

Eye diagram signal integrity analysis
The eye diagram (left) shown here was used to capture statistics for the 0 level (right). This image was adapted from the eye diagram in Jason Ellison’s article on COM.

What You Can Learn From an Eye Diagram

This diagram helps you quantify a wealth of information from a single measurement. You can extract the following information directly from an eye diagram measurement:

  • Timing jitter: The variation in rise/fall initiation can be seen directly from an eye diagram when you look at the signal crossings during switching. This would account for both random noise and timing skew in a differential pair.
  • Signal level variance: You’ll be able to easily see how the signal level varies. This is, in general, some function of the timing jitter plus other random noise. Signal levels can also vary depending on impedance mismatches.
  • Average rise/fall time: This is equal to the time between the average 90% signal level time and the average 10% signal level time. It is related to both the channel response and noise in the system. If there is strong reflection, noise, or ISI, the rise/fall times may not be smooth and could exhibit plateaus or strong variance.
  • Average symbol duration: This is the time between the midpoints of consecutive signal crossings.
  • Bit error rate (BER): By comparing logic thresholds with the received bits in the eye diagram, it’s possible to determine a bit error rate. This value will depend on several factors, but a desirable value can be as small as 10-12 or lower. Techniques like equalization and pre-emphasis are two ways to decrease BER values. For example, dynamic feedback equalization (DFE) is used for 400G with PAM-4.

Intersymbol Interference

The condition where successive signals interfere with each other due to signal integrity problems is intersymbol interference. By examining intersymbol interference resulting from successive bits, it’s possible to identify specific problems in a digital channel. The ISI you find in a channel is a summative metric, Jason Ellison provides a good overview and comparison with insertion loss deviation in this article.

This raises a converse question: what would constitute an objectively desirable eye diagram? Ideally, you would have zero signal distortion, zero jitter, zero pulse spreading, and zero amplitude noise. In other words, the output signals exactly match the input signals. The ability to see this is what makes eye diagrams such a fundamental part of signal integrity!

Measuring and Simulating Eye Diagrams and BER

As I mentioned earlier, eye diagrams can be simulated, either from a channel model with known S-parameters/transfer function and defined buffers, or directly from a PCB layout with all parasitics present. If channel models are known, an eye diagram can be simulated from a pseudorandom bit sequence with a convolution operation (see the block diagram below). This process could be implemented in Matlab or another mathematical scripting program.

Eye diagram simulation
Eye diagram simulation process.

When working with a prototype, ultimately the goal is to determine compliance and extract a channel model from measurements. The channel model will be very useful for further design tasks, such as if you were to add a connector or via transition. Determining channel compliance will also require analyzing BER, which can be quite involved and I won’t run over all avenues here. To learn more about analyzing eye diagrams, take a look at this article from Tektronix. In addition, there are other measurements you can extract from your eye diagram; take a look at this support article from Keysight for guidance on other measurements.

When you need to place components, route transmission lines, and access powerful simulators for your digital system, use the complete set of PCB design tools in Altium Designer®. When you’ve finished your design, and you want to release files to your manufacturer, the Altium 365™ platform makes it easy to collaborate and share your projects.

We have only scratched the surface of what’s possible with Altium Designer on Altium 365. Start your free trial of Altium Designer + Altium 365 today.

About Author

About Author

Zachariah Peterson has an extensive technical background in academia and industry. He currently provides research, design, and marketing services to companies in the electronics industry. Prior to working in the PCB industry, he taught at Portland State University and conducted research on random laser theory, materials, and stability. His background in scientific research spans topics in nanoparticle lasers, electronic and optoelectronic semiconductor devices, environmental sensors, and stochastics. His work has been published in over a dozen peer-reviewed journals and conference proceedings, and he has written 1000+ technical blogs on PCB design for a number of companies. He is a member of IEEE Photonics Society, IEEE Electronics Packaging Society, American Physical Society, and the Printed Circuit Engineering Association (PCEA). He previously served as a voting member on the INCITS Quantum Computing Technical Advisory Committee working on technical standards for quantum electronics, and he currently serves on the IEEE P3186 Working Group focused on Port Interface Representing Photonic Signals Using SPICE-class Circuit Simulators.

Recent Articles

Back to Home