Top Banner
Optimize Ethernet Communication using PRP and HSR Redundancy Protocols
23

Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Dec 22, 2015

Download

Documents

Benjamin Hicks
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Optimize Ethernet Communication usingPRP and HSRRedundancy Protocols

Page 2: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 2- Energy – HSR & PRP – Henri Grasset 22/08/2014

HSR or PRP or a mix of?

Single ring HSR is preferred to connect a small amount of IEDs*● HSR is using single ring topology thus no need of additional switches● Plug & Play● It is not possible to connect a laptop to this network but using a Red Box● The communication bandwidth used is “multiplied” thus the number of IEDs is limited*

● Double (or multiple) rings can not help as the bottleneck(s) would be in the rings interconnection (red/quad box)

*: Around 20 for 100Mbit/s

Optional RedBox

Ring A Ring B

Page 3: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 3- Energy – HSR & PRP – Henri Grasset 22/08/2014

HSR or PRP or a mix of?

PRP is preferred to connect a big amount of IEDs sharing the same application and with no need of either physical network or sub application segregation*

● It is possible to directly connect a laptop to this network● Plug & Play● The communication bandwidth used is “normal” thus the number of IEDs is “not limited”● PRP is usually using star topology thus additional switches are needed

*: during test for example

PRP

Network 1 Network 2

PRP PRP

PRP SwitchPRP Switch

Page 4: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 4- Energy – HSR & PRP – Henri Grasset 22/08/2014

HSR or PRP or a mix of?

Mix of single rings HSR and PRP is preferred to connect a big amount of IEDs not sharing the same applications or with a need of either network or sub application segregation

● Plug & Play● It is possible to directly connect a laptop to the PRP network and communicate with all the

IEDs

1. HSR Rings● HSR is using ring topology thus no need of additional switches● The amount of IED is small* thus no bandwidth issue

2. PRP network● The amount of IEDs is “not limited”● The amount of switches is optimized

3. HSR/PRP interconnections● Made with 2 Red Boxes per connection

*: Around 20 for 100Mbit/s

Page 5: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 5- Energy – HSR & PRP – Henri Grasset 22/08/2014

Optimised Network Topology

RedBox RedBox

Network 1

Ring A

HSR HSR

Ring B

Control

Switch

Page 6: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 6- Energy – HSR & PRP – Henri Grasset 22/08/2014

Optimised Network Topology

RedBox 1 RedBox 2 RedBox 3 RedBox 4PRP

Network 1

Ring A

Network 2

HSR HSR

Ring B

PRP Switch

PRP Switch

Page 7: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 7- Energy – HSR & PRP – Henri Grasset 22/08/2014

HSR or PRP or a mix of?

Conclusion:

● There is no “fit for all” or “Best” solution

● For small amount of IEDs*:● Single ring HSR is preferred

● For big amount of IEDs:● If there is no need of either physical network or sub application segregation

– PRP is preferred

● If there is a need of either physical network or sub application segregation– Mix of single rings HSR and PRP is preferred

*: Around 20 for 100Mbit/s

Page 8: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 8- Energy – HSR & PRP – Henri Grasset 22/08/2014

Future Optimised Network Topology?

“SmartQuadBox 1

SQuadBox 2

“Smart” QuadBox 3

“Smart“ QuadBox 4

1Gbit HSRWith Multicastfiltering

Ring A

100 Mbit HSR 100 Mbit HSR

Ring B

Page 9: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

THANK YOU

Page 10: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

IEC 62439 PRP & HSR(Parallel Redundancy Protocol &High-availability Seamless Redundancy)

Page 11: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

PRPParallel Redundancy Protocol

Page 12: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 12- Energy – HSR & PRP – Henri Grasset 22/08/2014

PRP (IEC 62439-3 Clause 4)● Differences (with HSR)

● Allows● Mixing single and double network attachment devices on the same LAN (not

redundant and redundant devices)● Thus connect laptops and workstations to the network with standard Ethernet

adapters (not redundant devices)

● Uses off-the shelf components (network interfaces, controllers, switches…)

● HSR:● Ethernet redundancy method DEPENDENT of the HSR Ethernet protocol● DOES NOT Allow Mixing single and double network attachment devices on the

same LAN (not redundant and redundant devices)● Thus connect laptops and workstations to the network with standard Ethernet

adapters must be done by RedBox

● Uses HSR components (network interfaces, controllers, switches…)

Page 13: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 13- Energy – HSR & PRP – Henri Grasset 22/08/2014

PRP Network Architecture

switch

DANP

switch

Local Area Network B

