Control-theory and models at runtime Pierre-Alain Muller 1, Olivier Barais 2, Franck Fleurey 2 1 Université de Haute-Alsace Mulhouse, France 2 IRISA /

Slides:



Advertisements
Similar presentations
06/10/071 Security System Using VHDL. 06/10/072 Project Members Amal Shanavas Aneez I Ijas Rahim Renjith S Menon Sajid S Chavady.
Advertisements

Mutually Controlled Routing with Independent ISPs
A.De Santis Radiative Meeting 30/05/07 Cross section e e Antonio De Santis Simona Giovannella.
Tuning of Model Predictive Controllers Using Fuzzy Logic Emad Ali King Saud University Saudi Arabia.
Introductory Control Theory I400/B659: Intelligent robotics Kris Hauser.
1 CASE STUDY RESEARCH An Introduction. 2 WHY CASE STUDY RESEARCH? The case study method is amongst the most flexible of research designs, and is particularly.
TU / e /AIS Group Technische Universiteit Eindhoven University of Technology Modeling Grid Workflows with Colored Petri Nets Carmen Bratosin, Wil van der.
September 2007 PM Writing Linking reading to writing.
Coherent Support for Models at Run-Time through Orthogonal Classification Colin Atkinson and Matthias Gutheil University of Mannheim, Germany Presented.
What is Science?.
Fred Hills Richard Leslie McLennan Community College.

SOFTWARE TESTING. INTRODUCTION  Software Testing is the process of executing a program or system with the intent of finding errors.  It involves any.
Variability Oriented Programming – A programming abstraction for adaptive service orientation Prof. Umesh Bellur Dept. of Computer Science & Engg, IIT.
Fuzzy Logic Based on a system of non-digital (continuous & fuzzy without crisp boundaries) set theory and rules. Developed by Lotfi Zadeh in 1965 Its advantage.
QM Spring 2002 Business Statistics Introduction to Inference: Hypothesis Testing.
Estimation from Samples Find a likely range of values for a population parameter (e.g. average, %) Find a likely range of values for a population parameter.
Evaluating Hypotheses
11 Inverted Pendulum Emily Hamilton ECE Department, University of Minnesota Duluth December 21, 2009 ECE Fall 2009.

BA 427 – Assurance and Attestation Services
A Chemical Workflow Engine for Scientific Workflows with Dynamicity Support Manuel Caeiro Zsolt Nemeth Thierry Priol CoreGRID Post Doc IRISA, Rennes, France.
Chapter 10 Introduction to Components. Process Phases Discussed in This Chapter Requirements Analysis Design Implementation ArchitectureFramework Detailed.
Michigan High School Science Meap Test Constructing.
A Shaft Sensorless Control for PMSM Using Direct Neural Network Adaptive Observer Authors: Guo Qingding Luo Ruifu Wang Limei IEEE IECON 22 nd International.
Scientific Method and Measurements Mrs. Steele
Introduction CS 3358 Data Structures. What is Computer Science? Computer Science is the study of algorithms, including their  Formal and mathematical.
What is Science?. Observing Using one or more of your senses to gather information. –Senses: sight, hearing, touch, taste, and smell.
1 Deadzone Compensation of an XY –Positioning Table Using Fuzzy Logic Adviser : Ying-Shieh Kung Student : Ping-Hung Huang Jun Oh Jang; Industrial Electronics,
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
Fuzzy Inference (Expert) System
Introduction CS 3358 Data Structures. What is Computer Science? Computer Science is the study of algorithms, including their  Formal and mathematical.
CHAPTER 1 Understanding RESEARCH
What is science? an introduction to life science.
Software Engineering Principles. SE Principles Principles are statements describing desirable properties of the product and process.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Fuzzy Systems Michael J. Watts
ANFIS (Adaptive Network Fuzzy Inference system)
Sampling distributions rule of thumb…. Some important points about sample distributions… If we obtain a sample that meets the rules of thumb, then…
PART 9 Fuzzy Systems 1. Fuzzy controllers 2. Fuzzy systems and NNs 3. Fuzzy neural networks 4. Fuzzy Automata 5. Fuzzy dynamic systems FUZZY SETS AND FUZZY.
CONTROL OF MULTIVARIABLE SYSTEM BY MULTIRATE FAST OUTPUT SAMPLING TECHNIQUE B. Bandyopadhyay and Jignesh Solanki Indian Institute of Technology Mumbai,
What is Science? Chapter 1, Lesson 1. Using one or more of your senses and tools to gather information. observing.
2004 謝俊瑋 NTU, CSIE, CMLab 1 A Rule-Based Video Annotation System Andres Dorado, Janko Calic, and Ebroul Izquierdo, Senior Member, IEEE.
Software Quality Assurance and Testing Fazal Rehman Shamil.
1.3: Scientific Thinking & Processes Key concept: Science is a way of thinking, questioning, and gathering evidence.
AUTOMATIC CONTROL THEORY II Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Scientific Inquiry. The Scientific Process Scientific Process = Scientific Inquiry.
1 Effect of Input Rate Limitation on Controllability Presented at AIChE Annual Meeting in Austin, Texas November 7 th, 2002 Espen Storkaas & Sigurd Skogestad.
Introduction Control Engineering Kim, Do Wan HANBAT NATIONAL UNIVERSITY.
Dinner for Two. Fuzzify Inputs Apply Fuzzy Operator.
Functionality of objects through observation and Interaction Ruzena Bajcsy based on Luca Bogoni’s Ph.D thesis April 2016.
بسم الله الرحمن الرحيم وبه نستعين
Mathematical Practice Standards
Digital Control CSE 421.
The Clutch Control Strategy of EMCVT in AC Power Generation System
IPC (GROUP-5) SR. NO NAME EN. NO 1 SAVAN PADARIYA
Fuzzy Systems Michael J. Watts
P. Janik, Z. Leonowicz, T. Lobos, Z. Waclawek
Fuzzy Logic and Fuzzy Sets
Feedback Amplifiers.
Chapter 4: Feedback Control System Characteristics Objectives
Lecture Software Process Definition and Management Chapter 3: Descriptive Process Models Dr. Jürgen Münch Fall
The Least-Squares Line Introduction
Applying Use Cases (Chapters 25,26)
Beijing University of Aeronautics & Astronautics
Applying Use Cases (Chapters 25,26)
1.3 Classifying Engineering Tasks
Thinking Like A Scientist
ECE 352 Digital System Fundamentals
Fuzzy Logic Based on a system of non-digital (continuous & fuzzy without crisp boundaries) set theory and rules. Developed by Lotfi Zadeh in 1965 Its advantage.
Presentation transcript:

