2 3 architecture uadevcon06 final base/ua_architecture.pdf · opc unified architecture base...
TRANSCRIPT
![Page 1: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/1.jpg)
October 2006
OPC-UA ArchitectureOPC just keeps getting better…
Jim Luth
OPC Foundation Technical Director
![Page 2: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/2.jpg)
Jim Luth 2
OPC Unified Architecture Motivation
OPC-UA
DCOMretires
.NETnew
Communicationarchitecture
Better
Integration(DA, HDA, AE)
More Areas of
Application(MES, ERP)
Internet
ServiceOriented
![Page 3: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/3.jpg)
Jim Luth 3
Enterprise Integration
SCADASCADA
HMI Visualization
HMI Visualization
AssetManagement
AssetManagement PurchasingPurchasing
ControlSystems
ControlSystems
InventoryManagement
InventoryManagement
ProductionControl
ProductionControl
OPCToday
OPCUA
![Page 4: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/4.jpg)
Jim Luth 4
Industry-Standard
inter Operability, Productivity & Collaboration
BatchBatch
OPC Unified Architecture OPC Unified Architecture
Manufacturing, Production and MaintenanceManufacturing, Production and MaintenanceO
PC
O
PC
Adv.Adv.ControlControl
OP
C
OP
C
HMIHMI SCADASCADA
PCPC--Based ControlBased Control
MESMES
OPC OPC
OPCOPC
Industrial NetworksIndustrial Networks DataAcquisition
DataAcquisition
PLCDCS
PLCDCS ??.......????.......??
Corporate EnterpriseCorporate Enterprise
OPC Unified Architecture OPC Unified Architecture
![Page 5: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/5.jpg)
Jim Luth 5
OPC Unified Architecture Base
ArchitectureIntegration of DA, A&E, Commands, Complex Data, and Object Types
Designed for Federationabstract data/ information from the plant floor, through information models, and up to enterprise systems
Information Modelingdevelopment and deployment of standard information models to address industry domains specifics
Complex DataOPC Standard & Domain & vendor specific…..
![Page 6: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/6.jpg)
Jim Luth 6
OPC Unified Architecture Base
SecurityCollaboration, Development & Reference
Enterprise IntegrationOPC UA standard messaging system
Robustness / Reliability Designed & Built in….NO FailuresSequence numbers, keep-alives, resyncing, and support for redundancy
CommandsCompanion Standards
industry groups define what OPC Unified Architecture “transports”
![Page 7: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/7.jpg)
Jim Luth 7
OPC-UA Fundamentals
Based on standards for the WebXML, WSDL, SOAP, WS-*
WS-Policy negotiates protocol and encodingWS-SecureConversation provides secured sessionsOptimized for the Intranet
OPC Binary encoding over TCP
![Page 8: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/8.jpg)
Jim Luth 8
SOA (Service Oriented Architecture)
Single set of ServicesQuery, Read, Write, Subscribe…
Named/Types relationships between nodes
OPC Interface Unification
Historical Data
Access
Alarms&
Events
ComplexData
Commands
DataAccess
The UA Server embodies the functionality of existin g OPC Serversusing a single set of services
UA ServerUA Server
![Page 9: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/9.jpg)
Jim Luth 9
Unified Object Model
OPC UA Object
Variables ___ ___ ___
Methods ___() ___() ___()
Events
Method Services Variable Services
Event Services
OPC DA and HDA OPC Commands
OPC A&E
OPC Subscriptions
![Page 10: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/10.jpg)
Jim Luth 10
OPC-UA Address Space
Root
Fieldbus Sensor Bus Areas
PressureXmitter
Valve Area 1
Full Mesh – Network Model Unlimited Named/Typed Relationships“Views” are used to present hierarchies
![Page 11: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/11.jpg)
Jim Luth 11
Robustness
Subscription Update FeaturesKeep-alive (heartbeat) messages
Allows clients to detect a failed server or channelSequence Numbers in each update message
Allows client re-sync to obtain missed messagesDecouples callback channel from notification mechanism, allowing callback channel to be reset without loss of data
Redundancy FeaturesDesigned for easy (optional) redundancy of both Clients and Servers
e.g. re-sync request can be sent to a backup server
![Page 12: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/12.jpg)
Jim Luth 12
Security
UA Clients present credentials to UA Servers (x509 certs on both sides).
UA Servers require authentication and authorization.
Access control can be fine-grained down to the property level.
Optional message signing and encryption.
![Page 13: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/13.jpg)
Jim Luth 13
Abstract UA ModelSpecification
WSDL / SOAPor TCP / Binary
Services Binding
Proxy /Stubs
API
Communication Layering
Tool orLanguageDependent(e.g. .NET)
Scalable Platform Independent Messaging Model
.NET (WCF) VersionPortable C/C++ VersionJava Version
Business Model, Adaptable to Platform Independent Messaging Models (e.g. WSDL)
![Page 14: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/14.jpg)
Jim Luth 14
UA Server Chaining
UAServer
UAClient
UAServer
UAClient
UAServer
UAServer
UAServer
UAClient
UAClient
UAClient
UAClient
Enterprise Network
Operations Network
Plant FloorNetwork
EnterpriseSemantics
ProcessSemantics
DeviceSemantics
“Aggregating” UA Servers extract and process data from lower level “Device” UA Servers.
Data is recast using different information models appropriate for the clients at the higher level.
“Aggregating” UA Servers extract and process data from lower level “Device” UA Servers.
Data is recast using different information models appropriate for the clients at the higher level.
![Page 15: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/15.jpg)
Jim Luth 15
OPC Address Space Today
Root
Fieldbus Sensor Bus Areas
PressureXmitter
Valve Area 1
Pure Hierarchy Parent/Child Relationships Only
![Page 16: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/16.jpg)
Jim Luth 16
Data Items and Alarms Today
Data Access Address Space Alarms & Events Address Space
Sensor Bus
Root
Field Bus
Valve Pressure Xmitter
Temp Xmitter
Current Value
Hi Limit
Lo Limit
Area 1 Area 2 Area 3
Pressure Xmitter
Valve Temp Xmitter
Root
Hi Alarm Lo Alarm
Clients must correlate the two temperature
transmitter nodes based on external knowledge
![Page 17: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/17.jpg)
Jim Luth 17
UA Coherent Address Space
Root
Field Bus
Sensor Bus
Areas
Pressure Xmitter
Temp Xmitter
Valve Area 1
Area 3
Area 2
Hi Limit Lo Limit
Lo Alarm Lo Alarm
Current Value
“Located In” reference
![Page 18: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/18.jpg)
Jim Luth 18
UA Coherent Address Space
Root
Field Bus
Sensor Bus
Areas
Pressure Xmitter
Temp Xmitter
Valve Area 1
Area 3
Area 2
Hi Limit Lo Limit
Lo Alarm Lo Alarm
Current Value
“Located In” reference
Integrated data and alarms
![Page 19: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/19.jpg)
Jim Luth 19
Other relation-ship such as “contained”, “operated by”, “controls”, etc.
Subclassing(Inheritance)
Data Type Reference
Instantiation (between layers)
Standard and System-defined
Data Type Definitions
Top Layer
Type Layer
Relationship Base Types
Instance Layer
TopComplex Data
Schema
Object Classes and Instances
![Page 20: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/20.jpg)
Jim Luth 20
Complex Data Features
Tells clients how to parse structured data
Allows use of XML Schemas for describing XML data
Defines OPC Binary data description language that uses XML to describe binary data structures
Allows client to access device specific data descriptions (e.g. Fieldbus Foundation OD)
![Page 21: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/21.jpg)
Jim Luth 21
Methods vs. Programs
Object
Variables ___ ___ ___
Methods ___() ___() ___()
Events
Method Services Programs built on top of Methods
Programs represent executable components of objects , e.g.,
DownloadProgram(Name, InitState)MonitorNetwork (From, Till, Interval)
Execution time may vary from milliseconds to indefinitely.
Asynchronous invocation is non-blocking. Results are returned using notifications.
The client can control the execution.
Methods part of UA Base
Synchronous invocation similar to blocking function calls.
AckAlarm()
![Page 22: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/22.jpg)
Jim Luth 22
Programs can have State
UA defines the basic state machine.State transitions may cause notifications.
State Machine
2
Executing
Opening
Sending
Closing
3
Sub-states can be defined in particular for the executing state.
![Page 23: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/23.jpg)
Jim Luth 23
Scalability
OPC UA “Server Profiles” defined to allow servers with different capability levels
Client can discover server profile
Profiles and wrappers defined for migrating existing servers to UA
More capable profiles also defined
![Page 24: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/24.jpg)
Jim Luth 24
Server Diagnostics
Standard “Server” node defined in address space
Standard diagnostic data items defined for the server, such as “SubscriptionCount”
Server specific diagnostics can be added, with semantics defined by object type definitions
![Page 25: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/25.jpg)
Jim Luth 25
UA Services
Common services support DA, A&E, and HDA operations
Protocol independence
Timeless durability
Integrated with the UA Data Model
Partitioned into Service Sets
![Page 26: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/26.jpg)
Jim Luth 26
UA Service Sets
Secure Channel Service SetOpen & Close Channel, GetPolicies
Session Service SetCreate, Close, Activate, ImpersonateUser
Node Management Service SetAdd & Delete Objects and References
View Service SetBrowse, BrowseNext
![Page 27: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/27.jpg)
Jim Luth 27
UA Service Sets (2)
Query Service SetGet, GetNext
Attribute Service SetRead, Write, ReadHistory, UpdateHistory
Method Service SetCall
Monitored Item Service SetCreate / Modify / Delete
Subscription Service SetCreate / Modify / Delete, Publish, Republish
![Page 28: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/28.jpg)
Jim Luth 28
OPC UA Base Services All Necessary Services
Specification Layering
Vendor Information Model
DA A&E HDA CMDs OPC Information Model
Information Model Specifications IEC, ISA, MIMOSA …
Clients written to just the base can still discover and access all data from the derived layers!
![Page 29: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/29.jpg)
Jim Luth 29
Base UA Specifications
Part 1 – ConceptsA short white-paper like overview of UA
Part 2 – SecurityA non-normative introduction to the threats and countermeasures
Part 3 – Address Space ModelBuilding block constructs of UA (Nodes, Objects, Events …)
Part 4 – ServicesService methods exposed by UA Servers and called by UA Clients
Part 5 – Information ModelUA defined objects (e.g. Diagnostic Object, Audit Events)
Part 6 – MappingsDetails that allow implementation on current technology (e.g. WS)
Part 7 – ProfilesDefines conformity groups for implementation and certification
![Page 30: 2 3 Architecture UADevCon06 FINAL Base/UA_Architecture.pdf · OPC Unified Architecture Base Architecture Integration of DA, A&E, Commands, Complex Data, and Object Types Designed](https://reader030.vdocument.in/reader030/viewer/2022040803/5e3df9d9e3ab751d56112e2f/html5/thumbnails/30.jpg)
Jim Luth 30
UA Information Model Specifications
Part 8 – Data AccessAdds OPC-DA constructs (e.g. Quality, Timestamp … )
Part 9 – Alarms and ConditionsAdds stateful Alarms and Conditions
Part 10 – ProgramsAdds long running executable entities
Part 11 – Historical AccessAdds HDA and Historical Events constructs