Professional Documents
Culture Documents
Packet TDEV, MTIE, and MATIE: - For Estimating The Frequency and Phase Stability of A Packet Slave Clock
Packet TDEV, MTIE, and MATIE: - For Estimating The Frequency and Phase Stability of A Packet Slave Clock
Antti Pietiläinen
0.0002
TIE [s]
-0.0002
50000 100000 150000 200000 250000 300000 350000
Time [s]
= n0
Time
error
xppk
(from G.810)
0 1 2 3 k k+n N i
Antti Pietiläinen / 5.11.2008 T1308800-96
MTIE of a practical packet clock
• Each observation window scanned over the TIE curve (see previous slide) will
produce one point on the MTIE or MRTIE curve.
• MTIE of a TCXO based packet clock synchronized over a production network and
DSL connection shoots about one order of magnitude over the PDH specifications.
• Does one need to average this clock for 10000 seconds to go below 16 ppb?
1E-3
G.823 2 Mbit/s
traffic interf. G.824 1.5 Mbit/s
1E-5
network interf.
1E-6 15 ppb
16 ppb OBSAI RP1
1E-7
0.1 1 10 100 1000 10000 100000
tau [s]
Antti Pietiläinen / 5.11.2008
MTIE is a pessimistic estimator when used to
indicate achievable frequency stability
function of averaging
time. 1E-5
• TDEV masks have been
specified in various ITU-
TDEV [s]
T recommendations. 1E-6
1E-8
16 ppb
1E-10
1 10 100 1000 10000 100000
Averaging window, tau [s]
MATIE can be
calculated from time
interval error (TIE) of a
clock, as well as from
packet delays. In case
of packet delays, a
percentile selection is
done first.
In the figure, 10
fastest of each 1000
consecutive samples
have been pre-
selected and
averaged.
0.02292 Note, this is a simplification. In reality the adjacent averaging windows slide over the data.
0.02284
at different window the whole TIE
0.02282 sizes. MATIE and MAFE measurement
are plotted as a function MATIE as a function
0.02280 of observation window =53 µs of the
MATIE = 53 µs
size. averaging
0.02278 time of the
clock
0.02276 algorithm.
0.02274
0 10000 20000 30000 40000
Time [s]
Antti Pietiläinen / 5.11.2008
Comparison between frequency stability
estimations of MDEV, MTIE/, and MAFE
(corresponds to TDEV, MTIE, and MATIE in phase domain)
pessimistic. TIE
0s
MTIE/
• The different metrics
-40µs
-80µs
stability. 80.0µs
60.0µs
MDEV
• It is expected that
40.0µs
20.0µs
TIE [s]
1E-9 0.0s
-40.0µs
2
N 3n 1 n j 1
TDEVn 0 xi 2 n 2 xi n xi , n = 1, 2, ..., integer part N
1
6n 2 N 3n 1
3
j 1 i j
MTIE(n 0 ) max max xi min xi , n 1,2,... , N 1
1 k N n k i k n k i k n
n0 is the observation window length, n is the number of samples in the window, 0
is the sample interval, N is the number of samples in the data set. Index variable i is
incremented to scan across the window and k or j is incremented for sliding the
window.
1E-8 16 ppb
1E-9
Packet clock MDEV
1E-10
1E-11
1 10 100 1000 10000 100000
Averaging window, tau [s]
Antti Pietiläinen / 5.11.2008
Packet MTIE vs. packet clock MTIE
• Packet MTIE would allow setting a performance limit mask.
• However, in addition to being pessimistic considering frequency stability, it is
difficult to find parameters for packet MTIE that would accurately describe the
performance of a packet clock.
Best at 600 s
1-% averaging in 300-s window
1E-4
1-% averaging in 600-s window
1-% averaging in
1200-s window
1E-7
MAFE of packet clock
1E-8
1E-9
1 10 100 1000 10000
tau [s]
2
N 3n 1 n j 1
TDEVn 0
N
xi 2 n 2 xi n xi , n = 1, 2, ..., integer part
1
6n 2 N 3n 1
3
j 1 i j
MTIE(n 0 ) max max xi min xi , n 1,2,... , N 1
1 k N n k i k n k i k n
n0 is the observation window length, n is the number of samples in the window, 0
is the sample interval, N is the number of samples in the data set. Index variable i is
incremented to scan across the window and k or j is incremented for sliding the
window.