NET-2021-05-1_04
NET-2021-05-1_04
Abstract—Precise synchronization of clocks is essential for An Ordinary Clock (OC) is a terminal device which
multiple scientific and industrial applications. Synchroniza- has only one PTP port and maintains the timescale with
tion in networks can be achieved with the IEEE 1588 its local clock. It can either be the Grandmaster Clock,
Precision Time Protocol. This paper gives an overview of such that it acts as the source of time or a slave receiving
this protocol and explores recent developments of this stan- time. When it is in the master state, it often uses global
dard. It examines new features for accuracy and security navigation satellite systems (GNSS) or terrestrial radio
introduced by the 2020 released IEEE 1588-2019 (PTPv2.1) links as time reference.
edition of this protocol. Sub-nanosecond accuracy gets sup- Boundary Clocks (BC) are network devices with mul-
ported by the High Accuracy Profile based on the White tiple PTP ports. One of them is in the SLAVE state, so
Rabbit Extension, utilizing Layer 1 signals and a system they can synchronize their own local clock to the time
wide calibration procedure. Several approaches to make source. The ports in the MASTER state provide time to
the synchronization mechanism more secure are presented. other PTP Instances.
Finally the paper outlines the expected impact of PTPv2.1 End-to-end (E2E) and peer-to-peer (P2P) Transparent
functionality on industrial use cases.
Clocks (TC) are network devices as well, but do not
synchronize their own internal clock. Instead they measure
Index Terms—IEEE 1588, precision time protocol, high ac- the residence time of PTP messages and propagate them
curacy after adjusting a correction field.
Management Nodes are devices used for configuring
1. Introduction and monitoring clocks in a PTP network.
Non-PTP devices such as switches and routers, can
Precise synchronization of clocks in distributed sys- cause inaccuracies because they introduce asymmetry in
tems is a major requirement in several areas such as the network through queueing effects. For achieving high
telecommunication, finance and power grid. However, accuracy it is therefore essential to only use BCs and/or
many solutions lack in synchronization accuracy, robust- TCs as network devices.
ness and security to be properly deployed in real industrial The logical unit in which the PTP devices synchronize
scenarios [1]. to one timescale is called a domain. Originally multiple
On 16 June 2020 the IEEE 1588-2019 [2] version domains could exist in the same network, but were strictly
of the Precision Time Protocol (PTP) superseded the separated. The new edition introduces the possibility of
previous IEEE 1588-2008 (PTPv2) [3] version. This new inter-domain interactions between PTP devices. This fea-
revision includes the High Accuracy Profile (HA), which ture can get used to enhance security, presented in Sec-
allows to achieve sub-nanosecond accuracy as well as tion 4.
several mechanisms to make PTP systems more secure
and robust. 2.1. Master-Slave Hierarchy
This paper gives an overview over the PTP protocol in
Section 2. The different PTP devices with their topology The PTP domain has to be organized in a treelike
and the synchronization mechanism will be discussed. master-slave hierarchy, with the best suited clock as grand-
The new High Accuracy Profile allows to achieve sub- master at the root. To select the grandmaster and to
nanosecond accuracy. It relies on two key mechanisms: negotiate this topology the Best Master Clock Algorithm
Firstly, calibration and measurement of asymmetries and (BMCA) may be used. First OCs and BCs exchange the
secondly achieving higher precision in timestamping, following performance properties via Announce messages:
presented in Section 3. Furthermore, new features and 1) priority1: Can be set by administrators to apprise
guidelines for security are presented in Section 4. This their preferred master clock.
paper finally discusses new possibilities and challenges 2) clockClass: Describes the traceability, synchro-
of PTPv2.1 in PTP implementations based on different nization state and expected performance.
industries in Section 5. 3) clockAccuracy: Describes the accuracy of the
Local PTP Clock.
2. Background 4) offsetScaledLogVariance: Describes the stability
of the Local PTP Clock.
A PTP network consists of multiple PTP devices and 5) priority2: Can be set by administrators to arrange
non-PTP devices, such as switches and routers. equivalent PTP Instances.