Hybrid Systems Modeling, Analysis and Control

Similar documents
Embedded Systems 5. Synchronous Composition. Lee/Seshia Section 6.2

Embedded Systems 2. REVIEW: Actor models. A system is a function that accepts an input signal and yields an output signal.

From Electrical Switched Networks to Hybrid Automata. Alessandro Cimatti 1, Sergio Mover 2, Mirko Sessa 1,3

Timed Automata VINO 2011

Automata-theoretic analysis of hybrid systems

Analysis of a Boost Converter Circuit Using Linear Hybrid Automata

APPROXIMATING SWITCHED CONTINUOUS SYSTEMS BY RECTANGULAR AUTOMATA

Georgios E. Fainekos, Savvas G. Loizou and George J. Pappas. GRASP Lab Departments of CIS, MEAM and ESE University of Pennsylvania

Cyber-Physical Systems Modeling and Simulation of Hybrid Systems

Modeling & Control of Hybrid Systems. Chapter 7 Model Checking and Timed Automata

Synthesizing Discrete Controllers from Hybrid Automata -- Preliminary Report*

Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods

EE291E Lecture Notes 3 Autonomous Hybrid Automata

EECS 144/244: System Modeling, Analysis, and Optimization

Hybrid Control and Switched Systems. Lecture #1 Hybrid systems are everywhere: Examples

Hybrid Systems - Lecture n. 3 Lyapunov stability

An Introduction to Hybrid Systems Modeling

Course on Hybrid Systems

Formally Correct Monitors for Hybrid Automata. Verimag Research Report n o TR

Nonlinear Real Arithmetic and δ-satisfiability. Paolo Zuliani

Analysis for Dynamic of Analog Circuits by using HSPN

An introduction to Uppaal and Timed Automata MVP5 1

Hybrid Modelling and Control of Power Electronics

A Hybrid Synchronous Language with Hierarchical Automata

Models for Efficient Timed Verification

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization

Information System Design IT60105

Modelling Real-Time Systems. Henrik Ejersbo Jensen Aalborg University

User s Manual of Flow* Version 2.0.0

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints

Electrical Circuits I

Stéphane Lafortune. August 2006

Hybrid Automata. Lecturer: Tiziano Villa 1. Università di Verona

Generalized Analysis for ZCS

Bounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39

Logic Model Checking

Discrete abstractions of hybrid systems for verification

Figure Circuit for Question 1. Figure Circuit for Question 2

Computationally efficient models for simulation of non-ideal DC DC converters operating in continuous and discontinuous conduction modes

The algorithmic analysis of hybrid system

Physics 116A Notes Fall 2004

arxiv: v1 [cs.fl] 25 Nov 2018

NCS Lecture 11 Distributed Computation for Cooperative Control. Richard M. Murray (Caltech) and Erik Klavins (U. Washington) 17 March 2008

Recent results on Timed Systems

HyTech: A Model Checker for Hybrid Systems y. Thomas A. Henzinger Pei-Hsin Ho Howard Wong-Toi

0 t < 0 1 t 1. u(t) =

Modeling and Verifying a Temperature Control System using Continuous Action Systems

A synchronous rendering of hybrid systems for designing Plant-on-a-Chip (PoC)

RELATING CHI TO HYBRID AUTOMATA

Lecture (20) DC Machine Examples Start of Synchronous Machines

EE155/255 Green Electronics

Software Verification with Abstraction-Based Methods

Lecture 4 Model Checking and Logic Synthesis

Co-simulation of embedded systems: a PVS-Simulink integrated environment

Automata-Theoretic Model Checking of Reactive Systems

DISCRETE CONTROLLED PRE-DRIVER FIR MODEL FOR HYBRID IBIS MODEL AMS SIMULATION MAY 09, 2015, TURIN, ITALY

Verifying Randomized Distributed Algorithms with PRISM

Hybrid Control and Switched Systems. Lecture #9 Analysis tools for hybrid systems: Impact maps

Efficient Simulation of Hybrid Systems: A Hybrid Bond Graph Approach

AC Circuits Homework Set

Computer Aided Verification

Hybrid Systems Course Lyapunov stability

ECE 407 Computer Aided Design for Electronic Systems. Simulation. Instructor: Maria K. Michael. Overview

Converter System Modeling via MATLAB/Simulink

ESE 601: Hybrid Systems. Instructor: Agung Julius Teaching assistant: Ali Ahmadzadeh

On decision problems for timed automata

Automated Verification of a Parametric Real-Time Program: The ABR Conformance Protocol

Software Verification

Towards a Mechanised Denotational Semantics for Modelica

540 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 4, APRIL Algorithmic Analysis of Nonlinear Hybrid Systems

Hybrid systems and computer science a short tutorial

2005 AP PHYSICS C: ELECTRICITY AND MAGNETISM FREE-RESPONSE QUESTIONS

A Compositional Approach to Bisimulation of Arenas of Finite State Machines

Verification of Linear Duration Invariants by Model Checking CTL Properties

New Complexity Results for Some Linear Counting Problems Using Minimal Solutions to Linear Diophantine Equations

Lecture 4 Event Systems

CEGAR:Counterexample-Guided Abstraction Refinement

Parameter iden+fica+on with hybrid systems in a bounded- error framework

Hybrid Automata and ɛ-analysis on a Neural Oscillator

Hybrid Control and Switched Systems. Lecture #4 Simulation of hybrid systems

Testability. Shaahin Hessabi. Sharif University of Technology. Adapted from the presentation prepared by book authors.

A RECEDING HORIZON CONTROL FOR LIFTING PING-PONG BALL. Sumiko Majima and Keii Chou

