Reconfiguration in Cyber-Physical Systems Sebastian Wtzoldt System - - PowerPoint PPT Presentation

reconfiguration in cyber physical systems
SMART_READER_LITE
LIVE PREVIEW

Reconfiguration in Cyber-Physical Systems Sebastian Wtzoldt System - - PowerPoint PPT Presentation

Reconfiguration in Cyber-Physical Systems Sebastian Wtzoldt System Analysis and Modeling Group Prof. Holger Giese Motivation: Reconfiguration in Cyber-Physical Systems 2 Cyber-Physical Systems (CPS) are integrations of computation


slide-1
SLIDE 1

Reconfiguration in Cyber-Physical Systems

Sebastian Wätzoldt

System Analysis and Modeling Group

  • Prof. Holger Giese
slide-2
SLIDE 2

Motivation:

Reconfiguration in Cyber-Physical Systems

■ “Cyber-Physical Systems (CPS) are integrations of computation with physical processes.” [Lee2008] ■ “[CPS] … embed software, which: □ Record physical data via sensors □ Affect physical processes using actuators □ Actively interact with physical and digital world □ Are connected with one another and in global networks □ Use globally available data and services”

[acatech2011]

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

2

slide-3
SLIDE 3

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

3

[acatech2011]

Motivation:

Reconfiguration in Cyber-Physical Systems

slide-4
SLIDE 4

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

4

[IEEESpectrumNov2012] http://spectrum.ieee.org/green-tech/advanced-cars/all-aboard-the-robotic-road-train

Motivation:

Reconfiguration in Cyber-Physical Systems

slide-5
SLIDE 5

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

5

[IEEESpectrumNov2012] http://spectrum.ieee.org/green-tech/advanced-cars/all-aboard-the-robotic-road-train

Motivation:

Reconfiguration in Cyber-Physical Systems

slide-6
SLIDE 6

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

6

[IEEESpectrumNov2012] http://spectrum.ieee.org/green-tech/advanced-cars/all-aboard-the-robotic-road-train

Motivation:

Reconfiguration in Cyber-Physical Systems

slide-7
SLIDE 7

Software adaptation is (1) the adaptation of a software system or (2) the processes and activities related to the adaptation of a software system.

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

7

■ Parameter adaptation vs. compositional adaptation □ “Parameter adaptation modifies program variables that determine behavior.” [McKinley2004] □ “[…] compositional adaptation exchanges algorithmic or structural system components with others that improve a program’s fit to its current environment.” [McKinley2004] ■ Static adaptation vs. dynamic adaptation [McKinley2004] ■ Internal adaptation vs. external adaptation [Salehie2009]

[Schäfer2007] [Musliner1999]

Motivation:

Reconfiguration in Cyber-Physical Systems

slide-8
SLIDE 8

Points to Discuss

■ (I) cover dynamic behavior via explicit modeled and coexisting feedback loops ■ (II) reduce complexity and enable interaction via abstraction using runtime models following the model driven engineering approach ■ (III) consider specific domains and nonfunctional properties ■ (IV) support concurrent and distributed interactions of subsystems

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

8

Reconfiguration in Cyber-Physical Systems (Adaptation)

slide-9
SLIDE 9

Points to Discuss: Cyber-Physical Systems Laboratory

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

9

slide-10
SLIDE 10

Feedback Loop

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

10

Adaptable Cyber-Physical System

slide-11
SLIDE 11

Adaptation Engine

Feedback Loop

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

11

Adaptable Cyber-Physical System Monitor Analyze Plan Execute Knowledge

slide-12
SLIDE 12

Adaptation Engine

Feedback Loop with Runtime Models

■ External adaptation approach as proposed in [Salehie2009] ■ Feedback loop with four activities: □ Monitor-Analyse-Plan- Execute  Knowledge (MAPE-K) [IBMKephart2003] ■ Runtime models as on-line representation of the running system [Vogel2011] □ Reflection models □ Evaluation models □ Change models □ Execution models

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

12

Adaptable Cyber-Physical System Monitor Analyze Plan Execute Knowledge

slide-13
SLIDE 13

Multiple Feedback Loops

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

13

Adaptable Cyber-Physical System Self- healing

M A P E

Self-

  • ptimizing

M A P E

Separation of loops: ■ Different concerns [Frey2012] □ Self-healing □ Self-optimizing □ Hard real-time adaptation

  • vs. soft real-time

