frequency and time synchronization in packet based networks · precise time distribution...

75
1 © 2010 Cisco and/or its affiliates. All rights reserved. Frequency and Time Synchronization In Packet Based Networks Peter Gaspar, Consulting System Engineer

Upload: others

Post on 21-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

1© 2010 Cisco and/or its affiliates. All rights reserved.

Frequency and Time Synchronization In Packet Based NetworksPeter Gaspar, Consulting System Engineer

Page 2: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 2

• Synchronization Problem Statement

• Overview of the Standardization Works

• Frequency Transfer: techniques and deployment

Synchronous Ethernet

Adaptive Clock Recovery

• Time Synchronization

Two-Way Transfer Time Protocols

• Overview of IEEE Std 1588-2008 for Telecom

• Summary

Page 3: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved.Presentation_ID 3

Problem StatementWhat and Why Do We Care About?

Page 4: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 5

• Single domain vs. multiple domains

Internet is a multi-domain network.

Wholesale Ethernet virtual link

• Frequency and time could use different distribution methods.

• Operators may provide synchronization services to their customers.

Aggregation

Subscriber Access

MSE

TDM / ATM

Ethernet

WiMAX

OLT

xPON

xDSL

DSLAM

M-CMTS

DVB-T/H3GPP/2

DOCSIS

Backbone

Hub & Spoke or Ring

P

P

Internet

PEPE

MSA

PE

Peer ISP

MeshP

TDM / ATM

P P

VoD

Content Network

TV SIP

Mobile user

Femto-cell

Mobile TV

Enterprise

ResidentialSoHO

Page 5: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 6

• Frequency

TDM interoperability and Co-existence: Circuit Emulation, TDM, MSAN (MGW)

Access: Wireless Base Stations, PON, DSL

• Time and Phase alignment

Wireless Base Stations

SLA and Performance Measurements

BS : Base Station

PON : Passive Optical Network

DSL : Digital Subscriber Line

SLA : Service Level Agreement

Page 6: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 7

• Inter-CO/LAN (WAN)

• Intra-CO, LAN

• Intra-node, -platform

External Integrated Time and Frequency Server

Page 7: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 8

The Leading Requirements

Application FrequencyPhase Alignment

Time Synchronization

TDM support (e.g. CES, SDH

transformation), Access

PRC-traceability, jitter & wander

limitations

ITU-T G.8261/G.823/G.824/G.825

Mobile

Base

Stations

GSM, WCDMA

and LTE FDD

Frequency assignment (fractional

frequency accuracy) shall be better than

• ± 50ppb (macrocells)

• ± 100ppb (micro- & pico-cells)

• ± 250ppb (femtocells)

N/A (except for MBMS and SFN)

UMTS TDDPhase alignment between base stations

must be < ±2.5µs

TD-SCDMAPhase alignment between base stations

must be < ±3µs

CDMA2KTime alignment error should be less than 3 μs

and shall be less than 10 μs

LTE TDDPhase alignment between base stations

from ±0.5µs to ±50µs (service degradation)

WiMAX Mobile Shall be better than ± 15 ppbPhase alignment between base stations

must be < ±1µs

DVB-S/H/T2 SFN TBDCell synchronization accuracy for SFN support

must be < ± 3µs

MB SFN ServicePhase/time alignment between base stations

requirement can vary but in order of µs

One-way delay and jitter

Performance Measurement

To improve precision << 1 ms

for 10 to 100µs measurement accuracy

need ± 1 µs to ± 10µs ToD accuracy

Page 8: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 9

• Cost

• Limited utilization

Locations

Regulatory & Politics

• Reliability

Geography

Vulnerability

https://www.gsw2008.net/files/Civ%20Vulnerabilities_GSW2008.pdf

746th Test Squadron

Use of GPS (and GNSS alternatives) raises some concerns:

GPS : Global Positioning System

GNSS : Global Navigation Satellite System

Page 9: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 10

• As Replacement or Backup

• Alternative Radio Navigation

LORAN-C ELORAN

• Atomic Clock

Cheap Scale Atomic Clock

Molecular Clock

• Network Clock

Main topic of this session!

LORAN : LOng Range Aid to Navigation

