1 / 41

Modified Allan Deviation

This text provides an overview of ADev and Modified Allan Deviation (ModADev) as statistical tools for analyzing various types of noise, including white phase noise, flicker phase noise, and frequency noise. It explains how ADev and ModADev differ in their ability to measure different types of noise and offers insights into their limitations. Additionally, it explores the use of Hadamard variance and Total ADev for analyzing drift and long-term noise. The text also discusses the importance of time prediction and the calculation of TDev. Finally, it addresses issues related to unevenly spaced or missing data during the analysis.

ngist
Download Presentation

Modified Allan Deviation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Modified Allan Deviation And a few other useful variances

  2. ADev • Equation: second differences • Why try other statistics? • Limited in discriminating white from flicker phase noise • Does not work well with drifting frequency signals

  3. White phase noise Flicker phase noise White frequency noise Flicker frequency noise Random walk Allan Variancefor 2pft >1 N.B. f is the high frequency cutoff.

  4. Ideally for white phase Power dependence of ADev Log(sy(t)) White and flicker phase White frequency Random walk frequency Flicker frequency Log(t)

  5. White Phase Noise 100 samples Red one : one sample Blue: average

  6. ADEV of White Phase Noise Slope = -1 ! Not -3/2 ?!? ADev is not sensitive to white phase noise. It converts the short term noise into some sort of flicker phase noise.

  7. Filcker Phase Noise One sample in red 100 samples average

  8. ADev of Flicker Phase Noise Slope > -1 ADev does not measure flicker phase noise properly. There is an extra ln(t) factor.

  9. White phase + white frequency noise: looks like white flicker phase noise The slope is slightly higher than -1, like the case of pure flicker phase noise. The sum of white phase and white frequency noises cannot be sorted out by ADev.

  10. Mod ADev • Equation second differences of average phases • Reduces the phase noise over the interval tau considered by averaging • White and flicker average differently Let’s compare ADev and Mod Adev

  11. MOD ADev ADev

  12. MOD ADev You may be reluctant to calculate MOD ADev because of the double summation but there are tricks:

  13. Practical way of calculating MOD Calculate the first D2 average for n Initialize accumulator One loop only Update overlapping average Update accumulator Calculate MODsy for nt0

  14. Example of MOD Adev MOD Adev shows that t--1 noise does not really exist. There is t—3/2 and t—1/2 noise. ADev Note the lower values for each type of noise, except maybe random walk frequency MOD Adev

  15. Is there more? Yes. • What about drift? • Hadamard variance will help solve it for us • What about long term? • TotalADev is another interesting solution • What about time prediction? • TDev is the proper answer.

  16. Hadamard Using third difference gets rid of frequency drift. It can be used to compare with ADev in order to attempt to distinguish between random walk and frequency drift. Note the factor 6 at the denominator: since this is a second difference in frequency, you get 3!=6 gain of the original noise. Just to convince yourself, calculate the variance of a pure gaussian noise and its first, second and third differences.

  17. Example of Hadamard on drifting clock ADev Hadamard Drift has been removed to reveal the underlying noise

  18. Total variance • To improve the estimation for time intervals close to the time of measurements, a technique similar to what is assumed in FFT can be used. • Wrapping the data from the end to the beginning of the time series smoothes the results for long time intervals.

  19. How to realize Total ADev t t Very useful for long t 1-Duplicate data Total ADev ADev 2-shift data to align ends 3-Run ADev from t=0 to t=T/2 starting within the interval 0-T

  20. TDev • Do we need more? • Frequency stability is not all • We need to determine where will be the clock after some time. • Using the MOD ADev, you get it

  21. Work in time : TDev Easy to compute once you can compute MODADev You can always use not too bad substitute for rough evaluation:

  22. Example of TDev From these ADev and MOD ADev below you get this TDev and sx(t) on the right sx(t) ADev TDev MOD ADev

  23. Before concluding • What if data is not equally spaced? • If intervals do not vary by more than 5%, it does not matter at all. We will see later. • What if data is missing? • Just use the time tag to skip the data in your statistics. No real need to interpolate.

  24. Not equally spaced data Note that close to the main diagonal where the t1 = t2 there is a very slow change in the actual value of ADev ADev Flicker frequency White/flicker phase ADev log(t2) log(t2) log(t1) log(t1) Random walk frequency White frequency ADev ADev log(t2) log(t2) log(t1) log(t1)

  25. Beware of long time measurements When you calculate ADev or any other over long time intervals, there may be some changes in the conditions of measurements

  26. Moving FFT I

  27. Closer look at the moving ADev The one second is fluctuating with time, due to some interference of some kind. Average value over the whole period is meaningless.

  28. Degrees of freedom For all types of noise the distribution is nearly 2 within a few percent. We can safely assume for the purpose of calculating the degrees of freedom that it is 2 distributed. In the case of white phase noise: The degrees of freedom associated with ADev, ModADev, etc. can be estimated to be roughly the time span T-nt divide by t, where n is one for ADev and 2 for ModADev. In the case of Total Dev, n=0. Ndof=(T-n*t)/t, n=0,1 or 2 for ADev, ModADev or TotalADev For other type of noise, there is a reduction in the number of degrees of freedom going as low as 67% for white frequency noise and large degrees of freedom. Note that for Ndof cannot be lower than 1. Use this number for calculating the coverage factor.

  29. Degrees of freedom For all types of noise the distribution is nearly 2 within a few percent. We can safely assume for the purpose of calculating the degrees of freedom that it is 2 distributed. In the case of white phase noise: The degrees of freedom associated with ADev, ModADev, etc. can be estimated to be roughly the time span T-nt divide by t, where n is one for ADev and 2 for ModADev. In the case of Total Dev, n=0. Ndof=(T-n*t)/t, n=0,1 or 2 for ADev, ModADev or TotalADev For other type of noise, there is a reduction in the number of degrees of freedom going as low as 67% for white frequency noise and large degrees of freedom. Note that for Ndof cannot be lower than 1. Use this number for calculating the coverage factor.

  30. conclusion • Again and again, use all the tools available to characterize your data. • Look at your data from different point of view. • All those tools are there to help you sortout the various problems of timekeeping.

  31. beware • TDev should be used carefully for prediction over interval different than the one estimated. • Better use the structure factors • A little bit of it follows

  32. Generalized Variance in the average frequency transfer 3 phase 2 B A 4 1 time

  33. Standard uncertainty In theory you need to measure those h coeficients

  34. Useful results Knowing , we want with the following form: where each type of noise is calculated independently.

  35. What fA-B are • AB structure factors which are directly linked with the measured Allan deviation. • Can be used for any linear combination of results in the calibration interval. • For end-point average frequency, results simple enough for hand-calculator use. • Provided similar equipment (same high cutoff frequency) is used, no dependence on passband.

  36. White and flicker phase noise white frequency noise flicker frequency noise random walk Ratio of uy2a to Adeva2for 2pft >1

  37. Time prediction reference Clock A

  38. Timescale work • Prediction of uncertainty of time after interval tB • following calibration over interval tA • equivalent to prediction of frequency uncertainty on tB after calibration on tA with no dead time.

  39. Time error after calibration of a hydrogen maser

  40. Ratio of time error to Adev*tno random walk FM

  41. Ratio of time error to Adev*t(with random walk FM)

More Related