Advanced Protection and Control Ieds From Abb: This Webinar Brought To You by The Relion Product Family
Advanced Protection and Control Ieds From Abb: This Webinar Brought To You by The Relion Product Family
l Slide 2
September 17,
2015
ABB Protective Relay School Webinar Series
© ABB Inc.
September 17, 2015 | Slide 4
Learning objectives
Communication interfaces
Serial: RS-232, RS-485
Ethernet/IP
Communication media
Copper
Fiber
Wireless
Application protocols / communication rules
Modbus
DNP
IEC 61850
© ABB Group
September 17, | Slide 5
2015
What is RS-232?
Definition
NODE
Found in many format, mainly 9/25 pin, but RJ-45 has been used.
RS-232 is a point to point connection network.
It is voltage based (referenced to a single common return [ground]).
Relays may have multiple RS-232 ports.
Usually one reserve for local programming (front port).
It is the most commonly used electrical interface.
It is a TIA (Telecommunications Industry Association) standard.
It was originally developed on EIA subcommittee TR30.2 on interface.
Latest revision as of July 2009 is TIA-RS232-F
© ABB Group
September 17, | Slide 6
2015
Typical RS-232 devices
POINT TO POINT
B A A A
VALUE
EC
RS-232
The Cloud.
RING WITH FIBER OPTIC MODEMS EC
B A A A
VALUE
EC
RS-232 RS-232
RS-232 B A
A VALUE
A
© ABB Group
September 17, 2015 | Slide 7
RS-232 ANSI Specification
2 Emulations
DTE- Date Terminal Equipment
Example: personal computer
© ABB Group
September 17, | Slide 8
2015
Electrical levels
Voltage is Negative
Binary State = 1 +15 VDC
Signal Condition -3V to -15V
Mark. +3 VDC
Voltage is Positive
Binary State = 0
0VDC Intermediate Region
-3 VDC
Signal Condition +3 to + 15 V
Space. - 15 VDC
© ABB Group
September 17, 2015 | Slide 9
Speed RS-232
© ABB Group
September 17, | Slide 10
2015
RS-232 Connector
© ABB Group
September 17, | Slide 11
2015
RS-232 DB-25 wiring diagram
DTE DCE
1 - Protective Ground 1 - Protective Ground
2 - Transmitted Data 2 - Transmitted Data
3 - Received Data 3 - Received Data
4 - Request To Send 4 - Request To Send
5 -Clear To Send 5 -Clear To Send
6 - Data Set Ready 6 - Data Set Ready
7 - Signal Ground -Common Return 7 - Signal Ground -Common Return
8 - Data Carrier Detect 8 - Data Carrier Detect
20 - Data Terminal Ready 20 - Data Terminal Ready
22 - Ring Indicator 22 - Ring Indicator
Signal
Transmit (TX)
Receive (RX)
Ground (GND)
Control
Clear To Send (CTS)
Request To Send (RTS)
Data Set Ready (DSR)
Data Terminal Ready (DTR)
Carrier Detect (CD)
© ABB Group
September 17, | Slide 13
2015
RS-232 (DB-9)
DTE ( )
9 Pin DCE
DTE DCE
2 - TX RX - 2
3 - RX TX - 3
4 - DTR DTR - 4
Note: If both devices are 5- GND GND - 5
DTE’s or DCE’s 6 - DSR DSR - 6
re-pin the cable as 7 - RTS RTS - 7
necessary! 8 - CTS CTS - 8
50 feet cable length maximum
© ABB Group
September 17, 2015 | Slide 14
WHAT HAPPENS IF I NEED
TO CONNECT DTE/DTE
OR DCE/DCE RELAYING?
NULL MODEM
© ABB Group
September 17, | Slide 15
2015
What is a Null Modem?
NODE A NODE B
2 TD 2 TD
3 RD 3 RD
5 GND 5 GND
7 RTS 7 RTS
8 CTS 8 CTS
4 DTR 4 DTR
6 DSR 6 DSR
There are times when handshaking is required by the software and not by
the hardware.
© ABB Group
September 17, 2015 | Slide 16
RS-232
Advantages/Disadvantages
Advantages
Easy to implement
Easy to troubleshoot
Designed for “long-range” communication equipment
Disadvantages
Susceptible to noise
Relativity short distances
Designed for single devices
© ABB Group
September 17, | Slide 17
2015
RS-485
Advantages
Easy to implement
High expandability
Less Susceptible to noise
Disadvantages
Higher wiring costs
More difficult to troubleshoot
© ABB Group
September 17, 2015 | Slide 18
An IBM PC has an RS-232 Port
RS-485
© ABB Group
September 17, 2015 | Slide 19
RS-485
2 Variants of RS-485
2 Wire (Half Duplex)
TX = TX +
TX – TX-
RX + RX +
RX – RX –
REF REF
RX + TX +
RX – TX –
REF REF
Simplex- data transmission in one direction only (not used very often).
Half Duplex- data that can be transmitted in both directions, but not at the
same time.
Full Duplex- data that can be transmitted in both directions (TX/RX) at the
same time.
© ABB Group
September 17, 2015 | Slide 20
RS-485 Loading
Balanced communication
Sensed between + and -
A, B
+,-
© ABB Group
September 17, | Slide 21
2015
RS-485 Loading
© ABB Group
September 17, | Slide 22
2015
RS-485 Isolation
Internal External
to IED to IED
Internal External
IED World
circuitry Current/
Internal and references Voltage
External Reference diode Isolated via
same ground Opto- Electronics
Electronic Isolation
Internal Components sharing same ground. Noise isolation limited to that of
the integrated circuit. (Isolation = several volts)
Opto-Isolation
Internal Optical Isolation Circuitry. Isolates grounds from components
(isolation = several KV)
© ABB Group
September 17, 2015 | Slide 23
RS-485
What about grounding?
© ABB Group
September 17, | Slide 24
2015
Topology Diagram RS-485 Multi-drop Architecture
+5V
BANK SW 2
Dipswitch 1 = IN (Term Resitor IN)
Three-wire cable with
RS232/ RS422/485
Converter
E
C
shield. Cable “B”
* See Note A.
E
C E
C E
C
IEEE 802.3
Ethernet nodes found in substations are usually connected via
Fiber Optics.
Ethernet nodes may be connected via copper (CAT 5 Cable).
Copper: 10Base-T, 100Base-TX
RJ-45 Connector
Fiber: 100Base-FX
SC Connector (push/pull)
ST Connector (screw in)
Others
Ethernet
Cable Connection
© ABB Group
September 17, | Slide 27
2015
Ethernet Copper Connectivity
Ethernet Straight Through Cable
Ethernet Straight
Ethernet Cross Through Cable
Pinned Cable Ethernet
Hub
Pin # EIA/TIA 568A AT&T 258A, or Ethernet Token Ring FDDI, ATM, and
EIA/TIA 568B 10BASE-T TP-PMD
1 White/Green White/Orange X X
2 Green/White Orange/White X X
3 White/Orange White/Green X X
4 Blue/White Blue/White X
5 White/Blue White/Blue X
6 Orange/White Green/White X X
7 White/Brown White/Brown X
8 Brown/White Brown/White X
3- 17-26
© ABB Group
September 17, 2015 | Slide 29
Courtesy of Enterasys Knowledge @ http://knowledgebase.enterasys.com/esupport/esupport
Ethernet
Fiber Connection
© ABB Group
September 17, | Slide 30
2015
Ethernet
Fiber Connection
Single-mode
Single wavelength of light
Used for long distances
High bandwidth
More expensive
Multi-mode
Multiple wavelengths
Allows more “channels”
Less expensive
© ABB Group
September 17, | Slide 31
2015
Ethernet
Fiber Connection
Glass Diameters
Most common 62.5 µm
Longer distances Most common
More expensive 50 µm
Plastic Higher bandwidths
Cheaper
Very short distances
Low speeds
© ABB Group
September 17, | Slide 32
2015
Ethernet fundamentals
Media interfaces
© ABB Inc.
September 17, 2015 | Slide 33
Ethernet fundamentals
Media interfaces
© ABB Inc.
September 17, 2015 | Slide 34
Ethernet fundamentals
Media interfaces
© ABB Inc.
September 17, 2015 | Slide 35
Ethernet fundamentals
Data frame structure
© ABB Inc.
September 17, 2015 | Slide 36
Ethernet fundamentals
MAC addresses
© ABB Inc.
September 17, 2015 | Slide 37
Ethernet fundamentals
Traffic types and special MAC addresses
© ABB Inc.
September 17, 2015 | Slide 38
Ethernet fundamentals
Traffic types and special MAC addresses
Special MAC addressed are used for broadcast (all 1s) and
multicast (first byte of MAC address least significant bit is 1 )
© ABB Inc.
September 17, 2015 | Slide 39
Ethernet fundamentals
Network topologies
© ABB Inc.
September 17, 2015 | Slide 40
Ethernet fundamentals
Hubs and collisions
© ABB Inc.
September 17, 2015 | Slide 41
Ethernet fundamentals
Hubs and collisions
© ABB Inc.
September 17, 2015 | Slide 42
Ethernet fundamentals
Hubs and collisions
© ABB Inc.
September 17, 2015 | Slide 43
Ethernet switch functionality
Full-duplex mode
© ABB Inc.
September 17, 2015 | Slide 44
Ethernet switch functionality
Dedicated, not shared
© ABB Inc.
September 17, 2015 | Slide 45
Ethernet switch functionality
MAC address table
© ABB Inc.
September 17, 2015 | Slide 46
Ethernet switch functionality
MAC address table
© ABB Inc.
September 17, 2015 | Slide 47
Ethernet switch advanced functionality
Priorities
© ABB Inc.
September 17, 2015 | Slide 48
Ethernet switch advanced functionality
Priorities
© ABB Inc.
September 17, 2015 | Slide 49
Ethernet switch advanced functionality
VLANs
© ABB Inc.
September 17, 2015 | Slide 50
Ethernet switch advanced functionality
VLANs
© ABB Inc.
September 17, 2015 | Slide 51
Ethernet switch advanced functionality
VLANs
© ABB Inc.
September 17, 2015 | Slide 52
Ethernet switch advanced functionality
Multicasting
© ABB Inc.
September 17, 2015 | Slide 53
Ethernet switch advanced functionality
Example of Ethernet network
© ABB Inc.
September 17, 2015 | Slide 54
General Communication Architecture
LAN
Local
Area
Network
HUB/SWITCH
The Internet uses TCP/IP protocol stack. Data is mapped into multiple
layers, e.g. (TCP/IP over Ethernet)
Understanding the TCP/IP Model
IP address: 192.168.1.5
Subnet mask: 255.255.255.0
Gateway: 192.168.1.1
192.168.2.5 192.168.3.5
IP Addressing
Network Address
Identifies the network
Host Address
Identifies a device inside a network
IP address: 192.168.1.5
Subnet mask: 255.255.255.0
Gateway: 192.168.1.1
© ABB Group
September 17, 2015 | Slide 57 192.168.2.5 192.168.3.5
Modbus
© ABB Group
September 17, | Slide 58
2015
What makes Modbus a non-utility protocol?
Point to Point
Address 1
Confirm
E
SCADA C
Address 247
1 2 3 4 5
© ABB Group
September 17, 2015 | Slide 61
Modbus
Emulation
ASCII Mode
Asynchronous communication
Hexadecimal ASCII characters 0-9, A-F ( 30 - 39, 41,46)
10 bit protocol
1 start bit
7 data bits
1 parity (if enabled)
1 stop bit (it parity) or 2 stop bits (if no parity enabled)
Longitudinal redundancy check
© ABB Group
September 17, | Slide 62
2015
Modbus
Emulation
RTU Mode
Synchronous communication
Data 8 bit binary, hexadecimal 0-9, A-F
11 bit protocol
1 start bit
8 data bits, LBS sent first
1 bit parity (if selected)
1 stop bit (it parity) or 2 stop bits (if no parity selected)
CRC-16 error check
Most common
© ABB Group
September 17, | Slide 63
2015
Modbus
0 XXXX Memory (coils)
000512 1
TRIP C 1
000513 0 27-1P 0
000514 1 46 0
50P-1 0
001024 0 50N-1 0
PLC C
E
00008 Physical Output 8
+V
C
E
Physical Input 1
Permanently assigned
PLC as TRIP
100001
© ABB Group
September 17, 2015 | Slide 65
Modbus
3 XXXX Memory
30001 65535
30002 -32123 CT
30003 100
EC
30004 0
0- 20 mA = PLC # 0 - 4095
I an
Transducer PLC
PLC 0
© ABB Group
September 17, 2015 | Slide 68
Modbus
Function 01- Read Coil Statues
© ABB Group
September 17, | Slide 69
2015
Modbus
What happens if….?
© ABB Group
September 17, | Slide 70
2015
Modbus
How is this anomaly resolved?
© ABB Group
September 17, | Slide 71
2015
Modbus
Function 01 – Read Coil Status
Example - Read Output 1-6, with two bit status
C
E
Read from
0X Mapping
Obtain Output 8 Through Output 3 Status Indication (01037 to 01048 per the memory map).
Host Sends : 01 01 04 0C 00 00 14 - - = LRC or CRC Code
Addr = 01
Function = 01
Address = 1037 ( which is 1036 in hex = 040C)
Amount of Data Requested = 12 Coils
Relay Responds: 01 01 02 A1 02 -
Addr = 01
Function = 01
Data Bytes Received = 2
Data Received = A1 02
Modbus
Function 02- Read Input Status
© ABB Group
September 17, | Slide 73
2015
Modbus
Function 02 – Read Input Status
Example - Read User Logical Input 1-6, with two bit status
C
E
Read from
1X Mapping
Obtain ULI1 Through ULI 6 Status Indication (10559 per the memory map).
Host Sends : 01 02 01 2E 00 14 - - = LRC or CRC Code
Addr = 01
Function = 02
Address = 559 ( which is 558 in hex = 012E)
Amount of Data Requested = 12 Inputs
Relay Responds: 01 02 02 A1 02 -
Addr = 01
Function = 01
Data Bytes Received = 2
Data Received = A1 02
Modbus
Function 03- Read Holding Registers
© ABB Group
September 17, | Slide 75
2015
DNP
Protocol History
© ABB Group
September 17, | Slide 76
2015
DNP 3.0
© ABB Group
September 17, | Slide 77
2015
DNP 3.0
© ABB Group
September 17, | Slide 78
2015
DNP
Definition of terms
© ABB Group
September 17, | Slide 79
2015
DNP
Object types per object category
Counter 20,21,22,23 |1 - 8| |1 – 12 | |1 – 8 |
|1–8|
Analog Input 30,31,32,33 |1 – 4| |1 – 6 | |1 – 4|
|1 – 4|
Analog Output 40,41 | 1, 2 | | 1, 2|
© ABB Group
September 17, 2015 | Slide 80
DNP
Object types per object category
© ABB Group
September 17, 2015 | Slide 81
DNP 3.0
Level 1
Master
Slave
SEND
RESPOND
Data Concentrator Meter
SCADA Host Relay
Master Requests - Slave Responds
Cap Bank Controller
Auto-Recloser
Slave MUST Accept Requests for:
Data Object Reads
Binary/Analog Output Object Reads *
Control Operations for Binary/Analog Outputs
Cold and Internal Indication Restarts
Delay Measurements
Writes to Date and Time
© ABB Group
September 17, 2015 | Slide 82
DNP 3.0
Level 1
© ABB Group
September 17, | Slide 83
2015
DNP 3.0
Level 1
© ABB Group
September 17, | Slide 84
2015
DNP 3.0
Level 2
© ABB Group
September 17, 2015 | Slide 85
DNP 3.0
What does the data link layer do?
© ABB Group
September 17, | Slide 86
2015
DNP 3.0
Transport layer
© ABB Group
September 17, | Slide 87
2015
DNP 3.0
Class data reporting
© ABB Group
September 17, | Slide 88
2015
DNP 3.0
Unsolicited reporting
© ABB Group
September 17, | Slide 89
2015
IEC 61850
© ABB Group
September 17, | Slide 90
2015
IEC 61850
Goal of the standard
Interoperability
Exchange information between Intelligent Electronic Devices
(IED’s) from several manufacturers.
IEDs use this information for their own function.
Free Configuration.
Free allocation of functions to devices.
Support any philosophy of customer – centralized or
decentralized systems.
© ABB Group
September 17, | Slide 91
2015
IEC 61850
Data Model
Thanks to such representation, functions can then be allocated to objects within the
substation.
Addressing scheme takes this into consideration tying the data with the application,
object, and location within the substation.
Bradley.J1.Q08.A01.LD0.MMXU1.A.phsA
Bradley.J1.Q08.A01.LD0.MMXU1.A.phsB
Bradley.J1.Q08.A01.LD0.PTOC.Op.general
Bradley.J1.Q08.A01.LD0.XCBR1.Pos.stVal
© ABB Group
September 17, 2015 | Slide 92
IEC 61850
Data model – logical node
© ABB Group
September 17, | Slide 94
2015
IEC 61850 Substation Modeling
The Substation Structure
Orlando Substation
Orlando Substation
Line 1 Line 2
T1 Line 3 Bay D2
© ABB Group
September 17, | Slide 96
2015
IEC 61850
Communication methods
Client Server
Similar to Master-Slave.
Data is published by the IED (Server).
IED’s subscribe to data (Client).
Peer to Peer
Data is published by the IED (Server).
IED’s subscribe to data (Client).
High speed.
© ABB Group
September 17, | Slide 97
2015
IEC 61850
Client - Server
© ABB Group
September 17, | Slide 98
2015
IEC 61850
Digitize copper
© ABB Group
September 17, | Slide 99
2015
IEC 61850
What is a GOOSE message?
Performance
Fast messages Type 1A (Class P2/P3) received within 3ms.
This includes transmission time into the other IEDs (similar to an
output to input connection between 2 relays).
© ABB Group
September 17, | Slide 100
2015
IEC 61850
What is a GOOSE message?
© ABB Group
September 17, | Slide 101
2015
Summary
ModBus, DNP 3.0, and IEC 61850
Year RS-232 RS-485 Ethernet Description Data
of SS Description
ModBus 1978 YES YES YES NO NO
DNP 1990 YES YES YES NO NO
IEC 61850 2003 NO NO YES YES YES
© ABB Group
September 17, | Slide 102
2015
Conclusions
© ABB Group
September 17, | Slide 103
2015
This webinar brought to you by:
ABB Power Systems Automation and Communication
• Relion Series Relays – Advanced flexible platform for protection and control
• RTU 500 Series – Proven, powerful and open architecture
• MicroSCADA - Advanced control and applications
• Tropos – Secure, robust, high speed wireless solutions
© ABB Group
September 17, | Slide 105
2015