Professional Documents
Culture Documents
Communiicatiion Protocolls PDF
Communiicatiion Protocolls PDF
1. 7 Layer Model
2. Communication Relationships
3. Topologies
4. Substation Implementation (UCA)
5. Traditional Protocols (Modbus, IEC 870-5 T103)
6. Net DDE vs. OPC
7. Inter Control Center Protocol (ICCP)
3
01. Communication Protocols
Communication Protocols and Standards
PROTOCOL
A set of rules for operating a communication system
4
01. Communication Protocols
Communication Protocols and Standards
Communications Model
5
01. Communication Protocols
Communication Protocols and Standards
User A User B
User to User Communications
Layer 7 Application Application
User to User Encoded Communications
Layer 6 Presentation Presentation
User to User
Layer 5 Session Session
User to User Messages
Layer 4 Transport Transport
User to User Packets
Layer 3 Network Network
End to End Packets
Layer 2 Data Link Data Link
End to End Bits
Layer 1 Physical Physical
Communication Signals
6
01. Communication Protocols
Communication Protocols and Standards
7
01. Communication Protocols
Communication Protocols and Standards
8
01. Communication Protocols
Communication Protocols and Standards
TOKEN-RING CONCEPTS
9
01. Communication Protocols
Communication Protocols and Standards
“STAR” Architecture
IED IED
Hub
IED Active/ Passive IED
IED IED
11
01. Communication Protocols
Communication Protocols and Standards
Interoperability
12
01. Communication Protocols
Utility Communication Architecture - UCA
13
01. Communication Protocols
Utility Communications Architecture UCA
Utility Communication
Architecture - UCA
14
01. Communication Protocols
Utility Communications Architecture UCA
LLC 1 ISDN
HDLC/LAPB
LAPD
CSMA/ Token Token
CD Bus Ring FDDI EIA - ISDN
V.35
(8802/3) (8802/4) (8802/5) 232-D X.21 Interfaces
15
01. Communication Protocols
Utility Communications Architecture UCA
Substation Integrated
Protection, Control and Data Acquisition
Phase 1, Task 2
Requirements Specification
Project/Documentation Site:
Ftp.sisconet.com/epri/subdemo
16
01. Communication Protocols
Utility Communications Architecture UCA
18
01. Communication Protocols
Typical Substation UCA Real-
Time Architecture UCA
UCA REAL - TIME SERVICES / GOMSFE
MMS / ISO 9506
A - Unit Data ACSE / ISO 8650
UTILITY ENTERPRISE
CL Presentation / ISO 9576 CO Presentation / ISO 8823
WIDE AREA
CL Session / ISO 9548 CO Session / ISO 8327 NETWORK (WAN)
Gateway /
PLCs Relays Devices HOST
Devices
19
SUBSTATION LAN
01. Communication Protocols
Substation Peer-to-Peer
Standard Development
IEC STATUS
20
01. Communication Protocols
Utility Communications Architecture - UCA
ETHERNET Description
Carrier Sense Multiple Access /
Collision Detection
CSMA / CD
Msg @
to
………. Msg @
to
Capacitive Coupler
23
01. Communication Protocols
Utility Communications Architecture - UCA
MMS Objects
24
01. Communication Protocols
Utility Communications Architecture - UCA
• Attributes:
-Object Name (scope)
-MMS Deletable (boolean)
-Type description
-Access method (Public, tec.)
-Address (Public only)
• Type Classes:
• Although MMS Data has the form information built-in (integer, string, boolean,
etc.), only the Type Def’n has the size information needed to convert to local
format.
26
01. Communication Protocols
Utility Communications Architecture - UCA
Domain
27
01. Communication Protocols
Utility Communications Architecture - UCA
MMS Services
• Get Object
• Change Object
• Determine Attributes
• Create Object
• Delete Object
28
01. Communication Protocols
Utility Communications Architecture - UCA
Domain Services
• Upload: InitiateUploadSequence
UploadSegment
TerminateUploadSequence
• Download: InitiateDownloadSequence
DownloadSegment
TerminateDownloadSequence
Unconfirmed Services
• UnsolicitedStatus
•InformationReport
•EventNotification
30
01. Communication Protocols
Utility Communications Architecture - UCA
Program Invocations
31
01. Communication Protocols
Utility Communications Architecture - UCA
32
01. Communication Protocols
Utility Communications Architecture - UCA
33
01. Communication Protocols
Utility Communications Architecture - UCA
34
01. Communication Protocols
Measurement Unit Object Model
Measurement Unit
35
01. Communication Protocols
Measurement Unit Object Model
36
01. Communication Protocols
Data Modeling Concept
Relay Data
Externally Visible Vendor Internal
Objects Memory
Measurement Unit • Voltages
• Currents
• READ
• CONFIGURE • Watts
• Vars
Settings
GOMSFE + •Settings
Vendor
specific • READ •Controls
objects • WRITE
•SOE
SBO
•Oscillography
Position
• OPEN
• CLOSE
Files
GET
37
01. Communication Protocols
“GOOSE” Format
(Generic Object Oriented Substation Event)
GOMSFE
USER
CASM
CLIENT CASM
FIELD DEVICE
CONTROLLER
SERVER
39
01. Communication Protocols
Utility Communications Architecture - UCA
Substation Automation
Original RTU Concept
To SCADA
Master
RTU
• Single box
• All signals hard wired to the
single box
• Limited data availability
• Analog
• Status
• Alarm
• Complete overlay of Protection
40
01. Communication Protocols
Utility Communications Architecture - UCA
Substation Automation
Relay Based SCADA
To SCADA
Master
Host Disk • Substation Host becomes
Computer Data Concentrator
41
01. Communication Protocols
Substation Automation
Architecture - Diagram
42
01. Communication Protocols
Inter Substation Communications
FSC
(Fiber Optic System Communications)
•SONET Technology: 51/155 Mbps
•Ethernet LAN ‘Bridging’ capability
•Creates single Ethernet WAN
•Redundant channels ensure reliability
43
01. Communication Protocols
Architectural Concept
Enterprise
SCADA Interface
GUI/SCADA/other applications
File Storage
• Oscillography
Data Server and Database • SOE
• Demand Data
Data Collection Engine
Other Apps:
Physical Communication Drivers • OSC. Viewer
Modbus GE DNP MMS --- other • SOE Viewer
Modem
• Open Architecture
• Commercial Hardware and Software
• Easy to Expand and Integrate
44
• Cost Effective Standard Packages 01. Communication Protocols
DDE and OPC
Overview and Comparison
45
01. Communication Protocols
What is DDE
Driver
(DDE Server)
46
01. Communication Protocols
The DDE Data Model
DDE Driver
DDEApplication
DDETopic
DDETopic
DDETopic(s)
47
01. Communication Protocols
How DDE Works
DDEML.DLL
(DDE Management Library)
48
01. Communication Protocols
What is OPC
49
01. Communication Protocols
The OPC Data Model
OPC Driver
OPCServer
OPCGroup
OPCGroup
OPCGroup(s)
50
01. Communication Protocols
How OPC Works
51
01. Communication Protocols
DDE x OPC
DDE
•Passes 1 value per request
•No time stamp
•No “quality” flag
•No underlying structure similar to OLE
•High resource utilization
OPC
•Can pass multiple values per request
•Time stamp standard part of the
response
•“Quality” flag standard part of the
response
•Based on OLE/COM
52
•Low resource utilization 01. Communication Protocols
SUBSTATION NAME
ADDRESS
53
01. Communication Protocols
UR Wizard
54
01. Communication Protocols
Annunciator Screen
55
01. Communication Protocols
Sequence of Events
56
01. Communication Protocols
GPS/IRIG-B Time Synchronization
57
01. Communication Protocols
Utility Communications Architecture - UCA
58
01. Communication Protocols
Utility Communications Architecture - UCA
6. ELEMENT IDENTIFICATION:
a) ‘On-Time’ reference point for each Element is its leading edge.
b) INDEX MARKER duration: 2 milliseconds
(Binary zero or uncoded Element)
c) CODE DIGIT duration: 5 milliseconds
(Binary one)
d) POSITION IDENTIFIER duration: 8 milliseconds
e) REFERENCE MARKER - one per second: Two consecutive
POSITION IDENTIFIERS.
(The ‘On-Time’ point to which the CODE WORD refers, is the
61
leading edge of the second POSITION IDENTIFIER.)
01. Communication Protocols
Utility Communications Architecture - UCA
62
01. Communication Protocols
Utility Communications Architecture - UCA
DISCUSSION CONT’D:
64
01. Communication Protocols
Traditional Protocols
•ModBus
•DNP
•IEC 870-5
•T103
65
01. Communication Protocols
ModBus
66
01. Communication Protocols
ModBus Basic Features
• Master-Slave Protocol
• Can Address up to 254 slaves
• All data is accessed via resgister addresses
• Primarily defined on RS485 - also has been operated on
Ethernet
• Data is addressed via 2-byte registers
• ModBus Packet can transmit up to 120 registers per message
• Registers accessed must be sequential
67
01. Communication Protocols
ModBus Packet Format
69
01. Communication Protocols
Master and Slave Packets
The following table shows the format of the master and slave
packets. The example shows a master sevice requesting 3
register values starting at address 200h from slave device 11;
the slave device responds with the values 555, 0, and 100 from
registers 200h, 201h, and 202h respectively.
70
01. Communication Protocols
DNP
Distributed Network Protocol
71
01. Communication Protocols
What is DNP?
APPLICATION
DATA LINK
PHYSICAL
72
01. Communication Protocols
Communication Protocol Layer
Structure
73
01. Communication Protocols
Interoperable
74
01. Communication Protocols
Networks
77
01. Communication Protocols
DNP Physical Layer
• Topologies
81
01. Communication Protocols
DNP Transport Layer
82
01. Communication Protocols
DNP V3.0 Application Layer
• Messages Control
• Send Request
• Accept Request
• Confirmation
• Communications Error Recovery
• Reported to User
• User Layer Responsible for Corrective
Procedure
83
01. Communication Protocols
DNP Application Layer
• Messages Types
•Requests
• Confirm, Read, Write, Select, Operate,
Freeze, Restart, Start and Stop
Applications, Save Configuration, Enable
and Disable Unsoliticited Messages, Assign
Class, Delay Measurement
• Responses
84
• Confirm, Response, Unsoliticed Message 01. Communication Protocols
Data Object Examples
88
01. Communication Protocols
T103 Data Description Options
0 No description specified
1 Actual Value
2 Default Value
3 Range (min, max, step size)
4 Reserved
5 Precision
6 Factor
7 % Reference
8 Enumeration
9 Dimension
10 Description
12 Password Entry
13 Read Only
14 Write Only
89
01. Communication Protocols
Inter Control Center Protocol
(ICCP)
90
01. Communication Protocols
ICCP Introduction
91
01. Communication Protocols
ICCP Projects
92
01. Communication Protocols
ICCP Projects
ICCP
MMS
(Manufacturing Messaging Specification)
94
01. Communication Protocols
ICCP Data Exchange Model
ICCP
Data
Objects
SCADA/EMS SCADA/EMS
Indication
Database Database
Points
Interchange Interchange
Interchange
Scheduling Scheduling
Schedules
Power Plant Power Plant
Apps. Availability Apps.
Report
Business Business
Apps. Apps.
95
01. Communication Protocols
ICCP Design Goals
97
01. Communication Protocols
ICCP Network Configurations
CNP DLS
Router Router
CNP RS 232C
Router
DLS
FEP
Site C Site D
Legacy New
CC EMS
98
01. Communication Protocols
ICCP Associations
99
01. Communication Protocols
ICCP Client/Server Model
A-S1-Hi to CC B
Control A-S2-Lo to CC B Control
Center B-S1 to CC A Center
Utility Utility
A B
A-S3 to PP C
BLT-B B-S2
A-S4 BLT-C to
PP C
to BLT-D
SS D C-S1 to
Client = requester of data or service CC B
Server = provider of data or service
Power
Substation Note: Client “pull”, not server “push” Plant
D I.e., not publisher/consumer model C
100
01. Communication Protocols
ICCP Object Models
Event
101
01. Communication Protocols
ICCP Transactions
Client Server
Control Center Control Center
Requests operation
Request Server checks access
Get Data Value
Get Data Set rights
Start Transfer
Select/Operate
Response Responds to client
request
Report
102
01. Communication Protocols
ICCP Implementation
103
01. Communication Protocols