Control-theory and models at runtime Pierre-Alain Muller 1, Olivier Barais 2, Franck Fleurey 2 1 Université de Haute-Alsace Mulhouse, France 2 IRISA / INRIA Rennes Rennes, France

Talk outline ► Introduction ► Basics of control-theory ► Control-theory and runtime ► Example of control theory reuse for QoS adaptation policies ► Conclusions

Introduction ► Models at runtime are considered as a key enabling technology for systems that control themselves as they operate ► The automatic-control community has developed extensive theories and experiences in qualifying the properties of controller and systems; including stability, controllability and observability ► We propose to use control-theory for describing self- adaptive model-driven systems

Basics of control-theory ControllerPlant + - ref Observer e x y Obs(y) This is the system under control X represents the inputs of the system Inputs are used to act on the system Y represents the outputs of the system Ouputs are used to observe the system

Basics of control-theory ControllerPlant + - ref Observer e x y Obs(y) This is what the system must enforce This is what the system actually does This is the difference between what the system should do, and what it does actually. It is known as the error

Basics of control-theory ControllerPlant + - ref Observer e x y Obs(y) The goal of the controller is to minimize the error by acting on the inputs of the system To know how to act on the system, the controller uses a representation of the system (the control law)

► Stability ensures that a system will not be endangered by out of range (theoretically infinite) values  For any bounded input over any amount of time, the output will also be bounded Stability

Controllability ► Controllability is related to the ability of forcing the system into a particular state by using an appropriate control signal  If a state is not controllable, then no signal will ever be able to stabilize the system

Observability ► Observability is related to the possibility of observing, through output measurements, the state of a system  If a state is not observable, the controller will never be able to correct the closed-loop behavior if such a state is not desirable

Open-Loop Controller Vs Closed- Loop Controller ► Open-Loop Controller  The control-law of the controller takes the reference and calculates the inputs to the system under control ► Closed-Loop Controller  The controller takes the difference (known as the error) between the reference and the actual outputs to change the inputs to the system under control ► Closed-loop controllers outperform open-loop controllers in terms of reference tracking, sensitivity to parameter variations, disturbance rejection and stabilization of unstable processes

What about models now? ControllerPlant + - ref Observer e x y Obs(y) The control law is an analytical model of the plant (the system) The control law is used by the controller to answer questions such as: « What happens if I inject such value in the system ? »

The reference is a model of what the system should do (requirements) What about models now? ControllerPlant + - ref Observer e x y Obs(y) The observer provides a model of what the system does actually The error is a model of the difference between what should be done and what is actually done

What about models now? ControllerPlant + - ref Observer e x y Obs(y) Input models are used to act on the system Input models can be either token models or type models Token models: model elements are in a one-to-one correspondence with system items (typically initialization values) Type models : model elements represent sets of system items (typically classes and relations)

Research directions ► Re-defining basic notions of control-theory in the context of software engineering  Stability  Controllability  Observability

Defining stability criteria for software ► A system is said to be stable when little disturbances applied to the system have negligible effects on its behavior ► In terms of model-driven software systems, this means that small changes in the input models do not radically change the behavior of the system  Most important is the notion of margin, that is the amount of changes that can be applied to inputs without disturbing too much the system, and make it become unstable

Defining controllability criteria for software ► A system is controllable if it can be driven (say by a model) in a desired direction. Controllability is about proving that systems will perform according to the specifications when inputs change ► For instance, this might be true as long as token models conform to type models; the system is then likely to react as expected ► General criteria for controllability of software have to be defined (in the same way that control-theory created tools for linear systems)

Defining observability criteria for software ► For a system to be controllable, with a closed-loop controller, it must be possible to get precise information about any state of the system at any time ► The point here is to be able to build representations (models) which cover all relevant aspects of a system, as far as control is concerned ► This is the place for analytical models which gather information about systems, including at runtime, such as trace models

Example: Fuzzy logic ► Fuzzy logic provides a way to express qualitativaly the controlability   load is “medium” => cacheSize is “medium”   load is “small” => cacheSize is “small” ControllerPlant + - ref Observer e x y Obs(y) Fuzzy logic expresses the control law with qualitative properties

Fuzzy logic ► ► Three steps   Fuzzification (From observed quantitative properties to qualitative membership value)   Inference (Select the rule that can be applied and infer qualitative membership value of actions)   Defuzzification (Infer quantitative values of actions) ► Interests  Define qualitative rules can be useful at the design stage

Conclusions ► Control-theory  may be used to represent the development of self- adaptive model-driven applications  might be an important element for the study of models at runtime, especially in the context of self-adaptation  ► New research directions  reformulate basic notions of control-theory applied to model-driven development, in the context of self- adaptive systems