The clock recovery system 4 receives a data signal 1 that is typically a digital signal provided by a communication system, a data generator or other signal source (not shown). The data signal 1 includes a repeating pattern of bits, referred to hereinafter as a “repeating bit pattern 1a”. The clock recovery system 4 provides a recovered clock signal 3 from the applied data signal 1.
The data signal 1 and the recovered clock signal 3 are applied to the sampling system 6, which includes a pattern detector 13 and a sampler S. For the purpose of illustration, the measurement system 2 is presented in the context wherein the sampling system 6 is implemented with a digital communications analyzer (DCA), such as the model 86100C Digital Communications Analyzer by Agilent Technologies, Inc, of Palo Alto, Calif., USA. However, a pattern-triggered equivalent time oscilloscope, or other type of instrument or system can provide alternative implementations of the sampling system 6.
The sampling system 6 acquires equivalent-time samples of the data signal 1 to provide a set of data samples 7. The data samples 7 are acquired according to a strobe signal 9 that is derived from the recovered clock signal 3. The strobe signal 9 strobes a gating circuit G within the sampler S, and clocks an analog-to-digital converter ADC within the sampler S. The relative positioning of the acquired data samples 7 within the repeating bit pattern la of the data signal 1 is established according to a trigger signal 5 that is provided by the pattern detector 13, by time-referencing the acquisitions of the data samples 7 to the trigger signal 5. The trigger signal 5 includes a series of trigger events, such as rising edges, falling edges, or other designated signal attributes that are synchronized to repeating occurrences of the repeating bit pattern 1a of the data signal 1. In the example shown in
The sampling system 6 also determines jitter, or timing variations, associated with transitions between logic states of bits within the repeating bit pattern 1a. These timing variations, typically referred to as data dependent jitter, can be derived from the set of data samples 7 by the signal processor 10, or by a processor (not shown) included in the sampling system 6. To derive the data dependent jitter, amplitude variations of the data samples 7 that occur on the transitions between logic states, such as the rising or falling edge transitions of the bits 15 in the data signal 1, are converted to timing variations in the occurrence of the rising or falling edge transitions of the bits 15. The conversion typically includes dividing the amplitude variations by the slope dA/dt of the corresponding edge transition for each of the bits 15.
The measurement of data dependent jitter DDJ, as provided in the example of
The phase error measurement module 8 (shown in
The clock recovery system 4 includes a PLL 18 having a phase detector 20, an error amplifier 22, a loop integrator 24, a voltage-controlled oscillator (VCO) 26 and a frequency divider 28, each shown in block diagram form for the purpose of illustration. An example of a PLL 18 suitable for inclusion in the clock recovery system 4 is provided within a model 83495 Clock Recovery Module provided by Agilent Technologies, Inc, of Palo Alto, Calif., USA. However, alternative types of PLLs 18 that provide recovered clock signals 3 from applied data signals 1, and provide access to the phase error signal φERROR are alternatively included in the clock recovery system 4.
Under phase-locked conditions, the PLL 18 operates in a conventional manner, providing the recovered clock signal 3 as a frequency-divided version of a signal 17 provided by the VCO 26. The data signal 1 is applied to an input I1 of the phase detector 20, whereas the recovered clock signal 3 recovered from the data signal 1 is applied to an input I2 of the phase detector 20. The phase detector 20 provides the phase error signal φERROR at the output of the error amplifier 22. The phase error signal φERROR is applied to the loop integrator 24, which provides a drive signal 19 to the VCO 26 that adjusts the frequency of the VCO 26 to minimize the phase error signal φERROR. The PLL 18 minimizes the phase error signal φERROR to the extent that the PLL 18 has sufficient gain and bandwidth to track signal fluctuations in the data signal 1.
The phase error signal φERROR provided at the output of the error amplifier 22 is applied to an analog-to-digital converter (ADC) 16 within the phase error measurement module 8. The ADC 16 acquires samples of the phase error signal φERROR, time-referenced to the trigger signal 5, to provide a set of phase error samples 27 to a FIFO 34. The FIFO 34 is coupled to a synchronization/data controller 30, and the FIFO 34 and the ADC 16 are clocked by an ADC clock 36. A trigger time interpolator 38 coupled to a counter 39, and to the synchronization/data controller 30, receives the trigger signal 5 that is applied to the measurement module 8 from the pattern detector 13.
Each of the phase error samples 27 has a value that represents the amplitude of the phase error signal φERROR, and an associated index that represents the number of the phase error sample within the set of phase error samples 27.
The phase error samples 27 are loaded into the FIFO 34 until the registers of the FIFO 34 are filled. Once the registers are filled, prior phase error samples 27 acquired by the ADC 16, that were loaded into the FIFO 34, are shifted out of the FIFO 34 and discarded. The synchronization/data controller 30 establishes the number of phase error samples 27 that are acquired by the ADC 16 after a trigger event in the trigger signal 5. The synchronization/data controller 30 also establishes the number of phase error samples 27 that are positioned prior to the trigger event relative to the number of phase error samples 27 that are positioned after the trigger event. The synchronization/data controller 30 loads into the counter 39 the number that designates how many phase error samples 27 are positioned after the trigger event, and then the synchronization/data controller 30 arms the trigger time interpolator 38. Upon the occurrence of a trigger event, the trigger time interpolator 38 initiates a count by the counter 39 to count down from the number previously loaded into the counter 39 by the synchronization/data controller 30. Upon completion of the count, the counter 39 provides a stop signal STOP to the ADC clock 36, which stops the acquisition of phase error samples by the ADC 16. Absent the provided stop signal STOP, the ADC clock 36 clocks the ADC 16 and the FIFO 34.
The trigger time interpolator 38 measures the time interval or the fraction of a cycle of a signal 23 provided by the ADC clock 36 that occurs between the trigger event and the next cycle of the signal 23. Based on the number loaded into the counter 39 and the fraction of the cycle of the signal 23 measured by the trigger time interpolator 38, the acquired phase error samples 27 are positioned in time relative to the trigger signal 5. Time positions of the acquired phase error samples 27 are then established relative to the trigger events in the trigger signal 5 based on the period of the signal 23 provided by the ADC clock 36, the number loaded into the counter 39 and the fraction of the cycle of the signal 23 measured by the trigger time interpolator 38. One example of the phase error measurement module 8 that is suitable for acquiring samples that are time-referenced to a trigger signal 5 is provided by a sampling oscilloscope, such as a DSO model 3102A Oscilloscope, provided by AGILENT TECHNOLOGIES, INC., of Palo Alto, Calif., USA.
Positioning the acquired phase error samples 27 according to the trigger signal 5 enables the synchronization/data controller 30 to time-position the phase error samples 27 relative to occurrences of the repeating bit pattern 1a of the data signal 1. This provides for synchronization, or timing alignment between the phase error samples 27 acquired by the phase error measurement module 8, and the data samples 7 acquired by the sampling system 6. The time-aligned phase error samples 27 provide a measured phase error signal 37 at the output of the phase error measurement module 8.
In alternative examples, the phase error measurement module 8 acquires multiple sets of phase error samples 27 of the phase error signal φERROR according to the trigger signal 5, and averages the multiple sets of acquired phase error samples 27 to provide the measured phase error signal 37. The averaging reduces phase error, as represented by the phase error signal φERROR, that is not correlated with the trigger signal 5. Typically, averaging the multiple sets of phase error samples 27 includes averaging phase error samples 27 in each of the sets of phase error samples 27 that have corresponding indices. For example, the phase error sample in a first acquired set with the first index is averaged with the phase error samples in the other acquired sets that have the first index, the phase error sample in the first acquired set with the second index is averaged with the phase error samples in the other acquired sets that have the second index, and so on.
According to one embodiment of the measurement system 2, the signal processor 10 subtracts the resulting pattern-dependent timing error 5c from the data dependent jitter DDJ, shown for example in
The phase error that is not correlated with the repeating bit pattern 1a of the data signal 1 can also be determined by the signal processor 10 by subtracting the correlated phase error 5b, shown for example in
The signal processor 10 can also determine the jitter spectrum associated with the recovered clock signal 3, independent of pattern-dependent phase error 5b, by performing a Fourier Transform on the uncorrelated phase error 5e associated with the recovered clock signal 3. However, due to inherent gain and bandwidth limitations of the PLL 18, and performance limitations of the phase detector 20, the phase of the recovered clock signal 3 provided to the input I2 of the phase detector 20 fails to track high frequency fluctuations in the phase of the data signal 1, which can introduce errors in the jitter spectrum. Deviation in the tracking between the phase of the clock signal 3 and the phase of the data signal 1 that results in the phase error represented by the phase error signal φERROR depends on response characteristics, such as the loop gain and loop bandwidth of the PLL 18 within the clock recovery system 4. Typically, response characteristics of the clock recovery system 4 are represented by the impulse response or the frequency transfer function of the clock recovery system 4.
The signal processor 10 typically includes a computer or processor with memory, sufficient to perform the disclosed mathematical operations or other relevant manipulations of the measured data signal 37 and the data samples 7 that are provided to the signal processor 10. While the signal processor 10 is shown as a separate element in
According to alternative embodiments of the present invention, the measurement system 2 is implemented according to a method 40, as shown in
In one example of the method 40, the set of phase error samples 27 represents the total phase error between the clock signal 3 and the data signal 1 that includes phase error that is correlated with the repeating bit pattern 1a and phase error that is uncorrelated with the repeating bit pattern 1a. In another example, the method 40 further includes determining the data dependent jitter DDJ for one or more designated bits within the repeating bit pattern 1a from the acquired set of data samples 7. In another example, the method 40 further includes averaging multiple acquired sets of phase error samples 27 to determine a phase error that is correlated with the repeating bit pattern 1a. This enables timing error associated with the clock signal to be determined based on the phase error that is correlated with the repeating bit pattern 1a of the data signal 1.
In another example, the method 40 further includes determining the phase error that is uncorrelated with the repeating bit pattern 1a, by subtracting an average of multiple acquired sets of phase error samples from the acquired set of phase error samples. In another example, the method 40 includes determining data dependent jitter DDJ for one or more designated bits within the repeating bit pattern la from the set of data samples 7, determining timing error associated with the clock signal 3 based on the phase error that is correlated with the repeating bit pattern 1a of the data signal 1, and correcting the data dependent jitter DDJ for the timing error to provide the corrected data dependent jitter DDJC.
In yet another example, the method 40 includes determining a jitter spectrum associated with the clock signal 3 based on the phase error that is uncorrelated with the repeating bit pattern 1a, and correcting the jitter spectrum for response characteristics of a phase locked loop 18 included in the clock recovery system 4.
While the embodiments of the present invention have been illustrated in detail, it should be apparent that modifications and adaptations to these embodiments may occur to one skilled in the art without departing from the scope of the present invention as set forth in the following claims.