Method and apparatus for measuring jitter in a periodic signal

Abstract: Jitter in a clock signal is measured by using the clock signal to clock a digitizer repetitively digitizing a highly stable sine wave signal so as to produce a first data sequence representing the magnitude of the sine wave signal as a function of time. This first data sequence is normalized to produce a second data sequence having data elements that vary between maximum and minimum magnitudes of +1 and -1. The arcsine of each element of the second data sequence is then determined to provide a monotonically increasing third data sequence, wherein each element of the third data sequence indicates a phase angle associated with a corresponding element of the second data sequence. A fourth data sequence is then generated, each element of the fourth data sequence representing a difference between a phase angle represented by a corresponding element of the third data sequence and a phase angle that the corresponding element of the third data sequence would represent if the clock signal had a constant frequency. The fourth data sequence provides a measure of clock signal jitter as a function of time.

Description: The present invention relates in general to systems for measuring signal parameters and in particular to a method and apparatus for measuring jitter in a periodic signal. Periodic clocks are often used for timing purposes. For example a periodic clock signal may control a digitizer so that it periodically digitizes an input signal, thereby producing a data sequence representing the input signal as a function of time. In such an application the clock signal frequency should be substantially constant because frequency variation in the clock signal will cause the digitizer to digitize the input signal at unexpected times. In such case the data sequence provides a distorted representation of the input signal magnitude as a function of time. "Jitter" in a periodic signal is defined as a difference between a time at which an event in the signal (such as a zero crossing or a peak) actually occurs and an expected time of occurrence of the event if the frequency of the signal was perfectly stable. Thus the instantaneous jitter of a clock signal is a measure of its timing error at any given time. To evaluate the frequency stability of a clock signal source, it would be helpful to provide a quantitative measurement of its jitter as a function of time. Jitter in a periodic signal can sometimes be detected by providing the signal as the vertical input to an oscilloscope having a horizontal sweep repetitively triggered by an event in the signal itself. Large amounts of jitter cause the resulting waveform display to be fuzzy. However, such a method of detecting jitter is usually not very effective when a periodic signal has only small amounts of jitter, and such method does not provide a quantitative measurement of jitter in a periodic signal as a function of time. The intermediate document EP-A-295 160 discloses a method of numerically evaluating the frequency and phase of a periodic signal. The signal to be analyzed is digitized and the samples obtained are processed to conform to the real part of a complex analyzation signal. The parameters determining the phase of the analyzation signal are estimated so as to minimize an error between the signal to be analyzed and the analyzation signal obtained therefrom. It is an object of the invention to provide a method and apparatus for measuring even small amounts of jitter in a periodic signal. The method according to the invention is characterized by claim 1; the apparatus is characterized by claim 5. In accordance with one aspect of the invention, jitter in a clock signal is measured by using the clock signal to repetitively strobe a digitizer having a highly stable sine wave signal input. On each occurrence of a repetitive event in the clock signal (such as for example when the signal crosses a threshold level), the digitizer produces a data element that represents the instantaneous magnitude of the sine wave signal when the event occurred. Thus the digitizer produces a first sequence of data elements that vary in magnitude with the sine wave signal. This first data sequence is applied as input to a first digital filter that "normalizes" the first data sequence to produce a second data sequence such that the second data sequence is a magnitude scaled version of the first data sequence having maximum and minimum peak amplitudes of +1 and -1. The second data sequence is applied as input to a second digital filter that generates as output a third data sequence, each element of the third data sequence indicating a phase angle that is a monotonically increasing arcsine function of a corresponding element of the second data sequence. The third data sequence is applied as input to a third digital filter that generates a fourth data sequence. Each element of the fourth data sequence corresponds to an element of the third data sequence and represents a difference between a phase angle represented by the corresponding element of the third data sequence and a phase angle that the corresponding element of the third data sequence would represent if the clock signal had a constant frequency. The fourth data sequence is applied as input to a display system that displays a waveform in accordance with the fourth data sequence, the waveform providing a measure of jitter in the clock signal as a function of time. The subject matter of the present invention is particularly pointed out and distinctly claimed in the concluding portion of this specification. However, both the organization and method of operation of the invention, together with further advantages and objects thereof, may best be understood by reference to the following description taken in connection with accompanying drawings wherein like reference characters refer to like elements. In the drawing : FIG. 1 is a block diagram of a jitter measuring apparatus in accordance with the present invention; FIG. 2 is a block diagram of the first filter of FIG. 1; FIG. 3 shows a flow chart for programming the first filter of FIG. 1; FIGS. 4A and 4B show a flow chart for programming the second filter of FIG. 1; FIG. 5 shows a flow chart for programming the third filter of FIG. 1; FIG. 6 is a plot of a data sequence output of the second filter of FIG. 1; and FIG. 7 is a plot of a data sequence output of the third filter of FIG. 1. FIG. 1 shows in block diagram form a system 10 for measuring jitter in a clock signal. A highly stable reference sine wave signal is applied as input to a digitizer 12 that is clocked by the clock signal. The sine wave signal should have a frequency not more than half the frequency of the clock signal. On each of N consecutive occurrences of a repetitive event in the periodic clock signal (such as for example crossing of a threshold level), digitizer 12 produces a data element of an output first data sequence S1, each data element representing an instantaneous magnitude of the sine wave signal. Thus the first data sequence S1 comprises N data elements s1 k (where k = 0, 1, 2, ..., N-1) that vary in magnitude with the sine wave signal. The first data sequence S1 is applied as input to a first digital filter 14 that "normalizes" the first data sequence S1 to produce a second data sequence S2 wherein the k th element s2 k of the second data sequence S1 corresponds to the k th element s1 k of the first data sequence S2. To normalize the first data sequence, the first filter 14 analyzes the first data sequence to determine an offset parameter D characterizing the offset (if any) of the input sine wave signal, the "offset being the magnitude of any DC component of the sine wave. The first filter 14 also analyzes the first data sequence to determine an amplitude parameter A characterizing the amplitude of the sinusoidal AC component of the input sine wave signal. The first filter then computes each element s2 k of the second data sequence from a corresponding element s1 k of the first data sequence in accordance with the expression: were is the estimate of D and Ã is the estimate of A. Suitable methods for estimating D and A are described in detail hereinbelow. Thus the second data sequence S2 is a sequence that would have been produced by digitizer 12 if its input sine wave signal had an amplitude A of 1 and an offset D of 0. (It is noted that the first filter 14 could be eliminated by utilizing a sine wave input signal to digitizer 12 that has 0 offset and unity amplitude. In such case the digitizer 12 would produce the desired normalized second data sequence S2 directly. However, while it is not difficult in practice to produce a highly stable sine wave signal, it is possible but not easy to provide a sine wave signal that has amplitude and offset precisely adjusted to particular values.) The second data sequence S2 is provided as input to a second digital filter 16 that generates as output a third data sequence S3. The k th element s3 k of the third data sequence indicates a phase angle ϑ k associated with the k th element s2 k of the second data sequence S2. A method for computing the third data sequence S3 is described in detail hereinbelow. The third data sequence is processed by a third digital filter 18 to provide a fourth data sequence S4. The k th element s4 k of the fourth data sequence S4 corresponds to the k th element s3 k of the third data sequence S3 and represents a phase difference between the phase angle ϑ k actually represented by the corresponding element s3 k of the third data sequence and a phase angle that the corresponding element of the third data sequence would represent if the clock signal had a constant frequency. The phase difference represented by each element of the fourth data sequence S4 is proportional to the timing error (jitter) of a corresponding pulse of the clock signal. Hence the fourth data sequence S4 represents jitter in the clock signal as a function of time. Operation of the third digital filter 18 is described in detail hereinbelow. The fourth data sequence S4 provides input to a display system 20 that displays a waveform on a screen 22 in accordance with the fourth data sequence. Display system 20 is suitably a pixel-based display system wherein a waveform display is produced by selectively illuminating one pixel in each column of an array of rows and columns of pixels on screen 22. Each successive element of fourth data sequence S4 is associated with a successive column of the pixel array and its magnitude controls the vertical position on the associated column of the illuminated pixel. Since the fourth data sequence S4 represents jitter in the clock signal as a function of time, the waveform display also represents jitter in the clock signal as a function of time. System 10 further includes a computer 24 for controlling operation of and data transfer between the digitizer 12, filters 14, 16, and 18 and display system 20. To initiate system operation, computer 24 transmits a start signal to digitizer 12 that causes the digitizer to begin digitizing the sine wave signal. When the digitizer 12 has produced and stored in an acquisition memory within digitizer 12 the first data sequence S1 of, for example 512 data elements, it transmits a "task complete" message to computer 24. Computer 24 then transmits sequences of address and control signals to digitizer 12 and to first filter 14 that cause the first data sequence S1 to be transferred from the acquisition memory in digitizer 12 to first filter 14. With reference to FIG. 2, first filter 14 suitably comprises a random access memory 26 for receiving the input first data sequence S1 and a microprocessor 28 for generating the second data sequence S2 in accordance with program instructions also stored in memory 26. The input first data sequence S1 from digitizer 12 passes through a bus interface port 30 and onto a computer bus 32 to which memory 26 and microprocessor 28 are connected. Computer 24 of FIG. 1 accesses bus 32 and provides addressing control of memory 26 while the first data sequence S1 is written into memory 26. Thereafter, computer 24 transmits a message to microprocessor 28 via bus 32 telling the microprocessor to begin computing the second data sequence S2. Microprocessor 28 then computes the second data sequence S2, stores the result in memory 26, and thereafter transmits a message to computer 24 telling the computer that the microprocessor has completed its task. Computer 24 then transfers the second data sequence S2 out of memory 26 to second filter 16 of FIG. 1 via bus 32 and another bus interface port 34. Second filter 16 and third filter 18 of FIG. 1 suitably have architecture similar to that of first filter 14 of FIG. 2 but are programmed to carry out different filter operations. Computer 24 causes second filter 16 to store incoming second sequence S2 in its internal memory, and to generate and store in its memory the third data sequence S3. Computer 24 thereafter transfers the third data sequence S3 to third filter 18. Similarly computer 24 causes third filter 18 to store its input third sequence S3 and to generate and store the fourth data sequence S4. Computer 24 subsequently transfers the fourth data sequence S4 to the display system 20. Computer 24 additionally provides suitable control signals to display system 20 that cause it to receive fourth data sequence S4 and to produce the waveform display in accordance therewith. FIG. 3 is a flow chart for programming microprocessor 28 of FIG. 2 to produce the normalized second data sequence S2 in response to first data sequence S1. After the digitizer 12 has acquired an N element first data sequence s1 k and after computer 24 has transferred the first data sequence into memory 26 of FIG. 2, microprocessor 28 calculates (step 38) a window sequence W = {w k , k = 0, 1, ..., N-1} where w k is given by w k = 0.35875 - 0.48829cos(k2π/N) + 0.14128cos(k4π/N)-0.01168cos(k6π/N). [1.1] This window sequence may be obtained by sampling the 4-term Blackman-Harris window described in the article "On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform", by F. J. Harris, Proceedings of the IEEE, Vol. 66, No. 1, Jan. 1978, pp. 51-83, which article is incorporated herein by reference. The DC offset parameter D for the sine wave input signal is then estimated (step 40) in accordance with the following equation: The "~" symbol is used herein to identify a variable as an estimate of the actual value of the offset parameter D. The amplitude parameter A for the sine wave input signal is estimated next (step 42) in accordance with the equation: Each element s2 k of the second data sequence is then computed from a corresponding element s1 k of the first data sequence in accordance with the expression: Starting in step 43, k is set to -1 and then (step 44) incremented by 1. If k is not equal to N (step 45) then the value of s2 k is computed in accordance with equation [4] (step 46). The program then returns to step 44 where k is again incremented. The process continues to cycle through steps 44-46 until each element of the second data sequence S2 has been computed and stored in the filter's memory. When the value of k reaches N (step 45), then the filter sends a "task complete" message to computer 24 of FIG. 1 (step 47) and the program ends. The principle from which equations [2] and [3] are derived is Poisson's summation formula. Letting (t) be an arbitrary function and letting Φ(ω) be its Fourier transform, Poisson's summation formula states: If the frequency f s = 1/T of the clock signal input to digitizer 12 is sufficiently large, such that Φ(k2π f s ) is zero for non-zero k (i.e., no aliasing), then equation [5] becomes Let us consider the DC-offset estimator first. Let the input sine wave have magnitude s(t) = Asin(ω o t+ϑ) + D [6.1] where ω o = 2π f . The sine wave s(t) has a Fourier transform S(ω) = jπA(ω+ω o )e -jϑ - jπAδ(ω-ω o )e jϑ + 2πDδ(ω) [6.2] where δ( ) is the delta function. Let W(ω) be the Fourier transform of the window function w(t), where w(t) is the 4-term Blackman-Harris window whose samples are given by equation [1.1], then the Fourier transform G(ω) of the product function g(t) = w(t)[A·sin(ωt + ϑ) + D] [7] is the frequency domain convolution of S(ω) and W(ω), i.e., G(ω) = DW(ω) + (jA/2)W(ω+ω o )e -jϑ - (jA/2)W(ω-ω o )e jϑ . [8] By substituting ω=0 into equation [7], we have G(0) = DW(0) + (jA/2)W(ω o )e -jϑ - (jA/2)W(-ω o )e jϑ [9] or G(0) = DW(0) + E D (A,ϑ,ω o ) [9.1] where E D ( ) is an error term. Assuming no aliasing and applying Poisson's summation formula [5] to equation [9.1], we have The DC-offset estimator of equation [2] is obtained by dropping the last term of equation [10]. Let us denote the difference between D and by D, i.e., then we have ΔD = [A|W(ω o ) |sin(ϑ+ω o N/2 f s )]/W(0) [11] If the data record S contains more than four cycles of the sine wave, then |ΔD| < |A|·10 -9.2 . In practice, if the additive noise (such as the quantization noise introduced by the waveform digitizer) is included, then an additional error term of approximately the size of σ/(N) 1/2 should be added, where σ is the standard deviation of the additive noise. We now turn our attention to the amplitude estimator Ã. Let h(t) = w(t)·[s(t)-D]² , then the Fourier transform of h(t) is H(ω) = (A²/2)W(ω) - (A²/4) [W(ω+2ω o )e -j2ϑ + W(ω-2ω o )e j2ϑ ]. [11.1] By substituting ω=0 into the above equation, we have H(0) = (A²/2)W(0) - (A²/4) [W(2ω o )e -j2ϑ + W(-2ω o )e j2ϑ ] [12] or H(0) = (A²/2)W(0) - E A (A,ϑ,ω o ) [12.1] where E A ( ) is an error term. Again by assuming no aliasing and by applying Poisson's summation formula, we have The amplitude estimator Ã of equation [3] is obtained from equation [13] by substituting for D and dropping the last term in the above equation. Let ΔA² be A² - Ã², then from [12] and [13] we have ΔA² = {A²|W(2ω₀)|cos[2ϑ + (ω₀N/ f s )]}/W(0) [14] Under the condition that the data sequence S1 contain at least four cycles of the input sine wave signal, the normalized error ΔA/A is upper-bounded by 10 -4.6 . Equations [11] and [14] give the closed form expressions for the errors encountered in the algorithm. It can be shown that 20log{W( f )/W(0)} is less than 92 dB for all f s with N/ f s greater than 4. Hence, if the data record contains more than four cycles of sine wave, then the normalized errors ΔD/A and ΔA²/A² are less than -92 dB. FIGS. 4A and 4B show a flow chart for programming a microprocessor within second filter 16 of FIG. 1 to produce the third data sequence S3 in response to second data sequence S2. As previously discussed, the k th element s3 k of the third data sequence S3 indicates a phase angle ϑ k associated with the corresponding k th element s2 k of the second data sequence S2. The sequence of phase angles S3 is monotonically increasing, rather than cyclic. After the first filter has generated an N element second data sequence S2 and the second data sequence has been transferred into the memory accessed by the microprocessor of the second filter, then starting in step 50, the second filter initializes a set of temporary variables s2₋₁, s3₋₁, k, and J to 0. A temporary variable ANGLE is set equal to the arcsine of the first element s2₀ of the second data sequence and the first element s3₀ of the third data sequence is set equal to ANGLE (step 51). The variable k is then incremented by 1 (step 52). If k is not equal to N (step 54), then a variable x0 is set equal to s2 k-1 , a variable x1 is set equal to s2 k , and a variable x2 is set equal to s2 k+1 . Thus for a given value of k, variables x0, x1 and x2 equal the (k-1) th , the k th , and the (k+1) th elements of the second data sequence S2. If x0 is equal to x2 (step 58) then s2 k is either a positive or negative peak of the input second data sequence S2. If s2 k is a positive peak, than a phase angle associated with s2 k is an integer multiple of π/2 such that it is one of the set {π/2, 5π/2, 9π/2,...}. On the other hand, if s2 k is a negative peak, than the phase angle associated with s2 k is an integer multiple of π/2 such that it is one of the set {3π/2, 7π/2, 11π/2,...}. Accordingly, if x1 is greater than x2 (step 60), s2 k is a positive peak and a temporary variable DUMMY is set equal to π/2 (step 62). Otherwise if x1 is less than x2 (step 64), s2 k is a negative peak and DUMMY is set equal to -π/2 (step 66). If x1 is equal to x2, then s2 k is a positive peak provided that x1 is positive (step 68). In such case DUMMY is set to π/2 (step 70). Otherwise, x2 is less than or equal to 0, indicating that s2 k is a negative peak, and DUMMY is set to -π/2 (step 72). Referring back to step 58, if x0 is not equal to X2, then s2 k is not a peak of the second data sequence S2 and represents a magnitude during an increasing or decreasing portion of sequence S2. If s2 k is part of an increasing portion of S2, then x2 is greater than x0 (step 74) and the value of DUMMY is set equal to arcsin(x1) (step 76). (Since sequence S2 is normalized, the arcsine of an element of S2 is a phase angle associated with the element). On the other hand, if s2 k is part of a decreasing portion of S2, DUMMY is set equal to π - arcsin(s1) (step 78). Once the value of DUMMY has been set in one of steps 62, 66, 70, 72, 76 or 78 for a particular value of k, the value of DUMMY represents a phase angle associated with element s2 k . However, since DUMMY has a value between +π and -π, we cannot set the value of the corresponding third data sequence element s3 k to DUMMY because we want the third data sequence to be monotonically increasing rather than cyclic. Hence we add a multiple of 2π to DUMMY to obtain an appropriate value for s3 k . In step 80 the difference between ANGLE and DUMMY is compared to π. At this point ANGLE is the phase angle associated with element s2 k-1 . If ANGLE - DUMMY is greater than or equal to π, then variable J is incremented by 2. After step 82, or after step 80 if ANGLE-DUMMY is less than π, the value of ANGLE is set equal to DUMMY (step 84) and the value of element s3 k of the third data sequence S3 is set equal to Jπ + ANGLE (step 86). If the difference between s3 k and s3 k-1 is greater than π (step 88), then J is decremented by 2 and s3 k is decremented by 2π (step 90). The program then returns to step 52 where k is incremented by one. Thereafter, the value of the next element of third data sequence S3 is computed in the manner described. When the magnitude of k reaches N (step 54), all elements of the third data sequence S3 have been computed. In such case, the second filter transmits a "task complete" message to computer 24 of FIG. 1 (step 92) to tell the computer that sequence S3 is ready for transmission to the third filter 18 of FIG. 1. The program ends following step 92. FIG. 5 shows a flow chart for programming the third filter 18 of FIG. 1 to produce the fourth data sequence S4 in response to the third data sequence S3. Third filter 18 suitably utilizes a linear regression technique to compute values of elements s4 k . FIG. 6 shows a histogram plot of magnitudes of elements of an example third data sequence 3 k as a function of k. Third filter 18 finds slope and intercept parameters M and B of a function y k = Mk+B that provides a least squares fit of the third data sequence to a straight line. The slope parameter M is a measure of the frequency of the sine wave signal input to digitizer 12 of FIG. 1 and the intercept parameter B is a measure of a phase angle of the input sine wave signal when digitization began. If the sine wave signal and clock signals are perfectly periodic, we would expect all values of s3 k to lie along the line y k . Thus assuming that the sine wave signal input is substantially jitter free, the difference s4 k between the magnitude of each data sequence element s3 k and the value of y k is a measure of the phase difference between the phase angle represented by the corresponding element s3 k of third sequence, and the value of that element s3 k would have if the clock signal input to digitizer 12 of FIG. 1 had a constant frequency. Thus the output data sequence S4 of the third filter 18, plotted in FIG. 7, represents jitter in the clock signal as a function of time. With reference to FIG. 5, a mean value k for k is computed by summing all values of k and dividing by N (step 100). A mean value s3 of S3 is then computed by summing all values of s3 k and dividing by N (step 102). The value of M is next computed (step 104) in accordance with the expression: The value of B is computed (step 105) in accordance with the expression: B = s3 - M k . [16] The value of k is set to -1 in step 106 and then incremented by 1 in step 108. If k is not equal to N (step 110) then the value of s4 k is computed in accordance with the expression s4 k = (Mk + B) - s3 k [17] and stored in memory. The program then returns to step 108 where k is again incremented. The value of each element s4 k of the fourth data sequence is computed in a similar manner by iterating through steps 108, 110 and 112. When in step 110, the value of k reaches N, then in step 114 the filter sends a "task completed" to computer 24 of FIG. 1 to tell the computer that the fourth data sequence s4 has been computed and is available for transmission to the display system 20 of FIG. 1. After display system 20 receives the data sequence s4, it produces a display similar to the plot shown in FIG. 7. For illustrative purposes, the number of data sequence elements plotted in FIGS. 6 and 7 is relatively small. When the data sequences S1-S4 include for example 512 elements, the display produced on screen 22 appears to be a substantially continuous waveform. Thus a system for measuring jitter in a clock signal has been described. The display produced by display system 20 is actually a measure of relative jitter between the clock signal and the sine wave signal inputs to the digitizer. Hence, with reference to FIG. 1, to measure jitter in the clock signal input to digitizer 12, a highly stable sine wave signal is applied as input to the digitizer and the resulting display produced by display system 20 represents jitter in the clock signal as a function of time. However the system can also be used to measure jitter in a sine wave signal. To measure jitter in a relatively unstable sine wave signal, one applies a highly stable clock signal to the digitizer. The resulting display thus represents jitter in the sine wave signal. It should be understood that while the preferred embodiment of the invention employs a sine wave signal as input to the digitizer, alternative embodiments of the invention may employ other continuously varying periodic signals as the input to the digitizer. In such case, it would be necessary to modify second filter 16 of FIG. 1. The function of the second filter 16 is to convert the normalized second data sequence S2 into a monotonically increasing data sequence S3 that represents a sequence of phase angles. Since in the preferred embodiment, the input signal to the digitizer is a sine wave, second filter 16 is designed to find the arcsine of the magnitude of each element of the normalized second data sequence, subject to monotonic conditions. If the input signal to digitizer 12 is a periodic signal other than a sine wave, then the relationship between the magnitude of a second data sequence S2 element and a phase angle is other than one of arcsine. Hence filter 16 must be altered so that it computes a phase angle in accordance with such relationship. While in the preferred embodiment of the invention, filters 14, 16, and 18 are implemented by a filter pipeline wherein each filter is implemented by a separate microcomputer-based filter as illustrated in FIG. 2, it will be apparent to those skilled in the art that the functions of these filters may be implemented by a single filter such as that illustrated in FIG. 2 or by computer 24 itself. When computer 24 implements the functions of all filters 14, 16 and 18, computer 24 directly reads the first data sequence S1 out of digitizer 12, sequentially executes the operations of the three filters in the manner described by the flow charts of FIGS. 3-5 to produce data sequence S4, and then transmits sequence S4 to display system 20. While preferred and alternative embodiments of the present invention have been described, it will be apparent to those skilled in the art that many changes and modifications may be made without departing from the invention in its broader aspects. The appended claims are therefore intended to cover all such changes and modifications as fall within the scope of the invention.