adaptation ■ Local vs. global adaptation

[Gueye2012]

slide-14
SLIDE 14

Multiple Feedback Loops

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

14

Adaptable Cyber-Physical System

M A P E M A P E

Problems: ■ Inter-loop communication ■ Model exchange ■ Concurrency coordination ■ Contradicting model manipulation Separation of loops: ■ Different concerns [Frey2012] □ Self-healing □ Self-optimizing □ Hard real-time adaptation

  • vs. soft real-time

adaptation ■ Local vs. global adaptation

[Gueye2012]

Self- healing Self-

  • ptimizing
slide-15
SLIDE 15

Multiple Layered Feedback Loops

■ Handle different problems on different level of abstraction e.g. inspired by adaptive control theory

[Kokar1999]

■ Hierarchical control architectures

[IBMKephart2003]

■ Proposed reference architecture for self-managed software systems

[Kramer2007]

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

15

Adaptable Cyber-Physical System Hard Real-Time Adaptation

M A P E

Self- healing

M A P E

Self-

  • ptimizing

M A P E …

slide-16
SLIDE 16

Distributed Multiple Layered Feedback Loops

■ Complex CPS with several independent, heterogeneous subsystems □ Autonomous robots in a warehouse □ Distributed traffic management ■ Runtime models □ Basic communication concept □ Exchange of information possible □ Learn, adapt on new situations via model driven techniques

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

16

Adaptable CPS HRT Self-

  • ptimizing

M A P E …

Adaptable CPS

Self- H. HRT

slide-17
SLIDE 17

Example: Cyber-Physical Systems Laboratory

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

17

slide-18
SLIDE 18

Example

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

18

Adaptable Cyber-Physical System

slide-19
SLIDE 19

Example: Failure Detection and Repair

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

19

Adaptable Cyber-Physical System Failure Detection + Repair

M A P E

slide-20
SLIDE 20

Example: Failure Detection and Repair  Monitor

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

20

Failure Detection + Repair

M A P E

Monitor Knowledge Adaptable Cyber-Physical System

<<Component>> Navigation Logic <<Sensor>> Obstacle Detection <<Sensor>> Localization <<Actuator>> Wheel

slide-21
SLIDE 21

<<Component>> Navigation Logic <<Sensor>> Obstacle Detection <<Sensor>> Localization <<Actuator>> Wheel

Example: Failure Detection and Repair  Monitor

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

21

M A P E

Monitor Knowledge Adaptable Cyber-Physical System Failure Detection + Repair

slide-22
SLIDE 22

Example: Failure Detection and Repair  Analyze

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

22

M A P E

Knowledge Rules Analyze Adaptable Cyber-Physical System

<<Component>> Navigation Logic <<Sensor>> Obstacle Detection <<Sensor>> Localization <<Actuator>> Wheel

Failure Detection + Repair

slide-23
SLIDE 23

Example: Failure Detection and Repair  Analyze

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

23

M A P E

Knowledge Analyze Rules Adaptable Cyber-Physical System

<<Component>> Navigation Logic <<Sensor>> Obstacle Detection <<Sensor>> Localization <<Actuator>> Wheel

replace Failure Detection + Repair

slide-24
SLIDE 24

Example: Failure Detection and Repair  Plan

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

24

M A P E

Knowledge Plan Adaptable Cyber-Physical System

<<Component>> Navigation Logic <<Sensor>> Obstacle Detection <<Sensor>> Localization <<Actuator>> Wheel

replace Failure Detection + Repair

slide-25
SLIDE 25

Example: Failure Detection and Repair  Plan

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

25

M A P E

Knowledge Plan Component repository

1) Remove old component 2) Load backup component 3) Connect backup component

Adaptable Cyber-Physical System

<<Component>> Navigation Logic <<Sensor>> Obstacle Detection <<Sensor>> Localization <<Actuator>> Wheel

replace

<<Sensor>> BACKUP Obstacle Detection

Failure Detection + Repair

slide-26
SLIDE 26

Example: Failure Detection and Repair  Execute

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

26

M A P E

Knowledge Execute Adaptable Cyber-Physical System

1) Remove old component 2) Load backup component 3) Connect backup component <<Component>> Navigation Logic <<Sensor>> Obstacle Detection <<Sensor>> Localization <<Actuator>> Wheel

replace

