Eye pattern

Last updated
Graphical eye pattern showing an example of two power levels in an OOK modulation scheme. Constant binary 1 and 0 levels are shown, as well as transitions from 0 to 1, 1 to 0, 0 to 1 to 0, and 1 to 0 to 1. On-off keying eye diagram.svg
Graphical eye pattern showing an example of two power levels in an OOK modulation scheme. Constant binary 1 and 0 levels are shown, as well as transitions from 0 to 1, 1 to 0, 0 to 1 to 0, and 1 to 0 to 1.

In telecommunications, an eye pattern, also known as an eye diagram, is an oscilloscope display in which a digital signal from a receiver is repetitively sampled and applied to the vertical input (y-axis), while the data rate is used to trigger the horizontal sweep (x-axis). It is so called because, for several types of coding, the pattern looks like a series of eyes between a pair of rails. It is a tool for the evaluation of the combined effects of channel noise, dispersion and intersymbol interference on the performance of a baseband pulse-transmission system. The technique was first used with the WWII SIGSALY secure speech transmission system.

Contents

From a mathematical perspective, an eye pattern is a visualization of the probability density function (PDF) of the signal, modulo the unit interval (UI). In other words, it shows the probability of the signal being at each possible voltage across the duration of the UI. Typically a color ramp is applied to the PDF in order to make small brightness differences easier to visualize.

Several system performance measurements can be derived by analyzing the display. If the signals are too long, too short, poorly synchronized with the system clock, too high, too low, too noisy, or too slow to change, or have too much undershoot or overshoot, this can be observed from the eye diagram. An open eye pattern corresponds to minimal signal distortion. Distortion of the signal waveform due to intersymbol interference and noise appears as closure of the eye pattern. [1] [2] [3]

Calculation

Source data

The first step of computing an eye pattern is normally to obtain the waveform being analyzed in a quantized form. This may be done by measuring an actual electrical system with an oscilloscope of sufficient bandwidth, or by creating synthetic data with a circuit simulator in order to evaluate the signal integrity of a proposed design. A combination of the two approaches may be used as well: simulating the effects of an arbitrary circuit or transmission line on a measured signal, perhaps to determine whether a signal will still be intelligible after passing through a long cable. Interpolation may also be applied at this time in order to increase the number of samples per unit interval (UI) and produce a smooth, gap-free plot which is more visually appealing and easier to understand.

Slicing

Next, the position of each sample within the UI must be determined. There are several methods for doing this depending on the characteristics of the signal and the capabilities of the oscilloscope and software in use. This step is critically important for accurate visualization of jitter in the eye.

Triggering

A very simple method of slicing is to set the oscilloscope display to be slightly more than one UI wide, trigger on both rising and falling edges in the signal, and enable display persistence so that all measured waveforms "stack" into a single plot. This has the advantage of being possible on almost any oscilloscope (even fully analog ones) and can provide decent visualization of noise and overall signal shape, but completely destroys the jitter content of the signal since the instrument's trigger re-synchronizes the plot to each UI. The only jitter visible with this method is that of the oscilloscope itself, as well as extremely high frequency jitter (frequencies with period less than the UI).

Fixed rate

A simple way to have the eye pattern display jitter in the signal is to estimate the symbol rate of the signal (perhaps by counting the average number of zero crossings in a known window of time) and acquiring many UIs in a single oscilloscope capture. The first zero crossing in the capture is located and declared to be the start of the first UI, and the remainder of the waveform is divided into chunks one UI long.

This approach can work adequately for stable signals in which the symbol rate remains exactly the same over time, however inaccuracies in the system mean that some drift is inevitable so it is rarely used in practice. In some protocols, such as SATA, the symbol rate is intentionally varied by use of spread spectrum clocking, so assuming a fixed rate will lead to the eye grossly exaggerating the actual jitter present on the signal. (While spread spectrum modulation on a clock is technically jitter in the strict sense, receivers for these systems are designed to track the modulation. The only jitter of interest to a signal integrity engineer is jitter much faster than the modulation rate, which the receiver cannot track effectively.)

Reference clock

