Stochastic Jitter Measuring Device and Method
20170302544 · 2017-10-19
Inventors
Cpc classification
H04L7/0337
ELECTRICITY
H04L27/2688
ELECTRICITY
International classification
Abstract
A jitter measuring setup (10) comprises a signal generator (14), a sample-and-hold circuit (15), and the inventive all stochastic jitter measuring device (1) comprising signal acquisition means (2) and calculation means (3). The input signal of the sample-and-hold circuit (15) is generated by the signal generator (14). Furthermore, the output signal of the sample-and-hold circuit (15), respectively the input signal of the measuring device (1), is comprised of a superposition of the sampled input signal of the sample-and-hold circuit (15) and a cyclostationary random process.
Claims
1. A measuring device for measuring jitter of an input signal consisting of sampling values, wherein the measuring device comprises: signal acquisition means, and calculation means, wherein the signal acquisition means are configured to gain a set of samples of a cyclostationary random process K(Φ), to which the jitter of the input signal is mapped, by obtaining a first number of samples N for a second number of unique phases N.sub.ph, and sorting the first number of samples N by phase up front, and wherein the calculation means are configured to calculate the cyclostationary variance σ.sub.K.sup.2(Φ) of the input signal.
2. The measuring device according to claim 1, wherein the calculation means are further configured to calculate the cyclostationary variance σ.sub.K.sup.2(Φ) comprising a number of frequency components according to the input signal, and to calculate the amplitude of at least one of said number of frequency components by fitting at least one function prototype F(Φ) to the cyclostationary variance σ.sub.K.sup.2(Φ) with due regard to the second number of unique phases N.sub.ph, which leads to at least one fitted function, and to calculate the jitter of the input signal, which is proportional to the amplitude of said at least one fitted function.
3. The measuring device according to claim 1, wherein the calculation means are configured in a manner that the function fitting is done by calculating a scaled cross correlation at lag zero of the cyclostationary variance σ.sub.K.sup.2(Φ) with the function prototype F(Φ).
4. The measuring device according to claim 1, wherein the function prototype F(Φ) is a complex exponential function or any kind of sinus or cosine function.
5. The measuring device according to claim 1, wherein the calculation means are configured to calculate a fitting parameter σ.sub.kOpt.sup.2, such that the product σ.sub.KOpt.sup.2F(Φ) of the fitting parameter σ.sub.KOpt.sup.2 and the function prototype F(Φ) matches the term cos(2Φ) or sin(2Φ), depending on the zero-phase of the phase-sorting that was done up front, within σ.sub.K.sup.2(Φ) best.
6. The measuring device according to claim 1, wherein for the calculation of the jitter of the input signal, the signal acquisition means and the calculation means are configured to obtain and to consider at least two cyclostationary variances σ.sub.K1e.sup.2(Φ),σ.sub.K2.sup.2(Φ) at different frequencies f.sub.1,f.sub.2 in order to eliminate noise being frequency-invariant and non-stationary.
7. The measuring device according to claim 1, wherein the calculation means are configured to consider a predefined accuracy P of the calculation of the jitter of the input signal.
8. The measuring device according to claim 7, wherein the calculation means are configured to calculate the minimum number of samples required N.sub.min a priori according to the following equation:
N.sub.min=((2πAσ.sub.J).sup.4(f.sub.1.sup.4−f.sub.2.sup.4).sup.4p2).sup.−1*4R.sup.2(7/16(f.sub.1.sup.4+f.sub.2.sup.4)(2πAσ.sub.J).sup.4+
9. The measuring device according to claim 7, wherein, if just one measurement at frequency f is done, the calculation means are configured to calculate the minimum number of samples required N.sub.min a priori according to the following equation:
N.sub.min=((2πfAσ.sub.j).sup.4p2).sup.−1*4R.sup.2(7/16(2πfAσ.sub.J).sup.4+
10. A measuring method for measuring jitter of an input signal consisting of sampling values, wherein the measuring method comprises the steps of: gaining a set of samples of a cyclostationary random process K(Φ), to which the jitter of the input signal is mapped, by obtaining a first number of samples N for a second number of unique phases N.sub.ph, sorting the first number of samples N by phase up front, and calculating the cyclostationary variance σ.sub.K.sup.2(Φ) of the input signal.
11. The measuring method according to claim 10, wherein the cyclostationary variance σ.sub.K.sup.2(Φ) comprising a number of frequency components according to the input signal, and the amplitude of at least one of said number of frequency components are calculated by fitting at least one function prototype F(Φ) to the cyclostationary variance σ.sub.K.sup.2(Φ) with due regard to the second number of unique phases N.sub.ph, which leads to at least one fitted function, and to calculate the jitter of the input signal, which is proportional to the amplitude of said at least one fitted function.
12. The measuring method according to claim 10, wherein the function fitting is done by calculating a scaled cross correlation at lag zero of the cyclostationary variance σ.sub.K.sup.2(Φ) with the function prototype F(Φ).
13. The measuring method according to claim 10, wherein the function prototype F(Φ) is a complex exponential function or any kind of sinus or cosine function.
14. The measuring method according to claim 10, wherein a fitting parameter σ.sub.KOpt.sup.2 is calculated, such that the product σ.sub.KOpt.sup.2F(Φ) of the fitting parameter σ.sub.KOpt.sup.2 and the function prototype F(Φ) matches the term cos(2Φ) or sin(2Φ), depending on the zero-phase of the phase-sorting that was done up front, within σ.sub.K.sup.2(Φ) best.
15. The measuring method according to claim 10, wherein for the calculation of the jitter of the input signal, at least two cyclostationary variances σ.sub.K1.sup.2(Φ),σ.sub.K2.sup.2(Φ) at different frequencies f.sub.l,f.sub.2 are obtained and considered in order to eliminate noise being frequency-invariant and non-stationary.
16. The measuring method according to claim 10, wherein a predefined accuracy P of the calculation of the jitter of the input signal is considered.
17. The measuring method according to claim 16, wherein the minimum number of samples required N.sub.min is calculated a priori according to the following equation:
N.sub.min=((2πAσ.sub.J).sup.4(f.sub.1.sup.4−f.sub.2.sup.4).sup.4p2).sup.−1*4R.sup.2(7/16(f.sub.1.sup.4+f.sub.2.sup.4)(2πAσ.sub.J).sup.4+σ.sub.N.sup.2(f.sub.1.sup.2+f.sub.2.sup.2)(2πAσ.sub.J).sup.2+2(
18. The measuring method according to claim 16, wherein, if just one measurement at frequency f is done, the minimum number of samples required N.sub.min is calculated a priori according to the following equation:
N.sub.min=((2πAσ.sub.j).sup.4p2).sup.−1*4R.sup.2(7/16(2πAσ.sub.J).sup.4+
19. A computer program with program code means for performing the following steps on a computer device or a digital signal processor: gaining a set of samples of a cyclostationary random process K(Φ), to which the jitter of the input signal is mapped, by obtaining a first number of samples N for a second number of unique phases N.sub.ph, sorting the first number of samples N by phase up front, and calculating the cyclostationary variance σ.sub.K.sup.2(Φ) of the input signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Exemplary embodiments of the invention are now further explained with respect to the drawings by way of example only, and not for limitation. In the drawings:
[0027]
[0028]
[0029]
DETAILED DESCRIPTION OF THE PREFFERED EMBODIMENTS
[0030] Firstly, a block diagram of an exemplary measuring setup 10 for applying the inventive measuring device 1 is illustrated by
[0031] The input signal of the sample-and-hold circuit 15 is generated by the signal generator 14 and hereinafter called S(Φ,A) with phase Φ and amplitude A. The output signal of the sample-and-hold circuit 15, respectively the input signal of the measuring device 1 comprising signal acquisition means 2 and calculation means 3, is comprised of a superposition of the sampled input signal of the sample-and-hold circuit 15 hereinafter called U(Φ,A) and a cyclostationary random process which is denoted by K(Φ).
[0032] In addition to this, it is to be noted that for all quantities involved, a formulation solely depending on phase Φ but not on time t is used, since the entire output signal of the sample-and-hold circuit 15 is treated as a cyclostationary random process which is independent of time and frequency.
[0033] Furthermore, jitter is generally defined as the standard deviation of a normally distributed random process, which is hereinafter called J.
[0034] Due to the sampling process, using input signal S of the sample-and-hold circuit 15, the stationary random process J is mapped to the above-mentioned cyclostationary random process K(Φ). As all parameters of this mapping are known, it is possible to calculate the properties of process J from those observed from process K(Φ).
[0035] Moreover, dealing with a cyclostationary random process, all samples obtained from the output of the sample-and-hold circuit 15 are sorted by phase up front.
[0036] If this signal acquisition is done properly, a predetermined number of samples N for a predetermined number of unique phases N.sub.ph is obtained. It can be shown that N and N.sub.ph can be calculated a priori knowing only a few properties of the measurement setup and the desired accuracy.
[0037] Once the above-mentioned sorting is done by the signal acquisition means 2, a set of samples of the process K(Φ) has been gained, which can be processed further to calculate the jitter with the aid of the calculation means 3.
[0038] Doing so, the cyclostationary variance σ.sub.K.sup.2(Φ) is calculated. The most interesting property of this step is that the sampled signal U(Φ,A) and its harmonics are all irrelevant and have no influence on the calculated cyclostationary variance at all. They rather represent the cyclostationary mean μ.sub.k(Φ). The relevant information is solely contained in σ.sub.K.sup.2(Φ). This is one of the major benefits of the proposed method, as no signal removal is required, avoiding related drawbacks. It is worth noting that even the harmonics of the signal are eliminated as they are as well part of the cyclostationary mean μ.sub.k(Φ).
[0039] Furthermore, due to the fact that the function and amplitude of the input signal S of the sample-and-hold circuit 15 are known, the function of the cyclostationary variance is known as well. The relationship between cyclostationary variance, jitter and said input signal generated by the signal generator 14 can be calculated to
[0040] wherein σ.sub.J denotes the jitter, π is pi, f is the frequency, σ.sub.Nc.sup.2(Φ) denotes non-jitter-related cyclostationary noise and σ.sub.Ns.sup.2 is non-jitter-related stationary noise. Additionally, it should be noted that both non-jitter-related cyclostationary noise and non-jitter-related stationary noise are undesired.
[0041] Furthermore, the term
appearing in the foregoing equation (1) is the term one should be most interested in, especially the part of it that depends on Φ.
[0042] For further illustration, let the input signal of the sample-and-hold circuit 15 exemplarily be A sin(Φ), which leads to
which shows that for the cyclostationary variance, one gets a stationary and cyclostationary part.
[0043] Consequently, ordinary signal-to-noise ratio (SNR) based jitter measurements would take the SNR-difference of two different measurements to get the jitter.
[0044] However, for the highest accuracy possible, the present invention is not SNR based but rather based on function parameter fit applied on the cyclostationary variance, which is done in a way such that it is very sensitive to just the jitter-specific shape of the curve.
[0045] This is exemplarily achieved by calculating a scaled cross correlation at lag zero of σ.sub.K.sup.2(Φ) with a function prototype F(Φ) obtaining a fitting parameter σ.sub.Kfit.sup.2, such that the product σ.sub.Kfit.sup.2(Φ) of the fitting parameter σ.sub.Kfit.sup.2 and the function prototype F(Φ) matches the term cos(2Φ) or sin(2Φ), depending on the zero-phase of the phase-sorting that was done up front, within σ.sub.K.sup.2(Φ) best, which especially has the following advantages: [0046] insensitive to stationary noise, [0047] a single measurement is sufficient, [0048] robust against any interferences which may exist at certain phases, and [0049] inherently robust against the presence of second order harmonics of the signal source, respectively the signal generator 14. [0050] requires no special relation between the phase of the clock and the input signal of the sample-and-hold circuit.
[0051] Now, in order to illustrate the above-mentioned distortion robustness, let the input signal of the sample-and-hold circuit 15 be
S(Φ, A, B)=A sin(Φ)+B sin(Φ), (3)
which leads to a cyclostationary variance, for which the following applies:
[0052] As it can be seen from equation (4), the cyclostationary variance has grown quite a bit depending on the amplitude of the second harmonic.
[0053] Nevertheless, the above-mentioned function parameter fit is only sensitive to the term proportional to cos(2Φ) or sin(2Φ), depending on the zero-phase of the phase-sorting that was done up front, which is advantageously independent of the amplitude of the second harmonic.
[0054] In addition, it should be mentioned that for a third order harmonic and in general as well, σ.sub.K.sup.2(Φ) can be calculated in a similar manner and measures to eliminate or even benefit from the harmonics can be deduced.
[0055] Moreover, with the aid of the calculation means 3, once the above-mentioned fitting parameter σ.sub.Kfit.sup.2 is found, the jitter can be calculated to
Jitter+√{square root over (σ.sub.J.sup.2)}=√{square root over (2σ.sub.Kfit.sup.2(2πfA).sup.−2)}. (5)
[0056] As already mentioned above, one measurement suffices to detect the jitter, but even so, it turns out that performing two measurements at different frequencies may benefit the overall accuracy, especially if frequency-invariant, non-stationary noise σ.sub.Ncfi.sup.2(Φ) such as post-sampling-jitter exemplarily produced by a post sampler being used for the data acquisition with the aid of the signal acquisition means 2, is present in the input signal of the measuring device 1.
[0057] In addition to this, it is to be noted that frequency-variant, non-stationary noise is hereinafter represented by σ.sub.Ncfv.sup.2(Φ) such that the following equation applies:
σ.sub.Nc.sup.2(Φ)+σ.sub.Ncfi.sup.2(Φ)+σ.sub.Ncfv.sup.2(Φ). (6)
[0058] The above-mentioned frequency-differential procedure is to be seen as an extension to the one already outlined so far. With this enhanced approach, even though a single measurement would be sufficient, two measurements at different frequencies are conducted and processed in the exact same way as outlined in order to obtain two cyclostationary variances σ.sub.K1.sup.2(Φ) and σ.sub.K2.sup.2(Φ) with the aid of the signal acquisition means 2 and the calculation means 3 of the measuring device 1. In this case, the calculation means 3 are further configured to take the difference of said variances in order to obtain σ.sub.K.sup.2(Φ), such that
[0059] As it can be seen, this step of subtraction according to equation (7) advantageously eliminates the above-mentioned frequency-invariant, non-stationary noise σ.sub.Ncfi.sup.2(Φ) because it is the same for both measurements.
[0060] Additionally and further advantageously, if σ.sub.Ns1.sup.2 and σ.sub.Ns2.sup.2 have similar values, they may cancel out as well but that is however not a requirement and may not be relied on.
[0061] Henceforth, with the aid of the calculation means 3, the cyclostationary variance σ.sub.K.sup.2(Φ) is processed as outlined and once the above-mentioned fitting parameter σ.sub.Kfit.sup.2 is obtained, the jitter is calculated to
Jitter=√{square root over (σ.sub.J.sup.2)}=√{square root over (2σ.sub.Kfit.sup.2(2+A).sup.−2(f.sub.1.sup.2−f.sub.2.sup.2).sup.−1)}. (8)
[0062] Furthermore, it is to be pointed that all the outlined calculations are solely based on stochastics. This advantageously allows for the calculation of the minimum number of samples required N.sub.min a priori as described in the following.
[0063] For a given accuracy P, confidence interval R (in multiples of one sigma), minimum expected jitter σ.sub.J.sup.2, frequencies f.sub.1,f.sub.2, amplitude A and means noise
[0064] In the following, for the sake of simplicity, let be
σ.sub.Ns1.sup.2=σ.sub.Ns2.sup.2=σ.sub.Ns.sup.2, and (9)
σ.sub.Ncfv1.sup.2(Φ)=σ.sub.Ncfv2.sup.2(Φ)=σ.sub.Ncfv.sup.2(Φ), (10)
[0065] such that
[0066] In most practical situations, the foregoing simplifications hold, at least if measures to eliminate σ.sub.Ncfv<1,2>.sup.2(Φ) are taken. Otherwise, a similar but more sophisticated calculation may be required.
[0067] Now, by analogy with the explanations above, starting with a signal S(Φ,A,B)=A sin(Φ) and a substitution for better readability σ.sub.Nj=(2Aπfσ.sub.J).sup.2, the cyclostationary variance σ.sub.K.sup.2(Φ) can also be written as follows:
σ.sub.K.sup.2(Φ)=σ.sub.Nj.sup.2cos.sup.2(Φ)+σ.sub.Ns.sup.2. (12)
[0068] In a real measurement, σ.sub.K.sup.2(Φ) is a sample variance calculated from N.sub.sp samples at N.sub.ph discrete values for Φ. Using the chi-square distribution with N.sub.sp degrees of freedom, the variance of the sample variance calculated from a normal distributed random variable can be calculated, which results in
[0069] Furthermore, a function parameter fit onto σ.sub.K.sup.2(Φ) by calculating a Fourier coefficient is done, obtaining σ.sub.Kfit.sup.2 such that σ.sub.Kfit.sup.2 cos(2Φ) absolutely matches the term cos(2Φ) within σ.sub.K.sup.2(Φ), which leads to the following equation:
[0070] As we are interested in the statistical effects of the fit on σ.sub.Kfit.sup.2, the integral formulation given above is changed to series formulation in order to represent the finite number of phases N.sub.ph as follows:
[0071] Therefore, the variance of σ.sub.Kfit.sup.2 can be calculated according to the following equation:
[0072] If N.sub.ph is not of a particular small value, the sum can be approximated by an integral. For the present invention, the respective approximation holds if N.sub.ph≧8, which is usually not a limitation and leads to
[0073] Inserting equation (13) into equality (17) and applying the approximation N.sub.sp−1≅N.sub.sp yields
[0074] Evaluating the integrals and applying the substitution N=N.sub.spN.sub.ph, wherein N is the overall number of samples, results in
[0075] Once σ.sub.Kfit.sup.2 is determined, it is multiplied by factor of two, then the square-root function is applied in order to calculate σ.sub.Nj, and finally σ.sub.Nj divided by 2πAf to obtain σ.sub.j. The multiplication steps have no effect on the statistical properties of the outcome except a scaling but do not change the distribution. The square-root function indeed does.
[0076] The distribution of σ.sub.Nj is a special type of chi-distribution due to the fit that is applied on the intermediary chi-squared distribution. Furthermore, by the asymptotic properties of the chi-distribution and also backed by the central-limit-theorem, if the above-mentioned overall number of samples N is sufficiently large, the distribution of σ.sub.Kfit.sup.2 is a normal distribution.
[0077] Usually, this condition is valid for the jitter measurement and therefore an approximation to calculate σ.sub.94 .sub.
[0078] Now, if
[0079] is sufficiently small in relation to σ.sub.Kfit.sup.2, the foregoing approximation holds and σ.sub.σ.sub.
[0080] Moreover, the desired accuracy of σ.sub.Nj or σ.sub.J, respectively, is called P with 0<P<1. For instance, P=0.1 means 10% accuracy. In addition to this, a corresponding confidence interval R in multiples of a standard-deviation is defined. For example, R=1 means that the probability of meeting the desired accuracy is 68.27%.
[0081] These conditions are represented by the following inequality:
[0082] Resolving for σ.sub.94 .sub.
[0083] Using equality (19) and inequality (23), the minimum number of samples N.sub.min to meet the given accuracy P with a given confidence interval R can be calculated:
[0084] Inserting the expected value
[0085] into the foregoing equation (24) yields
[0086] Using equation (25), the above-mentioned value N.sub.min can be calculated using only a few parameters of the device under test and measurement setup. Those are amplitude A, frequency f, the minimum expected jitter σ.sub.Jmin, and the mean noise σ.sub.Ns. The latter can be determined quickly, as only few samples are required for a sufficiently accurate determination of σ.sub.Ns.
[0087] Moreover, using the means noise σ.sub.Ns and a sinusoidal signal with amplitude A, the well known SNR can be calculated as
[0088] Additionally, using σ.sub.Nj cos(Φ), a SNR can be calculated as well:
[0089] Using equations (26) and (27), a margin M can be defined as follows:
[0090] Further using the margin, σ.sub.Ns can be expressed in terms of σ.sub.Nj and vice versa a conversion function F(M) can be defined such that
[0091] Consequently, equation (25) can now be expressed in terms of M as follows:
[0092] The interesting property of this result is that N.sub.min is independent of the absolute value of the jitter σ.sub.j and the mean noise σ.sub.Ns, but only depends on their relation, which is defined by the margin Al.
[0093] In the case of the already mentioned frequency-differential approach, N.sub.min can be calculated in an analog manner. Setting σ.sub.Ns1.sup.2=σ.sub.Ns2.sup.2=σ.sub.s.sup.2, the cyclostationary variance is
σ.sub.K.sup.2(Φ)=(σ.sub.Nf1.sup.2−σ.sub.Nf1.sup.2)cos.sup.2(Φ). (31)
[0094] By analogy with equation (13), it follows:
[0095] The following steps are omitted, but they are analog to equations (14) to (18), which result in
[0096] Analogous to equations (19) to (25), N.sub.min can be calculated.
[0097] Applying the expected value yields
[0098] Finally, to conclude the mathematical derivations, it should be mentioned that N.sub.min can also be written as
N.sub.min=((2πAσ.sub.j).sup.4(f.sub.1.sup.4−f.sub.2.sup.4).sup.4p2).sup.−1*4R.sup.2(7/16(f.sub.1.sup.4+f.sub.2.sup.4(2πAσ.sub.J).sup.4
[0099] Analogously, if just one measurement at frequency f is done, N.sub.min can also be written as
i N.sub.min=((2πfAσ.sub.1).sup.4p2).sup.−1*4R.sup.2(7/16(2πfAσ.sub.j).sup.4+
[0100] Now, with respect to
[0101] Whereas curves 21 and 22 show the cyclostationary variances σ.sub.K1.sup.2(Φ) and σ.sub.K2.sup.2(Φ), curve 23 depicts the difference σ.sub.K.sup.2(Φ)=σ.sub.K1.sup.2(Φ)−σ.sub.K2.sup.2(Φ) thereof; the corresponding fitted graph σ.sub.KOpt.sup.2F(Φ) is illustrated by curve 24.
[0102] For this exemplary measurement, a 10 GS/s sampler with an expected jitter of 25 fs has been characterized at input frequencies f.sub.1=11.7 GHz and f.sub.2=1.7 GHz using the frequency-differential cyclostationary approach described herein.
[0103] Additionally, the output signal of the primary device under test (DUT) was subsequently sampled by a post-sampler and converted to digital using an analog-to-digital converter (ADC)—generally, the jitter of a digitized signal, of an ADC, or of a sample-and-hold circuit will be determined with the aid of the inventive measuring device, respectively with the aid of the inventive method.
[0104] In accordance with the measurement results shown in
[0105] Finally,
[0106] While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. Numerous changes to the disclosed embodiments can be made in accordance with the disclosure herein without departing from the spirit or scope of the invention. Thus, the breadth and scope of the present invention should not be limited by any of the above described embodiments. Rather, the scope of the invention should be defined in accordance with the following claims and their equivalents.
[0107] Although the invention has been illustrated and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art upon the reading and understanding of this specification and the annexed drawings. In addition, while a particular feature of the invention may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for any given or particular application.