• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Test & Measurement Tips

Oscilloscopes, electronics engineering industry news, how-to EE articles and electronics resources

  • Oscilloscopes
    • Analog Oscilloscope
    • Digital Oscilloscope
    • Handheld Oscilloscope
    • Mixed-signal Oscilloscope
    • PC-based Oscilloscopes – PCO
  • Design
  • Calibration
  • Meters & Testers
  • Test Equipment
  • Suppliers
  • Video
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • FAQs
You are here: Home / New Articles / The Eye Diagram: What is it and why is it used?

The Eye Diagram: What is it and why is it used?

August 16, 2016 By David Herres 3 Comments

An eye diagram is used in electrical engineering to get a good idea of signal quality in the digital domain. To generate a waveform analogous to an eye diagram, we can apply infinite persistence to various analog signals a well as to quasi-digital signals such as square wave and pulse as synthesized by an arbitrary frequency generator (AFG).

eye diagram
Here, the bit sequences 011, 001, 100, and 110 are superimposed over one another to obtain the example eye diagram.

The eye diagram takes its name from the fact that it has the appearance of a human eye. It is created simply by superimposing successive waveforms to form a composite image. The eye diagram is used primarily to look at digital signals for the purpose of recognizing the effects of distortion and finding its source.

To demonstrate using a Tektronix MDO3104 oscilloscope, we connect the AFG output on the back panel to an analog input channel on the front panel and press AFG so a sine wave displays. Then we press Acquire. From the menu across the bottom, we press the soft key that corresponds to Waveform Display. On the right, we use Multipurpose Knob a to set the oscilloscope for infinite persistence. We see displayed a succession of waveforms one upon another.

It is a simple matter to probe different locations in a circuit, looking at the eye diagram, to localize any problems. For example, if a run of cable were to have a fault caused by pinch or kink, eye diagrams observed at both ends would differ, and the cable could be repaired or more likely the entire run could be replaced.

Ideally, the eye diagram for digital signals would consist of two parallel lines with an instantaneous rise and fall times virtually invisible. In the real world, even a reasonably good and quite acceptable digital signal will exhibit some amount of amplitude and timing variation, which will show up as discrete lines that are not exactly where they belong but will nonetheless suffice. If there are enough of them, darkened areas will appear.

As far as identifying damaging anomalies, this is all a matter of degree. There is no substitute for looking at eye diagrams of existing known good signals. A good plan would be to save in flash drives eye diagrams from signals taken at various points in properly functioning digital equipment.

It is important to realize what is shown in an eye diagram and what is not shown. In digital transmission, a succession of ones and zeroes flows to the receiver. The transmission can consist of a long series of ones, a long series of zeroes, a regular or irregular sequence that repeats periodically, a quasi-random series or any combination. The eye diagram will reveal whether everything works as intended or if there are faults that garble the transmission, causing, for example, the reception of a zero when a one has been sent.

The eye diagram will not reveal whether an incorrect logic state has been sent through a programming error or hardware fault. However, this does not apply where certain tests are being made, as when a transmission pattern is known at both ends.

Eye diagram analysis yields impressive amounts of information. Eye diagram analysis is valuable in design, debugging, and maintenance. As the frequency rises, new issues emerge. Transmission line phenomena must be understood and confronted, especially regarding impedance matching. Slight manufacturing and installation errors degrade characteristic impedance, and the resulting data reflections and collisions increase the percentage of error. Even slight PCB trace misdesign or construction error can bring down an entire network. The most viable method for identifying and locating such faults is by comparing before and after (with respect to the data stream) eye diagrams.

Infinite persistent as applied to an analog waveform.

When the flow is controlled by a clock, the oscilloscope can generate an eye diagram by overlaying successive segments. Triggering may occur on rising or falling edges. The resulting eye diagram will deviate to a greater or lesser degree from the rectangular box that would correspond to a perfect transmission.

The top bar in an eye diagram is the result of discrete high logic states that coincide vertically but not horizontally. Overlapping low logic states create the continuous bottom bar. Those ubiquitous Xs that are a familiar feature of eye diagrams are due to rising and falling edges that are superimposed at regular intervals.