Page 10: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved.Presentation_ID 11

Standardization DevelopmentOrganizationsWho’s doing what?

Page 11: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 12

• Frequency transfer

Parallel (overlay) SDH/SONET network

Radio Navigation (e.g., GPS, LORAN)

PHY-layer mechanisms

Packet-based solutions

• Time transfer (relative and absolute)

Radio Navigation (e.g., GPS, LORAN…)

Packet-based solutions

Page 12: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 13

SDO Techno Status Scope Market

ITU-TSG15 Q13

Synchronous Ethernet

G.8261(2008)

G.8262(2007)+Amend.1

G.8264(2008)

G.781 (2008)

PHY-layer frequency transfer

Service Provider (SP) Metro & Core

Ethernet

Packet-based timing

G.8261 (2006)

Multiple working items: profile, metrics,

modeling…

CES performance

Packet-based frequency, phase and time transfer

Service Provider (SP)

IEEE

1588 PTP

IEEE1588-2002

IEEE1588-2008

No “Telecom” profile

Precise time distribution

Enterprise: Time

SP: Frequency, phase and time ITU-T & IETF

802.1ASBased on PTP

BallotPrecise time distribution

Residential

IETF

NTP NTPNTPv3 Standard

NTPv4 (CY09)Time distribution

Internet

SP domain

TICTOCNTPv5

PTP Profile(s)

New WG

(approved March 08)

Frequency and time transfer

Internet

Specific SP areas

Page 13: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved.Presentation_ID 15

Frequency Transfer

Distribution of Frequency Reference

Page 14: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 16

• Physical layer options

Ex: SONET/SDH, SDSL, GPON, Synchronous Ethernet

Pros: “carrier-class”, well defined, guaranteed results

Cons: node by node link bit timing, requires HW changes

• Packet-based options

Ex: SAToP, CESoPSN, NTP, PTP (protocol of IEEE Std 1588)

Pros: flexible, looks simple, some can do time as well

Cons: the network and the network traffic, not so simple!

Page 15: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 17

• The task of network synchronization is to distribute the reference signal from the PRC to all network elements requiring synchronization.

• The method used for propagating the reference signal in the network is the master-slave method.

• Slave clock must be slaved to clock of higher (or equal) stability. hierarchical model

PRC : Primary Reference Clock

Source: ETSI EG 201 793 “Synchronization network engineering”

Page 16: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 18

• Synchronization equipments

PRC (PRS) and SSU (BITS) do not belong to the Transport network.

• SEC (SDH/SONET Equipment Clock) belong to Transport network.

They are embedded in Network Element : NE.

Page 17: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 19

• Synchronization information is transmitted through the network via synchronization network connections.

• Synchronization network connections are unidirectional and generally point-to-multipoint.

Stratum 1 level

Stratum 2 level

NE(Stratum level 3)

CO

Page 18: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 20

Core Network

Aggregation and

Access Networks

PRC : Primary Reference Clock (≈ PRS)

SSU : Synchronization Supply Unit (≈ BITS)

SEC : SDH Equipment Clock

Source: ETSI EG 201 793 “Synchronization network engineering”

Page 19: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 21

Receiver for

synchronization

reference signal

Source: ETSI EG 201 793 “Synchronization network engineering”

Page 20: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 22

Figure 4-2. Recommended BITS Implementation with SONET Timing Distribution

NE’s External

Timing Output

NE’s External

Timing Input

a.k.a.

BITS IN

Source: Telcordia GR-436-CORE . Digital Network Synchronization Plan

Page 21: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 24

• Some of these synchronized trail contain a communication channel, the Synchronization Status Message (SSM) transporting a quality identifier, the QL (quality level) value.

This is a 4-bit field in SDH/SONET frame overhead.

• Purpose: Traceability (and help in prevention of timing loops)

Stratum 1 level

Stratum 2 level

NE level

What clock quality do I

get? Is that the best

source I can use?

Page 22: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 25

SSM Allows Source Traceability

PRC synchronization network connection

SSU synchronization network connection

SEC synchronization network connection

Representation of the PRC network connection

X

Fault Representation of the synchronization network connection in case of failure

Example of restoration of the synchronization

