The modified Allan variance (MVAR) ,[ 2] also known as mod σy 2 (τ ), is a variable bandwidth modified variant of Allan variance , a measurement of frequency stability in clocks , oscillators and amplifiers . Its main advantage relative to Allan variance is its ability to separate white phase noise from flicker phase noise .
Diagram of modified Allan variance as a function of averaging time, showing the 6 typical regimes.[ 1] 0. White phase-modulation noise (PM): At the highest frequency, white phase noise dominates. This corresponds to
σ
(
τ
)
∝
τ
−
3
/
2
,
S
[
f
]
=
f
3
{\displaystyle \sigma (\tau )\propto \tau ^{-3/2},S[f]=f^{3}}
. 1. Flicker phase-modulation noise (PM): at a lower frequency, flicker phase noise dominates. This corresponds to
σ
(
τ
)
∝
τ
−
1
,
S
[
f
]
=
f
2
{\displaystyle \sigma (\tau )\propto \tau ^{-1},S[f]=f^{2}}
. 2. White frequency-modulation noise (FM): at a lower frequency, white noise in frequency dominates. This corresponds to
σ
(
τ
)
∝
τ
−
1
/
2
,
S
[
f
]
=
f
0
{\displaystyle \sigma (\tau )\propto \tau ^{-1/2},S[f]=f^{0}}
3. Flicker FM:
σ
(
τ
)
∝
τ
0
,
S
[
f
]
∝
f
−
1
{\displaystyle \sigma (\tau )\propto \tau ^{0},S[f]\propto f^{-1}}
. This is also called "pink noise". 4. Random Walk FM:
σ
(
τ
)
∝
τ
+
1
/
2
,
S
[
f
]
∝
f
−
2
{\displaystyle \sigma (\tau )\propto \tau ^{+1/2},S[f]\propto f^{-2}}
. This is also called "brown noise" or "brownian noise". In this regime, the frequency of the system executes a random walk. In other words,
d
f
/
d
t
{\displaystyle df/dt}
becomes a white noise. 5. Frequency drift:
σ
(
τ
)
∝
τ
+
1
,
S
[
f
]
∝
f
−
3
{\displaystyle \sigma (\tau )\propto \tau ^{+1},S[f]\propto f^{-3}}
. In this regime, the frequency of the system executes a pink noise walk. In other words,
d
f
/
d
t
{\displaystyle df/dt}
becomes a pink noise.
The modified Allan deviation (MDEV) ,[ 2] also known as mod σy (τ ), is the deviation variant of the modified Allan variance.
The Allan variance has a drawback in that it is unable to separate the white phase modulation (WPM) from the flicker phase modulation (FPM). Looking at their response to Power-law noise it is clearly seen that WPM and FPM have almost the same response to tau, but WPM is linearly sensitive to the system bandwidth fH whereas FPM is only weakly dependent on it. Thus, by varying the system bandwidth the WPM and FPM noise forms may be separated. However, it is impractical to alter the hardware of the measurement system. By post-processing the sample-series and implementing a software bandwidth a modified Allan variance measure can be given capable of resolving the noise forms.
The modified Allan variance is defined for [ 3] using time error samples as
mod
σ
y
2
(
n
τ
0
)
=
1
2
τ
2
⟨
[
1
n
∑
i
=
0
n
−
1
x
i
+
2
n
−
2
x
i
+
n
+
x
i
]
2
⟩
{\displaystyle \operatorname {mod} \sigma _{y}^{2}(n\tau _{0})={\frac {1}{2\tau ^{2}}}\left\langle \left[{\frac {1}{n}}\sum _{i=0}^{n-1}x_{i+2n}-2x_{i+n}+x_{i}\right]^{2}\right\rangle }
or with average fractional frequency time series and τ = nτ 0
mod
σ
y
2
(
n
τ
0
)
=
1
2
⟨
[
1
n
∑
i
=
0
n
−
1
y
¯
i
+
n
−
y
¯
i
]
2
⟩
,
{\displaystyle \operatorname {mod} \sigma _{y}^{2}(n\tau _{0})={\frac {1}{2}}\left\langle \left[{\frac {1}{n}}\sum _{i=0}^{n-1}{\bar {y}}_{i+n}-{\bar {y}}_{i}\right]^{2}\right\rangle ,}
where n is the integer number of samples averaged over.
The modified Allan variance estimator for time error time series is
mod
σ
y
2
(
n
τ
0
)
=
1
2
n
4
τ
0
2
(
N
−
3
n
+
1
)
∑
j
=
0
N
−
3
n
{
∑
i
=
j
j
+
n
−
1
x
i
+
2
n
−
2
x
i
+
n
+
x
i
}
2
{\displaystyle \operatorname {mod} \sigma _{y}^{2}(n\tau _{0})={\frac {1}{2n^{4}\tau _{0}^{2}(N-3n+1)}}\sum _{j=0}^{N-3n}\left\{\sum _{i=j}^{j+n-1}x_{i+2n}-2x_{i+n}+x_{i}\right\}^{2}}
or with average fractional frequency time series
mod
σ
y
2
(
n
τ
0
)
=
1
2
n
4
(
M
−
3
n
+
2
)
∑
j
=
0
M
−
3
n
+
1
{
∑
i
=
j
j
+
n
−
1
(
∑
k
=
i
i
+
n
−
1
y
¯
k
+
n
−
y
¯
k
)
}
2
{\displaystyle \operatorname {mod} \sigma _{y}^{2}(n\tau _{0})={\frac {1}{2n^{4}(M-3n+2)}}\sum _{j=0}^{M-3n+1}\left\{\sum _{i=j}^{j+n-1}\left(\sum _{k=i}^{i+n-1}{\bar {y}}_{k+n}-{\bar {y}}_{k}\right)\right\}^{2}}