Control Synthesis and Reconfiguration for Hybrid Systems October 2001 Sherif Abdelwahed ISIS Vanderbilt University.

Slides:



Advertisements
Similar presentations
Hybrid System Verification Synchronous Workshop 2003 A New Verification Algorithm for Planar Differential Inclusions Gordon Pace University of Malta December.
Advertisements

Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Timed Automata.
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Models for Control and Verification Ian Mitchell Department of Computer Science The University of British Columbia research supported by National Science.
Model Checking Genetic Regulatory Networks with Parameter Uncertainty Grégory Batt, Calin Belta, Ron Weiss HSCC 2007 Presented by Spring Berman ESE :
AeroSense, April System Health Tracking and Safe Testing André Bos, Arjan van Gemund Jonne Zutt Delft University of Technology.
Zonotopes Techniques for Reachability Analysis Antoine Girard Workshop “Topics in Computation and Control” March 27 th 2006, Santa Barbara, CA, USA
Verification of Hybrid Systems An Assessment of Current Techniques Holly Bowen.
1 Mechanical Verification of Timed Automata Myla Archer and Constance Heitmeyer Presented by Rasa Bonyadlou 24 October 2002.
ECE 720T5 Fall 2012 Cyber-Physical Systems Rodolfo Pellizzoni.
Combining Symbolic Simulation and Interval Arithmetic for the Verification of AMS Designs Mohamed Zaki, Ghiath Al Sammane, Sofiene Tahar, Guy Bois FMCAD'07.
Succinct Approximations of Distributed Hybrid Behaviors P.S. Thiagarajan School of Computing, National University of Singapore Joint Work with: Yang Shaofa.
1 Formal Models for Stability Analysis : Verifying Average Dwell Time * Sayan Mitra MIT,CSAIL Research Qualifying Exam 20 th December.
1 Stability of Hybrid Automata with Average Dwell Time: An Invariant Approach Daniel Liberzon Coordinated Science Laboratory University of Illinois at.
Lecture #1 Hybrid systems are everywhere: Examples João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
1 Verification and Synthesis of Hybrid Systems Thao Dang October 10, 2000.
Robust Hybrid and Embedded Systems Design Jerry Ding, Jeremy Gillula, Haomiao Huang, Michael Vitus, and Claire Tomlin MURI Review Meeting Frameworks and.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Discrete Abstractions of Hybrid Systems Rajeev Alur, Thomas A. Henzinger, Gerardo Lafferriere and George J. Pappas.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Abstractions. Outline Informal intuition Why do we need abstraction? What is an abstraction and what is not an abstraction A framework for abstractions.
6th Biennial Ptolemy Miniconference Berkeley, CA May 12, 2005 Operational Semantics of Hybrid Systems Haiyang Zheng and Edward A. Lee With contributions.
Chess Review May 11, 2005 Berkeley, CA Operational Semantics of Hybrid Systems Haiyang Zheng and Edward A. Lee With contributions from the Ptolemy group.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Scheduling Using Timed Automata Borzoo Bonakdarpour Wednesday, April 13, 2005 Selected Topics in Algorithms and Complexity (CSE960)
EECE Hybrid and Embedded Systems: Computation
Approximate Abstraction for Verification of Continuous and Hybrid Systems Antoine Girard Guest lecture ESE601: Hybrid Systems 03/22/2006
Hierarchical Reinforcement Learning Ersin Basaran 19/03/2005.
The Symbolic Approach to Hybrid Systems Tom Henzinger University of California, Berkeley.
Hybrid Systems a lecture over: Tom Henzinger’s The Theory of Hybrid Automata Anders P. Ravn Aalborg University PhD-reading course November 2005.
ESE601: Hybrid Systems Introduction to verification Spring 2006.
Beyond HyTech Presented by: Ben Horowitz and Rupak Majumdar Joint work with Tom Henzinger and Howard Wong-Toi.
NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10,
Slide# Ketter Hall, North Campus, Buffalo, NY Fax: Tel: x 2400 Control of Structural Vibrations.
Hybrid automata Rafael Wisniewski Automation and Control, Dept. of Electronic Systems Aalborg University, Denmark Hybrid Systems October 9th 2009.
Approximation Metrics for Discrete and Continuous Systems Antoine Girard and George J. Pappas VERIMAG Workshop.
1 DISTRIBUTION A. Approved for public release; Distribution unlimited. (Approval AFRL PA # 88ABW , 09 April 2014) Reducing the Wrapping Effect.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
A Framework for Distributed Model Predictive Control
Introductory Control Theory CS 659 Kris Hauser.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Department of Mechanical Engineering The University of Strathclyde, Glasgow Hybrid Systems: Modelling, Analysis and Control Yan Pang Department of Mechanical.
Model-Based Diagnosis of Hybrid Systems Papers by: Sriram Narasimhan and Gautam Biswas Presented by: John Ramirez.
Introduction to Algorithms By Mr. Venkatadri. M. Two Phases of Programming A typical programming task can be divided into two phases: Problem solving.
Lecture #5 Properties of hybrid systems João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Hybrid automata and temporal logics
Model construction and verification for dynamic programming languages Radu Iosif
TEMPLATE DESIGN © Observer Based Control of Decentralized Networked Control Systems Ahmed M. Elmahdi, Ahmad F. Taha School.
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
ECE/CS 584: Hybrid Automaton Modeling Framework Invariance, Abstractions, Simulation Lecture 04 Sayan Mitra.
Software Quality and Safety Pascal Mbayiha.  software engineering  large, complex systems  functionality, changing requirements  development difficult.
ECE/CS 584: Verification of Embedded Computing Systems Model Checking Timed Automata Sayan Mitra Lecture 09.
1 Formal Models for Stability Analysis of Hybrid Systems: Verifying Average Dwell Time * Sayan Mitra MIT,CSAIL Research Qualifying.
Controller Synthesis For Timed Automata Authors : Eugene Asarin, Oded Maler, Amir Pnueli and Joseph Sifakis Yean-Ru Chen Embedded System Laboratory of.
ECE-7000: Nonlinear Dynamical Systems 3. Phase Space Methods 3.1 Determinism: Uniqueness in phase space We Assume that the system is linear stochastic.
Parametric Quadratic Optimization Oleksandr Romanko Joint work with Alireza Ghaffari Hadigheh and Tamás Terlaky McMaster University January 19, 2004.
Interacting Discrete Event Systems: Modelling, Verification, and Supervisory Control Sherif S. Abdelwahed February 4, 2002.
CPE555A: Real-Time Embedded Systems
Instructor: Rajeev Alur
Introduction to Control Systems Objectives
Autonomous Cyber-Physical Systems: Dynamical Systems
Digital Control Systems (DCS)
CSEP590 – Model Checking and Automated Verification
Lecture #10 Switched systems
Discrete Controller Synthesis
Stability Analysis of Linear Systems
Course: CS60030 FORMAL SYSTEMS
Presentation transcript:

Control Synthesis and Reconfiguration for Hybrid Systems October 2001 Sherif Abdelwahed ISIS Vanderbilt University

Introduction discrete e.g. task, activity, count, status, operation modes Variables changing in discrete steps; dynamics modeled by finite state structure (automata) Continuous e.g. location, velocity, temperature, pressure Variables changing continuously with time; dynamics modeled by differential equations variables dynamics Hybrid systems combine discrete-event or mode switching dynamics with continuous evolution according to differential equations or inclusions. States take values over real and discrete sets. Modeling domain can be the abstraction of: continuous systems with phased operation (Robots, diodes), continuous systems controlled by discrete inputs (switches, valves), Coordinating processes (multi-agent systems), etc.

Research Directions Modeling and Simulation Classify discreet phenomena; existence (non-blocking), uniqueness (determinism), non-zenoness (liveness) [Branicky, Astrom] Composition and abstraction operations [Henzenger, Lynch, Sifackis, Varia] Analysis and Verification Stability analysis, Lyapunov techniques [Branicky, Michel] Model checking [Alur, Humdinger Sifakis] Deductive techniques [Lynch, Manna, Pnueli] Controller Synthesis Optimal control [Branicky-Borkar-Mitter] Supervisory control [Lemmon-Koutsoukos-Antsaklis] Algorithm synthesis [Maler et.al, Wong-Toi] Diagnosis Output/Control observation [Hashtrudi-Zad] Failure analysis, control reconfiguration [ISIS, Parisini]

Basic Hybrid System Q finite set of discrete states or control modes G  Q  Q, control graph or discrete transitions For each discrete mode q  Q, a dynamical system: X q   n state space for mode q; possible values x = (x 1, …, x n ) of real variables when in mode q. V   m an input vector of real values f q = X q  V   +  X q is the continuous flow of a vector field (system of o.d.e) on X q ; model how the system continuously evolves over time t   + Inv q  X q  V set of invariant states, or the domain of permitted evolution in q. Typically enforce a time bound on how long the system can stay in mode q. Init q  X q set of initial states for mode q. For each discrete transition (q,q’)  G, G q,q’  X q is the guard set of “trigger event” for the discrete transition (q,q’) R q,q’ : X q  V  X q is the reset map: state x non- deterministically reset to some x’  R q,q’ (x); e.g. identify relation on some variables. q 1 x  =f 1 (x,v) x  Inv 1 q 2 22 x  =f 2 (x,v) x  Inv 2 q 3 x  =f 3 (x,v) x  Inv 3 x  G 1,2 x  G 3,1 x  G 2,3 x  G 3,3 x  R 2,3 x  R 1,2 x  R 3,1 x  R 3,3 Hybrid State Space: X H :=  q  Q ({q}  Xq)

Hybrid System Control Problems A trajectory of a HS, H from a state (q o,x o ) is a map  : T  X H ; T is a connected time sequences. In every time sequence the discrete state is assumed fixed L(H) is the set of all trajectories starting from any state (q,x) in H t o =0 q1q1 q2q2 q3q3 t1t1 t2t2 t3t3 Control Problems: Safety: Given a region R  Q  Xq find a control strategy to keep the system within R Reachability: Given two regions S, T  Q  Xq find a control strategy to derive the system from any state in S to a state in T Optimization: Find a control strategy to optimize a given cost function Control Patterns: Feedback map restricting H to another hybrid system H’ where L(H’)  L(H) Discrete-event supervision observing finite outputs from and supply finite inputs to H Game theory extensions to hybrid systems; balance the effect of disturbance Mixed-integer quadratic programming: discrete transitions captured as variables over finite set of integers

Discrete Abstraction of Hybrid Systems - Approaches Conservative abstractions H’ extends the behavior of H; L(H’)  L(H) or H’ partially preserves the reachability relation in H Can be formulated for PL-constrained and finite input PL-constrained regions Another approach assumed finite inputs and observations (outputs). The abstracted state space is formed of (finite) sequences of inputs and outputs. Another approach approximates the reachability set by orthogonal polyhedral. Can offer different levels of abstraction (by providing more inputs/outputs). Equivalence based 1. Language H’ preserves the language generated by H; L(H’) = L(H) Based on congruence relation over the set of strings generated by the system Very restrictive 2. Reachability H’ preserves the reachability properties of H; f(Pre(q,x)) = Pre(f(q,x)) Based on bisimulation equivalence Proved to be decidable for rectangular, O- minimal hybrid systems. Even if decidable, the abstracted state space is typically huge. Abstraction approaches The idea to transform a hybrid systems into a finite transitions structure that is equivalent to the initial system with respect to the given problem.

Switching Controller of Hybrid Systems - Introduction Control Problem: Given a hybrid system H = (Q, X, Inv, Init, G, R) and a set F  Q  X q : Find a restricting non- blocking hybrid system H’ such that for every   L(H’) and for every t  T,  (t)  R. Algorithm: P o := F  {  q  Q Inv q ); k=0 Repeat P k+1 = P k  Pre(P k ) k := k+1 Until P k = P k-1 P * = P k Controller: The automata H’ = (Q, X, Inv’, Init’, G’, R’) is the solution to the control problem; where Inv’ q = Inv q  P*, G’ q,q’ = G q,q’  P*  P*, etc. Implementation Issues: Effective computation of Pre, , and checking equivalence (=). The algorithm may not terminate even these operations are computable and even for very simple class of systems (PCD). Approach: Restricts the system dynamics: PL systems, x q (t+1) = A q x(t) PL-contstrained inputs Approximate P k to a finite union of hybercubes, or orthogonal (griddy) polyhedral.

Switching Controller of Hybrid Systems - Implementation Approximate Solution: Identify the set F as the convex hull of a set of points V. Compute D = conv(V  Post r (V)). This set is an approximation of Post [0,r] (V). Push the faces of D outward to obtain a bloated polyhedron D’ which contains the required set Overapproximating D’ by a griddy polyhedron Approximation Algorithm: P o := F; V o =V; Repeat V k+1 = Post r (V k ); D k = conv(V k-1  V k ); D k = bloat(D k ) D k = griddy(D k ) D k = P k-1  D k Until P K+1 = P K x1 x2 Post r (x1) Post r (x2 ) F Post r (F) Post 2r (F) Post 23 (x1) Post 2r (x2 ) Post [0,r] (F) Post [0,2r] (F)

Discrete Abstraction of Hybrid Systems – IO approach The system: x(k+1) = f(x(k), w(k),u d (k)), y d (k) = q(x(k)), where, w(k)  W:= {w | w   r, ||w||   1} u d (k)  U d = {u d1, …, u dn } Y d (k)  Y d = {y d1, …, y dm } Behavior abstraction: System behavior:  c  (U d, Y d ) T The abstract system behavior  l satisfies  c   l Therefore for a specification  spec and a controller  cont we get  l   cont   spec   c   cont   spec Abstraction behaviors: The abstraction is done by restricting the observation horizon to a finite level l. The approximate behavior of the system is defined recursively as  l,o =  c,o  l,k+1 ={ [b k, (y dj,u di )] | b k   l,k, u di  U d, y dj  Y l (b k,l )} Where Y l (b k,l ) is the set of all possible outputs generated at time k+1 given the string b k,l The abstract system: States: x d (k) = [y d (0)] if k=0 = [y d [0 …k], u d [0..k-1]] if k  l = [y d [k-l … k], u d [k-l …k-1]] if k >l Transitions: (x d, u d, x’ d ) is a transition in A l if it is consistent with the state discription and compatible with continuous the system dynamics

Control Reconfiguration of Hybrid Systems - Model Problem Setting The System A hybrid system H with: Linear cont. dynamics: f q = A q x+B q u Piecewise-linear (PL) discrete constraints: Inv q, Init q, G q,q’ are PL The specification the system has to remain in a given safe region defined by a set of PL constraints. Piecewise Linear Hybrid System Configuration engine Diagnoser Observer detects faulty components provides the current value of the system parameters provides enough information to observe the current state Controller compute the current system state adjust the controller for the new system parameters assumes finite control policies provide stable and efficient transitions between controllers components measurements of variables, states parameters update control input Sensors Alarms Samplers Switches Valves Regulators

Control Reconfiguration of Hybrid Systems - Approach Current systems data Hybrid System Controller Synthesis Discrete Abstraction Divide the state space into finite set of regions In any region, the system can be driven to the adjacent regions Supervisory Control based on the abstract state machine obtained by the partition it is required to move the system from current region to safe region movement is Continuous Control based on the discrete supervisor continuous controller is established for each region drive the system from a region to the guard of the next one. Hybrid model parameters current discrete state current continuous state Global discrete observer Local continuous observer discrete input continuous input global abstract control local detailed control Discrete and continuous diagnoser