kSIST FprEN IEC 62439-3:2021
(Main)Industrial communication networks - High availability automation networks - Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR)
Industrial communication networks - High availability automation networks - Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR)
1.1 General The IEC 62439 series is applicable to high-availability automation networks based on the Ethernet technology. This document: - specifies PRP and HSR as two related redundancy protocols designed to provide seamless recovery in case of single failure of an inter-bridge link or bridge in the network, which are based on the same scheme: parallel transmission of duplicated information; - specifies the operation of the precision time protocol (PTP) in networks that implement the two redundancy protocols (Annex A); - specifies PTP profiles with performance suitable for power utilty automation (Annex B) and industrial automation (Annex C); - includes for better understanding a tutorial (Annex D) on the PTP features effectively used in high-availability automation networks; - includes a management information base for PTP (Annex E); - defines a conformance test suite for the above protocols (Annex F). 1.2 Code component distribution This document is associated with Code components. Each Code Component is a ZIP package containing at least the electronic representation of the Code Component itself and a file describing the content of the package (IECManifest.xml). The IECManifest contains different sections giving information on: - the copyright notice; - the identification of the code component; - the publication related to the code component; - the list of the electronic files which compose the code component; - an optional list of history files to track changes during the evolution process of the code component. The Code Components associated with this IEC standard are a set of SNMP MIBs. The Code Component IEC-62439-3-MIB.mib is a file containing the MIBs for PRP/HSR and PTP_SNMP. It is available in a full version, which contains the MIBs defined in this document with the documentation associated and access is restricted to purchaser of this document. The Code Components are freely accessible on the IEC website for download at: https://www.iec.ch/sc65c/supportingdocuments/IEC_62439-3.MIB.{VersionStateInfo}.full.zip but the usage remains under the licensing conditions.
Industrielle Kommunikationsnetze - Hochverfügbare Automatisierungsnetze - Teil 3: Parallelredundanz-Protokoll (PRP) und nahtloser Hochverfügbarkeits-Ring (HSR)
Réseaux de communication industriels Réseaux d'automatisme à haute disponibilité Partie 3: Protocole de redondance en parallèle (PRP) et redondance transparente de haute disponibilité (HSR)
IEC 62469-3:2021 spécifie deux protocoles de redondance associés qui assurent une commutation transparente avec un temps de reprise nul en cas de défaillance d'un élément de réseau: • le protocole de redondance en parallèle PRP (Parallel Redundancy Protocol) qui permet d'associer des nœuds à deux réseaux tout en permettant d'associer des nœuds à un seul réseau; et • la redondance transparente de haute disponibilité HSR (High-availability Seamless Redundancy) qui permet de lier des nœuds à deux ports dans un anneau ou des nœuds à plusieurs ports dans un réseau maillé.
Industrijska komunikacijska omrežja - Omrežja za avtomatizacijo z visoko razpoložljivostjo - 3. del: Protokol vzporedne redundance (PRP) in brezprehodna zanka z visoko razpoložljivostjo (HSR)
General Information
RELATIONS
Standards Content (sample)
SLOVENSKI STANDARD
oSIST prEN IEC 62439-3:2020
01-maj-2020
Industrijska komunikacijska omrežja - Avtomatizacija omrežja z visoko
razpoložljivostjo - 3. del: Protokol vzporedne redundance (PRP) in brezprehodna
zanka z visoko razpoložljivostjo (HSR)
Industrial communication networks - High availability automation networks - Part 3:
Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR)
Industrielle Kommunikationsnetze - Hochverfügbare Automatisierungsnetze - Teil 3:
Parallelredundanz-Protokoll (PRP) und nahtloser Hochverfügbarkeits-Ring (HSR)Réseaux de communication industriels Réseaux d'automatisme à haute disponibilité
Partie 3: Protocole de redondance en parallèle (PRP) et redondance transparente de
haute disponibilité (HSR)Ta slovenski standard je istoveten z: prEN IEC 62439-3:2020
ICS:
25.040.01 Sistemi za avtomatizacijo v Industrial automation
industriji na splošno systems in general
35.110 Omreževanje Networking
oSIST prEN IEC 62439-3:2020 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------oSIST prEN IEC 62439-3:2020
---------------------- Page: 2 ----------------------
oSIST prEN IEC 62439-3:2020
65C/998/CDV
COMMITTEE DRAFT FOR VOTE (CDV)
PROJECT NUMBER:
IEC 62439-3 ED4
DATE OF CIRCULATION: CLOSING DATE FOR VOTING:
2020-03-06 2020-05-29
SUPERSEDES DOCUMENTS:
65C/958/CD,65C/972/CC
IEC SC 65C : INDUSTRIAL NETWORKS
SECRETARIAT: SECRETARY:
France Ms Valérie DEMASSIEUX
OF INTEREST TO THE FOLLOWING COMMITTEES: PROPOSED HORIZONTAL STANDARD:
SC 22G,TC 57
Other TC/SCs are requested to indicate their interest, if
any, in this CDV to the secretary.
FUNCTIONS CONCERNED:
EMC ENVIRONMENT QUALITY ASSURANCE SAFETY
SUBMITTED FOR CENELEC PARALLEL VOTING NOT SUBMITTED FOR CENELEC PARALLEL VOTING
Attention IEC-CENELEC parallel votingThe attention of IEC National Committees, members of
CENELEC, is drawn to the fact that this Committee Draft
for Vote (CDV) is submitted for parallel voting.
The CENELEC members are invited to vote through the
CENELEC online voting system.
This document is still under study and subject to change. It should not be used for reference purposes.
Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of
which they are aware and to provide supporting documentation.TITLE:
Industrial communication networks - High availability automation networks - Part 3: Parallel
Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR)PROPOSED STABILITY DATE: 2025
NOTE FROM TC/SC OFFICERS:
NC comments will be addressed during the SC65C/WG15 meeting scheduled on June 8th-10h, 2020 in
Baden (Switzerland). Corresponding meeting notice will be provided in due time by the convenor.
Copyright © 2020 International Electrotechnical Commission, IEC. All rights reserved. It is permitted to download this
electronic file, to make a copy and to print out the content for the sole purpose of preparing National Committee positions.
You may not copy or "mirror" the file or printed version of the document, or any part of it, for any other purpose without
permission in writing from IEC.---------------------- Page: 3 ----------------------
oSIST prEN IEC 62439-3:2020
IEC CDV 62439-3 IEC 2019 – 3 – 65C/998/CDV
2 CONTENTS
4 FOREWORD ........................................................................................................................... 9
5 INTRODUCTION ................................................................................................................... 11
6 0.1General ....................................................................................................................... 11
7 0.2Changes with respect to the previous edition ............................................................... 11
8 0.3Patent declaration ....................................................................................................... 12
9 1 Scope ............................................................................................................................ 13
10 2 Normative references .................................................................................................... 13
11 3 Terms, definitions, abbreviations, acronyms, and conventions ....................................... 14
12 3.1 Terms and definitions............................................................................................ 14
13 3.2 Abbreviations and acronyms ................................................................................. 16
14 3.3 Conventions .......................................................................................................... 17
15 4 Parallel Redundancy Protocol (PRP) ............................................................................. 17
16 4.1 PRP principle of operation .................................................................................... 17
17 4.1.1 PRP network topology ................................................................................... 17
18 4.1.2 PRP LANs with linear or bus topology............................................................ 18
19 4.1.3 PRP LANs with ring topology ......................................................................... 19
20 4.1.4 DANP node structure ..................................................................................... 19
21 4.1.5 PRP attachment of singly attached nodes ...................................................... 20
22 4.1.6 Compatibility between singly and doubly attached nodes ............................... 20
23 4.1.7 Network management .................................................................................... 20
24 4.1.8 Implication on application .............................................................................. 21
25 4.1.9 Transition to non-redundant networks ............................................................ 21
26 4.1.10 Duplicate handling ......................................................................................... 21
27 4.1.11 Network supervision ...................................................................................... 26
28 4.1.12 Redundancy management interface ............................................................... 26
29 4.2 PRP protocol specifications .................................................................................. 26
30 4.2.1 Installation, configuration and repair guidelines ............................................. 26
31 4.2.2 Unicast MAC addresses................................................................................. 27
32 4.2.3 Multicast MAC addresses .............................................................................. 27
33 4.2.4 IP addresses ................................................................................................. 27
34 4.2.5 Nodes ............................................................................................................ 27
35 4.2.6 Duplicate Accept mode (testing only) ............................................................. 28
36 4.2.7 Duplicate Discard mode ................................................................................. 28
37 4.3 PRP_Supervision frame ........................................................................................ 32
38 4.3.1 PRP_Supervision frame format ...................................................................... 32
39 4.3.2 PRP_Supervision frame contents................................................................... 33
40 4.3.3 PRP_Supervision frame for RedBox .............................................................. 34
41 4.3.4 Reception of a PRP_Supervision frame and NodesTable ............................... 34
42 4.4 Bridging node (deprecated) ................................................................................... 35
43 4.5 Constants ............................................................................................................. 35
44 4.6 PRP layer management entity (LME) .................................................................... 35
45 5 High-availability Seamless Redundancy (HSR) .............................................................. 35
46 5.1 HSR objectives ..................................................................................................... 35
47 5.2 HSR principle of operation .................................................................................... 36
48 5.2.1 Basic operation with a ring topology .............................................................. 36
49 5.2.2 DANH node structure ..................................................................................... 37
---------------------- Page: 4 ----------------------oSIST prEN IEC 62439-3:2020
65C/998/CDV – 4 – IEC CDV 62439-3 IEC 2020
50 5.2.3 Topology ....................................................................................................... 38
51 5.2.4 RedBox structure ........................................................................................... 47
52 5.3 HSR node specifications ....................................................................................... 49
53 5.3.1 HSR operation ............................................................................................... 49
54 5.3.2 DANH receiving from its link layer interface ................................................... 50
55 5.3.3 DANH receiving from an HSR port ................................................................. 51
56 5.3.4 DANH forwarding rules .................................................................................. 51
57 5.3.5 Class of Service ............................................................................................ 52
58 5.3.6 Clock synchronization .................................................................................... 53
59 5.3.7 Deterministic transmission delay and jitter ..................................................... 53
60 5.4 HSR RedBox specifications .................................................................................. 53
61 5.4.1 RedBox properties ......................................................................................... 53
62 5.4.2 RedBox receiving from interlink ..................................................................... 53
63 5.4.3 RedBox forwarding on the ring ....................................................................... 55
64 5.4.4 RedBox receiving from an HSR port .............................................................. 55
65 5.4.5 RedBox receiving from its link layer interface ................................................ 57
66 5.4.6 Redbox ProxyNodeTable handling ................................................................. 57
67 5.4.7 RedBox CoS .................................................................................................. 57
68 5.4.8 RedBox clock synchronization ....................................................................... 57
69 5.4.9 RedBox medium access ................................................................................ 58
70 5.5 QuadBox specification .......................................................................................... 58
71 5.6 Duplicate Discard method ..................................................................................... 58
72 5.7 Frame format for HSR ........................................................................................... 58
73 5.7.1 Frame format for all frames ........................................................................... 58
74 5.7.2 HSR_Supervision frame................................................................................. 59
75 5.8 HSR constants ...................................................................................................... 62
76 5.9 HSR layer management entity (LME) .................................................................... 63
77 6 Protocol Implementation Conformance Statement (PICS) .............................................. 64
78 7 PRP/HSR Management Information Base (MIB) ............................................................. 65
79 Annex A (normative) Clocks synchronization over redundant paths in IEC 62439-3 ............. 81
80 A.1 Overview .............................................................................................................. 81
81 A.2 Attachment to redundant LANs by a boundary clock ............................................. 81
82 A.3 Attachment to redundant LANs by doubly attached ordinary clocks ....................... 82
83 A.4 PRP mapping to PTP ............................................................................................ 84
84 A.4.1 Scenarios and device roles ............................................................................ 84
85 A.4.2 Operation in PRP ........................................................................................... 85
86 A.4.3 Configuration specification............................................................................. 86
87 A.4.4 Specifications of DANP as DAC ..................................................................... 87
88 A.4.5 Clock model of a RedBox for PTP .................................................................. 87
89 A.5 HSR Mapping to PTP .......................................................................................... 104
90 A.5.1 PTP traffic in HSR ....................................................................................... 104
91 A.5.2 HSR nodes specifications ............................................................................ 106
92 A.5.3 Redundant clocks in HSR ............................................................................ 107
93 A.5.4 Attachment of an MC to an external LAN ..................................................... 107
94 A.6 PRP to HSR Mapping .......................................................................................... 108
95 A.6.1 Connection methods .................................................................................... 108
96 A.6.2 PRP-HSR connection by BC ........................................................................ 108
97 A.6.3 PRP-HSR connection by TCs....................................................................... 109
98 A.7 Doubly attached clock model .............................................................................. 110
99 A.7.1 State machine ............................................................................................. 110
100 A.7.2 Supervision of the port ................................................................................. 113
---------------------- Page: 5 ----------------------oSIST prEN IEC 62439-3:2020
IEC CDV 62439-3 IEC 2019 – 5 – 65C/998/CDV
101 A.7.3 BMCA for paired ports ................................................................................. 113
102 A.7.4 Selection of the port state ............................................................................ 114
103 A.8 PTP datasets for high availability ........................................................................ 115
104 A.8.1 General ....................................................................................................... 115
105 A.8.2 Data types ................................................................................................... 115
106 A.8.3 Datasets for ordinary or boundary clocks ..................................................... 116
107 A.8.4 Object for transparent clocks ....................................................................... 120
108 Annex B (normative) PTP profile for Power Utility Automation (PUP) – Redundant
109 clock attachment ......................................................................................................... 123
110 B.1 Application domain ............................................................................................. 123
111 B.2 PTP profile specification ..................................................................................... 123
112 B.3 Redundant clock attachment ............................................................................... 123
113 Annex C (normative) PTP industry profiles for high-availability automation networks ......... 125
114 C.1 Application domain ............................................................................................. 125
115 C.2 PTP profile specification ..................................................................................... 125
116 C.3 Clock types ......................................................................................................... 125
117 C.4 Protocol specification common ............................................................................ 126
118 C.5 Protocol specification for L3E2E industry profile ................................................. 126
119 C.6 Protocol specification for L2P2P industry profile ................................................. 127
120 C.7 Common timing requirements for L2P2P and L3E2E ........................................... 127
121 C.7.1 Measurement conditions .............................................................................. 127
122 C.7.2 Network time inaccuracy .............................................................................. 127
123 C.7.3 Network elements ........................................................................................ 128
124 C.7.4 Requirements for grandmasters ................................................................... 128
125 C.7.5 Requirements for TCs .................................................................................. 129
126 C.7.6 Requirements for BCs.................................................................................. 129
127 C.7.7 Requirements for media converters ............................................................. 130
128 C.7.8 Requirements for links ................................................................................. 130
129 C.8 Network engineering ........................................................................................... 130
130 C.9 Default settings ................................................................................................... 131
131 C.10 Handling of doubly attached clocks ..................................................................... 132
132 C.11 Protocol Implementation Conformance Statement (PICS) ................................... 133
133 C.11.1 Conventions ................................................................................................ 133
134 C.11.2 PICS ............................................................................................................ 133
135 C.12 Recommendations for time representation .......................................................... 135
136 C.12.1 Usage of flags in TimePropertyDS ............................................................... 135
137 C.12.2 UTC leap second transition .......................................................................... 136
138 C.12.3 ALTERNATE_TIME_OFFSET INDICATOR_TLV .......................................... 137
139 Annex D (informative) Precision Time Protocol tutorial for IEC 62439-3 ............................. 140
140 D.1 Objective ............................................................................................................ 140
141 D.2 Precision and accuracy ....................................................................................... 140
142 D.3 PTP clock types .................................................................................................. 141
143 D.4 PTP main options................................................................................................ 143
144 D.5 Layer 2 and layer 3 communication ..................................................................... 143
145 D.6 1-step and 2-step correction ............................................................................... 143
146 D.6.1 Time correction in TCs................................................................................. 143
147 D.6.2 2-step to 1-step translation .......................................................................... 145
148 D.7 End-To-End link delay measurement ................................................................... 147
149 D.7.1 General method ........................................................................................... 147
150 D.7.2 End-to-End link delay measurement with 1-step clock correction ................. 147
151 D.7.3 End-to-End link delay measurement with 2-step clock correction ................. 148
---------------------- Page: 6 ----------------------oSIST prEN IEC 62439-3:2020
65C/998/CDV – 6 – IEC CDV 62439-3 IEC 2020
152 D.7.4 End-to-End link delay calculation by Delay_Req/Delay_Resp ...................... 149
153 D.8 Peer-to-Peer link delay calculation ...................................................................... 149
154 D.8.1 Peer-to-Peer link delay calculation with 1-step correction ............................ 149
155 D.8.2 Peer-to-Peer link delay calculation with 2-step correction ............................ 150
156 D.8.3 Consideration of media converters in peer delay calculation ........................ 151
157 Annex E (normative) Management Information base for singly and doubly attached
158 clocks .......................................................................................................................... 153
159 Annex F (normative) Conformance testing for IEC 62439-3 ................................................ 180
160 F.1 General ............................................................................................................... 180
161 F.2 PRP conformance test ........................................................................................ 180
162 F.2.1 PRP test set-up ........................................................................................... 180
163 F.2.2 PRP test components .................................................................................. 181
164 F.2.3 Test for documentation and labelling ........................................................... 181
165 F.2.4 Test for (unicast) IP addresses .................................................................... 181
166 F.2.5 Test for configuration ................................................................................... 182
167 F.2.6 Test of DANP .............................................................................................. 182
168 F.2.7 Test of PRP Redboxes ................................................................................ 185
169 F.2.8 Test for Management ................................................................................... 186
170 F.2.9 Test of DANP or RedBox for processing of PTP frames ............................... 188
171 F.3 HSR conformance test ........................................................................................ 191
172 F.3.1 HSR test set-up ........................................................................................... 191
173 F.3.2 HSR test components .................................................................................. 192
174 F.3.3 Test for HSR documentation and labelling ................................................... 192
175 F.3.4 Test of DANH or RedBox for IP addresses ................................................... 193
176 F.3.5 Test of DANH for configuration .................................................................... 193
177 F.3.6 Test of DANH .............................................................................................. 193
178 F.3.7 Test of HSR RedBoxes ................................................................................ 196
179 F.3.8 Test of DANH or RedBox for Management ................................................... 197
180 F.3.9 Test of DANH or RedBox for processing of PTP frames ............................... 199
181 Bibliography ........................................................................................................................ 202
182183 Figure 1 – PRP example of general redundant network ......................................................... 18
184 Figure 2 – PRP example of redundant network as two LANs (bus topology) .......................... 18
185 Figure 3 – PRP example of redundant ring with SANs and DANPs ........................................ 19
186 Figure 4 – PRP with two DANPs communicating ................................................................... 19
187 Figure 5 – PRP RedBox, transition from single to double LAN .............................................. 21
188 Figure 6 – PRP frame extended by an RCT........................................................................... 22
189 Figure 7 – PRP VLAN-tagged frame extended by an RCT ..................................................... 23
190 Figure 8 – PRP padded frame closed by an RCT .................................................................. 23
191 Figure 9 – Duplicate Discard algorithm boundaries ............................................................... 24
192 Figure 10 – HSR example of ring configuration for multicast traffic ....................................... 36
193 Figure 11 – HSR example of ring configuration for unicast traffic .......................................... 37
194 Figure 12 – HSR structure of a DANH ................................................................................... 38
195 Figure 13 – HSR example of topology using two independent networks ................................ 39
196 Figure 14 – HSR example of peer coupling of two rings ........................................................ 40
197 Figure 15 – HSR example of connected rings ....................................................................... 41
198 Figure 16 – HSR example of coupling two redundant PRP LANs to a ring ............................. 42
199 Figure 17 – HSR example of coupling from a ring node to redundant PRP LANs ................... 43
---------------------- Page: 7 ----------------------oSIST prEN IEC 62439-3:2020
IEC CDV 62439-3 IEC 2019 – 7 – 65C/998/CDV
200 Figure 18 – HSR example of coupling from a ring to two PRP LANs ...................................... 44
201 Figure 19 – HSR example of coupling three rings to one PRP LAN ....................................... 45
202 Figure 20 – HSR example of meshed topology ...................................................................... 46
203 Figure 21 – HSR example of coupling an RSTP LAN to HSR by two bridges ......................... 47
204 Figure 22 – HSR structure of a RedBox ................................................................................ 48
205 Figure 23 – HSR frame without a VLAN tag .......................................................................... 58
206 Figure 24 – HSR frame with VLAN tag .................................................................................. 59
207 Figure 25 – HSR node with management counters ................................................................ 63
208 Figure 26 – HSR RedBox with management counters ........................................................... 64
209 Figure A.1 – Doubly Attached Clock as BC (MCA is best master) .......................................... 81
210 Figure A.2 – Doubly Attached Clock when MCA is best master ............................................. 82
211 Figure A.3 – Doubly attached clocks when OC1 is best master ............................................. 83
212 Figure A.4 – Elements of PRP networks ................................................................................ 85
213 Figure A.5 – Connection of a master clock to an ordinary clock over PRP ............................. 86
214 Figure A.6 – PRP RedBox as BCs (OC3 and BC7 are best masters) ..................................... 88
215 Figure A.7 – RedBox DABC clock model ............................................................................... 89
216 Figure A.8 – PRP RedBoxes as DABC with E2E – BC7 is master ......................................... 90
217 Figure A.9 – PRP RedBoxes as DABC with E2E – timing ...................................................... 91
218 Figure A.10 – PRP RedBoxes as DABC with P2P – OC5 is best master ................................ 92
219 Figure A.11 – PRP RedBoxes as DABC with P2P – timing .................................................... 93
220 Figure A.12 – PRP RedBox as DATC with E2E –signal flow .................................................. 94
221 Figure A.13 – PRP RedBox as DATC with E2E – timing ........................................................ 96
222 Figure A.14 – PRP RedBox as DATC with P2P ..................................................................... 97
223 Figure A.15 – PRP RedBox as DATC with P2P – timing ........................................................ 98
224 Figure A.16 – PRP RedBox as SLTC with E2E .................................................................... 101
225 Figure A.17 – PRP RedBox as SLTC with E2E – timing ...................................................... 102
226 Figure A.18 – PRP RedBox as SLTC with P2P .................................................................
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.