<<Sensor>> BACKUP Obstacle Detection

Failure Detection + Repair

slide-27
SLIDE 27

Summary: Cyber-Physical Systems Laboratory

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

27

slide-28
SLIDE 28

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

28

Summary:

Reconfiguration in Cyber-Physical Systems

[acatech2011]

Adapt cyber-physical systems at runtime: A research challenge!

slide-29
SLIDE 29

References

■ Erik Coelingh, Stefan Solyom. All Aboard the Robotic Road Train. IEEE Spectrum, November,2012. http://spectrum.ieee.org/green-tech/advanced-cars/all-aboard-the-robotic-road-train ■ Hyun Jung La, Soo Dong Kim. A Service-Based Approach to Designing Cyber Physical

  • Systems. Computer and Information Science, ACIS International Conference on, pp. 895-900,

2010 IEEE/ACIS 9th International Conference on Computer and Information Science, 2010 ■ Edward A. Lee. Cyber Physical Systems: Design Challenges. Technical report, EECS Department, University of California, Berkeley, UCB/EECS-2008-8, Jan, 2008. ■ Wilhelm Schäfer and Heike Wehrheim. 2007. The Challenges of Building Advanced Mechatronic Systems. In 2007 Future of Software Engineering (FOSE '07). IEEE Computer Society, Washington, DC, USA, 72-84. DOI=10.1109/FOSE.2007.28 http://dx.doi.org/10.1109/FOSE.2007.28 ■ David J. Musliner, Robert P. Goldman, Michael J. Pelican and Kurt D. Krebsbach. Self-Adaptive Software for Hard Real-Time Environments. In IEEE Intelligent Systems, Vol. 14(4), July 1999. ■ Philip McKinley, Seyed Masoud Sadjadi, Eric P. Kasten and Betty H. Cheng. Composing Adaptive

  • Software. In IEEE Computer, Vol. 37(7):56-64, July 2004.

■ Mazeiar Salehie and Ladan Tahvildari. Self-adaptive software: Landscape and research

  • challenges. In ACM Trans. Auton. Adapt. Syst., Vol. 4(2):1--42, ACM, New York, USA , 2009.

■ Thomas Vogel, Andreas Seibel and Holger Giese. The Role of Models and Megamodels at

  • Runtime. In Models in Software Engineering, Workshops and Symposia at MODELS 2010, Oslo,

Norway, October 3-8, 2010, Reports and Revised Selected Papers, Vol. 6627:224-238 of Lecture Notes in Computer Science (LNCS), Springer-Verlag, May 2011.

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

29

slide-30
SLIDE 30

References

■ Jeffrey O. Kephart and David Chess. The Vision of Autonomic Computing. In Computer, Vol. 36(1):41--50, IEEE Computer Society Press, Los Alamitos, CA, USA, January 2003. ■ Sylvain Frey, Ada Diaconescu and Isabelle M. Demeure. Architectural Integration Patterns for Autonomic Management Systems. In Proceedings of the 9th IEEE International Conference and Workshops on the Engineering of Autonomic and Autonomous Systems (EASe 2012), 2012. ■ Soguy Mak Karé Gueye, Noel De Palma and Eric Rutten. Coordinating Energy-aware Administration Loops Using Discrete Control. In Proceedings of the 8th International Conference on Autonomic and Autonomous Systems (ICAS 2012), Pages 99--106, IARIA, 2012. ■ Mieczyslaw M. Kokar, Kenneth Baclawski and Yönet A. Eracar. Control Theory-Based Foundations of Self-Controlling Software. In Intelligent Systems and their Applications, Vol. 14(3):37-45, 1999. ■ Jeff Kramer and Jeff Magee. Self-Managed Systems: an Architectural Challenge. In FOSE '07: 2007 Future of Software Engineering, Pages 259--268, IEEE Computer Society, Washington, DC, USA , 2007. ■ acatech, ed. (2011). Cyber-Physical Systems: Driving Force for Innovation in Mobility, Health, Energy and Production (acatech POSITION PAPER). acatech -- National Academy of Science and Engineering , Munich, Germany, 2011. ■ Geisberger, E. and Broy, M. agendaCPS: Integrierte Forschungsagenda Cyber-Physical

  • Systems. acatech STUDIE, Springer, 2012.

Sebastian Wätzoldt | Reconfiguration in Cyber-Physical Systems | HPI Symposium @ SAP

30