46
Simulation Results for 802.1AS S h i ti T t ith Cl k Synchronization Transport with Clock Wander Generation and Updated Residence and Pdelay Turnaround Times Geoffrey M. Garner SAMSUNG Electronics (Consultant) IEEE 802.1 AVB TG 2010.07.12 gmg[email protected]

Simulation Results for 802.1AS Sh iti T

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Simulation Results for 802.1AS Sh iti T

Simulation Results for 802.1AS S h i ti T t ith Cl kSynchronization Transport with Clock

Wander Generation and Updated Residence and Pdelay Turnaround

TimesGeoffrey M. Garner

SAMSUNG Electronics (Consultant)

IEEE 802.1 AVB TG2010.07.12

[email protected]

Page 2: Simulation Results for 802.1AS Sh iti T

Outline

IntroductionIntroductionReview of HRMReview of simulation modelModel for local clock wander generationResultsC l iConclusionsFuture work

SAMSUNG Electronics IEEE 802.1 AVB July 2010 2

Page 3: Simulation Results for 802.1AS Sh iti T

Introduction – 1

References [1] and [2] presented simulation results forReferences [1] and [2] presented simulation results for synchronization transport performance over a network of 802.1AS time-aware systems, using latest requirements for Sync and Pdelay intervalsintervals

Sync interval: 0.125 sPdelay interval: 1.0 s

The results were presented in the form of Maximum Time Interval Error (MTIE), and were compared with MTIE masks that are equivalent to current requirements for various applications

