distribution middleware technologies for cyber physical
TRANSCRIPT
Distribution Middleware Technologies for gCyber Physical SystemsRemote Engineering & Virtual Instrumentation
4 6 J l 20124-6 July 2012REV 2012 – Bilbao (Spain)
Isidro CalvoI id l @ [email protected]
Dept. of Automatic Control and Systems EngineeringIsmael Etxeberria-Agiriano
Dept of Computer Languages and SystemsDept. of Computer Languages and Systems
UPV/EHUAdrián Noguero
T li S ft S t E i iTecnalia, Software Systems Engineering
Spain
IndexDistribution Middleware Technologies for Cyber
Physical Systems1. Introduction2. Requirements of CPS3 Distribution middleware for CPS3. Distribution middleware for CPS4. Middleware architectures for CPS5. Infrastructure modelling of CPS6 C l i6. Conclusions
Isidro Calvo - REV 2012
2
MW technologies for CPS Index
1.Introduction2. Requirements of CPS3. Distribution middleware for CPS4. Middleware architectures for CPS5 Infrastructure modelling of CPS5. Infrastructure modelling of CPS6. Conclusions
Isidro Calvo - REV 20123
IntroductionMW technologies for CPS
Cyber Physical Systems (CPS)CPS integrate computation and physical processesg p p y p
The term CPS was coined around 2006 by researchers of different disciplines: Real-time systems Real-time systems Hybrid systems Control systemsy
Internet of things vs. CPS => Two different communities
CPS are increasingly used in several domains: Healthcare Transportation Transportation Process control Manufacturing Manufacturing Electric power grids
Isidro Calvo - REV 20124
IntroductionMW technologies for CPS
Application domains
EPMS
S2
S3
Elderly PeopleMonitoring System
Bloodpressure
S1
Thermometer
Fall downdetector
Receiver node
Sender node
CAU
GW
CAU
GWGW
r node
Central SystemSupervisor Orchestrator
Internet
LAPU
MM
WM
WS
CP
BUS
Internet
LAPU
MM
WM
WS
CP
BUSBUS
Control NetworkProcessController
TransportController
hotspot
LAPU
GW
CPMM MM
WM
AC
BUS
hotspot
LAPU
GW
CPMM MM
WM
AC
BUSBUS
IO Network
CameraLoader
CameraRobot
CameraSealer
CameraStorage
LAPU
AC
LAPU
AC
L d R b S l S l S
Isidro Calvo - REV 20125
Loader Robot Selector Sealer Storage
IntroductionMW technologies for CPS
Cyber Physical Systems (CPS)
Control theory
Network communications
CPS
ComputingComputing
Isidro Calvo - REV 20126
IntroductionMW technologies for CPS
Technology implicationsCPS benefit from advances in several research domains:CPS benefit from advances in several research domains:
Networked control systems Hybrid systemsy y Real-time computing and networking Wireless technologiesg Smart sensors and actuators Security Model driven development Evolution in computing platforms:
Low cost / Small size / High performance High bandwidth networks Improvements in energy capacity and management
Isidro Calvo - REV 20127
IntroductionMW technologies for CPS
Difficulties of building CPSBuilding CPS is not a trivial task:Building CPS is not a trivial task:
Integration of different technologies Different points of view must be considered:p
Computing (concurrency and real-time issues), Control theory, Network communications
Heterogeneous embedded hardware and software platforms Fault-tolerance: Dependable and safe systems Flexibility and adaptability to changes Scalability to build large systems Maintenance: CPS are created to work for long periods of time
(e.g. several years)
Of course: Building new systems on schedule and keeping low costs!
Isidro Calvo - REV 20128
low costs!
IntroductionMW technologies for CPS
Communication issues
Radical approaches: Design of new specific technologies and protocols from scratch g p g p
for CPS
Pragmatic approach: Use in short to medium term of worldwide accepted standards
th h th id l feven though they provide lower performance: Internet Protocols (IP)
IEEE802 11 (Wifi) IEEE802.11 (Wifi)Use of patches to improve their performance
Isidro Calvo - REV 20129
IntroductionMW technologies for CPS
Use of middleware technologies
Ease the construction of new applications Hide low level implementation detailsp Generic middleware technologies (J2EE, .NET, CORBA, DDS,
or Web Services) drawbacks: Tend to be excessive and introduce performance overhead Do not match some specific requirements of CPS
Need of specific middleware architectures for CPS which introd ce specific ser ices and abstractionsintroduce specific services and abstractions Avoiding reinventing the wheel Keep an adequate performance Keep an adequate performance
Isidro Calvo - REV 201210
MW technologies for CPS Index
1. Introduction
2 R i t f CPS2.Requirements of CPS3. Distribution middleware for CPS4. Middleware architectures for CPS5 Infrastructure modelling of CPS5. Infrastructure modelling of CPS6. Conclusions
Isidro Calvo - REV 201211
Requirements of CPSMW technologies for CPS
Main requirements of CPSThe nature of CPS imposes specific requirements different fromThe nature of CPS imposes specific requirements different from
general purpose computing: Dealing with time: Physical world is concurrent and reacting in time is
critical Close integration: Highly coupled systems Solving heterogeneity: Mixture of platforms and technologies Solving heterogeneity: Mixture of platforms and technologies
(computing platforms, OS, programming languages, network technologies)
Low resource devices: CPU, memory, network bandwidth and energy consumption
Dynamic reconfiguration and reorganization: Capable of adapting Dynamic reconfiguration and reorganization: Capable of adapting to changes in the physical world or changing requirements
Dependability and robustness: Safety must be ensured even in d it ti S ti CPS i tifi tiadverse situations. Sometimes, CPS require certification.
Isidro Calvo - REV 201212
Requirements of CPSMW technologies for CPS
New theories and tools are requiredLack of theory and tools that help designers to build CPS in an efficientLack of theory and tools that help designers to build CPS in an efficient
way Extending abstractions that integrate in the existing nextwork
infrastructures and reference models Koubaa, A and Anderson, B. (2009) proposed a protocol stack
f CPS t f th TCP/IP t kfor CPS on top of the TCP/IP stack
Isidro Calvo - REV 201213
MW technologies for CPS Index
1. Introduction2 Requirements of CPS2. Requirements of CPS
3.Distribution middleware for CPS4. Middleware architectures for CPS5 Infrastructure modelling of CPS5. Infrastructure modelling of CPS6. Conclusions
Isidro Calvo - REV 201214
Distribution MW for CPSMW technologies for CPS
Need of distribution middleware in CPS Preeminence of TCP/IP stack Preeminence of TCP/IP stack Best effort techniques => Difficult to achieve timing predictability CPS require combining different types of traffic with different q g yp
Quality of Service (QoS) requirements Convergence of Internet technologies with embedded systems Programming directly over TCP/IP sockets is complex,
especially as the number of devices increases A di t T P (2005) th f iddl d According to T. Pearson (2005), the use of middleware produce
up to 50% decrease in software development and costs Middleware technologies: Middleware technologies:
Provide an additional layer on top of the TCP transport layerFollow modular approachesFollow modular approachesSolve scalability and heterogeneity needs
Isidro Calvo - REV 201215
Distribution MW for CPSMW technologies for CPS
General purpose middleware specs Success of some middleware specificationsp
CORBA, ICE, DDS, Web Services, OPC (in industrial environments) Used for distributing information (Distribution middleware
ifi ti )specifications) Do not solve specific challenges involved at the construction of CPS:
Real-time management of the resources management andReal time, management of the resources, management and schedulability of distributed systems, etc.
Lack of specific features for CPS domain applications
Isidro Calvo - REV 201216
MW technologies for CPS Index
1. Introduction2 Requirements of CPS2. Requirements of CPS3. Distribution middleware for CPS
4. Middleware architectures for CPS5 Infrastructure modelling of CPS5. Infrastructure modelling of CPS6. Conclusions
Isidro Calvo - REV 201217
MW architectures for CPSMW technologies for CPS
Layered middleware architectures Middleware is organized in a hierarchy of several layers (D.C Middleware is organized in a hierarchy of several layers (D.C
Schmidt, 2002)
Isidro Calvo - REV 201218
MW architectures for CPSMW technologies for CPS
Middleware architectures for CPS Provide specific services for CPS and software abstractionsp The Cyber-Physical Layer
Isidro Calvo - REV 201219
MW architectures for CPSMW technologies for CPS
FTT-MA Synchronizing the tasks activations of a distributed system according to y g y g
a plan that may be changed at run-time
DestinationServices
SourceServices
Video Processing ServicesServicesServices
Framerecord Decode Image
displayFeatureextract. Encode
Patternrecog. Selection
Noisereduction
Data display
ControllerImageacquis.
Object
recog.
Motion
Spatialscaling
Normaliz Imagestorage
jtracking control
AccessFace Data storage
Data acquis.
Stabiliz. Access control
Facerecog.
Isidro Calvo - REV 201220
Coop. topologiesCooperative Mw for CPS
Reliable Friend Distributed topologies implemented as middleware architectures that p g p
provide fault tolerance and reconfiguration of CPS
n1 n2 n3 n41 2 3 4
n8 n7 n6
n5
n9
n0
n1 n2 n3 n4n1 n2 n3 n4
n5n0 nin8 n7 n6n9 Available
ni
ni
Unavailable
n1 n2 n3 n4
n5n Unavailablen8 n7 n6
5
n9
n0
Isidro Calvo - REV 20122121
MW technologies for CPS Index
1. Introduction2 Requirements of CPS2. Requirements of CPS3. Distribution middleware for CPS4 Middl hit t f CPS4. Middleware architectures for CPS
5 Infrastructure modelling of CPS5. Infrastructure modelling of CPS6. Conclusions
Isidro Calvo - REV 201222
Infrastructure modelingMW technologies for CPS
Infrastructure modelling CPS require a close interaction with the underlying infrastructure.q y g It is necessary to model both static and dynamic attributes
Isidro Calvo - REV 201223
MW technologies for CPS Index
1. Introduction2 Requirements of CPS2. Requirements of CPS3. Distribution middleware for CPS4 Middl hit t f CPS4. Middleware architectures for CPS5. Infrastructure modelling of CPS
6. Conclusions
Isidro Calvo - REV 201224
ConclusionsMW technologies for CPS
ConclusionsThe design of CPS:The design of CPS: Involve the use of different computing, communication and
control technologies Require satisfying simultaneously several restrictive constrains Frequently, IP technologies are accepted New abstractions that represent CPS entities are needed Specific middleware architectures may provide services and
b t ti f CPSabstractions for CPS Infrastructure modelling must be considered
Isidro Calvo - REV 201225
ConclusionsMW technologies for CPS
Algunos proyectos recientes:
Proyectos Europeos: iLAND, mIddLewAre for deterministic dynamically , y y
reconfigurable NetworkeD embedded systems (2009-2012 ARTEMIS)
Proyectos Nacionales: QoS DREAMS, QoS Driven REconfigurAtion of Distributed
SysteMS (2013 15 MINECO)SysteMS (2013-15 MINECO) Proyectos autonómicos / EHU
FACTORYWARE Arquitectura Middleware para la composición FACTORYWARE, Arquitectura Middleware para la composición y reconfiguración dinámica y determinista en aplicaciones de automatización industrial (SAIOTEK, 2011-12)
Diseño de un entorno para la construcción de laboratorios remotos (EHU, 2007-2009)
Isidro Calvo - REV 201226
Thank youThank you
UPV/EHU