Claims: A method for measuring jitter in a clock signal characterized by the steps of: digitizing a highly stable periodic signal on each of a plurality of occurrences of a repetitive event in the clock signal to produce a first data sequence (S1) of data elements (s1 k ) , the first data sequence representing successive magnitudes of the periodic signal as a function of time; normalizing the first data sequence to produce a second data sequence (S2) , the second data sequence being a magnitude scaled version of the first data sequence having predetermined maximum and minimum peak amplitudes; evaluating the second data sequence to produce a third data sequence (S3) , each data element (s3 k ) of the third data sequence indicating a phase angle ("p" k ) that is a monotonically increasing arcsine function of a corresponding element of the second data sequence; evaluating the third data sequence to produce a fourth data sequence (S4) , each data element (s4 k ) of the fourth data sequence corresponding to a data element of the third data sequence and representing a difference between the phase angle represented by the third data sequence and an expected phase angle that the data element would represent if the clock signal and periodic signal had constant frequencies; and displaying the fourth data sequence as a waveform, the waveform providing a measure of the jitter in the clock signal. The method according to claim 1 wherein the periodic signal is sinusoidal. The method according to claim 1 wherein the second data sequence has N data elements s2 k where k = 0, 1, 2, . . ., N-1. The method according to claim 3 wherein the second data sequence evaluating step comprises the step of generating a separate data element s3 k of the third data sequence for each of successive values of k>0, each data element s3 k representing a phase angle "p" k for each of successive values of k>0 such that if s2 k-1 is equal to s2 k+1 , then "p" k is set equal to a selected integer multiple of "pi"/2, otherwise "p" k is set equal to a sum of an arcsine function of s2 k and a selected integer multiple of "pi"/2, the integer multiple being selected for each "p" k such that 0 <= "p" k - "p" k-1 <= "pi" for all k>1 . An apparatus for measuring jitter in a clock signal characterized by: means ( 12, 24 ) for digitizing a highly stable periodic signal on each of a plurality of occurrences of a repetitive event in the clock signal to produce a first data sequence ( S1 ) of data elements ( s1 k ), the first data sequence representing successive magnitudes of the periodic signal as a function of time; means ( 14, 24 ) for normalizing the first data sequence to produce a second data sequence ( S2 ), the second data sequence being a magnitude scaled version of the first data sequence having predetermined maximum and minimum peak amplitudes; means ( 16, 24 ) for evaluating the second data sequence to produce a third data sequence ( S3 ), each data element ( s3 k ) of the third data sequence indicating a phase angle ( "p" k ) that is a monotonically increasing arcsine function of a corresponding element of the second data sequence; means ( 18, 24 ) for evaluating the third data sequence to produce a fourth data sequence ( S4 ), each data element ( s4 k ) of the fourth data sequence corresponding to a data element of the third data sequence and representing a difference between the phase angle represented by the third data sequence and an expected phase angle that the data element would represent if the clock signal and periodic signal had constant frequencies; and means ( 20, 22, 24 ) for displaying the fourth data sequence as a waveform, the waveform providing a measure of the jitter in the clock signal. The apparatus according to claim 5 wherein the periodic signal is sinusoidal. The apparatus according to claim 5 wherein the second data sequence has N data elements s2 k where k = 0, 1, 2, . . ., N-1. The apparatus according to claim 7 wherein the second data sequence evaluating means comprises means for generating a separate data element s3 k of the third data sequence for each of successive values of k>0, each data element s3 k representing a phase angle "p" k for each of successive values of k>0 such that if s2 k-1 is equal to s2 k+1 then "p" k is set equal to a selected integer multiple of "pi"/2, otherwise "p" k is set equal to a sum of an arcsine function of s2 k and a selected integer multiple of "pi"/2, the integer multiple being selected for each "p" k such that 0 <= "p" k -"p" k-1 <= "pi" for all k>1 .

Inventors: CROSBY PHILIP S, JENQ YIH-CHYUN, CROSBY, PHILIP S., JENQ, YIH-CHYUN
Applicants: TEKTRONIX INC, TEKTRONIX, INC.
Application year: 1988
Main classification: G01R23
IPC codes: G01R29, G01R13