Delete search term

Header

Main navigation

School of Engineering

High-precision Time Synchronization with PTP and gPTP

The Precision Time Protocol (PTP, IEEE 1588) and the Generalized Precision Time Protocol (gPTP, IEEE 802.1AS) are two related protocols for highly accurate time synchronization over different transmission media. The baseis for the accuracy he hardware-based exact determination of the transmit and receive times of messages. InES has been actively involved in the standardization. IEEE published PTP first in 2002 and upgraded it to version 2, and 2.1, respectively, in 2008 and 2019.

Our current focus is on gPTP. gPTP restricts many options of PTP and defines some specialties. It was standardized by the Audio-Video Bridging (now Time Sensitive Networking) Task Group of IEEE 802.1 in an initial version in 2011, and significantly expanded in 2020 (IEEE 802.1AS-2020).

Today, many Ethernet chips and CPUs with hardware timestamping support can be found on the market. Both protocols achieve accuracies well below one microsecond and down to the nanosecond range in special implementations.

The diagram on this page shows the measured PPS (pulse-per-second) of nodes 1, 2, 5 and 7 of a daisy chain, with an 802.1AS Grandmaster clock attached to node 1 via a gPTP-capable Ethernet Switch.

InES has worked with Hirschmann Automation and Control to implement both IEEE 1588v2 and IEEE 802.1AS. While IEEE 1588v2 is an established standard readily available for many operating systems, IEEE 802.1AS is still evolving. For our research activities we use our own, portable, OS-independent implementation of the standard; third parties can also license the source code (details see here). Participation at TSN plug fests of the Industrial IoT Consortium IIC helps to discover interoperability and real-world issues at an early stage.

The major enhancements defined with the 2020 edition of the standard include:

In October 2024 IEEE released the amendment IEEE 802.1ASdm-2024, which defines a hot-standby redundancy solution with gPTP and enhancements to increase the accuracy for networks with up to 100 hops.

Another topic that increasingly gains attention are wireless technologies to support TSN, where time synchronization is a base functionality. Both 5G / 5G Advanced and WiFi 6 / WiFi 7 define beneficial features.

Examples for projects where we use our gPTP implementation include performance and latency evaluation of communication systems, or our investigations of TSN related behavior of single-pair Ethernet (10BASE-T1L and -T1S).