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
Industrial Ethernet (IE) is the use of Ethernet in an industrial environment with protocols that provide determinism and real-time control. Protocols for industrial Ethernet include EtherCAT, EtherNet/IP, PROFINET, POWERLINK, SERCOS III, C ...
.
Many ad-hoc synchronization schemes exist, so IEEE published a standard
Precision Time Protocol
The Precision Time Protocol (PTP) is a protocol used to synchronize clocks throughout a computer network. On a local area network, it achieves clock accuracy in the sub-microsecond range, making it suitable for measurement and control systems. ...
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
The International Electrotechnical Commission (IEC; in French: ''Commission électrotechnique internationale'') is an international standards organization that prepares and publishes international standards for all electrical, electronic and ...
62439-3 that specifies in its Annex C two
Precision Time Protocol
The Precision Time Protocol (PTP) is a protocol used to synchronize clocks throughout a computer network. On a local area network, it achieves clock accuracy in the sub-microsecond range, making it suitable for measurement and control systems. ...
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
Industrial Ethernet (IE) is the use of Ethernet in an industrial environment with protocols that provide determinism and real-time control. Protocols for industrial Ethernet include EtherCAT, EtherNet/IP, PROFINET, POWERLINK, SERCOS III, C ...
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.
[Kirrmann, Hubert; Dickerson William ]
IEC IEEE Precision Time Protocol
', Pacworld, September 2016
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
Parallel Redundancy Protocol (PRP) is a network protocol standard for Ethernet that provides seamless failover against failure of any network component. This redundancy is invisible to the application.
PRP nodes have two ports and are attached to ...
and
High-availability Seamless Redundancy
High-availability Seamless Redundancy (HSR) is a network protocol for Ethernet that provides seamless failover against failure of any single network component. PRP and HSR are independent of the application-protocol and can be used by most Indust ...
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
IEEE_1588_Network_Elements_170208_HK.jpg, Elements in a 1588 network
IEC_62439-3_Clocks_in_Industrial_Automation_170208_HK.jpg, Industrial Network with precision clocks
IEC_62439-3_Clocks_in_PRP_170208_HK.jpg, Doubly attached clocks in PRP
PTP Clocks In Substation 170203 HK.jpg, Hierarchy of PTP clocks in a substation
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
The Precision Time Protocol (PTP) is a protocol used to synchronize clocks throughout a computer network. On a local area network, it achieves clock accuracy in the sub-microsecond range, making it suitable for measurement and control systems. ...
(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
International Atomic Time (abbreviated TAI, from its French name ) is a high-precision atomic coordinate time standard based on the notional passage of proper time on Earth's geoid. TAI is a weighted average of the time kept by over 450 ato ...
, also delivers UTC
Coordinated Universal Time
Coordinated Universal Time or UTC is the primary time standard by which the world regulates clocks and time. It is within about one second of mean solar time (such as UT1) at 0° longitude (at the IERS Reference Meridian as the currently ...
* 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
The Internet Protocol (IP) is the network layer communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, and essentially establishes the Internet.
...
) to fulfill the requirements of
ODVA;
**L2P2P: Peer-to-peer measurement (Pdelay_Req/Pdelay_Resp) over Layer 2
Ethernet
Ethernet () is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in ...
(IEEE 802.3) links.
Performance
IEC 62439-3 Annex C aims at an accuracy of better than 1 μs after crossing 15 bridges with transparent clocks.
It assumes that all network elements (bridges, routers, media converters, links) support PTP with a given performance:
* Grandmaster (GC): 250 ns maximum inaccuracy
* Transparent Clocks (TC): 50 ns maximum inaccuracy
* Boundary Clocks (BC): 200 ns maximum inaccuracy
* Media Converters: 50 ns maximum jitter and 25 ns maximum asymmetry
* Link asymmetry: 25 ns maximum asymmetry
By relying on these guaranteed values, the network engineer can calculate the time inaccuracy at different nodes of the network and place the clocks, especially the grandmaster clocks suitably.
IEC TR 61850-90-4 (Network engineering guidelines) gives advice on the use of
IEC/IEEE 61850-9-3 in substation automation networks.
IEEE 1588 settings
IEC 62439-3 Annex C restricts the parameters of IEEE Std 1588 to the following values:
* domainNumber: 0 (default range)
* Announce interval: (default range) 1 s (L2P2P) or 2 s (L3E2E)
* Sync interval: 1 s (fixed)
* Pdelay interval: 1 s (fixed)
* Announce receipt time-out (number of Announce interval that has to pass without receipt of an Announce message before Announce timeout is issued): 3 (fixed)
* priority1: 255 for slave-only
* priority2: 255 for slave-only
* transparent clock primary syntonization domain: 0 (default)
Additions to IEEE Std 1588
IEC 62439-3 Annex C specifies requirements in addition to IEEE 1588:
* A clock shall accept both 1-step and 2-step corrections (improves plug-and-play)
* All clocks can be doubly attached using the IEC 62439-3 protocol (PRP "
Parallel Redundancy Protocol
Parallel Redundancy Protocol (PRP) is a network protocol standard for Ethernet that provides seamless failover against failure of any network component. This redundancy is invisible to the application.
PRP nodes have two ports and are attached to ...
" or HSR "
High-availability Seamless Redundancy
High-availability Seamless Redundancy (HSR) is a network protocol for Ethernet that provides seamless failover against failure of any single network component. PRP and HSR are independent of the application-protocol and can be used by most Indust ...
")
* Several master clocks can be active at the same time; the slave selects the best master.
* Time-outs ensure that the clocks can detect the loss of PTP messages also on the unused path.
* Identification of the peer node to check the topology of the network and ensure that all elements support the protocol.
* In network using store-and-forward media converters and for L2P2P only, the master appends a padding to Sync messages to ensure that Sync and Pdelay_Req/Pdelay_Resp messages have the same size (this will specified in IEEE 1588:2017)
* Network management by SNMP according to IEC 62439-3 Annex E
Standard owners
This protocol has been developed by the IEC SC65C WG15 in the framework of IEC 62439, which applies to all IEC industrial networks.
To avoid parallel standards in IEC and IEEE in the field of grid automation, the L2PTP profile specific to grid automation previous IEC 62439-3 Annex B has been placed under the umbrella of the IEC&IEEE Joint Development 61850-9-3.
Technical responsibility rests with IEC SC65C WG15, which is committed to keep the IEC 62439-3 profile L2P2P and IEC/IEEE 61850-9-3 aligned.
References
{{Reflist
External links
IEC 61588:2009 Precision clock synchronization protocol for networked measurement and control systemsIEC/IEEE 61850-9-3, Communication networks and systems for power utility automation – Part 9-3: Precision time protocol profile for power utility automationIEC TR 61850-90-4:2013 Communication networks and systems for power utility automation - Part 90-4: Network engineering guidelinesTutorial on HSRTutorial on Parallel Redundancy Protocol (PRP)Tutorial on the precision time protocol industrial profiles in IEC 62439-3IEC 62439-3 Tissues (Technical issues) database for IEC 62439-3 / IEC/IEEE 61850-9-3
Networking standards
Network protocols