Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Tim Frost
Symmetricom, Inc., February 2012
Agenda
PTP (Precision Time Protocol) Defined The Nature of Packet Timing Frequency Synchronization Architecture
G.803 reference chain Packet Timing Architecture
Time is carried in event messages transmitted from a Grandmaster Clock to a Slave Clock Runs over Ethernet and/or IP networks Commonly referred to as:
PTP (Precision Time Protocol) or PTP v.2 IEEE1588-2008 or IEEE1588 v.2
Confidential Copyright 2012 4
The G.8265.1 PTP Telecom Profile enables the deployment of PTP-based synchronization by telecoms operators
Confidential Copyright 2012 5
Packets
Use of Timestamps
Packet timing signal:
A sequence of timed events, generated by a packet master clock:
Significant instants
TS = 8
TS = 4
TS = 1
Each event message flow (sync, delay_req) is a packet timing signal Master frequency determined by comparison of timestamps in the event message flows
e.g. comparison of t1 to t2 over multiple sync messages, or t3 to t4 in delay_req messages
assumes symmetrical delays (i.e. the forward path delay is equal to the reverse path delay)
t1, t2, t3, t4
time
Confidential Copyright 2012
10
PRC
SSU 1
Chain of up to 20 SECs*
SSU k-1
Chain of up to 20 SECs*
SSU k
Chain of up to 20 SECs*
NE
PRC
SSU 1
Chain of up to 20 EECs*
SSU k-1
SSU k
NE
Packet Network
PRC
SSU 1
Chain of up to 20 EECs*
SSU k-1
SSU k
NE
PRC
SSU 1
Chain of up to 20 EECs*
SSU k-1
SSU k
*
NE
11
Maximum
Maximum number of SECs or EECs in total chain = 60 number of SSUs (k) in total chain = 10
PTP Slave
PTP Slave
PTP Slave
Packet Network
PTP Slave
PTP Slave
Packet Network
PTP Slave
12
13
Prime Objectives
To permit the distribution of frequency using PTP over existing managed, wide-area, packet-based telecoms networks To allow interoperability with existing synchronization networks (such as SyncE and SDH) To define message rates and parameter values consistent with frequency distribution to the required performance for telecom applications To allow the synchronization network to be designed and configured in a fixed arrangement To enable protection schemes to be constructed in accordance with standard telecom network practices
14
Source Traceability
Encodes QL values in the clockClass field of the Announce message
Provides end-to-end traceability of the reference source along the synchronization chain Informs the slave clock (and subsequent devices) of the quality of the timing source Allows the timing chain to be managed in a similar way to existing synchronization networks
End-to-End Source Traceability SSM: QL-PRC [0010] clockClass: QL-PRC [84] SSM: QL-PRC
PTP GM PRC Physical Layer Synchronization Network PTP Grandmaster Packet Network
(2M hierarchy)
Option I
Option II
Option III
QL-SSU-B QL-ST3E QL-ST3 / QL-EEC2 QL-SEC / QL-EEC1 QL-SMC QL-PROV QL-DNU QL-DUS QL-SEC
17
18
Unicast Registration
Master only provides Unicast service
No multicast announce messages sent
Master Slave
Slave is manually configured with the IP address of one or more masters Slave requests Master to provide unicast service at a specified rate
Requests Announce service first, to verify quality of the master If within capacity limits, Master responds with service grant acknowledgements Slave requests Sync and Delay_Request service only if master quality is sufficient
The Telecom Profile defines the range of message rates Masters and Slaves should support
Message rates Announce Sync Delay_Request Minimum 1 msg. every 16s 1 msg. every 16s 1 msg. every 16s Maximum 8 messages/s 128 messages/s 128 messages/s Default 1 msg. every 2s Not defined Not defined
It is not expected that a slave will achieve the required performance at all message rates
Slave must request the message rates needed to maintain performance
Confidential Copyright 2012 20
PTSF-lossSync, where the PTP Slave is no longer receiving timing messages from the GM (i.e. Sync or Delay_Response messages)
This means there is no timing information for that master Slave should switch to an alternative GM after a suitable timeout period
PTSF-unusable, where the PTP Slave is receiving timing messages from the GM, but is unable to recover the clock frequency
This means there is no recoverable timing information for that master Action is undefined
Confidential Copyright 2012 21
PTP GM 2
Packet Network
PTP GM N
Confidential Copyright 2012
List of N Grandmasters
22
Wait-to-Restore Time
Follows an initial protection switch, e.g. due to loss of traceability or signal failure Time waited before switching back to the original highest priority master, once the failure condition has been rectified Implies slaves must continually monitor the original master following a protection switch
23
Output QL Hold-Off
Applies to slave output timing signals that carry an SSM QL value (e.g. SyncE) Change of QL in the incoming PTP clockClass input should be delayed before being applied to the output Allows time for synchronization to a new reference Avoids any unecessary switching in downstream equipment
Output Squelch
Output clock signal of a PTP slave should be squelched in case of holdover Prevents end equipment attempting to synchronize to a clock in holdover Only applies to signals that do not carry a QL value (e.g. a 2.048MHz unframed timing signal)
Confidential Copyright 2012 24
Primary References:
IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems, IEEE Std. 1588TM-2008, 24 July 2008 Precision Time Protocol Telecom Profile for Frequency Synchronization, ITU-T Recommendation G.8265.1, October 2010
Background Reading:
Synchronization Layer Functions, ITU-T Recommendation G.781, August 2008 Architecture of Transport Networks based on the Synchronous Digital Hierarchy (SDH), ITU-T Recommendation G.803, March 2000 Definitions and terminology for synchronization in packet networks, ITU-T Recommendation G.8260, August 2010 Timing and synchronization Aspects in Packet Networks, ITU-T Recommendation G.8261, April 2008 Architecture and Requirements for Packet-Based Frequency Delivery, ITU-T Recommendation G.8265, October 2010
Confidential Copyright 2012 25
Thank You
Tim Frost Principal Technologist, Symmetricom, Inc. Email: tfrost@symmetricom.com
Symmetricom, Inc. 2300 Orchard Parkway San Jose, CA 95131-1017 Tel: +1 408-428-7907 Fax: +1 408-428-6960
www.symmetricom.com
26