Measure of frequency stability in clocks and oscillators / From Wikipedia, the free encyclopedia
The Allan variance (AVAR), also known as two-sample variance, is a measure of frequency stability in clocks, oscillators and amplifiers. It is named after David W. Allan and expressed mathematically as .
The Allan deviation (ADEV), also known as sigma-tau, is the square root of the Allan variance, .
A clock is most easily tested by comparing it with a far more accurate reference clock. During an interval of time τ, as measured by the reference clock, the clock under test advances by τy, where y is the average (relative) clock frequency over that interval. If we measure two consecutive intervals as shown, we can get a value of (y − y′)2—a smaller value indicates a more stable and precise clock. If we repeat this procedure many times, the average value of (y − y′)2 is equal to twice the Allan variance (or Allan deviation squared) for observation time τ.
The M-sample variance is a measure of frequency stability using M samples, time T between measurements and observation time . M-sample variance is expressed as
The Allan variance is intended to estimate stability due to noise processes and not that of systematic errors or imperfections such as frequency drift or temperature effects. The Allan variance and Allan deviation describe frequency stability. See also the section Interpretation of value below.
There are also different adaptations or alterations of Allan variance, notably the modified Allan variance MAVAR or MVAR, the total variance, and the Hadamard variance. There also exist time-stability variants such as time deviation (TDEV) or time variance (TVAR). Allan variance and its variants have proven useful outside the scope of timekeeping and are a set of improved statistical tools to use whenever the noise processes are not unconditionally stable, thus a derivative exists.
The general M-sample variance remains important, since it allows dead time in measurements, and bias functions allow conversion into Allan variance values. Nevertheless, for most applications the special case of 2-sample, or "Allan variance" with is of greatest interest.
Example plot of the Allan deviation of a clock. At very short observation time τ, the Allan deviation is high due to noise. At longer τ, it decreases because the noise averages out. At still longer τ, the Allan deviation starts increasing again, suggesting that the clock frequency is gradually drifting due to temperature changes, aging of components, or other such factors. The error bars increase with τ simply because it is time-consuming to get a lot of data points for large τ.
Diagram of Allan variance as a function of averaging time, showing the 5 typical regimes.[1]
1. white/flicker phase-modulation noise (PM): At the highest frequency, phase noise dominates. This corresponds to . However, White PM has but Flicker PM has . The Allan variance plot does not distinguish them. It requires modified Allan variance plot to distinguish them.
2. White frequency-modulation noise (FM): at a lower frequency, white noise in frequency dominates. This corresponds to
3. Flicker FM: . This is also called "pink noise".
4. Random Walk FM: . This is also called "brown noise" or "brownian noise". In this regime, the frequency of the system executes a random walk. In other words, becomes a white noise.
5. Frequency drift: . In this regime, the frequency of the system executes a pink noise walk. In other words, becomes a pink noise.