DANP

switchswitch

switch

SAN

switch

DANP DANP

Local Area Network A

DANPDANP

Two Ethernet networks (LANs) , completely separated, 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.attentionA 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 operates with the frames from the other LAN.

= Doubly Attached Node(PRP)

DANP SAN

PRP “A” framesPRP “B” framesstandard frames

= SinglyAttachedNode

SAN

SAN

source

destinations destinations

Page 14: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 14- Energy – HSR & PRP – Henri Grasset 22/08/2014

PRP Network Architecture

switch

DANP

switch

Local Area Network B

DANP

switchswitch

switch

SAN

switch

DANP DANP

Local Area Network A

DANPDANP

Two Ethernet networks (LANs) , completely separated, 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.attentionA 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 operates with the frames from the other LAN.

= Doubly Attached Node(PRP)

DANP SAN

PRP “A” framesPRP “B” framesstandard frames

= SinglyAttachedNode

SAN

SAN

source

destinations destinations

Page 15: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 15- Energy – HSR & PRP – Henri Grasset 22/08/2014

PRP Network Architecture

switch

DANP

switch

Local Area Network B

DANP

switchswitch

switch

SAN

switch

DANP DANP

Local Area Network A

DANPDANP

Two Ethernet networks (LANs) , completely separated, 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.attentionA 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 operates with the frames from the other LAN.

= Doubly Attached Node(PRP)

DANP SAN

PRP “A” framesPRP “B” framesstandard frames

= SinglyAttachedNode

SAN

SAN

source

destinations destinations

= RedBox(SAN / PRP)

Page 16: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 16- Energy – HSR & PRP – Henri Grasset 22/08/2014

Px40 Network Topology example

LAN B of any typeLAN A of any type

Px4x Px4x Px4x

Page 17: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 17- Energy – HSR & PRP – Henri Grasset 22/08/2014

Frame identification

●PRP● PRP “tag” is at the end of the frame in order to be interoperable with today’s (not PRP) switches

●HSR● HSR “tag” is at the beginning of the frame in order to transmit further without delay

Page 18: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

HSRHigh-availability Seamless Redundancy

Page 19: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 19- Energy – HSR & PRP – Henri Grasset 22/08/2014

HSR (IEC 62439-3 Clause 4)● Differences with PRP

● DOES NOT Allow Mixing single and double network attachment devices on the same LAN (not redundant and redundant devices)

● Thus connect laptops and workstations to the network with standard Ethernet adapters must be done by RedBox

● Uses HSR components (network interfaces, controllers, switches…)

● PRP:● Ethernet redundancy method independent of any Ethernet protocol● Allows

● Mixing single and double network attachment devices on the same LAN (not redundant and redundant devices)

● Thus connect laptops and workstations to the network with standard Ethernet adapters (not redundant devices)

● Uses off-the shelf components (network interfaces, controllers, switches…)

Page 20: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 20- Energy – HSR & PRP – Henri Grasset 22/08/2014

HSR Network Architecture

“An” Ethernet network Ring(s) connecting each doubly attached node with HSR (=DANH).A DANH source sends a frame simultaneously on both ports and blocks the sent messages.All DANH receive in normal operation both frames and instantaneously forwards them.A DANH destination receives in normal operation both frames, forwards them and discards the duplicate.A singly attached destination only receives one via a RedBox.If a link fails, a DANH destination operates with the frames from the other path.

PRP “A” framesPRP “B” framesstandard frames

Page 21: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 21- Energy – HSR & PRP – Henri Grasset 22/08/2014

HSR Network Architecture

“An” Ethernet network Ring(s) connecting each doubly attached node with HSR (=DANH).A DANH source sends a frame simultaneously on both ports and blocks the sent messages.All DANH receive in normal operation both frames and instantaneously forwards them.A DANH destination receives in normal operation both frames, forwards them and discards the duplicate.A singly attached destination only receives one via a RedBox.If a link fails, a DANH destination operates with the frames from the other path.

PRP “A” framesPRP “B” framesstandard frames

Page 22: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 22- Energy – HSR & PRP – Henri Grasset 22/08/2014

Px40 Network Topology example

Px4x Px4x Px4x

Page 23: Optimize Ethernet Communication using PRP and HSR Redundancy Protocols.

Schneider Electric 23- Energy – HSR & PRP – Henri Grasset 22/08/2014

Frame identification

●PRP● PRP “tag” is at the end of the frame in order to be interoperable with today’s (not PRP) switches

●HSR● HSR “tag” is at the beginning of the frame in order to transmit further without delay