Allan Variance
The Allan Deviation Curve (Log-Log Plot)
| Averaging Time (τ) | Dominant Noise Source | Curve Trajectory |
|---|---|---|
| Short (e.g., 0.01 seconds) | White Phase Noise / White Frequency Noise | Slope goes DOWN as time increases (Averaging helps) |
| Medium (e.g., 100 seconds) | Flicker Noise (1/f) / The "Floor" | Flat / Horizontal (Maximum stability point) |
| Long (e.g., 10,000 seconds) | Random Walk / Temperature Drift / Aging | Slope goes UP as time increases (Drift dominates) |
Instead of comparing data to a grand mean, Allan Variance compares adjacent measurements. If yi is the average fractional frequency over a time period τ, and yi+1 is the average over the *next* time period τ:
σy2(τ) = 1 / [2(N-1)] · Σ (yi+1 - yi)2
Because it only subtracts the *next* value from the *current* value, a slow, steady drift (where y is slowly rising over years) is mathematically canceled out, preventing the variance from exploding to infinity.
Fractional Frequency:
Allan Deviation does not output raw Hertz. It outputs fractional frequency (Δf / f). An Allan Deviation of 1x10-9 for a 10 MHz oscillator means the clock is stable to within 0.01 Hz over that specific time interval.
Frequently Asked Questions
How is this different from Phase Noise?
They measure the exact same instability, just in different domains. Phase noise measures stability in the *Frequency Domain* (how the power spreads out around the carrier frequency). Allan Variance measures stability in the *Time Domain* (how the time between consecutive ticks wanders). You can actually mathematically convert an Allan Variance plot directly into a Phase Noise plot (though it is computationally heavy).
Why does the Allan curve go down and then back up?
It shows the difference between random noise and physical drift. At very short intervals, random white noise dominates. If you average the data for 1 second instead of 0.1 seconds, the random noise cancels itself out, and the stability improves (the line goes down). However, if you keep averaging out to 1 hour, the physical temperature of the room will have changed. The crystal expanded, and the frequency drifted. The drift now overwhelms the averaging, and the stability gets worse (the line goes up). The lowest point on the curve is the ultimate stability floor of the clock.
What is Modified Allan Variance (MVAR)?
Standard Allan Variance has a flaw: it cannot distinguish between White Phase Noise and Flicker Phase Noise (they both look the same on the graph). Engineers created Modified Allan Variance (MVAR), which adds an extra layer of averaging to the math. This slightly alters the slope of the graph, allowing engineers to visually separate the different types of underlying physics causing the noise.