With some protocols, such as HDMI, a reference clock is supplied along with the signal, either at the symbol rate or at a lower (but synchronized) frequency from which a symbol clock can be reconstructed. Since the actual receiver in the system uses the reference clock to sample the data, using this clock to determine UI boundaries allows the eye pattern to faithfully display the signal as the receiver sees it: only jitter between the signal and the reference clock is displayed.

Clock recovery

Most high speed serial signals, such as PCIe, DisplayPort, and most variants of Ethernet, use a line code which is intended to allow easy clock recovery by means of a PLL. Since this is how the actual receiver works, the most accurate way to slice data for the eye pattern is to implement a PLL with the same characteristics in software. Correct PLL configuration allows for the eye to conceal the effects of spread spectrum clocking and other long-term variation in the symbol rate which do not contribute to errors at the receiver, while still displaying higher frequency jitter.

Integration

The samples are then accumulated into a two-dimensional histogram, with the X axis representing time within the UI and the Y axis representing voltage. This is then normalized by dividing the value in each histogram bin by the value in the largest bin. Tone mapping, logarithmic scaling, or other mathematical transformations may be applied in order to emphasize different portions of the distribution, and a color gradient is applied to the final eye for display.

Large amounts of data may be needed to provide an accurate representation of the signal; tens to hundreds of millions of UIs are frequently used for a single eye pattern. In the example below, the eye using twelve thousand UIs only shows the basic shape of the eye, while the eye using eight million UIs shows far more nuance on the rising and falling edges.

Modulation

Each form of baseband modulation produces an eye pattern with a unique appearance.

NRZ

The eye pattern of a NRZ signal should consist of two clearly distinct levels with smooth transitions between them.

Eye pattern of a 1.25 Gbit/s NRZ signal Eye pattern example.png
Eye pattern of a 1.25 Gbit/s NRZ signal

MLT-3

The eye pattern of a MLT-3 signal should consist of three clearly distinct levels (nominally -1, 0, +1 from bottom to top). The 0 level should be located at zero volts and the overall shape should be symmetric about the horizontal axis. The +1 and -1 states should have equal amplitude. There should be smooth transitions from the 0 state to the +1 and -1 states, however there should be no direct transitions from the -1 to +1 state (which would indicate the signal is PAM-3 rather than MLT-3).

Eye pattern of a 125 Mbit/s MLT-3 signal Eye pattern MLT3.png
Eye pattern of a 125 Mbit/s MLT-3 signal

PAM

The eye pattern of a PAM signal should consist of N clearly distinct levels (depending on the PAM order, for example PAM-4 should have four levels and PAM-3 should have three). The overall shape should be symmetric about the horizontal axis and the spacing of all levels should be uniform.

Eye pattern of a PAM-3 signal (100BASE-T1 automotive Ethernet) Eye pattern PAM3.png
Eye pattern of a PAM-3 signal (100BASE-T1 automotive Ethernet)

PSK

Binary PSK eye diagram.svg Multipath system eye diagram.svg

Channel effects

Many properties of a channel can be seen in the eye pattern.

Emphasis

Emphasis applied to a signal produces an additional level for each value of the signal which is higher (for pre-emphasis) or lower (for de-emphasis) than the nominal value.

The eye pattern for a signal with emphasis may be mistaken for that of a PAM signal at first glance, however closer inspection reveals some key differences. Most notably, an emphasized signal has a limited set of legal transitions:

An emphasized signal will never transition from a weak state to the corresponding strong state, a weak state to another weak state, or remain in the same strong state for more than one UI. A PAM signal also normally has equally spaced levels while emphasized levels are normally closer to the nominal signal level.

Eye pattern of a 1.25 Gbps NRZ signal with 6 dB of pre-emphasis Eye pattern emphasis.png
Eye pattern of a 1.25 Gbps NRZ signal with 6 dB of pre-emphasis

High-Frequency Loss

Loss of printed circuit board traces and cables increases with frequency due to dielectric loss, which causes the channel to behave as a low-pass filter. The effect of this is an increase in signal rise/fall time. If the data rate is high enough or the channel is lossy enough, the signal may not even reach its full value during a fast 0-1-0 or 1-0-1 transition, and only stabilize after a run of several identical bits. This results in vertical closure of the eye.

The image below shows a 1.25 Gbit/s NRZ signal after passing through a lossy channel - an RG-188 coaxial cable approximately 12 feet (3.65 meters) in length. This channel has loss increasing in a fairly linear fashion from 0.1 dB at DC to 9 dB at 6 GHz.

The top and bottom "rails" of the eye show the final voltage the signal reaches after several consecutive bits with the same value. Since the channel has minimal loss at DC, the maximum signal amplitude is largely unaffected. Looking at the rising edge of the signal (a 0-1 pattern) we can see that the signal starts to level off around -300 ps, but continues to rise slowly over the duration of the UI. At around +300 ps, the signal either begins falling again (a 0-1-0 pattern) or continues rising slowly (an 0-1-1 pattern).

Eye pattern of a 1.25 Gbit/s NRZ signal through a lossy channel Eye pattern LPF.png
Eye pattern of a 1.25 Gbit/s NRZ signal through a lossy channel

As high frequency losses increase the overall shape of the eye gradually degrades into a sinusoid (once higher frequency harmonics of the data has been eliminated, all that remains is the fundamental) and decreases in amplitude.

Impedance Mismatches

Stubs, impedance mismatches, and other defects in a transmission line can cause reflections visible as defects in the edges of the signal. Reflections with a delay greater than one UI often render the eye completely unreadable due to inter-symbol interference (ISI), however those with a shorter delay can be easily seen in the shape of the eye.

In the image below, a roughly one inch (25.4 mm) open circuited stub is present in the line, causing an initial low-impedance effect (reduced amplitude) followed by a positive reflection from the end of the stub with a delay of about 320 ps or 0.4 UIs. This can be clearly seen as a "step" in the rising edge in which the signal rises to a fraction of the full value, levels off for the round trip delay of the stub, then rises to its full value when the reflection arrives.

Eye pattern of a 1.25 Gbit/s NRZ signal with a one-inch stub Eye pattern mismatch.png
Eye pattern of a 1.25 Gbit/s NRZ signal with a one-inch stub

In the image below, an additional three inches of cable is added to the end of the same stub. The same "step" is present but is now four times as long, producing reflections at about 1280 ps or 1.6 UI. This produces extreme ISI (since the reflection of each UI arrives during the subsequent UI) which completely closes the eye.

Eye pattern of a 1.25 Gbit/s NRZ signal with a four-inch stub Eye pattern long stub.png
Eye pattern of a 1.25 Gbit/s NRZ signal with a four-inch stub

Measurements

There are many measurements that can be obtained from an eye diagram: [4]

Amplitude measurements

Time measurements

Interpreting measurements

Eye-diagram featureWhat it measures
Eye opening (height, peak to peak)Additive noise in the signal
Eye overshoot/undershoot distortion due to interruptions in the signal path
Eye widthTiming synchronization & jitter effects
Eye closureIntersymbol interference, additive noise

See also

Notes

  1. Christopher M. Miller "High-Speed Digital Transmitter Characterization Using Eye Diagram Analysis". 1266 Hewlett-Packard Journal 45(1994) Aug., No,4 Archived 2021-01-26 at the Wayback Machine , pp. 29-37.
  2. PD-icon.svg This article incorporates public domain material from Federal Standard 1037C. General Services Administration. Archived from the original on 2022-01-22. (in support of MIL-STD-188).
  3. John G Proakis, Digital Communications 3rd ed, 2001
  4. "Matlab's help file description of how to use the Eye Diagram Functions in the Communications Toolbox".

Related Research Articles

<span class="mw-page-title-main">Analog television</span> Television that uses analog signals

Analog television is the original television technology that uses analog signals to transmit video and audio. In an analog television broadcast, the brightness, colors and sound are represented by amplitude, phase and frequency of an analog signal.

In electronics and telecommunications, modulation is the process of varying one or more properties of a periodic waveform, called the carrier signal, with a separate signal called the modulation signal that typically contains information to be transmitted. For example, the modulation signal might be an audio signal representing sound from a microphone, a video signal representing moving images from a video camera, or a digital signal representing a sequence of binary digits, a bitstream from a computer.

<span class="mw-page-title-main">Phase (waves)</span> The elapsed fraction of a cycle of a periodic function

In physics and mathematics, the phase of a wave or other periodic function of some real variable is an angle-like quantity representing the fraction of the cycle covered up to . It is expressed in such a scale that it varies by one full turn as the variable goes through each period. It may be measured in any angular unit such as degrees or radians, thus increasing by 360° or as the variable completes a full period.

In telecommunication, intersymbol interference (ISI) is a form of distortion of a signal in which one symbol interferes with subsequent symbols. This is an unwanted phenomenon as the previous symbols have a similar effect as noise, thus making the communication less reliable. The spreading of the pulse beyond its allotted time interval causes it to interfere with neighboring pulses. ISI is usually caused by multipath propagation or the inherent linear or non-linear frequency response of a communication channel causing successive symbols to blur together.

In electronics and telecommunications, jitter is the deviation from true periodicity of a presumably periodic signal, often in relation to a reference clock signal. In clock recovery applications it is called timing jitter. Jitter is a significant, and usually undesired, factor in the design of almost all communications links.

In telecommunication and data storage, Manchester code is a line code in which the encoding of each data bit is either low then high, or high then low, for equal time. It is a self-clocking signal with no DC component. Consequently, electrical connections using a Manchester code are easily galvanically isolated.

A signal generator is one of a class of electronic devices that generates electrical signals with set properties of amplitude, frequency, and wave shape. These generated signals are used as a stimulus for electronic measurements, typically used in designing, testing, troubleshooting, and repairing electronic or electroacoustic devices, though it often has artistic uses as well.

<span class="mw-page-title-main">Aliasing</span> Signal processing effect

In signal processing and related disciplines, aliasing is the overlapping of frequency components resulting from a sample rate below the Nyquist rate. This overlap results in distortion or artifacts when the signal is reconstructed from samples which causes the reconstructed signal to differ from the original continuous signal. Aliasing that occurs in signals sampled in time, for instance in digital audio or the stroboscopic effect, is referred to as temporal aliasing. Aliasing in spatially sampled signals is referred to as spatial aliasing.

<span class="mw-page-title-main">Waveform monitor</span>

A waveform monitor is a special type of oscilloscope used in television production applications. It is typically used to measure and display the level, or voltage, of a video signal with respect to time.

<span class="mw-page-title-main">Voltage-controlled oscillator</span> Oscillator with frequency controlled by a voltage input

A voltage-controlled oscillator (VCO) is an electronic oscillator whose oscillation frequency is controlled by a voltage input. The applied input voltage determines the instantaneous oscillation frequency. Consequently, a VCO can be used for frequency modulation (FM) or phase modulation (PM) by applying a modulating signal to the control input. A VCO is also an integral part of a phase-locked loop. VCOs are used in synthesizers to generate a waveform whose pitch can be adjusted by a voltage determined by a musical keyboard or other input.

<span class="mw-page-title-main">Constellation diagram</span> Signal representation

A constellation diagram is a representation of a signal modulated by a digital modulation scheme such as quadrature amplitude modulation or phase-shift keying. It displays the signal as a two-dimensional xy-plane scatter diagram in the complex plane at symbol sampling instants. In a manner similar to that of a phasor diagram, the angle of a point, measured counterclockwise from the horizontal axis, represents the phase shift of the carrier wave from a reference phase; the distance of a point from the origin represents a measure of the amplitude or power of the signal. It could be considered a heat map of I/Q data.

In a digitally modulated signal or a line code, symbol rate, modulation rate or baud rate is the number of symbol changes, waveform changes, or signaling events across the transmission medium per unit of time. The symbol rate is measured in baud (Bd) or symbols per second. In the case of a line code, the symbol rate is the pulse rate in pulses per second. Each symbol can represent or convey one or several bits of data. The symbol rate is related to the gross bit rate, expressed in bits per second.

<span class="mw-page-title-main">Signal integrity</span>

Signal integrity or SI is a set of measures of the quality of an electrical signal. In digital electronics, a stream of binary values is represented by a voltage waveform. However, digital signals are fundamentally analog in nature, and all signals are subject to effects such as noise, distortion, and loss. Over short distances and at low bit rates, a simple conductor can transmit this with sufficient fidelity. At high bit rates and over longer distances or through various mediums, various effects can degrade the electrical signal to the point where errors occur and the system or device fails. Signal integrity engineering is the task of analyzing and mitigating these effects. It is an important activity at all levels of electronics packaging and assembly, from internal connections of an integrated circuit (IC), through the package, the printed circuit board (PCB), the backplane, and inter-system connections. While there are some common themes at these various levels, there are also practical considerations, in particular the interconnect flight time versus the bit period, that cause substantial differences in the approach to signal integrity for on-chip connections versus chip-to-chip connections.