Page 23: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 26

• PHY-layer frequency transfer solution for IEEE802.3 links

• Well-known design rules and metrics

Best fit for operators running SONET/SDH

• Fully specified at ITU-T Working Group 15 Question 13

For both 2.048 and 1.544 kbps hierarchies

• Expected to be fundamental to high quality time transfer

• Drawback : hardware upgrades

All timing chain shall be SyncE capable.

Page 24: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 27

PLL

Synchronous Ethernet capable

Line Card

IEEE802.3 ± 100ppm

ITU-T G.8261SyncE interface jitter & wander

ITU-T G.8262 (EEC):Synchronous Ethernet

Equipment Clock

ITU-T G.781: Clock Selection Process

Synchronous Ethernet capable

Line Card

Frequency distribution

traces

External timing interface inputs

External Equipment BITS/SSU)

External timing interface inputs

PRC-traceable signal from BITS/SSU

ITU-T G.8264ESMC and SSM-QL

External timing interface outputs

Synchronous Ethernet capable Equipment

Page 25: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 28

• Ethernet Synchronization Messaging Channel

Use OSSP from IEEE802.3ay (a revision to IEEE Std 802.3-2005)

• Key purpose: transmit SSM (QL)

Outcome: Simple and efficient

But designed to support extensions

• Protocol model: Event-driven with TLVs

• Two message types

Event message sent when QL value change

Information message sent every second

• TLVs

QL-TLV is currently the unique defined TLV.

Other functions can be developed.

OSSP : Organization Specific Slow Protocol

Page 26: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 29

0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| Slow Protocols MAC Address |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| Slow Protocol MAC Addr (cont) | Source MAC Addr |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| Source MAC Address (continued) |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

|Slow Protocols Ethertype 0x8809| Subtype (10) | ITU-OUI Oct 1 |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| ITU-OUI Octets 2/3 (0x0019A7) | ITU Subtype (0x0001)* |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| Vers. |C| Reserved |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| Type: 0x01 | Length | Resvd | QL |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| Future TLV #n (extension TLV) |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| |

| Padding or Reserved |

| |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

| FCS |

|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

* Allocated by TSB

IEEE 802.3

OSSP

ITU-T OUI

Header

ESMC Header

QL-TLV

Future TLV

Extension

Payload

OSSP

Page 27: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 30

Assuring The Continuity at PHY Layer

• Extension or replacement of SDH/SONET synchronization chain

• Inherit from previous ITU-T (and Telcordia) recommendations

• Difference: frequency transfer path engineering will define the necessary upgrades.

Only the NE part of the engineered timing chain needs SyncE upgrades.

ITU-T G.8262

(EEC) Node

BITS/SSU

SONET/SDH PHY SyncE

BITS/SSU

PRC/PRS BITS/SSU

PHY SyncE

ITU-T G.8262

(EEC) Node

ITU-T G.8262

(EEC) Node

ITU-T G.8262

(EEC) Node

Page 28: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 31

• Three key steps:

Generation: from signal to packet

Transfer: packet transmission over packet network(s)

Recovery: from packet to signal

Reference Clock

Recovered Clock

PSN

Page 29: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 32

• ITU-T Recommendation G.8261 (2008) Adaptive Clock Recovery Definition

“In this case the timing recovery process is based on the (inter-) arrival time of the packets (e.g., timestamps or CES packets). The information carried by the packets could be used to support this operation. Two-way or one-wayprotocols can be used.”

ACR Protocol / Method One-Way Two-Way Timestamp

CES (SAToP, CESoPSN) X

IETF NTP (X) X X

IEEE Std 1588-2008 PTP X X X

IETF RTP X X X

Page 30: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 33

Independent Timing Stream

TDM TDM

IWF IWF

Recovered TDM timing based on the adaptive clock recovery

ACR Packet StreamReference

Clock

TDM PW bit stream

Clocking method a.k.a. “out-of-band” (here, used for CES clocking)

TDM TDMIWF&

PEC

IWF&

PEC

ACR Packet Stream

TDM PW bit stream

PEC

Reference Clock

Page 31: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 34

Source: Diagram from “Time Domain Representation of Oscillator Performance”,

