Industrial automation systems consisting of several distributed controllers need a precise synchronization for commands, events and process data. For instance, motors for newspaper printing are synchronized within some 5 microseconds to ensure that the color pixels in the different cylinders come within 0.1 mm at a paper speed of some 20 m/s. Similar requirements exist in high-power semiconductors (e.g. for converting between AC and DC grids) and in drive-by-wire vehicles (e.g. cars with no mechanical steering wheel). This synchronisation is provided by the communication network, in most cases Industrial Ethernet. Many ad-hoc synchronization schemes exist, so IEEE published a standard Precision Time Protocol IEEE 1588 or "PTP", which allows sub-microsecond synchronization of clocks. PTP is formulated generally, so concrete applications need a stricter profile. In particular, PTP does not specify how the clocks should operate when the network is duplicated for better resilience to failures.
The PTP Industrial Profile (PIP) is a standard of the IEC 62439-3 that specifies in its Annex C two Precision Time Protocol IEEE 1588 / IEC 61588 profiles, L3E2E and L2P2P, to synchronize network clocks with an accuracy of 1 μs and provide fault-tolerance against clock failures.
The IEC 62439-3 PTP profiles are applicable to most Industrial Ethernet networks, for synchronized drives, robotics, vehicular technology and other applications that require precise time distribution, not necessarily using redundant networks.
The IEC 62439-3 profile L2P2P has been adopted as IEC/IEEE 61850-9-3 by the power utility industry to support precise time stamping of voltage and current measurement for differential protection, wide area monitoring and protection, busbar protection and event recording.
The IEC 62439-3 PTP profiles can be used to ensure deterministic operation of critical functions in the automation system itself, for instance precise starting of tasks, resource reservation and deadline supervision.
The IEC 62439-3 Annexes belongs to the Parallel Redundancy Protocol and High-availability Seamless Redundancy standard suite for high availability automation networks. However, this specification also applies to networks that have no redundancy and do not use PRP or HSR.
Topology
The PIP relies on the IEEE 1588 topology, consisting of grandmaster clocks (GC), ordinary clocks (OC), boundary clocks (BC), transparent clocks (TC) and hybrid clocks (HC = TC&OC).
For redundancy, a PIP network contains several clocks that are master-capable. Normally, the best master clock ensures that only one grandmaster broadcasts the time.
In redundant networks, and especially in PRP, several masters can be active at the same time, the slave then chooses its master.
PIP Profiles and Annexes
IEC 62439-3 Annex A specifies how to attach clocks to duplicated networks paths and how to support simultaneously active redundant master clocks for all profiles. IEC 62439-3 Annex B specifies the L2PTP profile for substation automation IEC/IEEE 61850-9-3. In contrast to IEC/IEEE 61850, double attachment by PRP or HSR is mandatory. IEC 62439-3 Annex C specifies two profiles, L3E2E and L2P2P, that are subsets of IEEE Std 1588 Precision Time Protocol (PTP) when clocks are singly attached. IEC 62439-3 Annex D is a tutorial for IEEE 1588 that concentrates only on PIP. IEC 62439-3 Annex E contains the SNMP objects for managing the doubly-attached clocks.
Main features
IEC 62439-3 Annex C uses the following IEEE Std 1588 options: uses the PTP timescale based on TAI International Atomic Time, also delivers UTC Coordinated Universal Time transmits the clock correction indifferently with 1-step (preferred) or 2-step (can be mixed) operates with the default best master clock algorithm, performed by master and by slave clocks supports both options to measure the link delay: L3E2E: End-to-end measurement (Delay_Req/Delay_Resp) over Layer 3 (Internet Protocol) to fulfill the requirements of ODVA; L2P2P: Peer-to-peer measurement (Pdelay_Req/Pdelay_Resp) over Layer 2 Ethernet (IEEE 802.3) links.