Presentation is loading. Please wait.

Presentation is loading. Please wait.

NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10,

Similar presentations


Presentation on theme: "NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10,"— Presentation transcript:

1 NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10, 2004 Berkeley, CA Hybrid Systems Theory presented by Tom Henzinger 1. Robust hybrid systems 2. Stochastic hybrid systems 3. Compositional hybrid systems 4. Computational hybrid systems

2 CHESS Program Review, May 10, 2004 2 A Formal Foundation for Embedded Systems needs to combine ComputationPhysicality + Theories of -composition & hierarchy -computability & complexity B Theories of -robustness & approximation -probabilities & discounting R

3 CHESS Program Review, May 10, 2004 3 Continuous Dynamical Systems State space:R n Dynamics:initial condition + differential equations Room temperature:x(0) = x 0 x’(t) = -K·x(t) x t x0x0 Analytic complexity.

4 CHESS Program Review, May 10, 2004 4 Discrete Transition Systems State space:B m Dynamics:initial condition + transition relation Heater: heat t off on offon Combinatorial complexity.

5 CHESS Program Review, May 10, 2004 5 Hybrid Automata State space:B m  R n Dynamics:initial condition + transition relation + differential equations Thermostat: t off on x0x0 off x’ = -K·x on x’ = K·(H-x) x  l x  u x  U x  L

6 CHESS Program Review, May 10, 2004 6 slightly perturbed automaton The Robustness Issue Hybrid Automaton Property

7 CHESS Program Review, May 10, 2004 7 Safe Hybrid Automaton x = 3 The Robustness Issue

8 CHESS Program Review, May 10, 2004 8 Unsafe Hybrid Automaton x = 3+  The Robustness Issue

9 CHESS Program Review, May 10, 2004 9 value(Model,Property): States  B value(Model,Property): States  R Towards Robust Hybrid Automata

10 CHESS Program Review, May 10, 2004 10 value(Model,Property): States  B value(m,  T) = (  X) (T  pre(X)) discountedValue(Model,Property): States  R discountedValue(m,  T) = (  X) max(T,  pre(X)) discount factor 0< <1 Towards Robust Hybrid Automata

11 CHESS Program Review, May 10, 2004 11 acb Reachability (coSafety)   c … undiscounted property T (F Ç  pre(T)) = TT 2   c … discounted property 1max(0, ¢  pre(1)) =

12 CHESS Program Review, May 10, 2004 12 Robustness Theorem [de Alfaro, Henzinger, Majumdar]: If discountedBisimilarity(m 1,m 2 ) > 1 - , then |discountedValue(m 1,p) - discountedValue(m 2,p)| < f(  ). Further Advantages of Discounting: -approximability because of geometric convergence (avoids non-termination of verification algorithms) -applies also to probabilistic systems and to games (enables reasoning under uncertainty, and control) Main Result (so far, only for discrete systems)

13 CHESS Program Review, May 10, 2004 13 acb 1,12,21,12,2 2,11,22,11,2 1,11,22,21,11,22,2 2,12,1 Concurrent Game player "left" player "right" -for modeling component-based systems (“interfaces”) -for strategy synthesis (“control”)

14 CHESS Program Review, May 10, 2004 14 acb 1,1 2,2 2,1 1,2 1,1 1,2 2,2 2,1  left  right  c … player "left" has a deterministic strategy to reach c Concurrent Game (  X) (T   left  right pre(X))

15 CHESS Program Review, May 10, 2004 15 acb 1,1 2,2 2,1 1,2 1,1 1,2 2,2 2,1  left  right  c … player "left" has a deterministic strategy to reach c  left  right  c … player "left" has a randomized strategy to reach c Concurrent Game Pr(1): 0.5 Pr(2): 0.5 (  X) (T   left  right pre(X))

16 CHESS Program Review, May 10, 2004 16 acb 1 1 2 2 left right a: 0.6 b: 0.4 a: 0.1 b: 0.9 a: 0.5 b: 0.5 a: 0.2 b: 0.8 1 1 2 2 left right a: 0.0 c: 1.0 a: 0.7 b: 0.3 a: 0.0 c: 1.0 a: 0.0 b: 1.0 Probability with which player "left" can reach c ? Stochastic Game

17 CHESS Program Review, May 10, 2004 17 acb 1 1 2 2 left right a: 0.6 b: 0.4 a: 0.1 b: 0.9 a: 0.5 b: 0.5 a: 0.2 b: 0.8 1 1 2 2 left right a: 0.0 c: 1.0 a: 0.7 b: 0.3 a: 0.0 c: 1.0 a: 0.0 b: 1.0 Probability with which player "left" can reach c ? Stochastic Game (  X) max(T,  left  right pre(X)) 11 0.8

18 CHESS Program Review, May 10, 2004 18 acb 1 1 2 2 left right a: 0.6 b: 0.4 a: 0.1 b: 0.9 a: 0.5 b: 0.5 a: 0.2 b: 0.8 1 1 2 2 left right a: 0.0 c: 1.0 a: 0.7 b: 0.3 a: 0.0 c: 1.0 a: 0.0 b: 1.0 Probability with which player "left" can reach c ? Stochastic Game (  X) max(T,  left  right pre(X)) 11 0.96