Marc A. Weiss, Ph.D. NIST

Page 32: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 35

• Frequency Accuracy

≤ ±50ppb at base station radio interface (specified)

Turns into ≤ ± 16ppb at base station traffic interface (not specified*)

• Frequency Stability

For T1, it shall comply to G.824 traffic mask (specification; 3GPP Rel8)

Sometimes* G.824 synchronization mask preferred

* Note: real requirements are variable as they are dependent on base station clock servo.

Page 33: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 36

• Phase measurement

Measure signal under test against a reference signal

• Phase deviation plot

TIE : Time Interval Error

• Analysis

MTIE

TDEV

Page 34: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 37

Step 1 : Phase Measurements

• At a certain signal threshold, time stamp the edges of timing signal.

• Signal edges are the significant instants.

• PHY-layer signals have high frequency (e.g., 1544 kHz)

-0.1 -0.2

+0.1

-0.2

+0.1

Signal

Ref.

Page 35: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 38

Step 2 : Phase Deviation

• Phase deviation or TIE (Time Interval Error)

Page 36: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 39

Step 3: Analysis

• Analysis cover different aspects of the

Clock (oscillator)

e.g. in free-running or holdover mode

Signal

• Primary used measurement analysis are:

Phase (TIE)

Frequency (fractional frequency offset)

Frequency accuracy

MTIE

TDEV

Page 37: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 40

Signal with jitter and wander present

Page 38: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 41

Jitter: Filter out low-frequency components with high-pass filter

FrequencyJitter range10 Hz

Page 39: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 42

Wander: Filter out high-frequency components with low-pass filter

FrequencyWander range 10 Hz

Page 40: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 43

• Both MTIE and TDEV are measures of wander over ranges of values.

From very short-term wander to long-term wander

• MTIE and TDEV analysis shows comparison to standard requirements.

Defined by ATIS/ANSI, Telcordia/Bellcore, ETSI & ITU-T

E.g., ITU-T G.824, ANSI T1.101 or Telcordia GR-253-CORE

• MTIE is a peak detector: simple peak-to-peak analysis.

• TDEV is a highly averaged “rms”-type of calculation.

Page 41: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 44

Frequency Accuracy (Frequency Offset)

ITU-T G.823Traffic Interface (MRTIE mask)

ITU-T G.823Synchronization Interface (MTIE mask)

Page 42: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 45

• Physical layer signals can be characterized.

• Recommendations exist for node clock and interface limits.

• Synchronous Ethernet Equipment Clock (EEC) inherits from SONET NE clock specifications.

• The performance of SyncE-capable NE and SyncE interface are fully specified and metrics exist.

Page 43: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 46

• How to guarantee the packet-based recovered clock quality?

PSN

Reference Clock

Recovered Clock

Slave/ Client

Master/ Server

?

OK

Packet Delay Variation is key impairment factor for timing.

DS1 DS1

Page 44: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 47

• TIE is still a valid measurement for characterizing the packet-based servo (slave).

Oscillators and timing interfaces

• How can the PSN behavior be characterized?

Algorithms use minTDEV value

Need sufficient numbers of minimal latency packets

Packet Delay Variation (PDV) as metric?

• First approach is to reuse known tools to PDV analysis/measurement.

Some can be applied to PDV as to TIE.

Page 45: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 48

10 Switches, 40% Load

10 Switches, 80% Load

minTDEV

Page 46: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 50

• Protocol parameters

• Influenced by : the PSN design, the HW & SW NE configuration, the traffic.

• Master implementation

PSN

Reference Clock

Recovered Clock

Slave/ Client

Master/ Server

PSN Metrics

? ?

Slave implementation

minTDEV used in algorithms, but still not adopted as metric

Even with (still to be agreed) metrics, other parameters will remain critical.

?

Page 47: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 51

1. PHY-layer Synchronization Distribution guarantees the quality.

2. Packet-based Synchronization Distribution provides the flexibility.

3. Mixing the option for getting best of both solutions.

BITS/SSU

PRC/PRS

Thru BITS/SSU

EEC

EEC

EEC

EEC

Consumer

Non-capable PHY Layer Synchronization Network

SEC

PHY-layer methode.g., SDH/SONET, SyncE