Uncompressed SDTV (Serial Digital Interface (SDI) video)Uncompressed HDTV (Serial Digital Interface (SDI) video)Compressed (MPEG) videop ( )Digital audio (consumer interfaces)Digital audio (professional interfaces)Various cellular base station requirements (CDMA CDMA2000 WCDMAVarious cellular base station requirements (CDMA, CDMA2000, WCDMA TDD, Femtocell)

SAMSUNG Electronics IEEE 802.1 AVB July 2010 3

Page 4: Simulation Results for 802.1AS Sh iti T

Introduction – 2The simulation cases endpoint filter bandwidths ranging from 1 mHz to 10 p g gHz

Cases included 1 mHz, 10 mHz, 100 mHz, 1 Hz, 10 Hz

The results were based on single simulation runs for each caseThe results were based on single simulation runs for each caseThe results indicated that

MTIE masks for all applications were met with a 1 mHz endpoint filterMTIE masks for all applications except for uncompressed SDTV (SDI video) were met with a 10 mHz filterMTIE masks for compressed video (MPEG) and digital audio were met with a 1 Hz filterMTIE masks for compressed video (MPEG) and professional digital audio were met with a 10 Hz filter

•Note that the MTIE mask for professional audio is less stringent than for consumer audio because the professional audio equipment is required to tolerate more jitter

SAMSUNG Electronics IEEE 802.1 AVB July 2010 4

Page 5: Simulation Results for 802.1AS Sh iti T

Introduction – 3

Since the simulations of [1] and [2] were performed the followingSince the simulations of [1] and [2] were performed, the following changes were made to the IEEE P802.1AS requirements

The residence time was increased from 1 ms to 10 msTh Pd l t d ti (i th i ti i t l b t thThe Pdelay turnaround time (i.e., the maximum time interval between the receipt of Pdelay_Req and the sending of Pdelay_Resp) was increased from 1 ms to 10 ms

In addition the results in [1] and [2] assumed no local clock wanderIn addition, the results in [1] and [2] assumed no local clock wander generationAnnex B of P802.1AS (subclause B.1.3.2, see [3] for latest draft)

t i l l l k d ti i t i th f fcontains a local clock wander generation requirement, in the form of a TDEV mask

The wander on the output timing signal of the free-running LocalClock tit h ll h TDEV th t d t d th k f Fi B 1 dentity shall have TDEV that does not exceed the mask of Figure B-1 and

Table B-1 (see B.1.3.2 of P802.1AS, D7.0 for full details)

SAMSUNG Electronics IEEE 802.1 AVB July 2010 5

Page 6: Simulation Results for 802.1AS Sh iti T

Introduction - 4

When the residence and Pdelay turnaround time requirements wereWhen the residence and Pdelay turnaround time requirements were increased, and when the clock wander generation requirement was added to the P802.1AS draft, it was indicated that simulations would have to be performed to verify that the end-to-end (network) wanderhave to be performed to verify that the end to end (network) wander performance could be metThe current presentation provides new simulation results, for cases withwith

Residence and Pdelay turnaround times of 10 ms and 50 msClock wander generation at the level of 802.1AS, Figure B-1 and Table B-1

Results are compared with the results of [1] and [2]Note that [2] contains results with and without propagation time averaging; here we focus on cases without propagation time averagingg g; p p g g g

SAMSUNG Electronics IEEE 802.1 AVB July 2010 6

Page 7: Simulation Results for 802.1AS Sh iti T

Review of Hypothetical Reference Model (HRM) (from [1])

Number of hops = N – 1 = 7

i.e., N = 8 nodes (time aware systems) b d f 1 t 8 ith th d tnumbered from 1 to 8, with the grandmaster as

node 1

IEEE 802.1 AVB July 2010 7SAMSUNG Electronics

Page 8: Simulation Results for 802.1AS Sh iti T

Review of Simulation Model (adapted from [1]) – 1

Model is discrete event; the events are the sending and receiving ofModel is discrete-event; the events are the sending and receiving of Sync, Pdelay_Req, and Pdelay_Resp messagesEach node contains a free-running clock, for which the following is specifiedspecified

Frequency tolerance y•At initialization, the actual frequency offset is chosen randomly from a uniform distribution over [ ]distribution over [-y, y]

Frequency drift DPhase measurement granularityParameters of power-law noise models (details of these models given in later slides):

•White Phase Modulation (WPM)•Flicker Phase Modulation (FPM)•White Frequency Modulation (WFM)•Flicker Frequency Modulation (FFM)•Random Walk Frequency (RWFM)

SAMSUNG Electronics 8IEEE 802.1 AVB July 2010

Page 9: Simulation Results for 802.1AS Sh iti T

Review of Simulation Model – 2

Each link is associated with a delay modelEach link is associated with a delay modelFor now, the link delay is fixed, but can be asymmetric

Times associated with messages; fixed for nowSync intervalPdelay intervalPdelay turnaround time (time between receipt of Pdelay Req and sendingPdelay turnaround time (time between receipt of Pdelay_Req and sending of Pdelay_Resp)Residence time (time between receipt of Sync by a node that is not the Grandmaster (GM), i.e., node j > 1 in slide 5, and sending of Sync to node ( ) j g yj+1)

SAMSUNG Electronics IEEE 802.1 AVB July 2010 9

Page 10: Simulation Results for 802.1AS Sh iti T

Review of Simulation Model – 3The basic operation of the simulator isp

generateInitialEvents(); /* Sending initial Sync by GM; sending initialPdelay_Req from node j to node j – 1, for j= 2, …, N */

while (timer <= endTime) {while (timer <= endTime) {removeNextEvent();computeFreeRunningClockTimesAtTimeOfNextEvent(); /* clock g ()

wander generation model is invoked here */computeUnfilteredSynchronizedTimeEstimateAtTimeOfNextEvent();/* based on current estimate of rateRatio relative to GM and most/ based on current estimate of rateRatio relative to GM and most

recent (freeRunningTime, synchronizedTime) association */computeFilteredSynchronizedTimeEstimateAtTimeOfNextEvent();eventHandler();

}The events are maintained in a linked list in chronological orderThe events are maintained in a linked list, in chronological order relative to global timer

SAMSUNG Electronics IEEE 802.1 AVB July 2010 10

Page 11: Simulation Results for 802.1AS Sh iti T

Review of Simulation Model – 4

Filter model is the same as that used in [4] [7]Filter model is the same as that used in [4] – [7]In setting the integration time step for the filter, the time between the current and next event is divided into the smallest number of time steps such that the size of the time step is not larger than a specifiedsteps such that the size of the time step is not larger than a specified maximum, i.e.,

If T = time between eventse be ee e e sΔtmax = maximum time step (input parameter)Δt = actual time stepΔt = actual time stepThenNsteps = ceil (T/ Δtmax )Δt = T/Nstepssteps

SAMSUNG Electronics IEEE 802.1 AVB July 2010 11

Page 12: Simulation Results for 802.1AS Sh iti T

Model Summary – 5The following is a high-level overview of the processing of each event g g p gtypeSending Pdelay_Req event

Generate time stamp relative to free running clock (compute free runningGenerate time stamp relative to free-running clock (compute free-running time corresponding to current value of timer)Schedule next sending of Pdelay_Req event and add to linked

R i t f Pd l R tReceipt of Pdelay_Req eventGenerate time stamp relative to free-running clock (compute free-running time corresponding to current value of timer)Schedule sending of Pdelay_Resp event

Sending of Pdelay_Resp eventGenerate time stamp relative to free-running clock (compute free-running p g ( p gtime corresponding to current value of timer)Place Pdelay turnaround time in message structureSchedule receipt of Pdelay Resp eventSchedule receipt of Pdelay_Resp event

SAMSUNG Electronics IEEE 802.1 AVB July 2010 12

Page 13: Simulation Results for 802.1AS Sh iti T

Model Summary – 6

Receipt of Pdelay Resp eventReceipt of Pdelay_Resp eventGenerate time stamp relative to free-running clock (compute free-running time corresponding to current value of timer)Comp te neighborRateRatioCompute neighborRateRatio

•A granularity for the neighborRateRatio computation can be specified (e.g., based on a given number of bits of precision for the computation)

C t i hb P D lCompute neighborPropDelayNote that there is no new event to generate in this case

Sending of Sync eventg yGenerate time stamp relative to free-running time corresponding to current value of timer)Compute residence time, corrected for cumulativeRateRatio, based on p , ,time stamp and saved time stamp (relative to free-running timer) of most recently received SyncAdd residence time and current neighborPropDelay to correctionFieldSchedule receipt of Sync at downstream node

SAMSUNG Electronics IEEE 802.1 AVB July 2010 13

Page 14: Simulation Results for 802.1AS Sh iti T

Model Summary – 6

Receipt of Sync eventReceipt of Sync eventGenerate time stamp relative to free-running time corresponding to current value of timer)Comp te correctedMasterTime (GM time estimate) hich is the s m ofCompute correctedMasterTime (GM time estimate), which is the sum of the preciseOriginTimestamp, correctionField, and neighborPropDelay)Compute cumulativeRateRatio relative to GM using received cumulativeRateRatio and current neighborRateRatiocumulativeRateRatio and current neighborRateRatioCompute unfiltered phase offset, which is the difference between the correctedMasterTime and current local clock time (the time stamp for receipt of the Sync)ece pt o t e Sy c)

•Note that the (time stamp, correctedMasterTime) becomes the current association of free-running and GM time

SAMSUNG Electronics IEEE 802.1 AVB July 2010 14

Page 15: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 1

See [4] and [5] for initial discussion of clock phase noise modelsSee [4] and [5] for initial discussion of clock phase noise modelsClock phase noise is typically modeled as a sum of random processes with one-sided power spectral density (PSD) of the form Af -α

In the most general case usually considered in practice, 5 terms are considered (see [8] and [9])

α = 0, White Phase Modulation (WPM)α = 1, Flicker Phase Modulation (FPM)α = 2, White Frequency Modulation (WFM)α = 3, Flicker Frequency Modulation (FFM)α = 4, Random-Walk Frequency Modulation (RWFM)

Can write the PSD, Sx(f) as2DCBA

Often express as (ν0 = nominal clock frequency)

/Hznsof unitshas)(where,)( 2234 fSE

fD

fC

fB

fAfS xx ++++=

( ) /Hd)(fith)(2)( 22 fSfSfS

SAMSUNG Electronics IEEE 802.1 AVB July 2010 15

( ) /Hzrad are)(ofunitswhere,)(2)( 20 fSfSfS x φφ πν=

Page 16: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 2

Often the one-sided PSD Sφ (f) is expressed in dBc/Hz using theOften, the one sided PSD Sφ (f) is expressed in dBc/Hz, using the conversion

}/Hz][rad )({log10 [dBc/Hz] )( 210 fSfS φφ =

Must be careful on whether the PSD is one-sided or two-sided; respective equations will contain additional factors of 2 in converting between themAn example PSD specification is given in Figure 12 of [11], and reproduced on the next slide (this was presented in [4] and [5]; note that areproduced on the next slide (this was presented in [4] and [5]; note that a similar example is given in Figure 2 of [10])

•Data in [11] is given in dBc/Hz; data has been converted to rad2/Hz•Data in [11] is given only for frequencies below 10 kHz; here, we assume the [ ] g y qPSD is flat above 10 kHz

•Dotted curve on the next slide is the converted data of [11]; solid line is a conservative fit of the above power law sum

The above example specification contains WPM FPM and FFMThe above example specification contains WPM, FPM, and FFM terms

In the wander region (f ≤ 10 hz), the FFM term (B/f 3) dominatesThe 802 1AS wander generation specification is base on FFM behaviorThe 802.1AS wander generation specification is base on FFM behavior

SAMSUNG Electronics IEEE 802.1 AVB July 2010 16

Page 17: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 3

Example Clock Phase Noise Specificationp pProvided in [11] (data in [11] does not extendabove 10 kHz; PSD is assumed flat for higherfrequencies with the 10 kHz value)

1e-3

analytic form of PSDspecification in [11]

1e-6

1e-5

1e-4 Note: Data in [11]is given in dBc/Hz;data has beenconverted to rad2/Hz

PS

D (r

ad^2

/Hz)

1e-9

1e-8

1e-7converted to rad2/Hz

P

1e-12

1e-11

1e-10

Frequency (Hz)

1e+0 1e+1 1e+2 1e+3 1e+4 1e+5 1e+6 1e+7 1e+81e-13

SAMSUNG Electronics IEEE 802.1 AVB July 2010 17

Page 18: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 4

Another measure for clock noise which is more convenient becauseAnother measure for clock noise, which is more convenient because it is a time domain parameter, is Time Variance (TVAR) [8], [9]

Time Deviation (TDEV) is the square root of TVAR

TVAR is 1/6 times the expectation of the square of the second difference of the phase error averaged over an interval

TVAR is related to Modified Allan Variance (MVAR) (see next slide), which i i li i f All V i (AVAR)is in turn a generalization of Allan Variance (AVAR)

( )[ ]61)(TVAR 22Δ=τ xE ( )[ ]

[ ], n timeintegratio over the average denotes

n,expectatio denotes where6

⋅τx

E

differenceseconddenotes and 2Δ

SAMSUNG Electronics IEEE 802.1 AVB July 2010 18

Page 19: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 5

TVAR may be estimated from measured or simulated data using [9]TVAR may be estimated from measured or simulated data using [9]

( ) ( ) ( ) ( )13

1

21

220 3partinteger ..., 2, 1, n ,2136

1TVAR N/xxxnNn

nnN

j

jn

jiinini =⎥⎦

⎤⎢⎣

⎡+−

+−= ∑ ∑

+−

=

−+

=++τ

TVAR i l 2/3 l i li d b h M difi d All V i

00 and interval sampling theis where Nττ =τ

TVAR is equal to τ2/3 multiplied by the Modified Allan VarianceFor power-law noises with PSD proportional to f -α, TVAR is proportional to τβ, where β = α - 1

SAMSUNG Electronics IEEE 802.1 AVB July 2010 19

Page 20: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 6

The magnitude of TVAR may be related to the magnitude of PSD forThe magnitude of TVAR may be related to the magnitude of PSD for power-law noises; see [8] and [9] for details

FFM ( )2 2ln92πBFFM

WFM

( ) 23 20

2ln92)(TVAR )( τπτ BfBfSx ==

( ) τπτ CfCfSx 12

2)(TVAR )(2

3 ==

FPM (result is from [8]; a more exact expression is given in [9])

f 12

DfDfSx 3

37.3)(TVAR )( == τ

fτWPM

f i b d idth

EfEfS hx τ

ττ 0)(TVAR )( ==

SAMSUNG Electronics IEEE 802.1 AVB July 2010 20

fh = noise bandwidth

Page 21: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 7

TVAR and TDEV (or Allan Variance or Modified Allan Variance) areTVAR and TDEV (or Allan Variance or Modified Allan Variance) are used to characterized phase noise in oscillators rather than classical variance

The time domain estimator for classical variance diverges for some powerThe time-domain estimator for classical variance diverges for some power-law noise processesThe time-domain estimators for TVAR, Allan Variance, and Modified Allan

Variance converge for all power-law noise processesVariance converge for all power law noise processes

For the 802.1AS Annex B, Figure B-1 TDEV mask

s10s 05.0 105)(TDEV 9 ≤≤×= − τττ )(

)105(20

2ln9)2( 292

×= −Bπ

/Hzs 100302.2 /Hzs 2ln9)2(

)20()105(

2

21822

29

×=×= −−

SAMSUNG Electronics IEEE 802.1 AVB July 2010 21

/Hz ns0302.2 2=B

Page 22: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 8

Simulation of FPMSimulation of FPMFPM is simulated by passing a sequence of independent, identically distributed random samples through a Barnes/Jarvis filter [12] – [14]

If hite noise is inp t to a filter ith freq enc response H(f) f 1/2 the•If white noise is input to a filter with frequency response H(f) = f –1/2, the output is a random process with PSD proportional to 1/f

•The Barnes/Jarvis filter approximates an f –1/2 frequency response using a bank of lead/lag filtersa bank of lead/lag filters

–The actual frequency response of this filter is a “staircase”–The spacings of the poles and zeros are chosen such that the average slope is –10 dB/decade

Noise distribution is taken as Gaussian with zero meanVariance determines TDEV level

•Choose variance such that the computed TDEV from a sample history is close to•Choose variance such that the computed TDEV from a sample history is close to value obtained from above relation between TDEV and PSD

SAMSUNG Electronics IEEE 802.1 AVB July 2010 22

Page 23: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 9

2

then,/1)(and (WPM)constant )( If

)()()( 2

ffHKfS

fSfHfS

u

ux

===

=

(FPM) /)(,)(( ))(

fKfSfff

x

u

=

SAMSUNG Electronics IEEE 802.1 AVB July 2010 23

Page 24: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 10

ConsiderConsider ,)( ii

i

ii ba

bjfajffH >

++=

22

22

)(i

ii bf

affH++=Hi f

ai bi

Note that actual curve is 3 dB below breakpoint

Note that actual curve is 3 dB above breakpoint

faibi

SAMSUNG Electronics IEEE 802.1 AVB July 2010 24

f

Page 25: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 11

Next consider +N ajfNext, consider∏=

>++=

N

ii

N

i i

i

f

babjfajffH

22

1

,)(

∏= +

+=N

i i

i

bfaffH

122

22

)(H f

f -½

f

SAMSUNG Electronics IEEE 802.1 AVB July 2010 25

f

Page 26: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 12

A discrete time implementation of the filter bank is given by BarnesA discrete-time implementation of the filter bank is given by Barnes and Greenhall in [13]

In the implementation here, 8 stages are used, to simulate FPM (and integrate to obtain FFM see below) over approximately 7 decadesintegrate to obtain FFM, see below) over approximately 7 decades

Simulation of FFMInput a sequence of independent, identically distributed random samples th h B /J i filt f ll d b i t t ( l t )through a Barnes/Jarvis filter followed by an integrator (accumulator)Noise distribution is taken as Gaussian with zero meanVariance determines TDEV level

•Choose variance such that the computed TDEV from a sample history is close to value obtained from above relation between TDEV and PSD

SAMSUNG Electronics IEEE 802.1 AVB July 2010 26

Page 27: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 13

Note: It can be shown (see [15]) that the impedance of an RC networkNote: It can be shown (see [15]) that the impedance of an RC network approaches a 1/ω½ dependence in the limit as the extent of the network (in one direction) becomes infinite, R→0, C→0, R/C → K (K is a constant)

CR

CR

CR

CR

CR

V

I

( )1

42)()()( 2/1

2/12

ωωωωω →⎟⎟

⎞⎜⎜⎝

⎛++==

jCR

CjRRR

IVZ ( )

1)(

/ ,0 ,0 as42)( ωωω→→→

⎠⎝

RZ

KCRCRjCCjI

)dependence/1a has(i.e., 1)(

)(

2

2/1

ωω

ωω

⋅→

⋅→

RZ

CZ

SAMSUNG Electronics IEEE 802.1 AVB July 2010 27

)p( ,)(ωC

Page 28: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 14

Sample local clock phase noise historySample local clock phase noise historySample phase error history corresponding to 802.1AS Annex B, Figure B-1 TDEV mask

10000

0

10000

se E

rror (

ns)

-20000

-10000

Pha

s

-40000

-30000

Time (s)

0 2000 4000 6000 8000 10000 12000-50000

SAMSUNG Electronics IEEE 802.1 AVB July 2010 28

Page 29: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 15

Sample local clock phase noise history (detail of 1199 1209 s)Sample local clock phase noise history (detail of 1199 – 1209 s)

Sample phase error history corresponding to 802.1AS Annex B, Figure B-1 TDEV maskDetail of 1199 - 1209 s

-2800

-2700

rror (

ns)

3000

-2900

Pha

se E

-3100

-3000

1198 1200 1202 1204 1206 1208 1210-3300

-3200

SAMSUNG Electronics IEEE 802.1 AVB July 2010 29

Time (s)

Page 30: Simulation Results for 802.1AS Sh iti T

Local Clock Wander Generation Model - 16

TDEV for phase noise sample history and comparison with 802 1ASTDEV for phase noise sample history, and comparison with 802.1AS Figure B-1 mask

TDEV for sample phase history Phase noise model (computed from sample historyMask (802.1AS, Figure B-1)

1e+4

1e+5

Mask (802.1AS, Figure B 1)Extended Mask

(ns)

1e+2

1e+3

TDE

V (

1e-1

1e+0

1e+1

0 0001 0 001 0 01 0 1 1 10 100 1000 100001e-3

1e-2

1e 1

SAMSUNG Electronics IEEE 802.1 AVB July 2010 30

Observation Interval τ (s)

0.0001 0.001 0.01 0.1 1 10 100 1000 10000

Page 31: Simulation Results for 802.1AS Sh iti T

Model Parameters Common to All Cases – 1 Endpoint filter gain peaking = 0.1 dBSync interval = 0.125 sPdelay interval = 1.0 sLink propagation delay = 500 ns (fixed)Link propagation delay = 500 ns (fixed)

Links are symmetricPHY latency is assumed symmetric

Phase (time) measurement granularity = 40 nsFrequency measurement granularity = 2.328 x 10-10 (i.e., computations assumed to be done with 32-bit arithmetic)computations assumed to be done with 32 bit arithmetic)LocalClock entity frequency tolerance = ±100 ppm

Frequencies of free-running oscillators in nodes are chosen randomly at initialization within their tolerance range (a uniform distribution is assumed)initialization within their tolerance range (a uniform distribution is assumed)

Number of time-aware systems = 8 (7 hops; see HRM on slide 7)Simulation time = 10 010 sMaximum time step = 0.001 s

SAMSUNG Electronics IEEE 802.1 AVB July 2010 31

Page 32: Simulation Results for 802.1AS Sh iti T

Simulation Cases

Case Residence time (ms)

Pdelay turnaround time (ms)

Local clock wander generation modeled

Endpoint filter bandwidths (each filter bandwidth is one subcase)modeled

(yes/no)one subcase)

1 1 1 no 1 mHz, 10 mHz, 100 mHz 1 Hz100 mHz, 1 Hz,10 Hz

2 1 1 yes 1 mHz, 10 mHz,100 mHz, 1 Hz,, ,10 Hz

3 10 10 yes 1 mHz, 10 mHz,100 mHz, 1 Hz,10 Hz

4 50 50 yes 1 mHz, 10 mHz,100 mHz, 1 Hz,10 H

SAMSUNG Electronics IEEE 802.1 AVB July 2010 32

10 Hz

Page 33: Simulation Results for 802.1AS Sh iti T

Actual Frequency Offsets for Nodes 1 – 8

The next slide gives the actual frequency offsets used in theThe next slide gives the actual frequency offsets used in the simulation cases

They were chosen randomly at initialization from a uniform distribution over the tolerance rangeover the tolerance rangeTherefore, the values depended on the initial state (seed) of the random number generatorThe same seed was used for all cases/subcasesThe same seed was used for all cases/subcases

Note that the frequency offsets are the same as those for cases 1 and 3 of [1], and the cases of [2]

SAMSUNG Electronics IEEE 802.1 AVB July 2010 33

Page 34: Simulation Results for 802.1AS Sh iti T

Actual Frequency Offsets for Nodes 1 – 8

Node Frequency offset (ppm)

1 0 (GM)

2 6.42763 -55.714

4 32.295

5 -53 9505 -53.950

6 38.774

7 64.124

8 -83.231

SAMSUNG Electronics 34IEEE 802.1 AVB July 2010

Page 35: Simulation Results for 802.1AS Sh iti T

MTIE Results – Node 2

Comparison of jitter/wander accumulation MTIE at time-aware system (node) 210 Hz, 1 Hz, 100 mHz, 10 mHz, and 1 mHz endpoint filter bandwidths1, 10, 50 ms residence time and Pdelay turnaround time (with clock wander generation)1 ms residence time and Pdelay turnaround time (without clock wander generationSync Interval = 0.125 sPdelay Interval = 1 0 sPdelay Interval = 1.0 s

1e+7

1e+8

1e+9

1e+1010 Hz, 1 ms, no clock wander generation10 Hz, 1 ms, with clock wander generation10 Hz, 10 ms, with clock wander generation10 Hz, 50 ms, with clock wander generation1 Hz, 1 ms, no clock wander generation

MTI

E (n

s)

1e+1

1e+2

1e+3

1e+4

1e+5

1e+6g

1 Hz, 1 ms, with clock wander generation1 Hz, 10 ms, with clock wander generation1 Hz, 50 ms, with clock wander generation100 mHz, 1 ms, no clock wander generation100 mHz, 1 ms, with clock wander generation100 mHz, 10 ms, with clock wander generation100 mHz, 50 ms, with clock wander generation10 mHz, 1 ms, no clock wander generation

1e-5

1e-4

1e-3

1e-2

1e-1

1e+010 mHz, 1 ms, no clock wander generation10 mHz, 1 ms, with clock wander generation10 mHz, 10 ms, with clock wander generation10 mHz, 50 ms, with clock wander generation1 mHz, 1 ms, no clock wander generation1 mHz, 1 ms, with clock wander generation1 mHz, 10 ms, with clock wander generation1 mHz, 50 ms, with clock wander generation1 mHzUncompressed SDTV (SDI Signal)

Observation Interval (s)

1e-4 1e-3 1e-2 1e-1 1e+0 1e+1 1e+2 1e+3 1e+4 1e+5Uncompressed SDTV (SDI Signal)Uncompressed HDTV (SDI Signal)MPEG-2, after network transportMPEG-2, no network transportDigital Audio, consumer interfacesDigital Audio, professional interfacesFemtocell

SAMSUNG Electronics IEEE 802.1 AVB July 2010 35

Page 36: Simulation Results for 802.1AS Sh iti T

MTIE Results – Node 8

Comparison of jitter/wander accumulation MTIE at time-aware system (node) 810 Hz, 1 Hz, 100 mHz, 10 mHz, and 1 mHz endpoint filter bandwidths1, 10, 50 ms residence time and Pdelay turnaround time (with clock wander generation)1 ms residence time and Pdelay turnaround time (without clock wander generationSync Interval = 0.125 sPdelay Interval = 1 0 sPdelay Interval = 1.0 s

1e+7

1e+8

1e+9

1e+1010 Hz, 1 ms, no clock wander generation10 Hz, 1 ms, with clock wander generation10 Hz, 10 ms, with clock wander generation10 Hz, 50 ms, with clock wander generation1 Hz, 1 ms, no clock wander generation

MTI

E (n

s)

1 1

1e+2

1e+3

1e+4

1e+5

1e+6g

1 Hz, 1 ms, with clock wander generation1 Hz, 10 ms, with clock wander generation1 Hz, 50 ms, with clock wander generation100 mHz, 1 ms, no clock wander generation100 mHz, 1 ms, with clock wander generation100 mHz, 10 ms, with clock wander generation100 mHz, 50 ms, with clock wander generation10 mHz, 1 ms, no clock wander generation

1e-4

1e-3

1e-2

1e-1

1e+0

1e+1 10 mHz, 1 ms, no clock wander generation10 mHz, 1 ms, with clock wander generation10 mHz, 10 ms, with clock wander generation10 mHz, 50 ms, with clock wander generation1 mHz, 1 ms, no clock wander generation1 mHz, 1 ms, with clock wander generation1 mHz, 10 ms, with clock wander generation1 mHz, 50 ms, with clock wander generation1 mHzUncompressed SDTV (SDI Signal)

Observation Interval (s)

1e-4 1e-3 1e-2 1e-1 1e+0 1e+1 1e+2 1e+3 1e+4 1e+5Uncompressed SDTV (SDI Signal)Uncompressed HDTV (SDI Signal)MPEG-2, after network transportMPEG-2, no network transportDigital Audio, consumer interfacesDigital Audio, professional interfacesFemtocell

SAMSUNG Electronics IEEE 802.1 AVB July 2010 36

Page 37: Simulation Results for 802.1AS Sh iti T

Discussion of Results – 1

Note that case 1 corresponds to previous results given in [1] and [2]Note that case 1 corresponds to previous results, given in [1] and [2]Results indicate that addition of LocalClock wander generation at the level of the 802.1AS Annex B TDEV mask has negligible impact on the resultsthe results

The reason for this is that the noise level represented by the wander generation, over the 0.125 s Sync interval, is small compared to the 40 ns phase measurement granularityphase measurement granularity

Results also indicate that increasing the residence and Pdelay Turnaround times to 10 ms, and even to 50 ms, have negligible impact on the resultsimpact on the results

SAMSUNG Electronics IEEE 802.1 AVB July 2010 37

Page 38: Simulation Results for 802.1AS Sh iti T

Discussion of Results – 2

As in [1] and [2] the results indicate the following:As in [1] and [2], the results indicate the following:MTIE masks for all applications are met with a 1 mHz endpoint filterMTIE masks for all applications except for uncompressed SDTV (SDI ideo) ere met ith a 10 mH filtervideo) were met with a 10 mHz filter

MTIE masks for compressed video (MPEG) and digital audio were met with a 1 Hz filterMTIE k f d id (MPEG) d f i l di it l diMTIE masks for compressed video (MPEG) and professional digital audio were met with a 10 Hz filter (this case must still be run)

•Note that the MTIE mask for professional audio is less stringent than for consumer audio because the professional audio equipment is required to tolerateconsumer audio because the professional audio equipment is required to tolerate more jitter

SAMSUNG Electronics IEEE 802.1 AVB July 2010 38

Page 39: Simulation Results for 802.1AS Sh iti T

Summary and Conclusions - 1

Jitter/Wander accumulation simulation results have been presentedJitter/Wander accumulation simulation results have been presented based on current P802.1AS specifications [3]Results have been presented for

P i ti i i [1] d [2]Previous assumptions, given in [1] and [2]Previous residence and Pdelay turnaround times (1 ms), but with clock wander generationResidence and Pdelay turnaround times of 10 ms, with clock wander generationResidence and Pdelay turnaround times of 50 ms, with clock wander generationgeneration

Simulation cases have consideredEndpoint filter bandwidths of 1 mHz, 10 mHz, 100 mHz, 1 Hz, and 10 Hz

SAMSUNG Electronics IEEE 802.1 AVB July 2010 39

Page 40: Simulation Results for 802.1AS Sh iti T

Summary and Conclusions - 2

Did not considerDid not considerVariability in sync interval, Pdelay interval, Pdelay turnaround time, residence time, and PHY latency

•assumed that constant intervals at respective maximum values would be a•assumed that constant intervals at respective maximum values would be a worse case than intervals whose values vary but do not exceed respective maximum

Multiple replications to obtain statistics on MTIEp p

SAMSUNG Electronics IEEE 802.1 AVB July 2010 40

Page 41: Simulation Results for 802.1AS Sh iti T

Summary and Conclusions – 3The results indicated

No appreciable difference when local clock wander generation, at the level of the TDEV mask of Figure B-1 and Table B-1 of [3], is addedNo appreciable difference when residence and Pdelay turnaround times are increased to 10 ms or 50 ms

Based on these results the following conclusions given in [1] and [2]Based on these results, the following conclusions, given in [1] and [2], hold here as well:

MTIE masks for all applications are met with a 1 mHz endpoint filterMTIE masks for all applications except for uncompressed SDTV (SDI video) were met with a 10 mHz filterMTIE masks for compressed video (MPEG) and digital audio were met with a 1 H filt1 Hz filterMTIE masks for compressed video (MPEG) and professional digital audio were met with a 10 Hz filter (this case must still be run)

N t th t th MTIE k f f i l di i l t i t th f•Note that the MTIE mask for professional audio is less stringent than for consumer audio because the professional audio equipment is required to tolerate more jitter

SAMSUNG Electronics IEEE 802.1 AVB July 2010 41

Page 42: Simulation Results for 802.1AS Sh iti T

Future Work

Future work should consider multiple replications of each simulationFuture work should consider multiple replications of each simulation case, to obtain estimates for a desired quantile of MTIE

For example, if 300 independent replications of a simulation case are run, a 99% confidence interval for the 0 95 quantile is obtained by placing thea 99% confidence interval for the 0.95 quantile is obtained by placing the MTIE samples for each observation interval in ascending order

•The 99% confidence interval extends from the 275th through the 294th sample

Note that computation time and resource constraints may requireNote that computation time and resource constraints may require some or all of the following

Shorter simulation timesF li ti hi h ld lt iFewer replications, which could result in

•Larger confidence intervals•Lower confidence levels•Lower quantile

SAMSUNG Electronics IEEE 802.1 AVB July 2010 42

Page 43: Simulation Results for 802.1AS Sh iti T

References – 1 1. Geoffrey M. Garner, Initial Simulation Results for 802.1AS Synchronization

Transport with Longer Sync and Pdelay Intervals, Samsung presentation to May, 2009 IEEE 802.1 AVB TG Meeting, Pittsburgh, PA, USA, May 18, 2006. Available at http://www.ieee802.org/1/files/public/docs2009/as-garner-simulation-results-longer-intervals pdfresults-longer-intervals.pdf

2. Geoffrey M. Garner, Initial Comparison of 802.1AS Jitter/Wander Performance with and without Propagation Time Averaging, Samsung presentation to May, 2009 IEEE 802.1 AVB TG Meeting, Pittsburgh, PA, USA, May 18, 2006. g, g , , , y ,Available at http://www.ieee802.org/1/files/public/docs2009/as-garner-simulation-results-prop-time-averaging.pdf

3. IEEE P802.1AS/D7.0, Draft Standard for Local and Metropolitan Area Networks – Timing and Synchronization for Time-Sensitive Applications in Bridged Local Area Networks, March 23, 2010.

4. Geoffrey M. Garner and Kees den Hollander, Analysis of Clock Synchronization Approaches for Residential Ethernet Samsung presentation to September 2005Approaches for Residential Ethernet, Samsung presentation to September, 2005 IEEE 802.3 ResE SG Meeting, San Jose, CA, USA, September 29, 2005. Available at http://www.ieee802.org/3/re_study/public/200509/garner_1.pdf.

SAMSUNG Electronics IEEE 802.1 AVB July 2010 43

Page 44: Simulation Results for 802.1AS Sh iti T

References – 2

5 Geoffrey M Garner Additional Simulation Results for ResE5. Geoffrey M. Garner, Additional Simulation Results for ResE Synchronization Using Filtered Phase and Instantaneous Frequency Adjustments, Samsung presentation to November, 2005 IEEE 802.3 ResE SG Meeting, Vancouver, BC, Canada, November 14 2005 A il bl t14, 2005. Available at http://www.ieee802.org/3/re_study/public/200511/20051114-garner-synch-simul.pdf.

6 Geoffrey M Garner Initial Simulation Results for AVB6. Geoffrey M. Garner, Initial Simulation Results for AVB Synchronization Transported using IEEE 1588 Peer-to-Peer Transparent Clocks, Samsung presentation to May, 2006 IEEE 802.1 AVB TG Meeting, Beijing, China, May 16, 2006. Available at g j g yhttp://www.ieee802.org/1/files/public/docs2006/as-gmg-simul-resul-p2p-tc-transport-060516.pdf.

7. Geoffrey M. Garner, Further Simulation Results for AVB Synchronization Transported using IEEE 1588 Peer-to-Peer Transparent Clocks, Samsung presentation to July, 2006 IEEE 802.1 AVB TG Meeting, San Diego, CA, USA, July 12, 2006. Available at http://www ieee802 org/1/files/public/docs2006/as-Available at http://www.ieee802.org/1/files/public/docs2006/asgmg-further-simul-resul-p2p-tc-transport-060712.pdf

SAMSUNG Electronics IEEE 802.1 AVB July 2010 44

Page 45: Simulation Results for 802.1AS Sh iti T

References – 3

8 David W Allan Marc A Weiss and James L Jespersen A8. David W. Allan, Marc A. Weiss, and James L. Jespersen, A Frequency Domain View of Time Domain Characterization of Clocks and Time and Frequency Distribution Systems, Forty-Fifth Annual Symposium on Frequency Control, Los Angeles, CA, May 29 – 31, 1991 667 6781991, pp. 667 – 678.

9. Stefano Bregni, Synchronization of Digital Telecommunications Networks, Wiley, 2002.

10. Phase Noise, Vectron International, Application Note, available at http://www.vectron.com.

11. Jitter and Signal Noise in Frequency Sources, Raltron, Application N t il bl t htt // lt /Note, available at http://www.raltron.com/

12.J.A. Barnes and Stephen Jarvis, Jr., Efficient Numerical and Analog Modeling of Flicker Noise Processes, National Bureau of Standards, NBS Technical Note 604 June 1971NBS Technical Note 604, June, 1971.

13.James A. Barnes and Charles A. Greenhall, Large Sample Simulation of Flicker Noise, 19th Annual Precise Time and Time Interval (PTTI) Applications Planning Meeting December 1987Interval (PTTI) Applications Planning Meeting, December, 1987.

SAMSUNG Electronics IEEE 802.1 AVB July 2010 45

Page 46: Simulation Results for 802.1AS Sh iti T

References – 4

14 Giovanni Corsini and Roberto Saletti A 1/fγ Power Spectrum Noise14. Giovanni Corsini and Roberto Saletti, A 1/fγ Power Spectrum Noise Sequence Generator, IEEE Transactions on Instrumentation and Measurement, Vol. 37, No. 4, December, 1988, pp. 615 – 619.

15. Igor M. Sokolov, Josehp Klafter, and Alexander Blumen, Fractional 5 go So o o , Jose p a te , a d e a de u e , act o aKinetics, Physics Today, Vol. 55, No. 11, November, 2002, pp. 48 –54.

SAMSUNG Electronics IEEE 802.1 AVB July 2010 46