19 CHESS Program Review, May 10, 2004 19 acb 1 1 2 2 left right a: 0.6 b: 0.4 a: 0.1 b: 0.9 a: 0.5 b: 0.5 a: 0.2 b: 0.8 1 1 2 2 left right a: 0.0 c: 1.0 a: 0.7 b: 0.3 a: 0.0 c: 1.0 a: 0.0 b: 1.0 Probability with which player "left" can reach c ? Stochastic Game (  X) max(T,  left  right pre(X)) 11 1

20 CHESS Program Review, May 10, 2004 20 Hybrid Systems Theory 1 Robust hybrid systems 2 Stochastic hybrid systems Theory of discounting. Timed and stochastic games and optimal control.

21 CHESS Program Review, May 10, 2004 21 Hybrid Systems Theory 1 Robust hybrid systems 2 Stochastic hybrid systems Theory of discounting. Timed and stochastic games and optimal control. 3 Compositional hybrid systems 4 Computational hybrid systems Agent algebras and interface theories. Hybrid systems simulation (Ptolemy II, GME). Hybrid systems verification (polyhedral & ellipsoidal methods). Code generation from hybrid systems (Ptolemy II, Giotto).

22 CHESS Program Review, May 10, 2004 22 Model Requirements Resources Verification Implementation Environment automatic (model checking) automatic (compilation) The Compositionality Issue

23 CHESS Program Review, May 10, 2004 23 Component Requirements Resources Verification Implementation Component The Compositionality Issue Composition no change necessary

24 CHESS Program Review, May 10, 2004 24 Component Requirements Resources Verification Implementation Component The Compositionality Issue Composition no change necessary (time, fault tolerance, etc.)

25 CHESS Program Review, May 10, 2004 25 Component Requirements Resources Verification Implementation Component The Compositionality Issue Composition no change necessary (time, fault tolerance, etc.) Agent algebras. Interface theories. Virtual machines.

26 CHESS Program Review, May 10, 2004 26 HyVisual is being used to nail down an operational semantics for hybrid systems. Compositional Hybrid Systems Modeling and Simulation I: HyVisual (based on Ptolemy II)

27 CHESS Program Review, May 10, 2004 27 Compositional Hybrid Systems Modeling and Simulation II: Generating SIMULINK models from Hybrid Bond Graphs THE SIMULINK ENVIROMENT Using Simulink blocks and subsystems we can create a block diagram that corresponds to the Hybrid Bond Graph in GME. Simulink provides variable step solvers for the simulation of ODEs, with error control and zero crossing detection. GME SIMULINK Two Tank Example Tank1 PressureTank2 Pressure

28 CHESS Program Review, May 10, 2004 28 Hybrid Systems Theory 1 Robust hybrid systems 2 Stochastic hybrid systems Theory of discounting. Timed and stochastic games and optimal control. 3 Compositional hybrid systems 4 Computational hybrid systems Agent algebras and interface theories. Hybrid systems simulation (Ptolemy II, GME). Hybrid systems verification (polyhedral & ellipsoidal methods). Code generation from hybrid systems (Ptolemy II, Giotto).

29 CHESS Program Review, May 10, 2004 29 Continuous System Verification: Problem Given control system control set target set Consider decision problems

30 CHESS Program Review, May 10, 2004 30 Continuous System Verification: Approach 1.Express decision problems as optimization problems 2.Derive Hamilton-Jacobi-Bellman (HJB) partial differential equation of value functions 3.Obtain support functions of using convex analysis 4.Obtain tight outer and inner ellipsoidal approximations to

31 CHESS Program Review, May 10, 2004 31 1.Matlab ‘toolbox’ to calculate ellipsoidal approximations and display any 2-d projection of reach set 2.Solve control problem: find control to steer inner ellipsoid outer ellisoid Continuous System Verification: Implementation

32 CHESS Program Review, May 10, 2004 32 1.Find states that can be reached despite disturbances in which is set of disturbances 2.Find reach set of hybrid systems in which i-th system is triggered by ‘guard’ (future work) From Continuous to Hybrid System Verification

33 CHESS Program Review, May 10, 2004 33 Related In-Depth Talks 3:50 p.m. Compositional Hybrid Systems: Model Transformations on Hybrid Models (Aditya Agrawal) 4:10 p.m. Stochastic Hybrid Systems: Hybrid Systems in Systems Biology (Wei Chung Wu, Jianghai Hu, Shankar Sastry) 4:30 p.m. Computational Hybrid Systems: Computational Methods for Analyzing and Controlling Hybrid Systems (Claire Tomlin)

34 CHESS Program Review, May 10, 2004 34 Related Posters Compositional Hybrid Systems: Rich Interface Theories (Arindam Chakrabarti) Compositional Metamodeling (Matthew Emerson) Stochastic Hybrid Systems: Stochastic Hybrid Systems (Alessandro Abate) Computational Hybrid Systems: Zeno Behavior in Hybrid Systems (Aaron Ames) Computation of Reach Sets (Alex Kurzhansky)


Download ppt "NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10,"

Similar presentations


Ads by Google