Packet-based method (ACR)

PHY-layer Freq Transfer

PHY-layer Freq Transfer

PHY-layer Freq Transfer

e.g. SyncE

PHY-layer Freq Transfer

e.g. SyncE

SyncE consumer

Packet-based

consumer

Page 48: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved.Presentation_ID 52

Time Synchronization

What Specific Challenges Does the Time Distribution Introduce?

Page 49: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 53

• Transmitting time reference can be absolute (from national standards) or relative (bounded timekeeping system).

• Time synchronization is one way achieving phase synchronization.

Phase alignment does not mandate giving a time value.

Page 50: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 54

• This is not phase locking which is often a result of a PLL in a physical timing transfer.

Phase locking implies frequency synchronization and allows phase offset.

• The term phase synchronization (or phase alignment) implies that all associated nodes have access to a reference timing signal whose significant events occur at the same instant (within the relevant phase accuracy requirement).

t

t

timing signal recovered by system A

timing signal recovered by system B

System A

System B

B

Reference timing signal

to system A

Reference timing signal

to system B

t

t

timing signal recovered by system A

timing signal recovered by system B

System A

System B

B

Reference timing signal

to system A

Reference timing signal

to system B

Figure xxx/G.8266 – Phase Synchronization

Page 51: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 55

Target from ±1µs to tens of µs (alignment between BS)

Target from ≤ ±0.5µs to tens of µs (from common reference)

Time Source

Page 52: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 56

Page 53: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 57

• Strictly speaking, the term synchronization applies to alignment of timeand the term syntonization applies to alignment of frequency.

• The master/server and slave/client clocks each have their own time-base and own wall-clock and the intent is to make the slave/client“equal” to the master/server.

• The notion of frequency synchronization (or syntonization) is making thetime-bases “equal”, allowing a fixed (probably unknown) offset in the wall-clocks. The notion of time synchronization is making the wall-clocks“equal”.

Page 54: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 58

NTP vs. PTP Message Exchange

Master

time

Slave

time

t1

t4

t3

t2

Timestamps

known by slave

t2

t1, t

2

t1, t

2, t

3

t1, t

2, t

3, t

4

t-ms

t-sm

Sync

Follow_Up

Delay_Req

Delay_Resp

NTP

PTP

Usual unidirectional ACR protocol

As part of time recovery, there’s always a frequency recovery process.

Page 55: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 59

• Forward and backward delays and delay variations are not identical.

Page 56: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 60

• Each Node and Link can introduce asymmetry.

• There are various sources of asymmetry.

Page 57: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 61

• Link

Link delays and asymmetry

Asymmetric (upstream/downstream) link techniques

Physical layer clock

• Node

Different link speed (forward / reverse)

Node design

LC design

Enabled features

• Network

Traffic path inconsistency

Interface speed change

Page 58: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 62

Summary and Introduction to IEEE Std 1588

• Basis of all packet time transfer protocols (NTP, IEEE1588) is the two way time transfer mechanism.

• TWTT consists of a time transfer mechanism and a time delay “radar”.

• Assumes path symmetry and path consistency.

• IEEE1588 incorporates some in-network correction mechanisms to improve the quality of the transfer.

• IEEE1588 has the concept of asymmetry correction.

But the correction values are not dynamically measured - they need to be statically configured.

Page 59: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved.Presentation_ID 63

IEEE Std 1588-2008 for Telecom

Challenges of IEEE 1588-2008 applied in Service Provider networks

Page 60: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 64

• A set of event messages consisting of:

- Sync

- Delay_Req

- Pdelay_Req

- Pdelay_Resp

• A set of general messages consisting of:

- Follow_Up

- Delay_Resp

- Pdelay_Resp_Follow_Up

- Announce

- Management

- Signaling

Transmission modes: either unicast or multicast (can be mixed)

Encapsulations: L2 Ethernet, IPv4, IPv6 (others possible)

Multiple possible values or range of values, TLVs (possible extensions), …

Page 61: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 65

MASTER SLAVE

Delay_Resp

t1

t3

t4

Timestamps known by slave

t1, t2, t3, t4

SM_Delay

Master time = TM Slave time = TS

t2

