SlideShare a Scribd company logo
1 of 39
Download to read offline
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 12019 © Kirrmann-Solutil
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRP - Parallel Redundancy Protocol
An IEC standard for a seamless
redundancy method using parallel
networks, applicable to hard-real time
Industrial Ethernet
Prof. Dr. Hubert Kirrmann,
Solutil, Switzerland
2017 February 4
IEC 62439-3 §4
picture from shawnhallwachs' photostream
Prof. Dr. Hubert Kirrmann, Solutil, Switzerland
2019 February 17
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 22019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Highly available automation networks
Automation networks require a high availability to ensure continuous plant operation.
Beyond high quality elements and good maintenance, availability is increased by redundant elements
(links, bridges, interfaces or devices).
Redundancy activation after a failure by traditional protocols such as RSTP cost recovery delays, during
which the network is unavailable. The plant must be able to tolerate such interruption of service.
This applies not only to fault situations, but also to removal and insertion of redundancy.
IEC SC65C WG15 standardized in the IEC 62439 Suite several methods to implement high availability
networks, divided into two main categories:
- “redundancy in the network”, using singly attached devices, i.e. devices attached to a single bridge only,
while the bridges implement redundancy (e.g. using RSTP or a Ring Protocol such as MRP)
- “redundancy in the devices”, using doubly attached devices, i.e. devices with two network interfaces
attached to redundant networks elements
This presentation describes the Parallel Redundancy Protocol (PRP), a “redundancy in the devices”
method, that provides seamless operation in case of failure or reintegration.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 32019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol Redundancy in the network and redundancy in the nodes
P1 P2C P1 P2C
A B
double RSTP ring
P1 P2C
LAN A
LAN B
clock clock
P1 P2C
RSTP ring
LAN A
clock clock
P1 P2C P1 P2C
devices attached to the
RSTP ring can sustain
the failure of any of the four
ring links (green), but there
are 14 unsecured links (red).
Availability is not
improvement significantly
all doubly attached nodes
can overcome any failure
of a link (green) or bridge.
Only doubly attached
nodes improve availability
significantly.
Singly attached nodes (red
links) are not protected.
Redundancy in the network
Redundancy in the nodes
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 42019 © Kirrmann-Solutil
IEC 62439-3.4 (PRP)
Parallel Redundancy Protocol
PRP principles
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 52019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
PRP Principle Network Architecture
bridge
DANP
bridge
local area network B
DANP
bridgebridge
bridge
SAN
bridge
DANP DANP
local area network A
DANP DANP
Two Ethernet networks (LANs) , completely separated, of similar topology operate in parallel.
Each doubly attached node with PRP (=DANP) has an interface to each LAN.
A DANP source sends a frame simultaneously on both LANs.
A DANP destination receives in normal operation both frames and discards the duplicate.
A singly attached destination only receives one.
If a LAN fails, a DANP destination continues to operate with the frames from the other LAN.
DANP SAN
PRP “A” frames
PRP “B” frames
standard frames
SAN = Singly Attached Node
SAN
SAN
source
destinations destinations
DANP = Doubly Attached Node with PRP
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 62019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
PRP characteristics
PRP allows to attach nodes to a network by redundant network interfaces and links:
• Tolerates any single network component (link, bridge) failure
• Provides seamless operation (zero nanoseconds switchover) in case of network failure.
• Supports time-critical communication
• Increases probability of successful delivery
• Is Invisible to the application
• Is applicable to any Industrial Ethernet on layer 2 or above
• Can be used with any topology (tree, ring,…)
• Does not rely on higher layer protocols to operate or be configured
• Allows mixing devices with single and double network attachment on the same LAN,
• Allows to connect laptops and workstations to the network with standard Ethernet adapters-
• Uses off-the shelf components (network interfaces, controllers, bridges and links)
• Supervises redundancy continuously for device management
• Is suitable for hot swap - 24h/365d operation in substations
• Designed particularly for substation automation, high-speed drives and transportation.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 72019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Singly attached nodes
LAN
Tx RxTx
network layer
transport layer
Rx
Ethernet
controllers
transceivers
(PHY)
publisher/
subscriber
upper layers
LAN
applications
network layer
transport layerpublisher/
subscriber
applications
link layer
source node X destination node Y
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 82019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
PRP Node Operation
A
B
send
duplicate
Tx RxTx Tx RxTx Rx
duplicate
discard
send on both LANs: the LRE sends each frame simultaneously on LAN A and LAN B.
transfer: Frames over LAN A and B transit with different delays (or could not arrive at all)
receive from both LANs: the node receives both frames, the LRE between link layer and Ethernet
controllers handles the frames and can filter duplicates. Both lines are treated equal.
network layer
transport layer
send
duplicate
Rx
duplicate
discard
Ethernet
controllers
link redundancy
entity (LRE)
transceivers
A B A B
publisher/
subscriber
upper layers
LAN A
LAN B
applications
network layer
transport layerpublisher/
subscriber
applications
link layer
source node X destination node Y
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 92019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Why a layer 2 redundancy ?
Most industrial Ethernet networks (e.g. Profinet) operate with a layer 2 (Link Layer) protocol.
One motivation for this is the use of the publisher-subscriber method, that relies on
broadcast of source-addressed data within the MAC broadcast domain.
This excludes a redundancy scheme based on routers (Layer 3).
Each node in PRP has the same MAC address on both network interfaces.
Therefore, management protocols such as ARP operate as usual and assign that MAC address
to the IP address(es) of that node. Tools based on SNMP also operate as usual.
Redundancy methods must operate on Layer 2 (Logical Link) to address Industrial
Ethernets with time-critical stacks built on Layer 2, such as IEC61850.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 102019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
SV GOOSE
Typical Power Utility (IEC 61850) stack
link layer
VLAN - priority
physical layer
network
transport
session
presentation
MAC layer
TCP
IP
ISO Transport
RFC 1006
ISO Session
ISO/IEC 8245
ACSE
ISO/IEC 8649:1996
MMS
ISO 9506-1:2003
Client/Server
services
ACSI
PT=0x0800
applicationapplicationapplication
SNTP
ARP
802.p1 / 802.1Q
PT=0x0806802.2
spanning
tree
(802.1d)
PT=x88F7PT=x88B8PT=x88BA
IEEE
1588
GOOSESV
Hard Real-Time stack
void
Soft-Time stack
ICMP
link redundancy entity (PRP / HSR)
Ethernet B Ethernet A
clock
1588
logic
1588
logic
Publisher/Subscriber
services
UDP
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 112019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Attachment of non-redundant nodes (SAN)
edge ports
local area network B
leaf
link
SAN
leaf
link
RSTP bridge
local area network A
SAN
SAN
SAN
redbox
SAN
Singly attached nodes (SAN) are preferably all attached to the same network.
Network traffic is asymmetrical, but this does not affect redundant operation.
Singly attached nodes can also be attached through a “redundancy box” (red box)
DANP = Doubly Attached Node with PRP
DANP DANPDANP DANPDANP
SAN: singly attached node
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 122019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
bridge B
PRP cabling rules: keep the LANs separate
Star topology (one bridge per LAN)
Party-Line topology (bridge element in nodes)
both cables can run in the same conduct
only if common mode failure are unlikely
bridge A
common mode failures cannot be excluded since wiring
comes close together at each device
LAN A
LAN B
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 132019 © Kirrmann-Solutil
IEC 62439-3.4 (PRP)
Parallel Redundancy Protocol
How PRP discards duplicates
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 142019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Filtering: duplicate discard and duplicate accept
A node receives the same frame twice if both redundant LANs are fault-free.
There is in theory no need to discard duplicates at the link layer.
Any communication or application software must be able to deal with duplicates, since
bridging networks (e.g. 802.1D RSTP) could generate duplicates:
• Most applications work on top of TCP, which was designed to discard duplicates
• Applications on top of UDP or Layer 2 protocols (publisher/subscriber) must be able to
ignore duplicates because they rely on a connectionless communication.
PRP can operate without duplicate filtering (“Duplicate Accept” mode, used for testing).
PRP uses a “Duplicate Discard” mode, helpful:
1) to offload the processors, especially when communication controllers are used.
2) to supervises redundancy, bus errors, partner nodes and topology. This turns out to be the
major motivation.
For this, a unique identifier for the frames is needed.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 152019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Introducing transparently the PRP trailer
timedestination source LLC FCSpayloadpreamble size
sequence
number
lane
PRP
suffix
IFG
0,96 µs @ 100 Mbit/s
timedestination source LLC FCSpayloadpreamble
IFG
0,96 µs @ 100 Mbit/s
Usual 802.3 frame
PRP 802.3 frame 6 octets
6 octets 6 octets 2 4
The extension by 6 octets is invisible to normal applications
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 162019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol Why the PRP redundancy trailer works with SANs
Putting the redundancy control trailer after the payload allows SANs, i.e. nodes not
aware of PRP (singly attached nodes such as laptops) to understand PRP frames.
All singly attached nodes ignore octets between the payload and the frame check
sequence since they consider it as padding.
To this effect, all (well-designed) protocols built on layer 2 have a size control field
and a separate checksum.
Example IP packet:
destination source IP adr IP sizepreamble
physical
link
addresses
LLC IP payload
IP packet
RCT
ignored by IP,
treated as padding
FCS ED
link
enddelimiter(phy)
48 48
IP checksum
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 172019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Discarding duplicate frames with a sequence counter
- each frame is extended by a sequence counter, a lane indicator, a size field and a suffix *
inserted after the payload to remain invisible to normal traffic.
- the sender inserts the same sequence counter into both frames of a pair, and increments
it by one for each frame sent under the PRP protocol.
- the receiver keeps track of the sequence counter for each for each source MAC address
it receives frames from. Frames with the same source and counter value coming from
different lanes are ignored.
- for supervision, each node keeps a table of all other nodes in the network, based on
observation of the network. This allows to detect nodes absence and bus errors at the
same time.
timedestination source LLC FCSpayloadpreamble size
sequence
counter
lane
original Ethernet frame
PRP
suffix
* not present in PRP-0
16 bits 12 16 bits4
PRP trailer
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 182019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Distinguishing redundant from non-redundant frames
timedestination source LLC FCSpayloadpreamble size
sequence
number
lane
In a frame sent by a singly attached node, assuming random data in the payload, there is
a probability of 2-28 that the size field matches the payload.
However, a frame will not be discarded unless a second frame arrives from the other
lane from that same source and sequence number and with the correct line identifier,
which is not possible since a singly attached node is attached to one lane only (half
network).
The receiver detects if a frame is sent by a doubly attached node running PRP or is sent
by a singly attached node with no redundancy trailer.
To this purpose, a receiver identifies the PRP frames using suffix and the size field. If the
suffix is present and the last 12 bits of the frame match the size of the payload, the
receiver assumes that this frame is a PRP frame and a candidate for discarding.
PRP
suffix
IFG
0,96 µs @ 100 Mbit/s
NOTE: why not the size of the whole frame? because the size varies when VLAN tags are attached.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 192019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Sequence number build-up
A PRP node increments the sequence number for each frame (pair) sent.
A PRP receiver uniquely identifies a frame by {MACaddress, SequenceNumber}
Due to bridge filtering, a receiver only receives part of the traffic (especially if one part of
the traffic is multicast) and could see gaps in the received sequence numbers from the
same source.
It is also possible that the same frame comes more than twice in case of reconfiguration
of RSTP.
To this effect, a receiver keeps a list of received frame identifiers and sequence numbers
(as a table, hash table, or numbering scheme).
NOTE: the former version PRP0 had a sequence number per {sourceMAC, destinationMAC} tuple.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 202019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Principle of duplicate detection
IEC 62439-3 does not specify the method used to discard duplicates since it depends on
the implementation (e.g. FPGA or software), but it specifies rules:
Any scheme that detects duplicates must fulfill the requirements:
1) never discard a legitimate frame as a duplicate
2) discard nearly all duplicates (some drop-out are unavoidable)
An entry in the list must be purged before a different frame with the same MAC and
SequenceNumber can come again.
An entry in the list must be purged before a node that reboots can start sending frames
with any sequence number. To this purpose, a node shall not reboot faster than the
time it takes to flush all entries from the table of all its destinations.
An entry in the sequence number list resides at least TresideMin and at most TresideMax
(values are implementation-dependent)
One cannot rely on the second occurrence of a pair {identifier, sequence} to retire an entry
from the list since the second occurrence may never come.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 212019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
The duplicate discard bases on sequence numbers to uniquely identify a frame.
The sequence number has a fixed size (i. e. 16 bits) so it wraps around after a number of frames
(65535).
The minimum wrap-around time t wrapMin happens when a node sends a series of consecutive
minimal length frames (an unrealistic, worst-case)
The minimum wrap around time can calculated:
@ 100 Mbit/s : ((8 + 64 + 6 + 12) * 8)  65536 = 7.2 µs  65536 = 472 ms
@ 1 Gbit/s: ((8 + 64 + 6 +12) * 8)  65536 = 0,72 µs  65536 = 47 ms.
This means that a legitimate frame is detected as duplicate when the second frame of a pair is
delayed so that it arrives within that time of the legitimate frame (see next slide).
However, since a practical implementation is limited by the memory size, especially in FPGAs, it is
likely that the memory will roll-over before the maximum wrap around time is reached.
Duplicate detection: wrap-around of the sequence number
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 222019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Duplicate Detection in function of skew
t skew1< t resideMin
tresideMin < t skew2 < t resideMax
t skew4 < twrapMin - t resideMax
4
t skew3 > t resideMax
Rule for reliable discard: tskew < tresideMin
Rule for probable discard: tskew < tresideMax
Rule for safe accept: t residenceMax < taliasRepMin
Case 1:
SeqNr is in table
duplicate
always detected if
tskew < tresideMin
Case 2:
SeqNr possibly in table
duplicate
sometimes not detected,
treated as new
Case 4
SeqNr still in table
next alias frame
discarded
as duplicate.
error
Case 5
SeqNr in table,
duplicate detected
on wrong alias
A 0
1 42 3 5B
Case 3
SeqNr out of table
duplicate
treated as new frame
-> SeqNr entered,
only safe if
tresideMax < twrapMin
ideally: t residenceMin = t residenceMax = t wrapMin /2
Proposal: t residenceMax = 500 ms
t resideMax
tskew
twrapMin
t resideMax
t resideMin
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 232019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Discussion
The time twrapMin is the shortest time it takes for the same sequence number to appear again,
so a legitimate frame could be rejected after this time because of an alias with a former frame.
Since the shortest frame in 100 Mbit/s lasts 6,72 µs and the sequence number wraps at 65’536, the
value of twrapMin is 440 ms (At 1 Gbit/s, it is 44 ms). This case is extreme, since no device should send
a stream of contiguous short frames.
This means that a new frame could be rejected as “duplicate” after this time.
Entries must be aged out below this time, i.e. an entry should not remain longer than 440ms at 100
Mbit/s (resp. 44 ms in 1 Gbit/s) for the same MAC source address
Therefore, a frame entry shall not reside longer than this time in the duplicate table,
The condition is TresideMax < TwrapMin.
This value (EntryForgetTime) is independent from the network speed and set to 440 ms.
However, if a node reboots, it start sending frames with a random sequence number.
For that reason, a node that reboots is constrained not to reboot before EntryForgetTime.
The quiet time (NodeRebootInterval) was set to 500 ms for all speeds
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 242019 © Kirrmann-Solutil
IEC 62439-3.4 (PRP)
Parallel Redundancy Protocol
PRP Frame formats
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 252019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Frame formats used in (all) Industrial Ethernets (SAN)
LPDU = 42..1500 octets
LPDU = 46..1500 octets
(TCP, UDP, ICMP)
length < x0600
destination
source
DSAP
LLC (802.2)
SSAP
protocol type >x0600
destination
source
checksum
destination
source
protocol type
checksum
ETPID = x8100
TCI, CFI
1518 octets 1522 octets
801.Q (VLAN)Ethernet II 802.2 / 802.3
Most Industrial Ethernet allow a mix of 802.2, 802.3, etc…resulting in 3 different frame types...
IP traffic RSTP traffic Prioritized or VLAN traffic
checksum
LPDU = 42..1496 octets
protocol type >x0600
1518 octets
= 6.72 µs..123.04 µs @100 MBit/s
<= 1518 octets
<= 1522 octets
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 262019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol PRP frames: redundancy control after the payload (DANP)
The additional six octets could generate oversize frames of more than 1522 octets.
Although these frames are accepted by all certified bridges (up to 1535 octets), some older bus controllers do
not accept oversize frames, and therefore the sender should reduce the payload by playing on the LSDU size
in the network layer (if the frame is going to be tagged).
length <x0600
destination
source
DSAP
LLC
SSAP
protocol type >x0600
destination
source
destination
source
protocol type
checksum
ETPID = x8100
TCI, CFI = x8100
1522 octets
802.1Q (VLAN)802.3/802.2 (e.g. BPDU)Ethernet II
sequence number
checksum
sequence number
checksum
sequence number
sizelane sizelane sizelane
appended
redundancy
control
trailer
<= 1518 octets
<= 1522 octets
protocol type >x0600
protocol type >x0600
LPDU = 42..1490 octetsLPDU = 42..1492 octetsLPDU = 46..1496 octets
1518 octets1518 octets
PRP suffixPRP suffixPRP suffix
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 272019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Is appending a redundancy trailer in line with IEEE 802.3 ?
PRP’s Duplicate Discard mode requires that frames be stretched by 6 octets.
All protocols must be able to deal with data in the frames after the payload,
since padding is part of the Ethernet protocol.
E.g. IP has its own size control and checksum – data after the IP payload are ignored.
The maximum size of the payload must be reduced by six octets to match the size of 1500
octets foreseen by IEEE 802.3-2002 § 4.4.2.1
This would not be necessary for the bridges, since all commercial bridges permit longer frames
to support double VLAN tagging (Q-in-Q).
However, some older Network Interfaces for PCs do not accept longer frames.
Network analyzers can deal with PRP, the corresponding PRP extension already has been
appended to EtherReal (http://www.ethereal.com) / Wireshark
In networks where this could become a problem, the source should reduce of the LSDU size,
e.g. at the IP level.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 282019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
PRP
suffix
Redundancy Control Trailer (RCT) and padding
time
destination source LLC FCSLSDUpreamble paddingsizesequence
line
Small frames use padding to meet the minimum frame size of 64 octets.
Since padding can be introduced by bridges, the sender should always insert the
padding itself to reduce the decoding burden (otherwise, the receiver has to search
backwards for a matching field)
64 octets
time
destination source LLC FCSLSDUpreamble padding sizesequence
line
64 octetsPadding inserted by the sender
Padding introduced automatically: do not use
PRP
suffix
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 292019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Why a size field is also useful
time
timetruncateddestination source PT LPDU FCS ?
destination source LLC FCSLPDU01010101 sizesequence
destination source PT FCSLPDULPDU
truncation error: the last 32 bits are treated as CRC
preamble
Ethernet frames have, contrary to IEC 8802.3 frames, only a Hamming Distance of 1 against
synchronization errors (frames truncation), since they do not contain a length field.
To improve protection of the frames, a size field is appended to the frames.
A node that receives a PRP frame from a known partner with incorrect size can flag an error.
01010101
preamble
01010101
FCS
line
only the application (if it is aware of it) can detect the problem....
"We detected a mismatch between TCP and Ethernet checksum in up to one frame in 400“
(Siggcom 2000, J. Stone & C. Patridge @standford, bbn)
PRP-suffix
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 302019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
PRP network management
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 312019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Network supervision and detection of lurking faults
PRP checks continuously all paths.
In order not to rely on application cyclic data for this, each DANP sends periodically a supervision
frame that indicates its state.
The period is relatively long (some seconds) since the supervision frame is not needed for
switchover, but only to check dormant redundancy.
All nodes should keep a node table of all detected partners and registers the last time a node
was seen as well as the number of received frames from each other node over both interfaces.
Since this may increase the complexity, simple devices are exempted from keeping a node table.
The duplicate discard mode allows to keep track of all nodes in the network.
Changes to the topology are communicated over SNMP or to the Link Management Entity.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 322019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Network management
singly-attached
nodes
172.16.1.14 172.16.1.66
node
1
node
2
node
4
node
65
node
66
bridge A
"red box"
LAN A
LAN B
bridge B2
172.16.1.11 172.16.1.12
172.16.1.129
172.16.1.192
doubly-attached nodes
bridge B3 172.16.1.195
COTS NM tool
172.16.1.14
bridge B1
172.16.1.193
bridges are single-attached devices and have different IP addresses on each LAN, although
their function can be the same as that of a corresponding bridge on the other network.
Each PRP node has an SNMP agent to keep track of redundancy.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 332019 © Kirrmann-Solutil
IEC 62439-3.4 (PRP)
Parallel Redundancy Protocol
PRP technology
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 342019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
Maturity of technology
PRP is supported since 2007 by ABB and the Zurich University of Applied Sciences at Winterthur (ZHAW).
ZHAW built an independent Linux DANP using only the IEC document as specification.
Interoperability between VxWorks, Linux and Windows implementations was tested in 2008.
PRP has been adopted by IEC 61850 as the redundancy principle for the Station Bus.
LAN_A
LAN_B
1st prototype (2005)
PRP is here handled by the main processor.
Co-processor or FPGA can execute PRP as well.
PRP in Factory Acceptance Test - picture courtesy ABB
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 352019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
PRP: Pros & Cons
+ seamless operation (zero switchover time)
+ application-independent, suits any Industrial Ethernet network.
+ uses standard bridges and protocols unmodified (ARP, DHCP, TCP/IP…)
+ allows attachment of nodes with any single port node to the network (with no redundancy)
+ does not breach the fail-independence of the redundant networks
+ supervises constantly the redundancy in “duplicate discard” mode (both LANs are active)
+ monitors actual topography (over network management / SNMP)
+ compatible with IEEE 1588 – a redundant clock profile is defined
- requires complete doubling of the network, two Ethernet controllers and a special driver
per node (about twice the costs – but this is the price to pay for any full redundancy)
- restricted to a layer 2 broadcast domain (not a limitation in Industrial Ethernet)
- requests that singly attached nodes that need to communicate with each other are connected all to
the same LAN (or through a “red box”)
- cost six bytes overhead in a frame – but oversize frames should become IEEE standard.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 362019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
PRP extensions
The principle of PRP has been applied to IP networks.
In this case, the sequence number already exists since IPv4 supports segmentation
(identification field).
In IPv6, a sequence number is also available in the flow label.
However, there are no applications in utility automation that make use of this capabilites.
One reason is that the expected availability increase has to be matched against the costs
of defining disjoint paths in a network.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 372019 © Kirrmann-Solutil
IEC 62439-3.4 (PRP)
Parallel Redundancy Protocol
PRP vs. other standards
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 382019 © Kirrmann-Solutil
IEC 62439-3
Parallel Redundancy Protocol
State of standardization and other solutions in IEC 62439
The “Highly Available Automation Networks” IEC SC65C WG15 selected PRP and HSR
as one of its redundancy methods, along with:
MRP (Siemens-Hirschmann) implements “redundancy in the network” with singly
attached devices attached to a ring, with moderate increase in availability and disruption
delay of 200 ms-500 ms. It is interesting if the bridges are integrated in the devices, but
this limits topology to a simple ring of up to 50 bridges.
CRP (Honeywell/Fieldbus Foundation) implements – like PRP – “redundancy in the
devices”, offers the same availability as PRP, but has disruption times of
200 ms – 2s. It allows to connect singly attached devices to both network halves, but
costs aggregated links in the (mandatory) root bridges.
CRP (SupCon, China) is a ring redundancy protocol which competes with MRP and uses
a tight clock synchronization to support time-slotted real-time traffic.
Only PRP and HSR provide zero recovery time.
IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 392019 © Kirrmann-Solutil
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION

More Related Content

What's hot

E nodeb useful commands for rf engineer
E nodeb useful commands for rf engineerE nodeb useful commands for rf engineer
E nodeb useful commands for rf engineerVishal Padhya
 
1830 pss4 r9.0.1 hw engineering and installation etsi
1830 pss4 r9.0.1 hw engineering and installation etsi1830 pss4 r9.0.1 hw engineering and installation etsi
1830 pss4 r9.0.1 hw engineering and installation etsiRogerGmezramirez
 
Canatal modulo web m52 web-interface_datasheet
Canatal modulo web   m52 web-interface_datasheetCanatal modulo web   m52 web-interface_datasheet
Canatal modulo web m52 web-interface_datasheetXavier Cazares
 
Qasim Pur colony Grid Station Multan
Qasim Pur colony Grid Station MultanQasim Pur colony Grid Station Multan
Qasim Pur colony Grid Station MultanBilal Mayo
 
CMP Cable Glands - Industrial, Hazardous Area & High Voltage
CMP Cable Glands - Industrial, Hazardous Area & High Voltage CMP Cable Glands - Industrial, Hazardous Area & High Voltage
CMP Cable Glands - Industrial, Hazardous Area & High Voltage Thorne & Derrick International
 
Power Cables.pdf
Power Cables.pdfPower Cables.pdf
Power Cables.pdfAlaa Eladl
 
RELAY ETTING CALCULATION REV-A (DG-298).pdf
RELAY ETTING CALCULATION REV-A (DG-298).pdfRELAY ETTING CALCULATION REV-A (DG-298).pdf
RELAY ETTING CALCULATION REV-A (DG-298).pdfJayWin2
 
Base Station Vendors
Base Station VendorsBase Station Vendors
Base Station Vendorsguest1e911f5
 
Huawei - Access failures troubleshooting work shop
Huawei - Access failures troubleshooting work shopHuawei - Access failures troubleshooting work shop
Huawei - Access failures troubleshooting work shopnavaidkhan
 
ETAP - Transient stability
ETAP - Transient stabilityETAP - Transient stability
ETAP - Transient stabilityHimmelstern
 
Ultrasite technical for 4op
Ultrasite technical for 4opUltrasite technical for 4op
Ultrasite technical for 4opTempus Telcosys
 
Overview of the EVS codec architecture
Overview of the EVS codec architecture Overview of the EVS codec architecture
Overview of the EVS codec architecture Ericsson
 
Ntc 905200 2014 - acesso de micro e minigeração distribuida ao sistema copel;
Ntc 905200 2014  - acesso de micro e minigeração distribuida ao sistema copel;Ntc 905200 2014  - acesso de micro e minigeração distribuida ao sistema copel;
Ntc 905200 2014 - acesso de micro e minigeração distribuida ao sistema copel;Marcelo Godoy
 
Huawei BTS 3900 Hardware Structure
Huawei BTS 3900 Hardware StructureHuawei BTS 3900 Hardware Structure
Huawei BTS 3900 Hardware Structureibrahimnabil17
 
Beginners: 5G Terminology
Beginners: 5G TerminologyBeginners: 5G Terminology
Beginners: 5G Terminology3G4G
 

What's hot (20)

Gpon Network
Gpon NetworkGpon Network
Gpon Network
 
E nodeb useful commands for rf engineer
E nodeb useful commands for rf engineerE nodeb useful commands for rf engineer
E nodeb useful commands for rf engineer
 
Catalogo cables-baja-tension-y-conductores-desnudos
Catalogo cables-baja-tension-y-conductores-desnudosCatalogo cables-baja-tension-y-conductores-desnudos
Catalogo cables-baja-tension-y-conductores-desnudos
 
1830 pss4 r9.0.1 hw engineering and installation etsi
1830 pss4 r9.0.1 hw engineering and installation etsi1830 pss4 r9.0.1 hw engineering and installation etsi
1830 pss4 r9.0.1 hw engineering and installation etsi
 
Canatal modulo web m52 web-interface_datasheet
Canatal modulo web   m52 web-interface_datasheetCanatal modulo web   m52 web-interface_datasheet
Canatal modulo web m52 web-interface_datasheet
 
Ericsson RBS 6000
Ericsson RBS 6000Ericsson RBS 6000
Ericsson RBS 6000
 
Qasim Pur colony Grid Station Multan
Qasim Pur colony Grid Station MultanQasim Pur colony Grid Station Multan
Qasim Pur colony Grid Station Multan
 
CMP Cable Glands - Industrial, Hazardous Area & High Voltage
CMP Cable Glands - Industrial, Hazardous Area & High Voltage CMP Cable Glands - Industrial, Hazardous Area & High Voltage
CMP Cable Glands - Industrial, Hazardous Area & High Voltage
 
Power Cables.pdf
Power Cables.pdfPower Cables.pdf
Power Cables.pdf
 
RELAY ETTING CALCULATION REV-A (DG-298).pdf
RELAY ETTING CALCULATION REV-A (DG-298).pdfRELAY ETTING CALCULATION REV-A (DG-298).pdf
RELAY ETTING CALCULATION REV-A (DG-298).pdf
 
Base Station Vendors
Base Station VendorsBase Station Vendors
Base Station Vendors
 
NBR-IEC-61439.pdf
NBR-IEC-61439.pdfNBR-IEC-61439.pdf
NBR-IEC-61439.pdf
 
Huawei - Access failures troubleshooting work shop
Huawei - Access failures troubleshooting work shopHuawei - Access failures troubleshooting work shop
Huawei - Access failures troubleshooting work shop
 
ETAP - Transient stability
ETAP - Transient stabilityETAP - Transient stability
ETAP - Transient stability
 
Ultrasite technical for 4op
Ultrasite technical for 4opUltrasite technical for 4op
Ultrasite technical for 4op
 
Overview of the EVS codec architecture
Overview of the EVS codec architecture Overview of the EVS codec architecture
Overview of the EVS codec architecture
 
Basics of busbar protection
Basics of busbar protectionBasics of busbar protection
Basics of busbar protection
 
Ntc 905200 2014 - acesso de micro e minigeração distribuida ao sistema copel;
Ntc 905200 2014  - acesso de micro e minigeração distribuida ao sistema copel;Ntc 905200 2014  - acesso de micro e minigeração distribuida ao sistema copel;
Ntc 905200 2014 - acesso de micro e minigeração distribuida ao sistema copel;
 
Huawei BTS 3900 Hardware Structure
Huawei BTS 3900 Hardware StructureHuawei BTS 3900 Hardware Structure
Huawei BTS 3900 Hardware Structure
 
Beginners: 5G Terminology
Beginners: 5G TerminologyBeginners: 5G Terminology
Beginners: 5G Terminology
 

Similar to Iec 62439 3.4-prp_kirrmann

IRJET- Power Line Carrier Communication
IRJET- Power Line Carrier CommunicationIRJET- Power Line Carrier Communication
IRJET- Power Line Carrier CommunicationIRJET Journal
 
Nokia_Mission-critical_Utilities_Network_Teleprotection_Application_Note_EN
Nokia_Mission-critical_Utilities_Network_Teleprotection_Application_Note_ENNokia_Mission-critical_Utilities_Network_Teleprotection_Application_Note_EN
Nokia_Mission-critical_Utilities_Network_Teleprotection_Application_Note_ENJuan Boggiano
 
Rail-net Indian railway internet
Rail-net Indian railway internetRail-net Indian railway internet
Rail-net Indian railway internetRahul Kumar
 
IRJET - Improving TCP Performance in Wireless Networks
IRJET -  	  Improving TCP Performance in Wireless NetworksIRJET -  	  Improving TCP Performance in Wireless Networks
IRJET - Improving TCP Performance in Wireless NetworksIRJET Journal
 
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 20193G4G
 
An3906 serial to eth freescale
An3906   serial to eth freescaleAn3906   serial to eth freescale
An3906 serial to eth freescaleFernando
 
JVL Industrial Ethernet Expansion Modules for MAC Motors
JVL Industrial Ethernet Expansion Modules for MAC MotorsJVL Industrial Ethernet Expansion Modules for MAC Motors
JVL Industrial Ethernet Expansion Modules for MAC MotorsElectromate
 
IRJET- Dynamic Adaption of DCF and PCF Mode of IEEE 802.11 WLAN
IRJET-  	  Dynamic Adaption of DCF and PCF Mode of IEEE 802.11 WLANIRJET-  	  Dynamic Adaption of DCF and PCF Mode of IEEE 802.11 WLAN
IRJET- Dynamic Adaption of DCF and PCF Mode of IEEE 802.11 WLANIRJET Journal
 
Chap.1 ethernet introduction
Chap.1 ethernet introductionChap.1 ethernet introduction
Chap.1 ethernet introduction東原 李
 
SIEMENS PXG3.L BACnet/IP Router
SIEMENS PXG3.L BACnet/IP RouterSIEMENS PXG3.L BACnet/IP Router
SIEMENS PXG3.L BACnet/IP RouterCONTROLS & SYSTEMS
 
Vehicle Automation Using Controller Area Network
Vehicle Automation Using Controller Area NetworkVehicle Automation Using Controller Area Network
Vehicle Automation Using Controller Area NetworkIRJET Journal
 
Data Acquisition PCU400 Network Manager rel1.ppt
Data Acquisition PCU400 Network Manager rel1.pptData Acquisition PCU400 Network Manager rel1.ppt
Data Acquisition PCU400 Network Manager rel1.pptZahidNawazAdil
 
PLNOG 17 - Marek Janik - Sieć dla IXP
PLNOG 17 - Marek Janik - Sieć dla IXPPLNOG 17 - Marek Janik - Sieć dla IXP
PLNOG 17 - Marek Janik - Sieć dla IXPPROIDEA
 
LE-180XT LE-280XT LE 240XTX - Ethernet module for the LET-36 chassis
LE-180XT LE-280XT LE 240XTX - Ethernet module for the LET-36 chassisLE-180XT LE-280XT LE 240XTX - Ethernet module for the LET-36 chassis
LE-180XT LE-280XT LE 240XTX - Ethernet module for the LET-36 chassisRonald Bartels
 
Www ccnav5 net_ccna_1_chapter_4_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_4_v5_0_exam_answers_2014Www ccnav5 net_ccna_1_chapter_4_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_4_v5_0_exam_answers_2014Đồng Quốc Vương
 

Similar to Iec 62439 3.4-prp_kirrmann (20)

IRJET- Power Line Carrier Communication
IRJET- Power Line Carrier CommunicationIRJET- Power Line Carrier Communication
IRJET- Power Line Carrier Communication
 
Pub059 007-00 0904
Pub059 007-00 0904Pub059 007-00 0904
Pub059 007-00 0904
 
Nokia_Mission-critical_Utilities_Network_Teleprotection_Application_Note_EN
Nokia_Mission-critical_Utilities_Network_Teleprotection_Application_Note_ENNokia_Mission-critical_Utilities_Network_Teleprotection_Application_Note_EN
Nokia_Mission-critical_Utilities_Network_Teleprotection_Application_Note_EN
 
Railnet
RailnetRailnet
Railnet
 
Rail-net Indian railway internet
Rail-net Indian railway internetRail-net Indian railway internet
Rail-net Indian railway internet
 
ALU-Presentation-Isaac Mwesigwa Optics Engineer
ALU-Presentation-Isaac Mwesigwa Optics EngineerALU-Presentation-Isaac Mwesigwa Optics Engineer
ALU-Presentation-Isaac Mwesigwa Optics Engineer
 
A presentation-isaac mwesigwa optics engineer
A presentation-isaac mwesigwa optics engineerA presentation-isaac mwesigwa optics engineer
A presentation-isaac mwesigwa optics engineer
 
IRJET - Improving TCP Performance in Wireless Networks
IRJET -  	  Improving TCP Performance in Wireless NetworksIRJET -  	  Improving TCP Performance in Wireless Networks
IRJET - Improving TCP Performance in Wireless Networks
 
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
 
An3906 serial to eth freescale
An3906   serial to eth freescaleAn3906   serial to eth freescale
An3906 serial to eth freescale
 
Ethernet copper physical layer finally unveiled - Frederic Depuydt, KU Leuven
Ethernet copper physical layer finally unveiled -  Frederic Depuydt, KU LeuvenEthernet copper physical layer finally unveiled -  Frederic Depuydt, KU Leuven
Ethernet copper physical layer finally unveiled - Frederic Depuydt, KU Leuven
 
JVL Industrial Ethernet Expansion Modules for MAC Motors
JVL Industrial Ethernet Expansion Modules for MAC MotorsJVL Industrial Ethernet Expansion Modules for MAC Motors
JVL Industrial Ethernet Expansion Modules for MAC Motors
 
IRJET- Dynamic Adaption of DCF and PCF Mode of IEEE 802.11 WLAN
IRJET-  	  Dynamic Adaption of DCF and PCF Mode of IEEE 802.11 WLANIRJET-  	  Dynamic Adaption of DCF and PCF Mode of IEEE 802.11 WLAN
IRJET- Dynamic Adaption of DCF and PCF Mode of IEEE 802.11 WLAN
 
Chap.1 ethernet introduction
Chap.1 ethernet introductionChap.1 ethernet introduction
Chap.1 ethernet introduction
 
SIEMENS PXG3.L BACnet/IP Router
SIEMENS PXG3.L BACnet/IP RouterSIEMENS PXG3.L BACnet/IP Router
SIEMENS PXG3.L BACnet/IP Router
 
Vehicle Automation Using Controller Area Network
Vehicle Automation Using Controller Area NetworkVehicle Automation Using Controller Area Network
Vehicle Automation Using Controller Area Network
 
Data Acquisition PCU400 Network Manager rel1.ppt
Data Acquisition PCU400 Network Manager rel1.pptData Acquisition PCU400 Network Manager rel1.ppt
Data Acquisition PCU400 Network Manager rel1.ppt
 
PLNOG 17 - Marek Janik - Sieć dla IXP
PLNOG 17 - Marek Janik - Sieć dla IXPPLNOG 17 - Marek Janik - Sieć dla IXP
PLNOG 17 - Marek Janik - Sieć dla IXP
 
LE-180XT LE-280XT LE 240XTX - Ethernet module for the LET-36 chassis
LE-180XT LE-280XT LE 240XTX - Ethernet module for the LET-36 chassisLE-180XT LE-280XT LE 240XTX - Ethernet module for the LET-36 chassis
LE-180XT LE-280XT LE 240XTX - Ethernet module for the LET-36 chassis
 
Www ccnav5 net_ccna_1_chapter_4_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_4_v5_0_exam_answers_2014Www ccnav5 net_ccna_1_chapter_4_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_4_v5_0_exam_answers_2014
 

More from Jörgen Gade

Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...Jörgen Gade
 
5g tsn-integration-for-industrial-automation
5g tsn-integration-for-industrial-automation5g tsn-integration-for-industrial-automation
5g tsn-integration-for-industrial-automationJörgen Gade
 
B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101
B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101
B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101Jörgen Gade
 
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328Jörgen Gade
 
Tsn nfinn-control-and-config-0515-v03
Tsn nfinn-control-and-config-0515-v03Tsn nfinn-control-and-config-0515-v03
Tsn nfinn-control-and-config-0515-v03Jörgen Gade
 
Tsn farkas-intro-0318-v01
Tsn farkas-intro-0318-v01Tsn farkas-intro-0318-v01
Tsn farkas-intro-0318-v01Jörgen Gade
 

More from Jörgen Gade (7)

Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
 
Ts 123501v150300p
Ts 123501v150300pTs 123501v150300p
Ts 123501v150300p
 
5g tsn-integration-for-industrial-automation
5g tsn-integration-for-industrial-automation5g tsn-integration-for-industrial-automation
5g tsn-integration-for-industrial-automation
 
B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101
B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101
B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101
 
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
 
Tsn nfinn-control-and-config-0515-v03
Tsn nfinn-control-and-config-0515-v03Tsn nfinn-control-and-config-0515-v03
Tsn nfinn-control-and-config-0515-v03
 
Tsn farkas-intro-0318-v01
Tsn farkas-intro-0318-v01Tsn farkas-intro-0318-v01
Tsn farkas-intro-0318-v01
 

Recently uploaded

Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneVIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of indiaimessage0108
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 

Recently uploaded (20)

Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneVIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of india
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 

Iec 62439 3.4-prp_kirrmann

  • 1. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 12019 © Kirrmann-Solutil INTERNATIONAL ELECTROTECHNICAL COMMISSION PRP - Parallel Redundancy Protocol An IEC standard for a seamless redundancy method using parallel networks, applicable to hard-real time Industrial Ethernet Prof. Dr. Hubert Kirrmann, Solutil, Switzerland 2017 February 4 IEC 62439-3 §4 picture from shawnhallwachs' photostream Prof. Dr. Hubert Kirrmann, Solutil, Switzerland 2019 February 17
  • 2. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 22019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Highly available automation networks Automation networks require a high availability to ensure continuous plant operation. Beyond high quality elements and good maintenance, availability is increased by redundant elements (links, bridges, interfaces or devices). Redundancy activation after a failure by traditional protocols such as RSTP cost recovery delays, during which the network is unavailable. The plant must be able to tolerate such interruption of service. This applies not only to fault situations, but also to removal and insertion of redundancy. IEC SC65C WG15 standardized in the IEC 62439 Suite several methods to implement high availability networks, divided into two main categories: - “redundancy in the network”, using singly attached devices, i.e. devices attached to a single bridge only, while the bridges implement redundancy (e.g. using RSTP or a Ring Protocol such as MRP) - “redundancy in the devices”, using doubly attached devices, i.e. devices with two network interfaces attached to redundant networks elements This presentation describes the Parallel Redundancy Protocol (PRP), a “redundancy in the devices” method, that provides seamless operation in case of failure or reintegration.
  • 3. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 32019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Redundancy in the network and redundancy in the nodes P1 P2C P1 P2C A B double RSTP ring P1 P2C LAN A LAN B clock clock P1 P2C RSTP ring LAN A clock clock P1 P2C P1 P2C devices attached to the RSTP ring can sustain the failure of any of the four ring links (green), but there are 14 unsecured links (red). Availability is not improvement significantly all doubly attached nodes can overcome any failure of a link (green) or bridge. Only doubly attached nodes improve availability significantly. Singly attached nodes (red links) are not protected. Redundancy in the network Redundancy in the nodes
  • 4. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 42019 © Kirrmann-Solutil IEC 62439-3.4 (PRP) Parallel Redundancy Protocol PRP principles
  • 5. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 52019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol PRP Principle Network Architecture bridge DANP bridge local area network B DANP bridgebridge bridge SAN bridge DANP DANP local area network A DANP DANP Two Ethernet networks (LANs) , completely separated, of similar topology operate in parallel. Each doubly attached node with PRP (=DANP) has an interface to each LAN. A DANP source sends a frame simultaneously on both LANs. A DANP destination receives in normal operation both frames and discards the duplicate. A singly attached destination only receives one. If a LAN fails, a DANP destination continues to operate with the frames from the other LAN. DANP SAN PRP “A” frames PRP “B” frames standard frames SAN = Singly Attached Node SAN SAN source destinations destinations DANP = Doubly Attached Node with PRP
  • 6. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 62019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol PRP characteristics PRP allows to attach nodes to a network by redundant network interfaces and links: • Tolerates any single network component (link, bridge) failure • Provides seamless operation (zero nanoseconds switchover) in case of network failure. • Supports time-critical communication • Increases probability of successful delivery • Is Invisible to the application • Is applicable to any Industrial Ethernet on layer 2 or above • Can be used with any topology (tree, ring,…) • Does not rely on higher layer protocols to operate or be configured • Allows mixing devices with single and double network attachment on the same LAN, • Allows to connect laptops and workstations to the network with standard Ethernet adapters- • Uses off-the shelf components (network interfaces, controllers, bridges and links) • Supervises redundancy continuously for device management • Is suitable for hot swap - 24h/365d operation in substations • Designed particularly for substation automation, high-speed drives and transportation.
  • 7. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 72019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Singly attached nodes LAN Tx RxTx network layer transport layer Rx Ethernet controllers transceivers (PHY) publisher/ subscriber upper layers LAN applications network layer transport layerpublisher/ subscriber applications link layer source node X destination node Y
  • 8. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 82019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol PRP Node Operation A B send duplicate Tx RxTx Tx RxTx Rx duplicate discard send on both LANs: the LRE sends each frame simultaneously on LAN A and LAN B. transfer: Frames over LAN A and B transit with different delays (or could not arrive at all) receive from both LANs: the node receives both frames, the LRE between link layer and Ethernet controllers handles the frames and can filter duplicates. Both lines are treated equal. network layer transport layer send duplicate Rx duplicate discard Ethernet controllers link redundancy entity (LRE) transceivers A B A B publisher/ subscriber upper layers LAN A LAN B applications network layer transport layerpublisher/ subscriber applications link layer source node X destination node Y
  • 9. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 92019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Why a layer 2 redundancy ? Most industrial Ethernet networks (e.g. Profinet) operate with a layer 2 (Link Layer) protocol. One motivation for this is the use of the publisher-subscriber method, that relies on broadcast of source-addressed data within the MAC broadcast domain. This excludes a redundancy scheme based on routers (Layer 3). Each node in PRP has the same MAC address on both network interfaces. Therefore, management protocols such as ARP operate as usual and assign that MAC address to the IP address(es) of that node. Tools based on SNMP also operate as usual. Redundancy methods must operate on Layer 2 (Logical Link) to address Industrial Ethernets with time-critical stacks built on Layer 2, such as IEC61850.
  • 10. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 102019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol SV GOOSE Typical Power Utility (IEC 61850) stack link layer VLAN - priority physical layer network transport session presentation MAC layer TCP IP ISO Transport RFC 1006 ISO Session ISO/IEC 8245 ACSE ISO/IEC 8649:1996 MMS ISO 9506-1:2003 Client/Server services ACSI PT=0x0800 applicationapplicationapplication SNTP ARP 802.p1 / 802.1Q PT=0x0806802.2 spanning tree (802.1d) PT=x88F7PT=x88B8PT=x88BA IEEE 1588 GOOSESV Hard Real-Time stack void Soft-Time stack ICMP link redundancy entity (PRP / HSR) Ethernet B Ethernet A clock 1588 logic 1588 logic Publisher/Subscriber services UDP
  • 11. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 112019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Attachment of non-redundant nodes (SAN) edge ports local area network B leaf link SAN leaf link RSTP bridge local area network A SAN SAN SAN redbox SAN Singly attached nodes (SAN) are preferably all attached to the same network. Network traffic is asymmetrical, but this does not affect redundant operation. Singly attached nodes can also be attached through a “redundancy box” (red box) DANP = Doubly Attached Node with PRP DANP DANPDANP DANPDANP SAN: singly attached node
  • 12. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 122019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol bridge B PRP cabling rules: keep the LANs separate Star topology (one bridge per LAN) Party-Line topology (bridge element in nodes) both cables can run in the same conduct only if common mode failure are unlikely bridge A common mode failures cannot be excluded since wiring comes close together at each device LAN A LAN B
  • 13. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 132019 © Kirrmann-Solutil IEC 62439-3.4 (PRP) Parallel Redundancy Protocol How PRP discards duplicates
  • 14. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 142019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Filtering: duplicate discard and duplicate accept A node receives the same frame twice if both redundant LANs are fault-free. There is in theory no need to discard duplicates at the link layer. Any communication or application software must be able to deal with duplicates, since bridging networks (e.g. 802.1D RSTP) could generate duplicates: • Most applications work on top of TCP, which was designed to discard duplicates • Applications on top of UDP or Layer 2 protocols (publisher/subscriber) must be able to ignore duplicates because they rely on a connectionless communication. PRP can operate without duplicate filtering (“Duplicate Accept” mode, used for testing). PRP uses a “Duplicate Discard” mode, helpful: 1) to offload the processors, especially when communication controllers are used. 2) to supervises redundancy, bus errors, partner nodes and topology. This turns out to be the major motivation. For this, a unique identifier for the frames is needed.
  • 15. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 152019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Introducing transparently the PRP trailer timedestination source LLC FCSpayloadpreamble size sequence number lane PRP suffix IFG 0,96 µs @ 100 Mbit/s timedestination source LLC FCSpayloadpreamble IFG 0,96 µs @ 100 Mbit/s Usual 802.3 frame PRP 802.3 frame 6 octets 6 octets 6 octets 2 4 The extension by 6 octets is invisible to normal applications
  • 16. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 162019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Why the PRP redundancy trailer works with SANs Putting the redundancy control trailer after the payload allows SANs, i.e. nodes not aware of PRP (singly attached nodes such as laptops) to understand PRP frames. All singly attached nodes ignore octets between the payload and the frame check sequence since they consider it as padding. To this effect, all (well-designed) protocols built on layer 2 have a size control field and a separate checksum. Example IP packet: destination source IP adr IP sizepreamble physical link addresses LLC IP payload IP packet RCT ignored by IP, treated as padding FCS ED link enddelimiter(phy) 48 48 IP checksum
  • 17. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 172019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Discarding duplicate frames with a sequence counter - each frame is extended by a sequence counter, a lane indicator, a size field and a suffix * inserted after the payload to remain invisible to normal traffic. - the sender inserts the same sequence counter into both frames of a pair, and increments it by one for each frame sent under the PRP protocol. - the receiver keeps track of the sequence counter for each for each source MAC address it receives frames from. Frames with the same source and counter value coming from different lanes are ignored. - for supervision, each node keeps a table of all other nodes in the network, based on observation of the network. This allows to detect nodes absence and bus errors at the same time. timedestination source LLC FCSpayloadpreamble size sequence counter lane original Ethernet frame PRP suffix * not present in PRP-0 16 bits 12 16 bits4 PRP trailer
  • 18. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 182019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Distinguishing redundant from non-redundant frames timedestination source LLC FCSpayloadpreamble size sequence number lane In a frame sent by a singly attached node, assuming random data in the payload, there is a probability of 2-28 that the size field matches the payload. However, a frame will not be discarded unless a second frame arrives from the other lane from that same source and sequence number and with the correct line identifier, which is not possible since a singly attached node is attached to one lane only (half network). The receiver detects if a frame is sent by a doubly attached node running PRP or is sent by a singly attached node with no redundancy trailer. To this purpose, a receiver identifies the PRP frames using suffix and the size field. If the suffix is present and the last 12 bits of the frame match the size of the payload, the receiver assumes that this frame is a PRP frame and a candidate for discarding. PRP suffix IFG 0,96 µs @ 100 Mbit/s NOTE: why not the size of the whole frame? because the size varies when VLAN tags are attached.
  • 19. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 192019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Sequence number build-up A PRP node increments the sequence number for each frame (pair) sent. A PRP receiver uniquely identifies a frame by {MACaddress, SequenceNumber} Due to bridge filtering, a receiver only receives part of the traffic (especially if one part of the traffic is multicast) and could see gaps in the received sequence numbers from the same source. It is also possible that the same frame comes more than twice in case of reconfiguration of RSTP. To this effect, a receiver keeps a list of received frame identifiers and sequence numbers (as a table, hash table, or numbering scheme). NOTE: the former version PRP0 had a sequence number per {sourceMAC, destinationMAC} tuple.
  • 20. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 202019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Principle of duplicate detection IEC 62439-3 does not specify the method used to discard duplicates since it depends on the implementation (e.g. FPGA or software), but it specifies rules: Any scheme that detects duplicates must fulfill the requirements: 1) never discard a legitimate frame as a duplicate 2) discard nearly all duplicates (some drop-out are unavoidable) An entry in the list must be purged before a different frame with the same MAC and SequenceNumber can come again. An entry in the list must be purged before a node that reboots can start sending frames with any sequence number. To this purpose, a node shall not reboot faster than the time it takes to flush all entries from the table of all its destinations. An entry in the sequence number list resides at least TresideMin and at most TresideMax (values are implementation-dependent) One cannot rely on the second occurrence of a pair {identifier, sequence} to retire an entry from the list since the second occurrence may never come.
  • 21. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 212019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol The duplicate discard bases on sequence numbers to uniquely identify a frame. The sequence number has a fixed size (i. e. 16 bits) so it wraps around after a number of frames (65535). The minimum wrap-around time t wrapMin happens when a node sends a series of consecutive minimal length frames (an unrealistic, worst-case) The minimum wrap around time can calculated: @ 100 Mbit/s : ((8 + 64 + 6 + 12) * 8)  65536 = 7.2 µs  65536 = 472 ms @ 1 Gbit/s: ((8 + 64 + 6 +12) * 8)  65536 = 0,72 µs  65536 = 47 ms. This means that a legitimate frame is detected as duplicate when the second frame of a pair is delayed so that it arrives within that time of the legitimate frame (see next slide). However, since a practical implementation is limited by the memory size, especially in FPGAs, it is likely that the memory will roll-over before the maximum wrap around time is reached. Duplicate detection: wrap-around of the sequence number
  • 22. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 222019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Duplicate Detection in function of skew t skew1< t resideMin tresideMin < t skew2 < t resideMax t skew4 < twrapMin - t resideMax 4 t skew3 > t resideMax Rule for reliable discard: tskew < tresideMin Rule for probable discard: tskew < tresideMax Rule for safe accept: t residenceMax < taliasRepMin Case 1: SeqNr is in table duplicate always detected if tskew < tresideMin Case 2: SeqNr possibly in table duplicate sometimes not detected, treated as new Case 4 SeqNr still in table next alias frame discarded as duplicate. error Case 5 SeqNr in table, duplicate detected on wrong alias A 0 1 42 3 5B Case 3 SeqNr out of table duplicate treated as new frame -> SeqNr entered, only safe if tresideMax < twrapMin ideally: t residenceMin = t residenceMax = t wrapMin /2 Proposal: t residenceMax = 500 ms t resideMax tskew twrapMin t resideMax t resideMin
  • 23. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 232019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Discussion The time twrapMin is the shortest time it takes for the same sequence number to appear again, so a legitimate frame could be rejected after this time because of an alias with a former frame. Since the shortest frame in 100 Mbit/s lasts 6,72 µs and the sequence number wraps at 65’536, the value of twrapMin is 440 ms (At 1 Gbit/s, it is 44 ms). This case is extreme, since no device should send a stream of contiguous short frames. This means that a new frame could be rejected as “duplicate” after this time. Entries must be aged out below this time, i.e. an entry should not remain longer than 440ms at 100 Mbit/s (resp. 44 ms in 1 Gbit/s) for the same MAC source address Therefore, a frame entry shall not reside longer than this time in the duplicate table, The condition is TresideMax < TwrapMin. This value (EntryForgetTime) is independent from the network speed and set to 440 ms. However, if a node reboots, it start sending frames with a random sequence number. For that reason, a node that reboots is constrained not to reboot before EntryForgetTime. The quiet time (NodeRebootInterval) was set to 500 ms for all speeds
  • 24. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 242019 © Kirrmann-Solutil IEC 62439-3.4 (PRP) Parallel Redundancy Protocol PRP Frame formats
  • 25. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 252019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Frame formats used in (all) Industrial Ethernets (SAN) LPDU = 42..1500 octets LPDU = 46..1500 octets (TCP, UDP, ICMP) length < x0600 destination source DSAP LLC (802.2) SSAP protocol type >x0600 destination source checksum destination source protocol type checksum ETPID = x8100 TCI, CFI 1518 octets 1522 octets 801.Q (VLAN)Ethernet II 802.2 / 802.3 Most Industrial Ethernet allow a mix of 802.2, 802.3, etc…resulting in 3 different frame types... IP traffic RSTP traffic Prioritized or VLAN traffic checksum LPDU = 42..1496 octets protocol type >x0600 1518 octets = 6.72 µs..123.04 µs @100 MBit/s <= 1518 octets <= 1522 octets
  • 26. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 262019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol PRP frames: redundancy control after the payload (DANP) The additional six octets could generate oversize frames of more than 1522 octets. Although these frames are accepted by all certified bridges (up to 1535 octets), some older bus controllers do not accept oversize frames, and therefore the sender should reduce the payload by playing on the LSDU size in the network layer (if the frame is going to be tagged). length <x0600 destination source DSAP LLC SSAP protocol type >x0600 destination source destination source protocol type checksum ETPID = x8100 TCI, CFI = x8100 1522 octets 802.1Q (VLAN)802.3/802.2 (e.g. BPDU)Ethernet II sequence number checksum sequence number checksum sequence number sizelane sizelane sizelane appended redundancy control trailer <= 1518 octets <= 1522 octets protocol type >x0600 protocol type >x0600 LPDU = 42..1490 octetsLPDU = 42..1492 octetsLPDU = 46..1496 octets 1518 octets1518 octets PRP suffixPRP suffixPRP suffix
  • 27. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 272019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Is appending a redundancy trailer in line with IEEE 802.3 ? PRP’s Duplicate Discard mode requires that frames be stretched by 6 octets. All protocols must be able to deal with data in the frames after the payload, since padding is part of the Ethernet protocol. E.g. IP has its own size control and checksum – data after the IP payload are ignored. The maximum size of the payload must be reduced by six octets to match the size of 1500 octets foreseen by IEEE 802.3-2002 § 4.4.2.1 This would not be necessary for the bridges, since all commercial bridges permit longer frames to support double VLAN tagging (Q-in-Q). However, some older Network Interfaces for PCs do not accept longer frames. Network analyzers can deal with PRP, the corresponding PRP extension already has been appended to EtherReal (http://www.ethereal.com) / Wireshark In networks where this could become a problem, the source should reduce of the LSDU size, e.g. at the IP level.
  • 28. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 282019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol PRP suffix Redundancy Control Trailer (RCT) and padding time destination source LLC FCSLSDUpreamble paddingsizesequence line Small frames use padding to meet the minimum frame size of 64 octets. Since padding can be introduced by bridges, the sender should always insert the padding itself to reduce the decoding burden (otherwise, the receiver has to search backwards for a matching field) 64 octets time destination source LLC FCSLSDUpreamble padding sizesequence line 64 octetsPadding inserted by the sender Padding introduced automatically: do not use PRP suffix
  • 29. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 292019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Why a size field is also useful time timetruncateddestination source PT LPDU FCS ? destination source LLC FCSLPDU01010101 sizesequence destination source PT FCSLPDULPDU truncation error: the last 32 bits are treated as CRC preamble Ethernet frames have, contrary to IEC 8802.3 frames, only a Hamming Distance of 1 against synchronization errors (frames truncation), since they do not contain a length field. To improve protection of the frames, a size field is appended to the frames. A node that receives a PRP frame from a known partner with incorrect size can flag an error. 01010101 preamble 01010101 FCS line only the application (if it is aware of it) can detect the problem.... "We detected a mismatch between TCP and Ethernet checksum in up to one frame in 400“ (Siggcom 2000, J. Stone & C. Patridge @standford, bbn) PRP-suffix
  • 30. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 302019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol PRP network management
  • 31. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 312019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Network supervision and detection of lurking faults PRP checks continuously all paths. In order not to rely on application cyclic data for this, each DANP sends periodically a supervision frame that indicates its state. The period is relatively long (some seconds) since the supervision frame is not needed for switchover, but only to check dormant redundancy. All nodes should keep a node table of all detected partners and registers the last time a node was seen as well as the number of received frames from each other node over both interfaces. Since this may increase the complexity, simple devices are exempted from keeping a node table. The duplicate discard mode allows to keep track of all nodes in the network. Changes to the topology are communicated over SNMP or to the Link Management Entity.
  • 32. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 322019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Network management singly-attached nodes 172.16.1.14 172.16.1.66 node 1 node 2 node 4 node 65 node 66 bridge A "red box" LAN A LAN B bridge B2 172.16.1.11 172.16.1.12 172.16.1.129 172.16.1.192 doubly-attached nodes bridge B3 172.16.1.195 COTS NM tool 172.16.1.14 bridge B1 172.16.1.193 bridges are single-attached devices and have different IP addresses on each LAN, although their function can be the same as that of a corresponding bridge on the other network. Each PRP node has an SNMP agent to keep track of redundancy.
  • 33. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 332019 © Kirrmann-Solutil IEC 62439-3.4 (PRP) Parallel Redundancy Protocol PRP technology
  • 34. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 342019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol Maturity of technology PRP is supported since 2007 by ABB and the Zurich University of Applied Sciences at Winterthur (ZHAW). ZHAW built an independent Linux DANP using only the IEC document as specification. Interoperability between VxWorks, Linux and Windows implementations was tested in 2008. PRP has been adopted by IEC 61850 as the redundancy principle for the Station Bus. LAN_A LAN_B 1st prototype (2005) PRP is here handled by the main processor. Co-processor or FPGA can execute PRP as well. PRP in Factory Acceptance Test - picture courtesy ABB
  • 35. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 352019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol PRP: Pros & Cons + seamless operation (zero switchover time) + application-independent, suits any Industrial Ethernet network. + uses standard bridges and protocols unmodified (ARP, DHCP, TCP/IP…) + allows attachment of nodes with any single port node to the network (with no redundancy) + does not breach the fail-independence of the redundant networks + supervises constantly the redundancy in “duplicate discard” mode (both LANs are active) + monitors actual topography (over network management / SNMP) + compatible with IEEE 1588 – a redundant clock profile is defined - requires complete doubling of the network, two Ethernet controllers and a special driver per node (about twice the costs – but this is the price to pay for any full redundancy) - restricted to a layer 2 broadcast domain (not a limitation in Industrial Ethernet) - requests that singly attached nodes that need to communicate with each other are connected all to the same LAN (or through a “red box”) - cost six bytes overhead in a frame – but oversize frames should become IEEE standard.
  • 36. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 362019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol PRP extensions The principle of PRP has been applied to IP networks. In this case, the sequence number already exists since IPv4 supports segmentation (identification field). In IPv6, a sequence number is also available in the flow label. However, there are no applications in utility automation that make use of this capabilites. One reason is that the expected availability increase has to be matched against the costs of defining disjoint paths in a network.
  • 37. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 372019 © Kirrmann-Solutil IEC 62439-3.4 (PRP) Parallel Redundancy Protocol PRP vs. other standards
  • 38. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 382019 © Kirrmann-Solutil IEC 62439-3 Parallel Redundancy Protocol State of standardization and other solutions in IEC 62439 The “Highly Available Automation Networks” IEC SC65C WG15 selected PRP and HSR as one of its redundancy methods, along with: MRP (Siemens-Hirschmann) implements “redundancy in the network” with singly attached devices attached to a ring, with moderate increase in availability and disruption delay of 200 ms-500 ms. It is interesting if the bridges are integrated in the devices, but this limits topology to a simple ring of up to 50 bridges. CRP (Honeywell/Fieldbus Foundation) implements – like PRP – “redundancy in the devices”, offers the same availability as PRP, but has disruption times of 200 ms – 2s. It allows to connect singly attached devices to both network halves, but costs aggregated links in the (mandatory) root bridges. CRP (SupCon, China) is a ring redundancy protocol which competes with MRP and uses a tight clock synchronization to support time-slotted real-time traffic. Only PRP and HSR provide zero recovery time.
  • 39. IEC SC65C WG15 2019-02-17 - IEC 62439 PRP 392019 © Kirrmann-Solutil INTERNATIONAL ELECTROTECHNICAL COMMISSION