High-speed digital transmission is characterized by the introduction into the signal of jitter. It is to be expected that an electronic signal will be periodic to a certain extent. Jitter is the deviation from this periodicity and as such it is harmful in terms of signal fidelity. What appears at the receiving end is not true to the intent at the transmission end when there is any degree of jitter. This applies to amplitude, frequency and phase. Accordingly we may define jitter as a kind of timing error, a consequence of rise and fall time error. Needless to say, jitter shows up plainly in an eye diagram. The bottom line on jitter is that it comes into being from a combination of interference among symbols, crosstalk, reflections, thermal effects and various random phenomena that are omnipresent in electronic systems.

A higher bit rate always translates to a vertically smaller eye opening. Concurrently, timing error as manifested in jitter comprises a larger fraction of the waveform, so we may look for more data errors.

Poor terminations at media ends increase the number of data reflections, a fact also revealed in the appearance of the eye diagram. Lines which should follow a single path become more separated, resulting in a chaotic appearance in the eye diagram, a sure sign that there are problems in the system.

Eye diagram analysis is not the same as a bit error rate investigation, but the two techniques are often used in conjunction.

Bit error rate (BER) is calculated as the number of bit errors per unit of time. Bit synchronization errors are a factor, as well as distortion, interference and noise. BER is usually expressed as a percentage. It can be automatically detected and displayed in an alphanumeric readout, so this metric can be checked and logged in the course of routine maintenance inspections, often pointing to developing problems preceding an actual outage.

Closely related is the packet error rate (PER). A packet is considered incorrect if it contains one or more invalid bits. Frames, blocks and symbols are subject to similar analysis. In wireless transmission, BER may be related to adverse weather conditions or odd causes such as seasonal leaving out of deciduous trees impacting the signal path.

The quality of signal transmission can be checked by means of a bit error ratio tester (BERT), which is a portable instrument used to measure the effects of noise, distortion, etc. Incorporated within this instrument are a pattern generator, error detector, clock signal generator to synchronize these blocks, a digital communication analyzer for displaying transmitted and received signals, and equipment that performs electrical-to-optical and optical-to-electrical conversion.

The most common method of signal discrimination is for the receiving end to determine at a particular moment whether the incoming signal is higher or lower than a specified voltage level. This determines whether the received signal is logic high or logic low.

The point of demarcation may be moved about on the waveform. The usual solution is to place it away from high level, low level, rising edge or falling edge. That way it will be near the center of the eye where it can be readily identified.

As an experimental tool for evaluating devices, circuits, equipment or entire networks, the eye diagram is superb because it shows the total effect of any noise or waveform due to intersymbol interference or EMI effects. Moreover, these disturbances can be localized by observing changes in the eye pattern as the probing is moved about. Changes in cable routing and characteristic impedance adjustments will suggest themselves as eye patterns are studied.

Filed Under: New Articles, Oscilloscopes Tagged With: Tektronix

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Current Digital Issue

A frequency you can count on There are few constants in life, but what few there are might include death, taxes, and a U.S. grid frequency that doesn’t vary by more than ±0.5 Hz. However, the certainty of the grid frequency is coming into question, thanks to the rising percentage of renewable energy sources that…

Digital Edition Back Issues

Oscilloscopes Finder

Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

Subscribe to our Newsletter

Subscribe to test and measurement industry news, new oscilloscope product innovations and more.

Subscribe Today

EE TRAINING CENTER CLASSROOMS

EE Classrooms

RSS Current EDABoard.com discussions

  • Measure AC current accurateley (100mA to 10A)
  • Mosfet SSR triac output shunt circuit design
  • Tessent MBIST for memories with dedicated test clock
  • Very low voltage/power Schmitt trigger?
  • Natural Convection Heatsink for 80W power dissipation?

RSS Current Electro-Tech-Online.com Discussions

  • Best way to reduce voltage in higher wattage system?
  • surge arresters
  • Someone please explain how this BMS board is supposed to work?
  • Need a ducted soldering fan for solder smoke extraction
  • DIY bluetooth speaker

Footer

EE World Online Network

  • DesignFast
  • EE World Online
  • EDABoard
  • Electro-Tech Online
  • Analog IC Tips
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Connector Tips
  • Wire and Cable Tips
  • 5G Technology World

Test & Measurement Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us
Follow us on TwitterAdd us on FacebookFollow us on YouTube Follow us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy