<<

TECHNICAL FEATURE How to Evaluate Reference-Clock Phase in High-Speed Serial Links

Gary Giust SiTime

ost high-speed serial-data 1a shows an example PLL whose phase detector communications standards do compares corresponding input and feedback not include specifications for edges, and outputs a pulse proportional to their reference-clock (refclk) . phase difference, which is then filtered to control Instead, jitter is specified for a voltage-controlled oscillator. In this example, the serial-data signal, a portion the phase detector samples its inputs at their of which originates from the refclk. Thus, these rising-edge midpoints. Therefore, the average standardsM limit refclk jitter indirectly. Such a sampling (FS) and input clock frequencies (FIN) scheme gives designers more freedom to choose are equal. refclks, and budget jitter accordingly. Spectral components of jitter located Traditionally, real-time oscilloscopes have above the Nyquist frequency (FS/2) alias, or been used to determine jitter compliance fold back, below the Nyquist frequency after in serial-data signals. This analysis is sampling. Figure 1b illustrates the PLL jitter- straightforward because an oscilloscope-based transfer function, whose lowpass filtering time-interval error (TIE) jitter measurement characteristic is mirrored across spectral observes jitter similar to an actual system, whose boundaries at integer multiples of the Nyquist jitter filtering may be emulated in software frequency, FS/2. Below the Nyquist frequency, executed in the oscilloscope. jitter frequencies falling inside the PLL loop On the other hand, clock-jitter analysis bandwidth pass unattenuated, whereas jitter traditionally derives jitter from a frequencies falling outside this bandwidth get analyzer due to its inherently lower instrument attenuated by the response of the loop. Figure noise floor. Since an oscilloscope and phase noise 1c uses a logarithmic x-axis to plot a similar analyzer observe jitter differently, obtaining transfer function for a PLL having a closed- the same value from both instruments can be loop bandwidth of 5 MHz. The plot is drawn challenging. This article presents a phase noise arbitrarily to 1 GHz. based methodology that provides similar values Figure 2 illustrates how phase noise in a as TIE jitter derived from an oscilloscope, and 100 MHz input clock signal gets filtered by an therefore the actual system. This methodology example PLL2 with a closed-loop bandwidth of is used by PCI Express® BASE Specification 1 MHz. The green “Filter” curve shows the jitter- Revision 5.0 for refclk jitter compliance. An transfer function of the PLL up to an arbitrary expanded version of this article is available offset frequency of 500 MHz. Note that the x-axis online at Signal Integrity Journal.1 represents frequency offset from the carrier, as appropriate for phase noise, so that a 500 MHz HOW PLLs OBSERVE PHASE NOISE offset on the x-axis would appear at 600 MHz in A phase locked loop (PLL) is a basic building the signal spectrum (e.g., 500 MHz offset plus block in many digital and RF systems. Figure 100 MHz carrier). The 100 MHz input signal’s

42 | JULY 2019 SIGNALINTEGRITYJOURNAL.COM TECHNICAL FEATURE phase noise is also shown in Figure 2 using a black curve frequency. The Raw Data curve drawn in Figure 2 is thus for labeled “Raw Data.” Adding the Filter and Raw Data curves illustration only. In reality, phase noise in a 100 MHz clock produces the blue “Filtered Data” curve, which represents signal can only be directly measured up to a maximum offset how much of the input signal’s phase noise passes through frequency of 30 or 40 MHz, depending on the instrument. the PLL to appear in the output signal. The filtered phase Phase noise at higher offset frequencies can be estimated noise curve can then be integrated over an offset-frequency using a spectrum analyzer. However, since a spectrum range of interest to convert it to jitter.3 analyzer cannot distinguish between phase and amplitude However, a few issues complicate this integration. First, noise, any spectrum analyzer analysis of phase noise assumes the Raw Data curve shown in Figure 2 is not possible to that phase noise dominates at all offset frequencies. When measure at high offset frequencies. A phase noise analyzer this is not true, accuracy degrades, which may cause the measures phase noise directly, but it can only measure up to an result to be optimistic or pessimistic depending on several offset frequency equal to a fraction of the fundamental clock factors.4 For precision clock sources, phase noise usually dominates at near-in offset frequencies. Amplitude noise and/or modulation may dominate further out. 1/F S High +V Secondly, before the filtered phase noise can be integrated, V D Q I OUT the integration limits must be identified. The lower V IN CLR Delay VCO integration limit is typically set by the application, such Sample Points High as the bandwidth of a receiver’s observed jitter transfer D Q I Loop Filter function. The upper integration limit should extend until the –V CLR Phase phase noise falls to an insignificant level. One might assume Locked Loop this occurs near the analog input-bandwidth of the phase- (a) detector block in the transmit SERDES PLL. For example, if the phase-detector’s analog input bandwidth is 600 MHz, then the filtered phase noise curve

0 Fold Fold Fold Fold should be integrated to a 500 MHz offset (e.g., 600 MHz analog bandwidth minus a 100 MHz carrier equals 500 MHz offset frequency). However, a signal’s measured phase noise Jitter Gain (dB) Fs Fs 3×Fs 2×Fs is independent of its amplitude, at least until its amplitude 2 2 approaches the instrument’s noise floor. Thus, to first order, Jitter Frequency (Hz) (b) the input signal’s phase noise is not influenced by the analog input bandwidth of the phase detector, as the signal passes 0 through the PLL. −5 These issues make it difficult to determine an upper −10 integration limit for converting the filtered phase noise into −15 jitter, which we will address below. Jitter Gain (dB) −20 100k 1M 10M 100M 1G Jitter Frequency (Hz) HOW SERIAL-DATA LINKS OBSERVE REFCLK (c) PHASE NOISE s Fig. 1 Phase locked loop (a) block diagram illustrating Knowing how input phase noise aliases when sampled sampling at the phase detector, and example jitter-transfer by a PLL, we can now model the jitter-transfer function of function with (b) linear and (c) logarithmic x-axis. a serial-data communications link. As an example, we will use the common-clock timing architecture used by PCI 0 Express,5-6 as shown in Figure 3. Here, the refclk phase noise, –20 X, is filtered by the transmit PLL jitter-transfer function, 1H , and the receive PLL and CDR jitter-transfer functions, H –40 2 and H3, respectively. Note that H3 is modeled for 32 GT/s –60 links in Figure 3. The overall system jitter transfer function, –80 Y, is a function of H1, H2, H3, and T, which is the refclk time delay between transmit and receive paths. The phase noise –100 Filter Raw Data contribution from the reference clock that appears on the –120 Filtered Data output data is therefore computed as X × Y. –140 PCI Express 5.0 at 32 GT/s requires filtering the refclk with 16 different system jitter transfer functions. The worst- –160 case function, which leads to the highest jitter, for a given Phase Noise (dBc/Hz), Filter Gain (dB) –180 refclk is computed and plotted between 10 kHz and 30 MHz –200 as the green Filter curve in Figure 4a. The raw measured 100k 1M 10M 100M phase noise data is also plotted in Figure 4a, as a black curve Offset Frequency (Hz) labeled Raw Data. Finally, the filtered phase noise data is computed by adding the Filter and Raw Data curves and s Fig. 2 Illustration of phase noise in a 100 MHz input clock aliasing in a PLL by adding a PLL jitter-transfer function (green) plotted in Figure 4a as a blue curve labeled Filtered Data. to the input phase noise Raw Data (black) to derive an output A traditional PCI-SIG analysis evaluates TIE jitter in a Filtered Data phase noise (blue). 100 MHz refclk using a real-time oscilloscope. This method

SIGNALINTEGRITYJOURNAL.COM JULY 2019 | 43 TECHNICAL FEATURE

Tx Latch Channel Rx EQ Rx Latch Y 0

T = | T1 – T2 | CDR H3(s) –50

Filter Tx PLL Refclk, X(s) Rx PLL –100 Raw Data Filter Data 2sζ ω + ω 2 2sζ ω + ω 2 H (s) = 1 n1 n1 2 n2 n2 1 2 2 H2(s) = 2 2 –150 s +2sζ1ωn1+ ωn1 s +2sζ2ωn2+ ωn2

2 2 2 s s +2sζ2ω0+ ω0 s H (s) = –200 3 2 2 s + ω (s + ω0) (s + ω1) s +2sζ1ω0+ ω0 LF Phase Noise (dBc/Hz), Filter Gain (dB) Y = (H1 × e-sT – H2) × H3 –250 104 105 106 107 108 s Fig. 3 Illustration of PCIe5 32 GT/s system jitter-transfer Offset Frequency (Hz) (a) function (Y) used to filter refclk phase noise (X) in a common- clock timing architecture. 0 samples TIE jitter at each rising edge in the clock waveform, –50 such that spectral components of jitter above the Nyquist Filter frequency of 50 MHz alias below 50 MHz, as done in the –100 Raw Data Filtered Data real system. Therefore, a TIE jitter spectrum extends up to 50 MHz, and correctly aliases higher frequency components of –150 jitter (as done in the real system). By contrast, a phase noise analyzer includes a low-pass –200 filter that prevents measuring phase noise up to an offset frequency equal to half the clock frequency (e.g., 50 MHz). Phase Noise (dBc/Hz), Filter Gain (dB) –250 104 105 106 107 108 9 10 It is therefore common industry practice7 to extend the 10 10 Offset Frequency (Hz) last-measured phase-noise data point up to a 50 MHz offset (b) frequency, to match the appearance of a TIE jitter spectrum. Figure 4a illustrates this practice by extending each of the s Fig. 4 Example phase-noise extensions that (a) do not three curves using red segments from 30 to 50 MHz. account, and (b) do account for phase noise aliasing when sampled by a PLL. The problem with this, is that a TIE jitter spectrum includes aliased components of jitter, whereas the phase noise spectrum shown in Figure 4a does not. To account devices were chosen to cover a wide range of jitter values, for aliasing, Figure 4b uses (1) a red line to extend the last spanning two orders of magnitude.1 measured Raw Data phase noise data point to an arbitrary value of 2 GHz, and (2) extends the green Filter curve by EMPIRICAL ANALYSIS mirroring it across spectral boundaries located at integer Empirically, we determined that the best match multiples of the Nyquist frequency (i.e., 50 MHz). The filtered between phase noise analyzer and oscilloscope-based jitter phase noise data shown in Figure 4b as a blue curve labeled measurements occurred when the phase noise analyzer data Filtered Data now accounts for aliased components of phase is extended as a flat line up to the third harmonic, and post- noise up to an offset frequency of 2 GHz. The filtered phase processed as described above. Figure 5 illustrates a 100 MHz noise data can then be integrated to convert it to jitter.3 clock signal measured with a phase noise analyzer (black In performing this integration, we observe that the filtered curves), before and after applying a system jitter filter. phase noise below 100 kHz is sufficiently low that it can be A flat green extension of this data is also drawn, up to a ignored. However, the filtered phase noise around 2 GHz is 200 MHz offset frequency (e.g., 300 MHz signal frequency, significant and, in fact, dominates the integral. The result is, or third harmonic). For reference, spectrum analyzer data similar to the PLL analysis above, that we cannot define an is shown in blue. If we assume the spectrum analyzer data upper-integration limit to derive jitter from the filtered phase represents phase noise, then the region that dominates noise. Further analysis is required. the integral of the spectrum analyzer’s phase noise can be located by drawing a −10 dB/decade line above the curve MOTIVATION and lowering it until it intersects the curve.10 Our goal is to find a method to derive jitter from phase The point of intersection identifies the dominant noise that matches TIE jitter traditionally measured with an contribution to this integral, or jitter value. This intersection oscilloscope (without jitter added from the test environment). is observed to occur at the third harmonic in Figure 5. Since an oscilloscope observes jitter similar to a real system, The phase noise spectrum rolls off significantly above the we regard its result as the gold standard against which other third harmonic and can be safely ignored. Below the third methods may be judged (assuming the oscilloscope does not harmonic, the (green) flat phase noise extension partly add a significant amount of jitter, or that it can be subtracted overestimates and partly underestimates the true phase noise out during post processing). The rest of this article presents in the signal, balancing each other out. The resulting filtered the conclusions from an exhaustive study8-9 to determine phase noise with flat extension up to the third harmonic such a method3. The study analyzed nine different clock empirically provides a good match to traditional oscilloscope devices manufactured by four different companies. The results for jitter.1

44 | JULY 2019 SIGNALINTEGRITYJOURNAL.COM TECHNICAL FEATURE

0 Phase Noise Spectrum Analyzer Analyzer Flat Phase Noise Extension Filter –120 (Accounting –50 –130 for Aliasing) –140 –10 dB/Decade –100 –150 –160 –150 Before Raw Phase Noise Data Flat Phase –170 Filter Noise Extension

Phase Noise (dBc/Hz) –180 After –200 Integration Region Filtered Data –190 Filter 1 10 100 1000 Phase Noise (dBc/Hz), Filter Gain (dB) –250 Offset Frequency (MHz) 104 105 106 107 108 109 1010 Offset Frequency (Hz) Upper Integration s Fig. 5 Example 100 MHz clock phase noise, in which Limit = 2 × Clock the integrated phase noise located beyond the phase noise Frequency analyzer measurement data (e.g., 30 MHz) is dominated by the (i.e. Third-Harmonic) third-harmonic contribution (e.g., at 200 MHz offset frequency). s Fig. 6 Summary of the recommended phase noise methodology for a 100 MHz clock, which appends a flat phase- PHASE NOISE METHODOLOGY noise extension up to 2× the clock frequency, before filtering The recommended methodology for analyzing phase and integrating to derive jitter.3 noise in sampled systems may be summarized as follows, the integral when computing jitter, beyond which the phase with reference to Figure 6. noise spectrum rolls off to insignificant levels. 1. Measure a DUT’s raw phase noise in dBc/Hz using a This phase noise methodology was adopted into PCI phase noise analyzer (not a spectrum analyzer). A 100 Express Base Specification Revision 5.0 Version 1.011 as MHz signal is illustrated in Figure 6. an alternative normative test to the traditional PCI-SIG 2. If needed, remove spurs to analyze random noise only. oscilloscope-based refclk jitter methodology. 3. Extend the phase noise plot with a straight line up to In summary, the phase noise methodology presented twice the clock frequency (i.e., 200 MHz offset frequency, here is much faster and simpler to implement than the equivalent to the third harmonic, or 300 MHz, in the corresponding oscilloscope methodology. Since a phase signal spectrum). noise analyzer has a lower noise floor than an oscilloscope, 4. Mirror the jitter filter across spectral boundaries located at this methodology also scales more easily as timing margins integer multiples of the Nyquist frequency (e.g., 50 MHz), shrink in future high-speed serial links. Finally, this up to twice the fundamental clock frequency (i.e., 200 methodology is a more natural fit for analyzing clock signals MHz offset frequency). Alternatively (not shown), alias than an oscilloscope methodology, since phase noise data is phase noise data (from Step 3) located above the Nyquist readily available for precision clock sources.n frequency to below the Nyquist frequency. 5. Filter the phase noise data. Note 6. Derive an RMS jitter value by integrating the filtered PCI, PCI Express, PCIe, and PCI-SIG are trademarks or phase noise data, as illustrated by the shaded area labeled registered trademarks of PCI-SIG. All opinion, judgments, “Integration Region” in Figure 6. and recommendations presented herein are the opinions of PCI-SIG adopted this procedure (without Steps 2 and 3) in the author and do not necessarily reflect on the opinions of PCI Express Base Specification Revision 5.0 Version 1.0.11 Note the PCI-SIG®. that certain aspects of the filtering process are patent pending.3 REFERENCES CONCLUSION 1. G. Giust, “Methodology for Analyzing Reference-Clock Phase Noise in High- The clock and timing industry typically derive jitter in Speed Serial Links,” Signal Integrity Journal, May 3, 2019, www.signalintegrity- clock signals from phase noise analyzer measurements. On journal.com/articles/1216. 2. G. Giust, “Phase Noise Aliases as TIE Jitter,” Signal Integrity Journal, July 23, the other hand, high-speed serial-data communications 2018, hwww.signalintegrityjournal.com/articles/912. standards typically measure jitter in serial-data signals using 3. “Method and Apparatus for Analyzing Phase Noise in a Signal From an Elec- an oscilloscope. tronic Device,” Patent Pending, JitterLabs LLC. Recent increases in data rates require lower-jitter 4. G. Giust, “Influence of Noise Processes on Jitter and Phase Noise Measure- reference clocks, to the point where today, jitter added by ments,” Signal Integrity Journal, April 8, 2018, www.signalintegrityjournal.com/ articles/800. an oscilloscope-based test environment can no longer be 5. “PCI Express Base Specification Revision 4.0 Version 1.0,” PCI-SIG, September ignored. This motivated creating a methodology based on 27, 2017, www.pcisig.com. phase noise that yields the same jitter values obtained from a 6. “PCI Express Base Specification Revision 5.0 Version 1.0,” PCI-SIG, Draft April traditional oscilloscope methodology. 25, 2019, www.pcisig.com. 7. G. Richmond, “Refclk Fanout Best Practices for 8GT/s and 16GT/s Systems,” The phase noise methodology provides the best match PCI-SIG Developers Conference, June 7, 2017. 1 to oscilloscope-based jitter results is summarized. The 8. G. Giust, “Methodologies for PCIe5 Refclk Jitter Analysis,” PCI-SIG Electrical methodology accounts for aliasing of phase noise in Workgroup Meeting, January 19, 2018. sampled systems (e.g. PLLs) by extending the last-measured 9. G. Giust, “Study to Determine a Phase Noise Methodology that Matches Jitter data point up to an offset frequency equal to twice the Measurements from a Scope,” PCI-SIG Electrical Workgroup Meeting, May 24, 2018. fundamental clock frequency. We postulate this methodology 10. “Determine the Dominant Source of Phase Noise, by Inspection,” G. Giust, Note- providing the best match to oscilloscope-based jitter results 4, JitterLabs LLC, www.jitterlabs.com/support/publications/note4/note4. because the phase noise at the third harmonic dominates 11. “PCI Express Base Specification Revision 5.0 Version 0.9, Section 8.6.7,”PCI- SIG, October 18, 2018, www.pcisig.com.

SIGNALINTEGRITYJOURNAL.COM JULY 2019 | 45 Vol. 1 • Issue 2 July 2019

COVER FEATURE: p. 8 Why Are There So Many Standards?

Founded in 1958 signalintegrityjournal.com