An Introduction to Hybrid Systems Modeling

APPROXIMATE SIMULATION RELATIONS FOR HYBRID SYSTEMS 1. Antoine Girard A. Agung Julius George J. Pappas

A Hybrid Control Model of Fractone-Dependent Morphogenesis

Verifying Safety Properties of Hybrid Systems.

Sliding-Mode Control of the DC-DC Ćuk Converter in Discontinuous Conduction Mode

6.3. Transformer isolation

On Distribution Based Bisimulations for Probabilistic Automata

Modeling, Analysis and Control of an Isolated Boost Converter for System Level Studies

Analysis and Optimization of Discrete Event Systems using Petri Nets

Diagnosis of Dense-Time Systems using Digital-Clocks

Modeling and Verification of Sampled-Data Hybrid Systems

ProbReach: Probabilistic Bounded Reachability for Uncertain Hybrid Systems

Control Synthesis of Discrete Manufacturing Systems using Timed Finite Automata

The State Explosion Problem

Stability of Hybrid Automata with Average Dwell Time: An Invariant Approach

Hybrid Dynamical Systems: An Introduction to Control and Verification

Parameter Matching Using Adaptive Synchronization of Two Chua s Oscillators: MATLAB and SPICE Simulations

Stability and Control of dc Micro-grids

Transcription:

Hybrid Systems Modeling, Analysis and Control Radu Grosu Vienna University of Technology Lecture 6

Continuous AND Discrete Systems Control Theory Continuous systems approximation, stability control, robustness Computer Science Discrete systems abstraction, composition concurrency, verification Hybrid Systems Software controlled systems Embedded real-time systems Multi-agent systems

Models and Tools Dynamic systems with continuous & discrete state variables Models Analytical Tools Software Tools Continuous Part Differential equations, transfer functions, Lyapunov functions, eigenvalue analysis, Matlab, Matrix x, VisSim, Discrete Part Automata, Petri nets, Statecharts, Boolean algebra, formal logics, verification, Statemate, Rational Rose, SMV,

Modeling a Hybrid System M odel of System M odel of P hysics M odel of S oftw are continuous dynam ics discrete dynam ics

Hybrid Automaton (HA) locations or modes (discrete states) edge guard n e : guard (x ) 0 x inv (n ) x init (m ) m x inv (m ) action (x, x ) jump transformation initial condition continuous dynamics invariant: HA m ay rem ain in m as long as x inv (m )

Example: Bouncing Ball Ball has m ass m and position x Ball initially at position x 0 and at rest Ball bounces w hen hitting ground at x 0

Bouncing Ball: Free Fall Condition for free fall: x 0 Differential equations: First order

Bouncing Ball: Bouncing Condition for bouncing: x 0 Action for bouncing: v cv C oefficient c: deform ation, friction

Bouncing Ball: Hybrid Automaton initial condition x x 0, v 0 location invariant flow freefall x 0 discrete transition label guard actio n bounce: v cv

Bouncing Ball: Associated Program initial condition location invariant flow freefall discrete transition label guard action bounce: v c v

Execution of Bouncing Ball x (t) Position (x ) 0 x (t) 1 x (t) 2 x (t) 3 x (t) 4 T 0 T 1 T 2 T 3 T 4 Tim e (t ) Velocity (v ) v (t) v (t) 4 v (t) v (t) v (t) 3 1 2 0 T 0 T 1 T 2 T 3 T 4 Tim e (t )

Boost DC-DC Converter i L i 0 v c v 0 s 0 s 0

Boost DC-DC Converter i L i 0 v c v 0 s 1 s 0 s 0 s 1 s 1 s 0

i L i 0 v c v 0 Boost DC-DC Converter s 1 s 0 s 0 s 1 s 1 s 0 float i L i 0, v c v 0, d d 0 ; bool s 0; w hile true { w hile (s 0) { i L i L ( R L L v C v C 1 C i L 1 L 1 v S ) d R C R 0 v C d read(s ) }

Execution of Boost DC-DC Converter Parameters : U s = 20V L = 1mH C = 50nF R L = 1kW R C = 10W Voltage u Cþ, V 16 12 8 4 0 Capacitor Voltage and Inductor Current 0 1 2 3 Time t, ms 200 150 100 50 0 Current i L, ma R 0 = 10kW dt = 200ns U max = 16V U min = 14V Voltage u R0, V 16 12 8 4 0 Load Voltage 0 1 2 3 Time t, ms 200 150 100 50 0 Current i L, ma

Hybrid Autom aton H V ariables: Continuous variables x [ x 1,..., x n ] Control G raph: Finite directed m ultigraph (V,E ) Finite set V of control m odes Finite set E of control switches Vertex labeling functions: for each v V Initial states: init(v )(x ) defines initial region Invariant: inv(v )(x ) defines invariant region Edge labeling functions: for each e E G uard: guard(e )(x ) defines enabling region Update: action(e )(x, x ) defines the reset region Synchronization labels: label(e ) defines com m unication

Executions of a Hybrid Autom aton State: (m,x ) such that x inv(m ) Initialization: (m,x ) such that x init(m ) Tw o types of state updates: Discrete sw itches: (m,x ) a ( m, x ) if e ( m, m ') E label(e ) a guard(e )(x ) 0 action(e)(x, x ) Continuous flow s: (m,x ) f (m, x ) if f : [0,T] R n. f (0) x f (T) x

References T. A. Henzinger, "The theory of hybrid automata, Logic in Computer Science, 1996. LICS '96. Proceedings., Eleventh Annual IEEE Symposium on, New Brunswick, NJ, 1996, pp. 278-292.