UOIT, Oshawa, Canada Sponsored by IEEE Toronto …ewh.ieee.org/conf/sge/2012/XMPP for the Smart...
Transcript of UOIT, Oshawa, Canada Sponsored by IEEE Toronto …ewh.ieee.org/conf/sge/2012/XMPP for the Smart...
Copyright 2012 - MaCT USA
Tutorial(29-Aug-2012, 2:30-3:00pm)
XMPP for the Smart GridISO/IEC/IEEE 21451-1-4
eXtensible Markup and Presence Protocol Interface (XMPP) Standardfor Sensors, Actuators, and Networked Devices
WILLIAM .J. MILLERMaCT USAChairman
IEEE International Conference on Smart GridEngineering (SGE’12)
27-29 August, 2012
UOIT, Oshawa, Canada
Sponsored by IEEE Toronto (NPSS & PES) and MITACS
Copyright 2012 - MaCT USA
• A coordinated effort to recognize de facto,market-driven standards and raise thevisibility of the principles that drive themlaunched today. The effort is branded asOpenStand Principles and is backed byglobal players in the standards arena,including the IEEE (Institute of Electricaland Electronics Engineers).
Copyright 2012 - MaCT USA
• "Five leading global organizations—IEEE,Internet Architecture Board (IAB), InternetEngineering Task Force (IETF), InternetSociety and World Wide Web Consortium(W3C)—today announced that they havesigned a statement affirming theimportance of a jointly developed set ofprinciples establishing a modern paradigmfor global, open standards.
Copyright 2012 - MaCT USA
• "The shared OpenStand Principles—based on the effective and efficientstandardization processes that have madethe Internet and Web the premiereplatforms for innovation and borderlesscommerce—are proven in their ability tofoster competition and cooperation,support innovation and interoperability anddrive market success.
Copyright 2012 - MaCT USA
• "IEEE, IAB, IETF, Internet Society andW3C invite other standards organizations,governments, corporations and technologyinnovators globally to endorse theprinciples...“
• Learn more at:
• http://open-stand.org/principles/
Copyright 2012 - MaCT USA
XMPP for the Smart Grid-ISO/IEC/IEEE 21451-1-4
eXtensible Markup and Presence Protocol Interface (XMPP) Standardfor Sensors, Actuators, and Networked Devices
WILLIAM .J. MILLERMaCT USAChairman
August 27-29, 2012
Copyright 2012 - MaCT USA
What is XMPP?
• The eXtensible Messaging and Presence Protocol(XMPP) is an open XML technology for real-timecommunication, which powers a wide range ofapplications including instant messaging, presence,media negotiation, white-boarding, collaboration,lightweight middleware, content syndication, andgeneralized XML routing.
• More formally, XMPP is defined by RFC 3920 and RFC2921 as published by the IETF in October 2004.Everything we’ve built on top of those two specificationscalled “XMPP extensions” or XEP stanzas.
• Learn more athttp://www.xmpp.org
Copyright 2012 - MaCT USA
ISO/IEC/IEEE 21451-1-4
• ISO/IEC/IEEE 21451-1-4 - eXtensible Messaging andPresence Protocol (XMPP) Standard for Sensors,Actuators, and Networked Device Communications usingreal-time streaming XML (Extensible Markup Language).
• ISO/IEC/IEEE 21451-1-4 was IEEE P1451.1.4.
• This work is sponsored by Dr. Kang Lee at NIST,chairman of IEEE TC9 Sensor Technology and host ofthe IEEE 1451 Smart Transducer series of standards
• Learn more athttp://www.ieee.org/development/project/1451.1.4.html
Copyright 2012 - MaCT USA
RFInterface
Mixed ModeInterface
User Networks or Internet
TransducerDevice Interface
ISO/IEC/IEEE 21451-2 (serial interface) orISO/IEC/IEEE 21451-5 (wireless interface)
Blue - existing standard Green -
active project Red - to be
proposed
Network node
or
Network
Capable
Application
Processor
(NCAP)
Sensor node
or
Transducer
Interface
Module
(TIM)
ISO/IEC/IEEEp21451-1-1
DiscoveryServices
TCP/UDPServices
ISO/IEC/IEEE 21451-2 or ISO/IEC/IEEE 21451-5 Communication Protocol
ISO/IEC/IEEE p21451-1 Common
ISO/IEC/IEEEp21451-1-2
TransducerAccess
Services
HTTPServices
ISO/IEC/IEEE 21450 Transducer Services
ISO/IEC/IEEEp21451-1-3
WebServices
TEDSAccess
Services
Network Services
ISO/IEC/IEEEp21451-1-4
EventNotification
Services
XMPPServices
TransducerManagement
Services
ISO/IEC/IEEEp21451-1-x
SNMP??Services
NetworkInterface
ISO/IEC/IEEE 21451-2 or ISO/IEC/IEEE 21451-5 Communication Protocol
ISO/IEC/IEEE 21450 TEDS ISO/IEC/IEEE 21450ISO/IEC/IEEE 21451-2 or
ISO/IEC/IEEE 21451-5 PHY TEDS
ISO/IEC/IEEE 21450-001 Signal Treatment, Conditioning, & Data Conversion
ISO/IEC/IEEE 21451-4Transducer
Transducers(Sensors & Actuators)
ISO/IEC/IEEE 21451-7Transducer
Copyright 2012 - MaCT USA
New Information
• ISO/IEC/IEEE 21451-1-4 being consideredby ISO JTC1 SC31 as a common set ofXEP stanzas using XMPP protocol for theISO Internet of Things (IoT).
• IEEE SA evaluating IoT and overlap withcloud computing, M2M, Smart Grid, etc.
• IEEE SA considering to participate inoneM2M IoT effort and recommendcommon XEP stanzas
Copyright 2012 - MaCT USA
IETF XMPP
• IETF XMPP Working Group has already produced anumber of documents:
• RFC 3920 – XMPP: Core, which describes client-servermessaging using two open-ended XML streams. Aconnection is authenticated with Simple Authenticationand Security Layer (SASL) and encrypted with TransportLayer Security (TLS).
• RFC 3921 – XMPP: Instant Messaging and Presence.• RFC 3922 – Mapping the XMPP to Common Presence
and Instant Messaging• RFC 3923 – End-to-End Signing and Object Encryption
for XMPP.• http://www.xmpp.org/about-xmpp/xsf
Copyright 2012 - MaCT USA
IPDX™• IPDX is the first to offer capabilities based upon
the use of XMPP to offer an event drivenmessaging system for enterprise integration oflarge scale heterogeneous sensor networks.
• IPDX offers a distributed decentralized client-server architecture which includes registration,policy administration and management includingdirectory services, data sharing, and security.
• IPDX provides a reference model for theISO/IEC/IEEE 21451-1-4 standard.
• http://www.mact-usa.com
Copyright 2012 - MaCT USA
Integration Concept
NCAP
MCAP
NCAP
Copyright 2012 - MaCT USA
Copyright 2012 - MaCT USA
IPDX App
Copyright 2012 - MaCT USA
TRANSVERSION
MODBUSTCP
IEC61850
XMPPPORT 80
PORT 5222PORT 5223
PORT 80
Copyright 2012 - MaCT USA
Cloud Services
ServiceBroker
XMPP
XMPP
XMPPMultiple
Channels
XMPPI
XMPPI
IdP
XMPPS2S
TCP/IPSingle
Channel
VPN
VPN
XSB XSB
XSBXMPPS2S
XMPPS2S
XMPP
XMPP
XMPPS2S
XMPP XMPP
XG XG
XG XGXG
XMPP XMPP
XMPPS2S
IdP
Copyright 2012 - MaCT USA
BPL
Fib
er
Wire
d
Dow
nlin
k
Copyright 2012 - MaCT USA
Copyright 2012 - MaCT USA
CENTRALIZED APPROACH – The end points need to send theirinformation to a central server and all functions must be handled by theroot device. Data sharing must be from the headend. All end pointdevices are single thread permitting only one connection at a time.
SG Educational Series WebinarJuly 16, 2012
DECENTRALIZED APPROACH includes a Server Broker between the endpoints using XMPP it will offer presence, registration, data sharing, etc.All nodes only have to contact a single root node but can fail-over to asecondary root node if it is available.
INTERMEDIATESERVER
Copyright 2012 - MaCT USA
Objective
• ISO/IEC/IEEE 21451-1-4 standarddemonstrates assured interoperability,scalability, and security utilizing acommon extensible protocol (XMPP) .
Copyright 2012 - MaCT USA
Characteristic Requirements
1. Provide an ability to view remote sensors and control of actuators over any technologyand provide maximum assurance of interoperability with built-in security
2. Provide registration of devices to recognize if a devices configuration has changed
3. Ensure that all data is encrypted between end points.
4. Provide presence capability to know that a device is available for use.
5. End device shall have the ability to instantly change an incoming protocol to XML
– The XML shall be able to be mapped to any protocol
– The XML may be used as the primary protocol
6. End devices are viewable by a web browser and can be viewed on mobile devices
7. There shall be a intermediary brokerage (Service Broker) between the end-point
8. Firewalls shall exist at all end-points
9. There shall be a profile that can identify the end devices
10. The interface shall be able to operate over any wired or wireless connection
Copyright 2012 - MaCT USA
Advantages
1. The brokerage isolates any end-point including devices, users, or applications.
2. All packets are checked at the end-point to defend against cyber-attack
3. Policy administration allow restriction of packet actions
4. Directory services can be offered including indication of presence
5. Provides a common way to manage devices that are registered
6. Integration of mobile devices and trusted data sharing
Copyright 2012 - MaCT USA
Benefits
1. Applications, end-points, and users are not exposed to cyber-attack2. All devices must be registered and can only talk to the Service Broker3. End devices can be viewed by mobile devices such as Android4. Packets are inspected during the transversion process5. The device identity and use must be specified in a transducer profile6. All devices, applications and users have an agreed trust relationship7. The brokerage provides virtually unlimited scalability.
Copyright 2012 - MaCT USA
Smart Grid
Fault Detection/voltage optimization
(Current, Voltage, temperature,
Weather station)
Electric
Interface
Communication
Interface
Domain
Current
sensor
Voltage
sensor Temperature
sensor
Structure &
Equipment
Monitoring
Power usage monitoring
(Heating, Cooling Equipment, Appliance)
Current
sensor
Voltage
sensor
Temperature
sensor Weather Station
Current
sensorVoltage
sensor
Temperature
sensor
Weather Station
High Voltage Line Monitoring
Current
sensorVoltage
sensor
Temperature
sensor
Weather Station
Copyright 2012 - MaCT USA
Core Smart Grid Standards for Utilities
GWAC Stack Core Smart Grid Standards for UtilitiesPolicies andProcedures
Physical and Electrical Interfaces IEEE 1547 Series for DER Electrical Interconnection Recommended Practices
SG Educational Series
Bits-and-BytesProtocols
AbstractModels
UML Models based onBusiness Context
Abstract InformationModels
TCP/IPDNP3 LinkEthernet
IEEE 1815DNP3 FieldEquipment
IEC 1815DNP3
Mappings toMMS, IEEE1815 (DNP3)MODBUS,SEP2, web
services
IEC 61850Object andServiceModels forSubstations, DER,Plants, DA,etc.
TCP/IP,GOOSE,Ethernet
IEC 61850Field
Equipment
BasicObjects withMapping to
MMS
IEC 60870-6TASE.2(ICCP)
BilateralTables forAccessControl
TCP/IPEthernet
Any media (dependent on implementation decisions)
MultiSpeakInformation
Model
NRECAMultiSpeak
Mapping toweb
services
TCP/IPEthernet
IEC 61968CIM for
Distribution
IEC 61968CIM
InformationModels andMessages
Mapping toSEP2, web
services
TCP/IPEthernet
IEC 61970CIM for Grid
Modeling
IEC 61970
CIMAbstract
InformationModels
Mapping toIEC 62541(OPC/UA)
webservices
TCP/IPEthernet
ANSIC12.22Communications
ANSI C12Metering
ANSIC12.19MeteringModel
ANSIC12.18,C12.21
IEEEC37.118 andIEC 61850
PMUs
Mappings toIEEE
C37.118 andMMS
IEEEC37.118 &IEC 61850-
90-5
TCP/IP,GOOSE,Ethernet
Copyright 2012 - MaCT USA
Areas of Concern
• Bulk Generation – renewable energy andstorage systems
• Generation – data sharing increasing complexityincluding energy usage, fuel cost, &environmental compliance
• Transmission – line fault detection
• Distribution – Microgrid integration and tie-in oflegacy substation controls
• Consumer – EMS, Smart Metering, and localgeneration/storage capabilities
Copyright 2012 - MaCT USA
Key Technical Challenges
• New IEC standards such as 61850 willrequire high speed connections using fiberoptic links, and 4G cellular.
• Legacy systems will take time to transition.
• Internet is not used effectively due tocyber-security concerns.
Copyright 2012 - MaCT USA
Internet M2M
• Public networks like the Internet offer a point ofentry for prospective cyber attacks andrepresents a burden on asset owners to managethe progressively complex paths of incomingand outgoing information.
• VPNs are used to provide Point-2-Point wired orwireless connections. However, the Smart Gridneeds Point-2-Multipoint bi-directionalcommunications and data sharing
Copyright 2012 - MaCT USA
XMPP: SG Use Cases
• Power Line Fault Detection
• IEEE 1815.1 mapping to IEC 61850
• Renewable Energy
• Common Network Management
• Embedded Applications
• UCIDS CIM Integration
Copyright 2012 - MaCT USA
ARTIFICIAL NEURAL NETWORK (ANN)POWER LINE FAULT DETECTION
Schneider Electric SEL-311L
University of Buffalo
Buffalo State College
Copyright 2012 - MaCT USA
Artificial Neural Network (ANN)Power Line Fault Detection
Copyright 2012 - MaCT USA
MODBUS-XMPP-MODBUS
MODBUSDEVICE
MODBUSDEVICE
MODBUSDEVICE
MODBUSDEVICE
ISO/IEC/IEEE 21451-1-4/XMPPPASS-THRU
MODBUS GATEWAY
MODBUS MASTER
MODBUS MASTER
Copyright 2012 - MaCT USA
IEEE 1815.1 (DNP3)MAPPING TO IEC 61850
DEMAND RESPONSE
Copyright 2012 - MaCT USA
DNP3-XMPP-IEC 61850
IEC61850
DEVICE
IEC61850
DEVICE
IEC61850
DEVICE
IEC61850
DEVICE
IEC 61850 SERVER
ISO/IEC/IEEE 21451-1-4/XMPPIEEE 1815.1 MAPPING
DNP3 MASTER
DNP3 CLIENT
Copyright 2012 - MaCT USA
IEC 61850-XMPP-DNP3
DNP3DEVICE
DNP3DEVICE
DNP3DEVICE
DNP3DEVICE
DNP3 MASTER
ISO/IEC/IEEE 21451-1-4/XMPPIEEE 1815.1 MAPPING
IEC 61850 SERVER
IEC 61850 CLIENT
Copyright 2012 - MaCT USA
RENEWABLE ENERGY
The Power Chain
Copyright 2012 - MaCT USA
RENEWABLE ENERGY
MaCT USA.July 15, 2012 | Slide 4
Microgrid AutomationBroadband over Power Lines (BPL)
LARGE SCALE RENEWABLE ENERGY MICROGRID AND SUBSTATIONS
XMPP ENTERPRISE SERVICE BUS
Copyright 2012 - MaCT USA
EMBEDDED APPLICATIONS
IEEE 1451 DEVICES
Internet of Things (IoT)
Copyright 2012 - MaCT USA
MODBUS-XMPP-IEC 21451
21451.1.421451.0DEVICE
21451.1.421451.0DEVICE
21451.1.421451.0DEVICE
21451.1.421451.0DEVICE
ISO/IEC/IEEE 21451-1-4/XMPP
MODBUS GATEWAY
MODBUS MASTER
Copyright 2012 - MaCT USA
COMMON NETWORKMANAGEMENT
IEC 61850-7
SNMP over XMPP
Copyright 2012 - MaCT USA
(IEC 61850-7)-XMPP-SNMP
SNMPDEVICE
SNMPDEVICE
SNMPDEVICE
SNMPDEVICE
SNMP MASTER
ISO/IEC/IEEE 21451-1-4/XMPPSNMP MAPPING
IEC 61850-7 SERVER
IEC 61850-7 CLIENT
Copyright 2012 - MaCT USA
UICDS CIM Integration
Data Sharing
Learn more athttp://www.uicds.us
Copyright 2012 - MaCT USA
Unified Incident Command and Decision Support(UICDS) with IPDX Sensor Suite Integration
IEEE 1451 Smart Sensors
IEEE-
1451.1d
proposed
Computer-Aided Dispatching
Adaptor
Copyright 2012 - MaCT USA
Copyright 2012 - MaCT USA
Copyright 2012 - MaCT USA
Summary
• XMPP can be used at any level of the Smart Grid and isa key enabler as a common extensible protocol toharmonize operation between new and legacy protocols.
• XMPP is technology agnostic and protocol independentgreatly reducing the complexity and cost.
• XMPP can leverage use of legacy devices and facilitatea transition to new IEC standards.
• XMPP offers messaging that can be trusted.• XMPP is easy using dynamic addressing, built-in cyber
protection without the complexity and cost yet usingstandards available today.
• XMPP can provide assured interoperability, scalability,and security.
Copyright 2012 - MaCT USA
IPDX.NETFederated cloud sensor service
based on use of XMPP
Coming Soon!
Copyright 2012 - MaCT USA
IPDX UNIVERSECollaborative Research Network
• ISO/IEC/IEEE 21451-1-4 is toprovide session initiation andprotocol transport for sensors,actuators, and devices. Thestandard addresses issues ofsecurity, scalability, andinteroperability. This standardcan provide significant costsavings and reduce complexity,leveraging currentinstrumentation and devicesused in industry.
Copyright 2012 - MaCT USA
Thank You
Questions?
Learn more at
http://www.mact-usa.com