t1, t2, t3

t1, t2

SYNC

Delay_Req

MS_Delay

Page 62: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 66

SYNC

MASTER SLAVE

Delay_REQ

Delay_RESP

MAC/PHY MAC/PHYµP µP

Hardware assistance necessary to prevent insertion of errors or inaccuracies.

t1

t2

t3

t4

t4

t1

t2

t3

Need to inject the timestamp into the payload at the time the packet gets out.

Timestamps known by slave

t1, t2, t3, t4

t1, t2, t3

t1, t2

Page 63: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 67

SYNC()

MASTER SLAVE

Delay_REQ()

Delay_RESP(t4)

MAC/PHY MAC/PHYµP µP

Timestamps known by slave

Follow_Up(t1)

t1

t2

t4

t3

Two-step clock modeVs.One-step (a.k.a. “on-the-fly”) clock mode

t1, t2, t3, t4

t1, t2, t3

t1, t2

t2

Page 64: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 68

• Five basic types of PTP devices (“clocks”)

Ordinary clock (master or slave)

Boundary clock (“master and slave”)

End-to-end Transparent clock

Peer-to-peer Transparent clock

Management node

• All five types implement one or more aspects of the PTP protocol

Page 65: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 69

• BC and TC aims correcting delay variation into intermediate nodes between OCs.

• Can correct link asymmetry if known.

Ref. Clock

Recovered Clock

Ordinary Slave

Ordinary Master

TC BC

Transparent Clock

Boundary Clock

Page 66: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 70

• Can help on scalability when using unicast.

• Equivalent to NTP Stratum (>1) Server UTC

• Node by node: BC slave function is critical

Ref. Clock

Recovered Clock

Ordinary Slave

Ordinary Master

BC

Boundary Clock

BC

Boundary Clock

Page 67: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 71

• TC calculates Residence Time (forward / reverse intra node delays).

• TC are supposed to be transparent but:

One-step clock issue

Ref. Clock

Recovered Clock

Ordinary Slave

Ordinary Master

Transparent Clock

Transparent Clock

TC TC

Page 68: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 72

• If IEEE 1588-2008 is not planned node to node, with every node IEEE 1588 aware and in unique domain…

• Multiple interface types

IEEE 802.3, ITU-T G.709, …

• Multiple interface frequencies

10GE, 100GE, STM64, STM192…

• Multiple encapsulations

Ethernet, IP

MPLS, MPLS-TP, PBB-TE…

Page 69: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 73

Ref.

ClockRecovered

Clock

Ordinary

SlaveOrdinary

Master

TC BC

WholesaleBoundary

Clock

TC BC

• Who owns the master?

• Who owns the slaves?

• Who owns the intermediate nodes?

Page 70: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 74

• How to guarantee the recovered clock quality?

PSN

Ref. Clock

Recovered Clock

Slave/ Client

Master/ Server

?

?

?

TC

? ?

BC

Objective: accuracy and stability from reference

Page 71: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 75

• IEEE Std 1588-2008 is actually a “toolbox” !

What does “support of IEEE 1588” really mean ?

• IEEE Std 1588 itself is not sufficient for telecom operator operations.

Node characterization, modeling, performance, metrics…

• For phase & time support, it is expected any telecom standardization would take time.

Page 72: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved.Presentation_ID 76

Summary

Page 73: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved. 77

• Timing is a new service many networks shall have to support.

• Different solutions are necessary to cover disparate requirements, network designs and conditions.

Physical layer solutions required to upgrade routers and switches.

Packet-based solutions are more flexible but less deterministic.

• Whatever the timing protocol, it must deal with the same network constraints.

• Each network is different

• Synchronization Experts are welcome to enter the packet based networks and assist with the designs

Page 74: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

Thank you.

Page 75: Frequency and Time Synchronization In Packet Based Networks · Precise time distribution Enterprise: Time SP: Frequency, phase and time ITU-T & IETF 802.1AS Based on PTP Ballot Precise

© 2010 Cisco and/or its affiliates. All rights reserved.Presentation_ID 79

Registrirajte se za Cisco Live Networkers u Londonu ili Bahreinu!

Više informacija na:

http://www.ciscolive.com/