<span class="mw-page-title-main">Jitterlyzer</span> Electronic test equipment

The FS5000 Jitterlyzer performs physical layer serial bus jitter evaluation. It can inject controlled jitter and measure the characteristics of incoming jitter. When teamed with a logic analyzer or protocol analyzer, it can correlate these measurements with protocol analysis. Physical-layer tests can be performed while the system under test is processing live bus traffic.

<span class="mw-page-title-main">Oscilloscope</span> Instrument for displaying time-varying signals

An oscilloscope is a type of electronic test instrument that graphically displays varying voltages of one or more signals as a function of time. Their main purpose is capturing information on electrical signals for debugging, analysis, or characterization. The displayed waveform can then be analyzed for properties such as amplitude, frequency, rise time, time interval, distortion, and others. Originally, calculation of these values required manually measuring the waveform against the scales built into the screen of the instrument. Modern digital instruments may calculate and display these properties directly.

This is a subdivision of the Oscilloscope article, discussing the various types and models of oscilloscopes in greater detail.

<span class="mw-page-title-main">History of the oscilloscope</span>


The history of the oscilloscope was fundamental to science because an oscilloscope is a device for viewing waveform oscillations, as of electrical voltage or current, in order to measure frequency and other wave characteristics. This was important in developing electromagnetic theory. The first recordings of waveforms were with a galvanometer coupled to a mechanical drawing system dating from the second decade of the 19th century. The modern day digital oscilloscope is a consequence of multiple generations of development of the oscillograph, cathode-ray tubes, analog oscilloscopes, and digital electronics.

<span class="mw-page-title-main">SyntheSys Research</span>

SyntheSys Research was a Silicon Valley test equipment company that existed from 1989 to 2010, located in Menlo Park, California. The company was founded by Tom and Jim Waschura, with technical help from other ex-Ampex employees Rob Verity and Kirk Handley, and early marketing help from Bob Haya who was Tom and Jim's roommate. The first product was a 160 Mbit/s bit error rate tester (BERT) called the BitAlyzer 160 that debuted in 1989. The company patented key technologies used in modern signal integrity test; notably Error Location Analysis and statistically deep eye-diagramming integrated with BERT measurement called BERTScope. The company was the first to combine Jitter sources in its test signal generators to permit popular Stressed-Eye testing. The company developed many products over its 21-year span, including specialty products for disk-drive, television, high-definition television, optical, telecommunications, and computer applications. In 2010, SyntheSys Research was purchased by Tektronix in an M&A transaction and the BERTScope and BitAlyzer instruments became product lines in Tektronix's high-speed Oscilloscope divisions.

A time base generator is a special type of function generator, an electronic circuit that generates a varying voltage to produce a particular waveform. Time base generators produce very high frequency sawtooth waves specifically designed to deflect the beam of a cathode ray tube (CRT) smoothly across the face of the tube and then return it to its starting position.

<span class="mw-page-title-main">Switching noise jitter</span> Type of interference created by switching-mode power supplies

Switching Noise Jitter (SNJ) is the aggregation of variability of noise events in the time-domain on the supply bias of an electronic system, in particular with a voltage regulated supply bias incorporated with closed-loop (feedback) control, for instance, SMPS. SNJ is measurable using real-time spectral histogram analysis and expressed as a rate of occurrence in percentage. The existence of SNJ was firstly demonstrated and termed by TransSiP Inc in 2016 and 2017 at the Applied Power Electronics Conference (APEC), and reviewed with experts at Tektronix prior to be featured as a case study published by Tektronix. The discovery of SNJ was also featured in multiple articles published by Planet Analog magazine and EDN Network. Difficult to filter using conventional LC networks due to variability in both time and frequency domains, SNJ can introduce random errors in analog to digital conversion, affecting both data integrity and system performance in digital communications and location-based services

References