Euler s Method applied to the control of switched systems
|
|
- Ferdinand Parker
- 5 years ago
- Views:
Transcription
1 Euler s Method applied to the control of switched systems FORMATS Berlin Laurent Fribourg 1 September 6, LSV - CNRS & ENS Cachan L. Fribourg Euler s method and switched systems September 6, / 44
2 Motivation Objective: control of switched systems: determine the active mode of the system over time (each mode described by ODE) L. Fribourg Euler s method and switched systems September 6, / 44
3 Motivation Objective: control of switched systems: determine the active mode of the system over time (each mode described by ODE) basic techniques: space discretization (with tiles/boxes/interval vectors) interval arithmetic used for set-valued integration L. Fribourg Euler s method and switched systems September 6, / 44
4 Motivation Objective: control of switched systems: determine the active mode of the system over time (each mode described by ODE) basic techniques: space discretization (with tiles/boxes/interval vectors) interval arithmetic used for set-valued integration alternative techniques: error bound for Euler s method sharply estimated application to controlled stability of switched systems L. Fribourg Euler s method and switched systems September 6, / 44
5 Motivation Objective: control of switched systems: determine the active mode of the system over time (each mode described by ODE) basic techniques: space discretization (with tiles/boxes/interval vectors) interval arithmetic used for set-valued integration alternative techniques: error bound for Euler s method sharply estimated application to controlled stability of switched systems joint work with: A. Le Cöent, F. de Vuyst, L. Chamoin, J. Alexandre dit Sandretto, A. Chapoutot L. Fribourg Euler s method and switched systems September 6, / 44
6 Outline 1 Switched systems 2 Interval-based integration 3 Euler-based integration 4 Application to controlled stability 5 Compositional Euler s method 6 Final remarks L. Fribourg Euler s method and switched systems September 6, / 44
7 Switched systems Outline 1 Switched systems 2 Interval-based integration 3 Euler-based integration 4 Application to controlled stability 5 Compositional Euler s method 6 Final remarks L. Fribourg Euler s method and switched systems September 6, / 44
8 Switched systems Switched systems A continuous switched system ẋ(t) = f σ(t) (x(t)) state x(t) R n control rule σ( ) : R + U finite set of modes U = {1,..., N} L. Fribourg Euler s method and switched systems September 6, / 44
9 Switched systems Switched systems A continuous switched system ẋ(t) = f σ(t) (x(t)) state x(t) R n control rule σ( ) : R + U finite set of modes U = {1,..., N} Focus on time-sampled switched systems: given a stepsize (or sampling period ) τ > 0, the mode switching occurs at times τ, 2τ,... L. Fribourg Euler s method and switched systems September 6, / 44
10 Switched systems Switched systems A continuous switched system ẋ(t) = f σ(t) (x(t)) state x(t) R n control rule σ( ) : R + U finite set of modes U = {1,..., N} Focus on time-sampled switched systems: given a stepsize (or sampling period ) τ > 0, the mode switching occurs at times τ, 2τ,... The control σ is a piecewise constant function with equal steps of length τ, and height value in U L. Fribourg Euler s method and switched systems September 6, / 44
11 Switched systems Example: Two-room apartment ( T1 ) ( ) ( ) ( ) α21 α = e1 α f u 1 α 21 T1 αe1 T + e + α f T f u 1. T 2 α 12 α 12 α e2 α f u 2 T 2 α e2 T e + α f T f u 2 L. Fribourg Euler s method and switched systems September 6, / 44
12 Switched systems Example: Two-room apartment ( T1 ) ( ) ( ) α21 α = e1 α f u 1 α 21 T1 T 2 α 12 α 12 α e2 α f u 2 T 2 ( ) ( ) ( ) ( ) ( u Modes: =,,, ; stepsize τ ) u 2 ( αe1 T + e + α f T f u 1 α e2 T e + α f T f u 2 ). L. Fribourg Euler s method and switched systems September 6, / 44
13 Switched systems Example: Two-room apartment Modes: ( u1 u 2 ) = ( 0 0 T 1 (t) = f 1 (T 1 (t), T 2 (t), u 1 ) T 2 (t) = f 2 (T 1 (t), T 2 (t), u 2 ) ), ( 0 1 ), ( 1 0), ( 1 ; stepsize τ 1) L. Fribourg Euler s method and switched systems September 6, / 44
14 Switched systems Example: Two-room apartment Modes: ( u1 u 2 ) = ( 0 0 T 1 (t) = f 1 (T 1 (t), T 2 (t), u 1 ) T 2 (t) = f 2 (T 1 (t), T 2 (t), u 2 ) ), ( 0 1 ), ( 1 0), ( 1 ; stepsize τ 1) pattern: π is a finite sequence of modes, e.g. (( ) 0 1 ( ) 0 0 ( )) 1 1 L. Fribourg Euler s method and switched systems September 6, / 44
15 Switched systems Example: Two-room apartment Modes: ( u1 u 2 ) = ( 0 0 T 1 (t) = f 1 (T 1 (t), T 2 (t), u 1 ) T 2 (t) = f 2 (T 1 (t), T 2 (t), u 2 ) ), ( 0 1 ), ( 1 0), ( 1 ; stepsize τ 1) pattern: π is a finite sequence of modes, e.g. (( ) 0 1 ( ) 0 0 ( )) 1 1 state-dependent control: select at each τ a mode/pattern according to current state value x, in order to satisfy a desired property (eg: stability) L. Fribourg Euler s method and switched systems September 6, / 44
16 Switched systems Controlled stability L. Fribourg Euler s method and switched systems September 6, / 44
17 Switched systems Controlled stability Given a a safety set S and a recurrence set R S, L. Fribourg Euler s method and switched systems September 6, / 44
18 Switched systems Controlled stability Given a a safety set S and a recurrence set R S, select at each t = τ, 2τ,..., a mode j U (according to value x(t)) in order to satisfy L. Fribourg Euler s method and switched systems September 6, / 44
19 Switched systems Controlled stability Given a a safety set S and a recurrence set R S, select at each t = τ, 2τ,..., a mode j U (according to value x(t)) in order to satisfy (R, S)-stability: L. Fribourg Euler s method and switched systems September 6, / 44
20 Switched systems Controlled stability Given a a safety set S and a recurrence set R S, select at each t = τ, 2τ,..., a mode j U (according to value x(t)) in order to satisfy (R, S)-stability: x(t) returns to R while never leaving S L. Fribourg Euler s method and switched systems September 6, / 44
21 Interval-based integration Outline 1 Switched systems 2 Interval-based integration 3 Euler-based integration 4 Application to controlled stability 5 Compositional Euler s method 6 Final remarks L. Fribourg Euler s method and switched systems September 6, / 44
22 Interval-based integration Interval arithmetic vs. standard arithmetic 1 standard numerical methods compute approximations to a mathematically correct result (due to finite representation of reals). 1 Jackson 2011: L. Fribourg Euler s method and switched systems September 6, / 44
23 Interval-based integration Interval arithmetic vs. standard arithmetic 1 standard numerical methods compute approximations to a mathematically correct result (due to finite representation of reals). interval methods [Moore66] manipulate set-valued real expressions: interval vectors or boxes 1 Jackson 2011: L. Fribourg Euler s method and switched systems September 6, / 44
24 Interval-based integration Interval arithmetic vs. standard arithmetic 1 standard numerical methods compute approximations to a mathematically correct result (due to finite representation of reals). interval methods [Moore66] manipulate set-valued real expressions: interval vectors or boxes they give bounds that are guaranteed to contain the mathematically correct result, using rules of the form: 1 Jackson 2011: L. Fribourg Euler s method and switched systems September 6, / 44
25 Interval-based integration Interval arithmetic vs. standard arithmetic 1 standard numerical methods compute approximations to a mathematically correct result (due to finite representation of reals). interval methods [Moore66] manipulate set-valued real expressions: interval vectors or boxes they give bounds that are guaranteed to contain the mathematically correct result, using rules of the form: [a] + [b] = [a + b, a + b] 1 Jackson 2011: L. Fribourg Euler s method and switched systems September 6, / 44
26 Interval-based integration Interval arithmetic vs. standard arithmetic 1 standard numerical methods compute approximations to a mathematically correct result (due to finite representation of reals). interval methods [Moore66] manipulate set-valued real expressions: interval vectors or boxes they give bounds that are guaranteed to contain the mathematically correct result, using rules of the form: [a] + [b] = [a + b, a + b] [a] [b] = [min{ab, ab, ab, ab}, max{ab, ab, ab, ab}] 1 Jackson 2011: L. Fribourg Euler s method and switched systems September 6, / 44
27 Interval-based integration Interval arithmetic vs. standard arithmetic 1 standard numerical methods compute approximations to a mathematically correct result (due to finite representation of reals). interval methods [Moore66] manipulate set-valued real expressions: interval vectors or boxes they give bounds that are guaranteed to contain the mathematically correct result, using rules of the form: [a] + [b] = [a + b, a + b] [a] [b] = [min{ab, ab, ab, ab}, max{ab, ab, ab, ab}] they can account for rounding errors inaccuracies in measurements of inputs uncertainty on parameters, disturbance, errors from the model 1 Jackson 2011: L. Fribourg Euler s method and switched systems September 6, / 44
28 Interval-based integration Interval-based integration 2 For f : R n R n, we consider the ODE ẋ(t) = f (x(t)), x(0) = x 0 solution denoted by x(t; x 0 ) (or simply x(t)) 2 idem. L. Fribourg Euler s method and switched systems September 6, / 44
29 Interval-based integration Interval-based integration 2 For f : R n R n, we consider the ODE solution denoted by x(t; x 0 ) ẋ(t) = f (x(t)), x(0) = x 0 (or simply x(t)) Goal: Given an interval I 0 at t = t 0, construct a sequence of intervals: 2 idem. L. Fribourg Euler s method and switched systems September 6, / 44
30 Interval-based integration Interval-based integration 2 For f : R n R n, we consider the ODE solution denoted by x(t; x 0 ) ẋ(t) = f (x(t)), x(0) = x 0 (or simply x(t)) Goal: Given an interval I 0 at t = t 0, construct a sequence of intervals: 1 I 1 containing at t 1 = t 0 + τ: x(t 1 ; I 0 ) {x(t 1 ; x 0 ) x 0 I 0 } 2 idem. L. Fribourg Euler s method and switched systems September 6, / 44
31 Interval-based integration Interval-based integration 2 For f : R n R n, we consider the ODE solution denoted by x(t; x 0 ) ẋ(t) = f (x(t)), x(0) = x 0 (or simply x(t)) Goal: Given an interval I 0 at t = t 0, construct a sequence of intervals: 1 I 1 containing at t 1 = t 0 + τ: x(t 1 ; I 0 ) {x(t 1 ; x 0 ) x 0 I 0 } 2 I 2 containing at t 2 = t 1 + τ: x(t 2 ; I 1 ) {x(t 2 ; x 1 ) x 1 I 1 } 2 idem. L. Fribourg Euler s method and switched systems September 6, / 44
32 Interval-based integration Interval-based integration 2 For f : R n R n, we consider the ODE solution denoted by x(t; x 0 ) ẋ(t) = f (x(t)), x(0) = x 0 (or simply x(t)) Goal: Given an interval I 0 at t = t 0, construct a sequence of intervals: 1 I 1 containing at t 1 = t 0 + τ: x(t 1 ; I 0 ) {x(t 1 ; x 0 ) x 0 I 0 } 2 I 2 containing at t 2 = t 1 + τ: x(t 2 ; I 1 ) {x(t 2 ; x 1 ) x 1 I 1 } idem. L. Fribourg Euler s method and switched systems September 6, / 44
33 Interval-based integration Interval-based integration 3 Given I j an interval for t = t j, compute a (super)set of solutions I j+1 at t j+1 = t j + τ via a two-step method: 3 idem. L. Fribourg Euler s method and switched systems September 6, / 44
34 Interval-based integration Interval-based integration 3 Given I j an interval for t = t j, compute a (super)set of solutions I j+1 at t j+1 = t j + τ via a two-step method: 1 Algorithm I: compute an a priori enclosure F j : x(t; I j ) F j for all t [t j, t j+1 ] 3 idem. L. Fribourg Euler s method and switched systems September 6, / 44
35 Interval-based integration Interval-based integration 3 Given I j an interval for t = t j, compute a (super)set of solutions I j+1 at t j+1 = t j + τ via a two-step method: 1 Algorithm I: compute an a priori enclosure F j : x(t; I j ) F j for all t [t j, t j+1 ] 2 Algorithm II: compute a tighter enclosure I j+1 : x(t; I j ) I j+1 F j at t = t j+1 3 idem. L. Fribourg Euler s method and switched systems September 6, / 44
36 Interval-based integration Algorithm I: a priori enclosure method 4 Basic property: If there exists an interval F : 1 I 0 F, and 2 I 0 + [0, τ] f (F ) F 4 idem L. Fribourg Euler s method and switched systems September 6, / 44
37 Interval-based integration Algorithm I: a priori enclosure method 4 Basic property: If there exists an interval F : 1 I 0 F, and 2 I 0 + [0, τ] f (F ) F then there exists a unique solution x(t; x 0 ) for all t [0, τ], x 0 I 0. Furthermore: x(t; x 0 ) F. 4 idem L. Fribourg Euler s method and switched systems September 6, / 44
38 Interval-based integration Algorithm I: a priori enclosure method 4 Basic property: If there exists an interval F : 1 I 0 F, and 2 I 0 + [0, τ] f (F ) F then there exists a unique solution x(t; x 0 ) for all t [0, τ], x 0 I 0. Furthermore: x(t; x 0 ) F. Proof based on Banach fixed-point th., and Picard-Lindelöf operator t (Tu)(t) = x 0 + f (u(s))ds. 0 4 idem L. Fribourg Euler s method and switched systems September 6, / 44
39 Interval-based integration Algorithm I: a priori enclosure method 4 Basic property: If there exists an interval F : 1 I 0 F, and 2 I 0 + [0, τ] f (F ) F then there exists a unique solution x(t; x 0 ) for all t [0, τ], x 0 I 0. Furthermore: x(t; x 0 ) F. Proof based on Banach fixed-point th., and Picard-Lindelöf operator t (Tu)(t) = x 0 + f (u(s))ds. 0 The construction of F relies on fixed-point acceleration heuristics ( widening ) using adjustment of stepsize τ. 4 idem L. Fribourg Euler s method and switched systems September 6, / 44
40 Interval-based integration Algorithm II: tighter enclosure 5 Using F, compute a tighter enclosure I 1 of x(t; I 0 ) for t = τ. 5 idem L. Fribourg Euler s method and switched systems September 6, / 44
41 Interval-based integration Algorithm II: tighter enclosure 5 Using F, compute a tighter enclosure I 1 of x(t; I 0 ) for t = τ. Approach: Taylor series + remainder term. k 1 x 1 = x 0 + τ i f (i) (x 0 ) + τ k f (k) (y), for some y F. i=1 5 idem L. Fribourg Euler s method and switched systems September 6, / 44
42 Interval-based integration Algorithm II: tighter enclosure 5 Using F, compute a tighter enclosure I 1 of x(t; I 0 ) for t = τ. Approach: Taylor series + remainder term. k 1 x 1 = x 0 + τ i f (i) (x 0 ) + τ k f (k) (y), for some y F. i=1 Hence k 1 I 1 = I 0 + τ i f (i) (I 0 ) + τ k f (k) (F ) i=1 5 idem L. Fribourg Euler s method and switched systems September 6, / 44
43 Interval-based integration Algorithm II: tighter enclosure 5 Using F, compute a tighter enclosure I 1 of x(t; I 0 ) for t = τ. Approach: Taylor series + remainder term. k 1 x 1 = x 0 + τ i f (i) (x 0 ) + τ k f (k) (y), for some y F. i=1 Hence k 1 I 1 = I 0 + τ i f (i) (I 0 ) + τ k f (k) (F ) i=1 NB: with this algo, I 1 > I 0 even if the true solutions contract! further refinement needed 5 idem L. Fribourg Euler s method and switched systems September 6, / 44
44 Interval-based integration 6 idem L. Fribourg Euler s method and switched systems September 6, / 44 Wrapping effect 6 A simple rotation: ( ) 0 1 ẋ = x; x I 0 ( ) cos(t) sin(t) The solution is x(t) = x sin(t) cos(t) 0, where x 0 I 0 I 0 can be viewed as a parallelepiped.
45 Interval-based integration 6 idem L. Fribourg Euler s method and switched systems September 6, / 44 Wrapping effect 6 A simple rotation: ( ) 0 1 ẋ = x; x I 0 ( ) cos(t) sin(t) The solution is x(t) = x sin(t) cos(t) 0, where x 0 I 0 I 0 can be viewed as a parallelepiped. At each step, the parallelepiped is rotated and has to be wrapped by another one.
46 Interval-based integration 6 idem L. Fribourg Euler s method and switched systems September 6, / 44 Wrapping effect 6 A simple rotation: ( ) 0 1 ẋ = x; x I 0 ( ) cos(t) sin(t) The solution is x(t) = x sin(t) cos(t) 0, where x 0 I 0 I 0 can be viewed as a parallelepiped. At each step, the parallelepiped is rotated and has to be wrapped by another one. At t = 2π, the blow up factor is by a factor e 2π 535, as the stepsize tends to zero.
47 Interval-based integration (Dis)advantages of interval methods 7 Advantages over standard numerical methods: 1 ensure a unique solution exists 2 provide guaranteed bounds on the solution 3 can be efficient for problems with ranges of parameters 7 idem L. Fribourg Euler s method and switched systems September 6, / 44
48 Interval-based integration (Dis)advantages of interval methods 7 Advantages over standard numerical methods: 1 ensure a unique solution exists 2 provide guaranteed bounds on the solution 3 can be efficient for problems with ranges of parameters Disadvantages 1 computation is time consuming 2 harder to implement than standard numerical methods 3 error bounds may be too large 7 idem L. Fribourg Euler s method and switched systems September 6, / 44
49 Euler-based integration Outline 1 Switched systems 2 Interval-based integration 3 Euler-based integration 4 Application to controlled stability 5 Compositional Euler s method 6 Final remarks L. Fribourg Euler s method and switched systems September 6, / 44
50 Euler-based integration Euler s approximation x(t) of x(t) x(t) = x(t i ) + (t t i ) f ( x(t i )) L. Fribourg Euler s method and switched systems September 6, / 44
51 Euler-based integration Euler s approximation x(t) of x(t) x(t) = x(t i ) + (t t i ) f ( x(t i )) Piecewise linear fn.: at each step, constant derivative of x(t) (= f ( x(t i )) deriv. at starting pt) L. Fribourg Euler s method and switched systems September 6, / 44
52 Euler-based integration Classical error bound (using Lipschitz constant L) The error at t = t 0 + kτ is: x(t) x(t). L. Fribourg Euler s method and switched systems September 6, / 44
53 Euler-based integration Classical error bound (using Lipschitz constant L) The error at t = t 0 + kτ is: x(t) x(t). If f is Lipschitz cont. ( f (y) f (x) L y x ), then: error(t) τm 2L (el(t t 0) 1) where L is the Lipschitz constant of f (and M an upper bound on f ). L. Fribourg Euler s method and switched systems September 6, / 44
54 Euler-based integration Classical error bound (using Lipschitz constant L) The error at t = t 0 + kτ is: x(t) x(t). If f is Lipschitz cont. ( f (y) f (x) L y x ), then: error(t) τm 2L (el(t t 0) 1) where L is the Lipschitz constant of f (and M an upper bound on f ). In case of stiff equations, L can be very big! L. Fribourg Euler s method and switched systems September 6, / 44
55 Euler-based integration Classical error bound (using Lipschitz constant L) The error at t = t 0 + kτ is: x(t) x(t). If f is Lipschitz cont. ( f (y) f (x) L y x ), then: error(t) τm 2L (el(t t 0) 1) where L is the Lipschitz constant of f (and M an upper bound on f ). In case of stiff equations, L can be very big! Idea: exploit another constant λ that will allow for a sharper estimation of Euler s error L. Fribourg Euler s method and switched systems September 6, / 44
56 Euler-based integration One-sided Lipschitz (OSL) constant λ λ R is a constant s.t., for all x, y S: f (y) f (x), y x λ y x 2 where, denote the scalar product of two vectors of R n L. Fribourg Euler s method and switched systems September 6, / 44
57 Euler-based integration One-sided Lipschitz (OSL) constant λ λ R is a constant s.t., for all x, y S: f (y) f (x), y x λ y x 2 where, denote the scalar product of two vectors of R n λ can be < 0 ( contractivity) L. Fribourg Euler s method and switched systems September 6, / 44
58 Euler-based integration One-sided Lipschitz (OSL) constant λ λ R is a constant s.t., for all x, y S: f (y) f (x), y x λ y x 2 where, denote the scalar product of two vectors of R n λ can be < 0 ( contractivity) even in case λ > 0, in practice: λ L sharper estimation of Euler error L. Fribourg Euler s method and switched systems September 6, / 44
59 Euler-based integration One-sided Lipschitz (OSL) constant λ λ R is a constant s.t., for all x, y S: f (y) f (x), y x λ y x 2 where, denote the scalar product of two vectors of R n λ can be < 0 ( contractivity) even in case λ > 0, in practice: λ L sharper estimation of Euler error λ can be computed using constraint optimization algorithms L. Fribourg Euler s method and switched systems September 6, / 44
60 Euler-based integration Hypotheses (H0) (Lipschitz): for all j U, there exists a constant L j > 0 such that: f j (y) f j (x) L j y x x, y S. 8 T is the one-step expansion of S under all the modes j of U L. Fribourg Euler s method and switched systems September 6, / 44
61 Euler-based integration Hypotheses (H0) (Lipschitz): for all j U, there exists a constant L j > 0 such that: f j (y) f j (x) L j y x x, y S. (H1) (one-sided Lipschitz): for all j U, there exists a constant λ j R such that f j (y) f j (x), y x λ j y x 2 x, y T 8, 8 T is the one-step expansion of S under all the modes j of U L. Fribourg Euler s method and switched systems September 6, / 44
62 Euler-based integration Hypotheses (H0) (Lipschitz): for all j U, there exists a constant L j > 0 such that: f j (y) f j (x) L j y x x, y S. (H1) (one-sided Lipschitz): for all j U, there exists a constant λ j R such that f j (y) f j (x), y x λ j y x 2 x, y T 8, The constants C j for all j U are defined as follows: C j = sup x S L j f j (x). 8 T is the one-step expansion of S under all the modes j of U L. Fribourg Euler s method and switched systems September 6, / 44
63 Euler-based integration Notations Let x j (t) the solution at time t of the system under mode j with (implicit) initial point x 0 ẋ(t) = f j (x(t)), x(0) = x 0. L. Fribourg Euler s method and switched systems September 6, / 44
64 Euler-based integration Notations Let x j (t) the solution at time t of the system under mode j with (implicit) initial point x 0 ẋ(t) = f j (x(t)), x(0) = x 0. Given an (approximate) initial point x 0 S and a mode j U, the Euler approximate, denoted by x j (t; x 0 ), is defined by: x j (t; x 0 ) = x 0 + t f j ( x 0 ), with t [0, τ] L. Fribourg Euler s method and switched systems September 6, / 44
65 Euler-based integration Notations Let x j (t) the solution at time t of the system under mode j with (implicit) initial point x 0 ẋ(t) = f j (x(t)), x(0) = x 0. Given an (approximate) initial point x 0 S and a mode j U, the Euler approximate, denoted by x j (t; x 0 ), is defined by: x j (t; x 0 ) = x 0 + t f j ( x 0 ), with t [0, τ] We are going to determine an upper bound δ j (t) to error j (t) x j (t; x 0 ) x j (t; x 0 ), L. Fribourg Euler s method and switched systems September 6, / 44
66 Euler-based integration Notations Let x j (t) the solution at time t of the system under mode j with (implicit) initial point x 0 ẋ(t) = f j (x(t)), x(0) = x 0. Given an (approximate) initial point x 0 S and a mode j U, the Euler approximate, denoted by x j (t; x 0 ), is defined by: x j (t; x 0 ) = x 0 + t f j ( x 0 ), with t [0, τ] We are going to determine an upper bound δ j (t) to error j (t) x j (t; x 0 ) x j (t; x 0 ), assuming error j (0) x 0 x 0 δ 0 for some δ 0 R +. L. Fribourg Euler s method and switched systems September 6, / 44
67 Euler-based integration Basic result: local error δ j (t) using λ j L. Fribourg Euler s method and switched systems September 6, / 44
68 Euler-based integration Basic result: local error δ j (t) using λ j Theorem Given a system satisfying (H0-H1), an approximate initial pt x 0, a positive real δ 0 and j U, we have: L. Fribourg Euler s method and switched systems September 6, / 44
69 Euler-based integration Basic result: local error δ j (t) using λ j Theorem Given a system satisfying (H0-H1), an approximate initial pt x 0, a positive real δ 0 and j U, we have: For all initial point x 0 B( x 0, δ 0 ), x j (t; x 0 ) B( x j (t; x 0 ), δ j (t)) for all t [0, τ]. L. Fribourg Euler s method and switched systems September 6, / 44
70 Euler-based integration Basic result: local error δ j (t) using λ j Theorem Given a system satisfying (H0-H1), an approximate initial pt x 0, a positive real δ 0 and j U, we have: For all initial point x 0 B( x 0, δ 0 ), x j (t; x 0 ) B( x j (t; x 0 ), δ j (t)) for all t [0, τ]. with if λ j < 0 : δ j (t) = ( (δ 0 ) 2 e λ j t + C ( j 2 λ 2 t 2 + 2t j λ j + 2 ( λ 2 1 e λ j t ))) 1 2 j L. Fribourg Euler s method and switched systems September 6, / 44
71 Euler-based integration Basic result: local error δ j (t) using λ j Theorem Given a system satisfying (H0-H1), an approximate initial pt x 0, a positive real δ 0 and j U, we have: For all initial point x 0 B( x 0, δ 0 ), x j (t; x 0 ) B( x j (t; x 0 ), δ j (t)) for all t [0, τ]. with ( if λ j < 0 : δ j (t) = (δ 0 ) 2 e λ j t + C ( j 2 λ 2 t 2 + 2t j λ j + 2 ( λ 2 1 e λ j t ))) 1 2 j ( ) 1 if λ j = 0 : δ j (t) = (δ 0 ) 2 e t + Cj 2( t2 2t + 2(e t 2 1)) L. Fribourg Euler s method and switched systems September 6, / 44
72 Euler-based integration Basic result: local error δ j (t) using λ j Theorem Given a system satisfying (H0-H1), an approximate initial pt x 0, a positive real δ 0 and j U, we have: For all initial point x 0 B( x 0, δ 0 ), with x j (t; x 0 ) B( x j (t; x 0 ), δ j (t)) for all t [0, τ]. ( if λ j < 0 : δ j (t) = (δ 0 ) 2 e λ j t + C ( j 2 λ 2 t 2 + 2t j λ j + 2 ( λ 2 1 e λ j t ))) 1 2 j ( ) 1 if λ j = 0 : δ j (t) = (δ 0 ) 2 e t + Cj 2( t2 2t + 2(e t 2 1)) if λ j > 0 : δ j (t) = ( (δ 0 ) 2 e 3λ j t + C j 2 3λ 2 j ( t 2 2t 3λ j + 2 ( 9λ 2 e 3λ j t 1 ))) 1 2 j L. Fribourg Euler s method and switched systems September 6, / 44
73 Euler-based integration Application to one-step controlled safety L. Fribourg Euler s method and switched systems September 6, / 44
74 Euler-based integration Application to one-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, safely control B 0 during one step, select j U: x j (t; B 0 ) S, t [0, τ] L. Fribourg Euler s method and switched systems September 6, / 44
75 Euler-based integration Application to one-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, safely control B 0 during one step, select j U: x j (t; B 0 ) S, t [0, τ] B( ~ x 0,δ( 0)) ~ x 0 x 0 B( ~ x 1,δ( τ)) x 1 ~ x 1 S L. Fribourg Euler s method and switched systems September 6, / 44
76 Euler-based integration Application to one-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, safely control B 0 during one step, select j U: x j (t; B 0 ) S, t [0, τ] B( ~ x 0,δ( 0)) ~ x 0 x 0 B( ~ x 1,δ( τ)) x 1 ~ x 1 S it suffices to find j U: B 1 B( x 1, δ j (τ)) S with x 1 x 0 + τ f j ( x 0 ) L. Fribourg Euler s method and switched systems September 6, / 44
77 Euler-based integration Application to one-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, safely control B 0 during one step, select j U: x j (t; B 0 ) S, t [0, τ] B( ~ x 0,δ( 0)) ~ x 0 x 0 B( ~ x 1,δ( τ)) x 1 ~ x 1 S it suffices to find j U: B 1 B( x 1, δ j (τ)) S with x 1 x 0 + τ f j ( x 0 ) provided δ j verified to be convex on [0, τ] L. Fribourg Euler s method and switched systems September 6, / 44
78 Euler-based integration Remarks on the form of δ j ( ) ex: DC-DC converter modes given by ẋ(t) = A σ(t) x(t) + B σ(t) with σ(t) U = {1, 2}, ( ) r l ( x A 1 = l 0 vs ) B 1 = x l x c r 0 +r c 0 ( 1 x A 2 = l (r l + r 0.r c r 0 +r c ) 1 r 0 x l r 0 +r c 1 r 0 x c r 0 +r c 1 r 0 x c r 0 +r c ) B 2 = ( vs ) x l 0 with x c = 70, x l = 3, r c = 0.005, r l = 0.05, r 0 = 1, v s = 1. λ λ C C 2 L. Fribourg Euler s method and switched systems September 6, / 44
79 Euler-based integration Remarks on the form of δ j ( ) ex: DC-DC converter λ 1 = < 0 λ 2 = > 0 For mode 1 (λ 1 < 0): optimal stepsize τ corresponding to minimum of δ 1 For mode 2 (λ 2 > 0): δ 2 always suggests subsampling of τ for achieving better precision L. Fribourg Euler s method and switched systems September 6, / 44
80 Euler-based integration No wrapping effect in the rotation example ẋ = ( ) 0 1 x 1 0 L. Fribourg Euler s method and switched systems September 6, / 44
81 Euler-based integration No wrapping effect in the rotation example ẋ = constants: λ = 0, C = 4.2, L = 1 initial error: δ 0 = 0.1 stepsize: τ = ( ) 0 1 x 1 0 L. Fribourg Euler s method and switched systems September 6, / 44
82 Euler-based integration No wrapping effect in the rotation example ẋ = constants: λ = 0, C = 4.2, L = 1 initial error: δ 0 = 0.1 stepsize: τ = ( ) 0 1 x 1 0 L. Fribourg Euler s method and switched systems September 6, / 44
83 Euler-based integration Recap : Interval-based vs. Euler-based method L. Fribourg Euler s method and switched systems September 6, / 44
84 Euler-based integration Recap : Interval-based vs. Euler-based method input/output: intervals I0, I1 vs ball B0 B(C0, δ0 ), B1 B(C1, δ1 ) L. Fribourg Euler s method and switched systems September 6, / 44
85 Euler-based integration Recap : Interval-based vs. Euler-based method input/output: intervals I0, I1 vs ball B0 B(C0, δ0 ), B1 B(C1, δ1 ) method: I1 computed from I0 using intermediate structure F L. Fribourg Euler s method and switched systems September 6, / 44
86 Euler-based integration Recap : Interval-based vs. Euler-based method input/output: intervals I0, I1 vs ball B0 B(C0, δ0 ), B1 B(C1, δ1 ) method: I1 computed from I0 using intermediate structure F vs. B1 evaluated directly from C0 and δ0 L. Fribourg Euler s method and switched systems September 6, / 44
87 Euler-based integration Euler-based integration (vs. interval integration) Advantages: 1 Computationally very cheap (standard arithmetic, no need for computation of f derivatives, δ j pre-computed) 2 allows a priori for longer stepsize τ (often) 3 reduces wrapping effect (sometimes) 4 well-suited to controlled safety L. Fribourg Euler s method and switched systems September 6, / 44
88 Euler-based integration Euler-based integration (vs. interval integration) Advantages: 1 Computationally very cheap (standard arithmetic, no need for computation of f derivatives, δ j pre-computed) 2 allows a priori for longer stepsize τ (often) 3 reduces wrapping effect (sometimes) 4 well-suited to controlled safety Limits: less precise than interval-based integration method (1st order Taylor method vs. higher order Taylor method) L. Fribourg Euler s method and switched systems September 6, / 44
89 Application to controlled stability Outline 1 Switched systems 2 Interval-based integration 3 Euler-based integration 4 Application to controlled stability 5 Compositional Euler s method 6 Final remarks L. Fribourg Euler s method and switched systems September 6, / 44
90 Application to controlled stability One-step controlled safety L. Fribourg Euler s method and switched systems September 6, / 44
91 Application to controlled stability One-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, select a mode j: x j (t; B 0 ) S for all t [0, τ] L. Fribourg Euler s method and switched systems September 6, / 44
92 Application to controlled stability One-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, select a mode j: x j (t; B 0 ) S for all t [0, τ] B( ~ x 0,δ( 0)) ~ x 0 x 0 B( ~ x 1,δ( τ)) x 1 ~ x 1 S L. Fribourg Euler s method and switched systems September 6, / 44
93 Application to controlled stability One-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, select a mode j: x j (t; B 0 ) S for all t [0, τ] B( ~ x 0,δ( 0)) ~ x 0 x 0 B( ~ x 1,δ( τ)) x 1 ~ x 1 S It suffices to find j: B 1 B( x 1, δ 1 ) S with x 1 = x 0 + τ f j ( x 0 ) and δ 1 = δ j (τ) assuming δ j ( ) convex L. Fribourg Euler s method and switched systems September 6, / 44
94 Application to controlled stability Multi-step controlled safety L. Fribourg Euler s method and switched systems September 6, / 44
95 Application to controlled stability Multi-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, select a pattern π (of length k): x(t; B 0 ) S for all t [0, kτ] L. Fribourg Euler s method and switched systems September 6, / 44
96 Application to controlled stability Multi-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, select a pattern π (of length k): x(t; B 0 ) S for all t [0, kτ] B( ~ x 0,δ) ~ x 0 x 0 B( ~ x 1,δ π 1 ) x 1 ~ x 1 x 2 ~ x 2 S B( ~ x 2,δ π 2 ) L. Fribourg Euler s method and switched systems September 6, / 44
97 Application to controlled stability Multi-step controlled safety Given a ball B 0 B( x 0, δ 0 ) S, select a pattern π (of length k): x(t; B 0 ) S for all t [0, kτ] B( ~ x 0,δ) ~ x 0 x 0 B( ~ x 1,δ π 1 ) x 1 ~ x 1 x 2 ~ x 2 S B( ~ x 2,δ π 2 ) It suffices to find a pattern π j 1 j k : B 1 B( x 1, δ 1 j 1 ) S,..., B k B( x k, δ k j k ) S L. Fribourg Euler s method and switched systems September 6, / 44
98 Application to controlled stability Controlled (R,S)-stability L. Fribourg Euler s method and switched systems September 6, / 44
99 Application to controlled stability Controlled (R,S)-stability 1 Find a set of initial balls B 0 i B( x 0 i, δ0 ) S covering R L. Fribourg Euler s method and switched systems September 6, / 44
100 Application to controlled stability Controlled (R,S)-stability 1 Find a set of initial balls B 0 i B( x 0 i, δ0 ) S covering R 2 For each B 0 i select a pattern π i of the form j 1 j ki : L. Fribourg Euler s method and switched systems September 6, / 44
101 Application to controlled stability Controlled (R,S)-stability 1 Find a set of initial balls B 0 i B( x 0 i, δ0 ) S covering R 2 For each B 0 i select a pattern π i of the form j 1 j ki : safety: all the balls B 1 i B( x 1 i, δ1 ),..., B k i i B( x k i i, δ k i ) are S, and L. Fribourg Euler s method and switched systems September 6, / 44
102 Application to controlled stability Controlled (R,S)-stability 1 Find a set of initial balls B 0 i B( x 0 i, δ0 ) S covering R 2 For each B 0 i select a pattern π i of the form j 1 j ki : safety: all the balls B 1 i B( x 1 i, δ1 ),..., B k i i recurrence: the last ball B k i i is R B( x k i i, δ k i ) are S, and L. Fribourg Euler s method and switched systems September 6, / 44
103 Application to controlled stability Controlled (R,S)-stability 1 Find a set of initial balls B 0 i B( x 0 i, δ0 ) S covering R 2 For each B 0 i select a pattern π i of the form j 1 j ki : safety: all the balls B 1 i B( x 1 i, δ1 ),..., B k i i recurrence: the last ball B k i i is R B( x k i i, δ k i ) are S, and ~x 1 ~ x2 ~x 3 δ ~x 3 B( ~ x 2 3,δ 2 π 3 ) ~x 4 ~x 5 ~x 6 ~x 7 ~x 8 ~x 9 R R S S B( ~ x 1 3,δ 1 π 3 ) L. Fribourg Euler s method and switched systems September 6, / 44
104 Application to controlled stability Euler-based control vs. interval-based control Tube i1 ( Z 2 ) δ ~x 3 B( ~ x 2 3,δ 2 π 3 ) Z 1 Post i2 ( Z 2 ') Z 2 R R Z 3 Z 4 S B( ~ x 1 3,δ 1 π 3 ) S Tube i2 ( Z 2 ') Z 2 '= Post i1 ( Z 2 ) L. Fribourg Euler s method and switched systems September 6, / 44
105 Application to controlled stability Example: Building ventilation [Meyer, Nazarpour, Girard, Witrant, 2014] Dynamics of a four-room apartment: dt i dt = a ij (T j T i ) + δ si b i (Ts 4 i Ti 4 ) + c i max (0, V i V * ) i (T V i V * u T i ). j U * i with U * = {1, 2, 3, 4, u, o, c} 16 switching modes (control inputs: V 1, V 4 { 0V, 3.5V}, and V 2, V 3 { 0V, 3V}) L. Fribourg Euler s method and switched systems September 6, / 44
106 Application to controlled stability Building ventilation Euler DynIBEX R [20, 22] 4 S [19, 23] 4 τ 30 Time subsampling No Complete control Yes Yes max j=1,...,16 λ j max j=1,...,16 C j Number of balls/tiles Pattern length 1 1 CPU time 63 seconds 249 seconds Control based on Euler (left) and interval (right). L. Fribourg Euler s method and switched systems September 6, / 44
107 Application to controlled stability Building ventilation Control based on Euler (left) and interval (right). L. Fribourg Euler s method and switched systems September 6, / 44
108 Compositional Euler s method Outline 1 Switched systems 2 Interval-based integration 3 Euler-based integration 4 Application to controlled stability 5 Compositional Euler s method 6 Final remarks L. Fribourg Euler s method and switched systems September 6, / 44
109 Compositional Euler s method Robust OSL condition w.r.t. disturbance w W Consider: ẋ(t) = f (x(t), w(t)) with w(t) W for all t [0, τ]. L. Fribourg Euler s method and switched systems September 6, / 44
110 Compositional Euler s method Robust OSL condition w.r.t. disturbance w W Consider: ẋ(t) = f (x(t), w(t)) with w(t) W for all t [0, τ]. The eq. ẋ = f (x, w) with w W is said to be robustly OSL w.r.t disturbance set W if L. Fribourg Euler s method and switched systems September 6, / 44
111 Compositional Euler s method Robust OSL condition w.r.t. disturbance w W Consider: ẋ(t) = f (x(t), w(t)) with w(t) W for all t [0, τ]. The eq. ẋ = f (x, w) with w W is said to be robustly OSL w.r.t disturbance set W if λ R and γ R 0 s.t. L. Fribourg Euler s method and switched systems September 6, / 44
112 Compositional Euler s method Robust OSL condition w.r.t. disturbance w W Consider: ẋ(t) = f (x(t), w(t)) with w(t) W for all t [0, τ]. The eq. ẋ = f (x, w) with w W is said to be robustly OSL w.r.t disturbance set W if λ R and γ R 0 s.t. (H W ): x, x T, w, w W f (x, w) f (x, w ), x x λ x x 2 + γ x x w w. L. Fribourg Euler s method and switched systems September 6, / 44
113 Compositional Euler s method E. error function δ W in presence of disturbance w W Consider the ODE: ẋ(t) = f (x(t), w(t)) with w(t) W for all t [0, τ]. L. Fribourg Euler s method and switched systems September 6, / 44
114 Compositional Euler s method E. error function δ W in presence of disturbance w W The fn δ W (s.t: for all t [0, τ], w(t) W : x(t) x(t) δ W (t)) can now be defined by: L. Fribourg Euler s method and switched systems September 6, / 44
115 Compositional Euler s method E. error function δ W in presence of disturbance w W if λ < 0, δ W (t) = ( C 2 ( λ 4 λ 2 t 2 2λt + 2e λt ) ( Cγ W ( λ 2 λt + e λt ) 1 λ ( ))) (γ) 2 ( W /2) 2 1/2 + λ (e λt 1) + λ(δ 0 ) 2 e λt (1) λ L. Fribourg Euler s method and switched systems September 6, / 44
116 Compositional Euler s method E. error function δ W in presence of disturbance w W if λ < 0, δ W (t) = ( C 2 ( λ 4 λ 2 t 2 2λt + 2e λt ) ( Cγ W ( λ 2 λt + e λt ) 1 λ ( ))) (γ) 2 ( W /2) 2 1/2 + λ (e λt 1) + λ(δ 0 ) 2 e λt (1) λ if λ > 0, ( 1 C 2 δ W (t) = (3λ) 3/2 λ ( 9λ 2 t 2 6λt + 2e 3λt ) 2 ( Cγ W ( + 3λ 3λt + e 3λt ) 1 λ ( ))) (γ) 2 ( W /2) 2 1/2 + 3λ (e 3λt 1) + 3λ(δ 0 ) 2 e 3λt (2) λ L. Fribourg Euler s method and switched systems September 6, / 44
117 Compositional Euler s method E. error function δ W in presence of disturbance w W if λ < 0, δ W (t) = ( C 2 ( λ 4 λ 2 t 2 2λt + 2e λt ) ( Cγ W ( λ 2 λt + e λt ) 1 λ ( ))) (γ) 2 ( W /2) 2 1/2 + λ (e λt 1) + λ(δ 0 ) 2 e λt (1) λ if λ > 0, ( 1 C 2 δ W (t) = (3λ) 3/2 λ ( 9λ 2 t 2 6λt + 2e 3λt ) 2 ( Cγ W ( + 3λ 3λt + e 3λt ) 1 λ ( ))) (γ) 2 ( W /2) 2 1/2 + 3λ (e 3λt 1) + 3λ(δ 0 ) 2 e 3λt (2) λ if λ = 0, ( δ W (t) = C 2 ( t 2 2t + 2e t ) ( ( 2 + Cγ W t + e t ) 1 + ((γ) 2 ( W /2) 2 (e t 1) + (δ 0 ) 2 e t ))) 1/2 (3) L. Fribourg Euler s method and switched systems September 6, / 44
118 Compositional Euler s method Compositional (R 1 R 2, S 1 S 2 )-stability ẋ 1 = f 1 (x 1, x 2 ) ẋ 2 = f 2 (x 1, x 2 ) L. Fribourg Euler s method and switched systems September 6, / 44
119 Compositional Euler s method Compositional (R 1 R 2, S 1 S 2 )-stability ẋ 1 = f 1 (x 1, x 2 ) ẋ 2 = f 2 (x 1, x 2 ) Suppose: (H 1,T2 ): ẋ 1 = f 1 (x 1, x 2 ) is robustly OSL w.r.t x 2 T 2, with λ 1, γ 1. (H 2,T1 ): ẋ 2 = f 2 (x 1, x 2 ) is robustly OSL w.r.t x 1 T 1, with λ 2, γ 2. L. Fribourg Euler s method and switched systems September 6, / 44
120 Compositional Euler s method Compositional (R 1 R 2, S 1 S 2 )-stability ẋ 1 = f 1 (x 1, x 2 ) ẋ 2 = f 2 (x 1, x 2 ) Suppose: (H 1,T2 ): ẋ 1 = f 1 (x 1, x 2 ) is robustly OSL w.r.t x 2 T 2, with λ 1, γ 1. (H 2,T1 ): ẋ 2 = f 2 (x 1, x 2 ) is robustly OSL w.r.t x 1 T 1, with λ 2, γ 2. Theorem (compositionality): If σ 1 is an (R 1, S 1 )-stable control of x 1 (t) with T 2 as domain of disturbance, L. Fribourg Euler s method and switched systems September 6, / 44
121 Compositional Euler s method Compositional (R 1 R 2, S 1 S 2 )-stability ẋ 1 = f 1 (x 1, x 2 ) ẋ 2 = f 2 (x 1, x 2 ) Suppose: (H 1,T2 ): ẋ 1 = f 1 (x 1, x 2 ) is robustly OSL w.r.t x 2 T 2, with λ 1, γ 1. (H 2,T1 ): ẋ 2 = f 2 (x 1, x 2 ) is robustly OSL w.r.t x 1 T 1, with λ 2, γ 2. Theorem (compositionality): If σ 1 is an (R 1, S 1 )-stable control of x 1 (t) with T 2 as domain of disturbance, σ 2 is an (R 2, S 2 )-stable control of x 2 (t) with T 1 as domain of disturbance, L. Fribourg Euler s method and switched systems September 6, / 44
122 Compositional Euler s method Compositional (R 1 R 2, S 1 S 2 )-stability ẋ 1 = f 1 (x 1, x 2 ) ẋ 2 = f 2 (x 1, x 2 ) Suppose: (H 1,T2 ): ẋ 1 = f 1 (x 1, x 2 ) is robustly OSL w.r.t x 2 T 2, with λ 1, γ 1. (H 2,T1 ): ẋ 2 = f 2 (x 1, x 2 ) is robustly OSL w.r.t x 1 T 1, with λ 2, γ 2. Theorem (compositionality): If σ 1 is an (R 1, S 1 )-stable control of x 1 (t) with T 2 as domain of disturbance, σ 2 is an (R 2, S 2 )-stable control of x 2 (t) with T 1 as domain of disturbance, Then: σ = σ 1 σ 2 is an (R 1 R 2, S 1 S 2 )-stable control of x(t) = (x 1 (t), x 2 (t)). L. Fribourg Euler s method and switched systems September 6, / 44
123 Compositional Euler s method Ex. of centralized vs. distributed Euler-based control L. Fribourg Euler s method and switched systems September 6, / 44
124 Compositional Euler s method Ex. of centralized vs. distributed Euler-based control (left) E.-based centralized control: subsampling h = τ 20, 2 4 modes, 256 balls 48 s. of CPU time. L. Fribourg Euler s method and switched systems September 6, / 44
125 Compositional Euler s method Ex. of centralized vs. distributed Euler-based control (left) E.-based centralized control: subsampling h = τ 20, 2 4 modes, 256 balls 48 s. of CPU time. (right) E.-based distributed control: subsampling h = τ 10 h = τ 1, modes, balls < 1 s. of CPU time. L. Fribourg Euler s method and switched systems September 6, / 44
126 Final remarks Outline 1 Switched systems 2 Interval-based integration 3 Euler-based integration 4 Application to controlled stability 5 Compositional Euler s method 6 Final remarks L. Fribourg Euler s method and switched systems September 6, / 44
127 Final remarks Final remarks L. Fribourg Euler s method and switched systems September 6, / 44
128 Final remarks Final remarks 1 Very simple method L. Fribourg Euler s method and switched systems September 6, / 44
129 Final remarks Final remarks 1 Very simple method 2 Very easy to implement (a few hundreds of lines of Octave) L. Fribourg Euler s method and switched systems September 6, / 44
130 Final remarks Final remarks 1 Very simple method 2 Very easy to implement (a few hundreds of lines of Octave) 3 Fast, but may lack precision w.r.t. sophisticated refinements of interval-based methods L. Fribourg Euler s method and switched systems September 6, / 44
131 Final remarks Final remarks 1 Very simple method 2 Very easy to implement (a few hundreds of lines of Octave) 3 Fast, but may lack precision w.r.t. sophisticated refinements of interval-based methods 4 Method can be adapted to control reachability (instead of stability) L. Fribourg Euler s method and switched systems September 6, / 44
132 Final remarks Final remarks 1 Very simple method 2 Very easy to implement (a few hundreds of lines of Octave) 3 Fast, but may lack precision w.r.t. sophisticated refinements of interval-based methods 4 Method can be adapted to control reachability (instead of stability) 5 Replacement of forward Euler s method by better numerical schemes (e.g.: backward Euler, Runge-Kutta of order 4) does not seem to gain much in the control framework L. Fribourg Euler s method and switched systems September 6, / 44
133 Final remarks Final remarks 1 Very simple method 2 Very easy to implement (a few hundreds of lines of Octave) 3 Fast, but may lack precision w.r.t. sophisticated refinements of interval-based methods 4 Method can be adapted to control reachability (instead of stability) 5 Replacement of forward Euler s method by better numerical schemes (e.g.: backward Euler, Runge-Kutta of order 4) does not seem to gain much in the control framework 6 Several examples for which Euler-based control beats state-of-art interval-based control (e.g.: building ventilation) L. Fribourg Euler s method and switched systems September 6, / 44
134 Final remarks Final remarks 1 Very simple method 2 Very easy to implement (a few hundreds of lines of Octave) 3 Fast, but may lack precision w.r.t. sophisticated refinements of interval-based methods 4 Method can be adapted to control reachability (instead of stability) 5 Replacement of forward Euler s method by better numerical schemes (e.g.: backward Euler, Runge-Kutta of order 4) does not seem to gain much in the control framework 6 Several examples for which Euler-based control beats state-of-art interval-based control (e.g.: building ventilation) but the converse is also true! (e.g.: DC-DC converter) L. Fribourg Euler s method and switched systems September 6, / 44
135 Final remarks Final remarks 1 Very simple method 2 Very easy to implement (a few hundreds of lines of Octave) 3 Fast, but may lack precision w.r.t. sophisticated refinements of interval-based methods 4 Method can be adapted to control reachability (instead of stability) 5 Replacement of forward Euler s method by better numerical schemes (e.g.: backward Euler, Runge-Kutta of order 4) does not seem to gain much in the control framework 6 Several examples for which Euler-based control beats state-of-art interval-based control (e.g.: building ventilation) but the converse is also true! 7 Further experimentations ongoing... (e.g.: DC-DC converter) L. Fribourg Euler s method and switched systems September 6, / 44
136 Final remarks Final remarks 1 Very simple method 2 Very easy to implement (a few hundreds of lines of Octave) 3 Fast, but may lack precision w.r.t. sophisticated refinements of interval-based methods 4 Method can be adapted to control reachability (instead of stability) 5 Replacement of forward Euler s method by better numerical schemes (e.g.: backward Euler, Runge-Kutta of order 4) does not seem to gain much in the control framework 6 Several examples for which Euler-based control beats state-of-art interval-based control (e.g.: building ventilation) but the converse is also true! 7 Further experimentations ongoing... (e.g.: DC-DC converter) THANKS! L. Fribourg Euler s method and switched systems September 6, / 44
137 Final remarks Distributed vs. Centralized Control Centralized control synthesis ẋ(t) = f u (x(t)) Example of a validated pattern of length 2 mapping the ball X into R with S = R + a + ε as safety box: X R X + = f u (X ) S X ++ = f v (X + ) R Pattern u v depends on X L. Fribourg Euler s method and switched systems September 6, / 44
138 Final remarks Distrib. Control Synth. (of x 1 using S 2 as approx. of x 2 ) ẋ 1 (t) = f 1 u 1 (x 1 (t), x 2 (t)) ẋ 2 (t) = f 2 u 2 (x 1 (t), x 2 (t)) Target zone: R = R 1 R 2 X 1 R 1 X 1 + = f u 1 1 (X 1, S 2 ) S 1 X 1 ++ = fv 1 1 (X 1 +, S 2) R 1 Pattern u 1 v 1 depends only on X 1 L. Fribourg Euler s method and switched systems September 6, / 44
139 Final remarks Distrib. Control Synth. (of x 2 using S 1 as approx. of x 1 ) ẋ 1 (t) = f 1 u 1 (x 1 (t), x 2 (t)) ẋ 2 (t) = f 2 u 2 (x 1 (t), x 2 (t)) Target zone: R = R 1 R 2 X 2 R 2 X 2 + = f u 2 2 (S 1, X 2 ) S 2 X 2 ++ = fv 2 2 (S 1, X 2 + ) R 2 Pattern u 2 v 2 depends only on X 2 L. Fribourg Euler s method and switched systems September 6, / 44
Control of Sampled Switched Systems using Invariance Analysis
1st French Singaporean Workshop on Formal Methods and Applications Control of Sampled Switched Systems using Invariance Analysis Laurent Fribourg LSV - ENS Cachan & CNRS Laurent Fribourg Lsv - ENS Cachan
More informationSecond Order ODEs. CSCC51H- Numerical Approx, Int and ODEs p.130/177
Second Order ODEs Often physical or biological systems are best described by second or higher-order ODEs. That is, second or higher order derivatives appear in the mathematical model of the system. For
More informationValidated Explicit and Implicit Runge-Kutta Methods
Validated Explicit and Implicit Runge-Kutta Methods Alexandre Chapoutot joint work with Julien Alexandre dit Sandretto and Olivier Mullier U2IS, ENSTA ParisTech 8th Small Workshop on Interval Methods,
More informationTuning PI controllers in non-linear uncertain closed-loop systems with interval analysis
Tuning PI controllers in non-linear uncertain closed-loop systems with interval analysis J. Alexandre dit Sandretto, A. Chapoutot and O. Mullier U2IS, ENSTA ParisTech SYNCOP April 11, 2015 Closed-loop
More informationRunge-Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto Alexandre Chapoutot. Department U2IS ENSTA ParisTech SCAN Uppsala
Runge-Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto Alexandre Chapoutot Department U2IS ENSTA ParisTech SCAN 2016 - Uppsala Contents Numerical integration Runge-Kutta with interval
More informationScientific Computing II
Scientific Computing II Molecular Dynamics Numerics Michael Bader SCCS Technical University of Munich Summer 018 Recall: Molecular Dynamics System of ODEs resulting force acting on a molecule: F i = j
More informationInterval Methods and Taylor Model Methods for ODEs
Interval Methods and Taylor Model Methods for ODEs Markus Neher, Dept. of Mathematics KARLSRUHE INSTITUTE OF TECHNOLOGY (KIT) 0 TM VII, Key West KIT University of the State of Baden-Wuerttemberg and Interval
More informationNumerical Algorithms for ODEs/DAEs (Transient Analysis)
Numerical Algorithms for ODEs/DAEs (Transient Analysis) Slide 1 Solving Differential Equation Systems d q ( x(t)) + f (x(t)) + b(t) = 0 dt DAEs: many types of solutions useful DC steady state: state no
More informationNUMERICAL SOLUTION OF ODE IVPs. Overview
NUMERICAL SOLUTION OF ODE IVPs 1 Quick review of direction fields Overview 2 A reminder about and 3 Important test: Is the ODE initial value problem? 4 Fundamental concepts: Euler s Method 5 Fundamental
More informationSection 7.2 Euler s Method
Section 7.2 Euler s Method Key terms Scalar first order IVP (one step method) Euler s Method Derivation Error analysis Computational procedure Difference equation Slope field or Direction field Error Euler's
More informationNUMERICAL ANALYSIS 2 - FINAL EXAM Summer Term 2006 Matrikelnummer:
Prof. Dr. O. Junge, T. März Scientific Computing - M3 Center for Mathematical Sciences Munich University of Technology Name: NUMERICAL ANALYSIS 2 - FINAL EXAM Summer Term 2006 Matrikelnummer: I agree to
More informationLecture 4: Numerical solution of ordinary differential equations
Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor
More informationA Verified ODE solver and Smale s 14th Problem
A Verified ODE solver and Smale s 14th Problem Fabian Immler Big Proof @ Isaac Newton Institute Jul 6, 2017 = Isabelle λ β α Smale s 14th Problem A computer-assisted proof involving ODEs. Motivation for
More informationInitial value problems for ordinary differential equations
Initial value problems for ordinary differential equations Xiaojing Ye, Math & Stat, Georgia State University Spring 2019 Numerical Analysis II Xiaojing Ye, Math & Stat, Georgia State University 1 IVP
More informationSolution via Laplace transform and matrix exponential
EE263 Autumn 2015 S. Boyd and S. Lall Solution via Laplace transform and matrix exponential Laplace transform solving ẋ = Ax via Laplace transform state transition matrix matrix exponential qualitative
More informationConsistency and Convergence
Jim Lambers MAT 77 Fall Semester 010-11 Lecture 0 Notes These notes correspond to Sections 1.3, 1.4 and 1.5 in the text. Consistency and Convergence We have learned that the numerical solution obtained
More informationCS520: numerical ODEs (Ch.2)
.. CS520: numerical ODEs (Ch.2) Uri Ascher Department of Computer Science University of British Columbia ascher@cs.ubc.ca people.cs.ubc.ca/ ascher/520.html Uri Ascher (UBC) CPSC 520: ODEs (Ch. 2) Fall
More informationLogistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations
Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations S. Y. Ha and J. Park Department of Mathematical Sciences Seoul National University Sep 23, 2013 Contents 1 Logistic Map 2 Euler and
More informationMathematics for chemical engineers. Numerical solution of ordinary differential equations
Mathematics for chemical engineers Drahoslava Janovská Numerical solution of ordinary differential equations Initial value problem Winter Semester 2015-2016 Outline 1 Introduction 2 One step methods Euler
More informationas support functions [18] and polynomials [34].
Decomposed Reachability Analysis for Nonlinear Systems Xin Chen University of Colorado, Boulder, CO xinchen@colorado.edu Sriram Sankaranarayanan University of Colorado, Boulder, CO srirams@colorado.edu
More informationCONSISTENCY TECHNIQUES FOR SIMULATION OF WASTEWATER TREATMENT PROCESSES WITH UNCERTAINTIES
CONSISTENCY TECHNIQUES FOR SIMULATION OF WASTEWATER TREATMENT PROCESSES WITH UNCERTAINTIES Marco Kletting Andreas Rauh Harald Aschemann Eberhard P. Hofer University of Ulm Department of Measurement, Control,
More informationOrdinary Differential Equations (ODEs)
Ordinary Differential Equations (ODEs) NRiC Chapter 16. ODEs involve derivatives wrt one independent variable, e.g. time t. ODEs can always be reduced to a set of firstorder equations (involving only first
More informationExistence and uniqueness of solutions for nonlinear ODEs
Chapter 4 Existence and uniqueness of solutions for nonlinear ODEs In this chapter we consider the existence and uniqueness of solutions for the initial value problem for general nonlinear ODEs. Recall
More informationAn Introduction to Differential Algebra
An Introduction to Differential Algebra Alexander Wittig1, P. Di Lizia, R. Armellin, et al. 1 ESA Advanced Concepts Team (TEC-SF) SRL, Milan Dinamica Outline 1 Overview Five Views of Differential Algebra
More informationDeterministic Global Optimization for Dynamic Systems Using Interval Analysis
Deterministic Global Optimization for Dynamic Systems Using Interval Analysis Youdong Lin and Mark A. Stadtherr Department of Chemical and Biomolecular Engineering University of Notre Dame, Notre Dame,
More informationTS Method Summary. T k (x,y j 1 ) f(x j 1,y j 1 )+ 2 f (x j 1,y j 1 ) + k 1
TS Method Summary Let T k (x,y j 1 ) denote the first k +1 terms of the Taylor series expanded about the discrete approximation, (x j 1,y j 1 ), and ẑ k,j (x) be the polynomial approximation (to y(x))
More informationA Rigorous Implementation of Taylor Model-Based Integrator in Chebyshev Basis Representation 1
A Rigorous Implementation of Taylor Model-Based Integrator in Chebyshev Basis Representation 1 Tomáš Dzetkulič Institute of Computer Science Czech Academy of Sciences December 15, 2011 1 This work was
More informationLecture IV: Time Discretization
Lecture IV: Time Discretization Motivation Kinematics: continuous motion in continuous time Computer simulation: Discrete time steps t Discrete Space (mesh particles) Updating Position Force induces acceleration.
More informationRunge Kutta Theory and Constraint Programming
Runge Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto julien.alexandre-dit-sandretto@ensta-paristech.fr U2IS, ENSTA ParisTech, Université Paris-Saclay, 828 bd des Maréchaux, 9762
More informationNumerical Differential Equations: IVP
Chapter 11 Numerical Differential Equations: IVP **** 4/16/13 EC (Incomplete) 11.1 Initial Value Problem for Ordinary Differential Equations We consider the problem of numerically solving a differential
More informationOrdinary differential equations. Phys 420/580 Lecture 8
Ordinary differential equations Phys 420/580 Lecture 8 Most physical laws are expressed as differential equations These come in three flavours: initial-value problems boundary-value problems eigenvalue
More informationNonlinear and robust MPC with applications in robotics
Nonlinear and robust MPC with applications in robotics Boris Houska, Mario Villanueva, Benoît Chachuat ShanghaiTech, Texas A&M, Imperial College London 1 Overview Introduction to Robust MPC Min-Max Differential
More informationRicharson Extrapolation for Runge-Kutta Methods
Richarson Extrapolation for Runge-Kutta Methods Zahari Zlatevᵃ, Ivan Dimovᵇ and Krassimir Georgievᵇ ᵃ Department of Environmental Science, Aarhus University, Frederiksborgvej 399, P. O. 358, 4000 Roskilde,
More informationSAT Modulo ODE: A Direct SAT Approach to Hybrid Systems
Welcome ATVA 2008 SAT Modulo ODE: A Direct SAT Approach to Hbrid Sstems Andreas Eggers, Martin Fränzle, and Christian Herde DFG Transregional Collaborative Research Center AVACS Outline Motivation Bounded
More information21 Linear State-Space Representations
ME 132, Spring 25, UC Berkeley, A Packard 187 21 Linear State-Space Representations First, let s describe the most general type of dynamic system that we will consider/encounter in this class Systems may
More informationSolving Ordinary Differential Equations
Solving Ordinary Differential Equations Sanzheng Qiao Department of Computing and Software McMaster University March, 2014 Outline 1 Initial Value Problem Euler s Method Runge-Kutta Methods Multistep Methods
More informationPhysics 115/242 Comparison of methods for integrating the simple harmonic oscillator.
Physics 115/4 Comparison of methods for integrating the simple harmonic oscillator. Peter Young I. THE SIMPLE HARMONIC OSCILLATOR The energy (sometimes called the Hamiltonian ) of the simple harmonic oscillator
More informationOptimization. Benjamin Recht University of California, Berkeley Stephen Wright University of Wisconsin-Madison
Optimization Benjamin Recht University of California, Berkeley Stephen Wright University of Wisconsin-Madison optimization () cost constraints might be too much to cover in 3 hours optimization (for big
More informationAN OVERVIEW. Numerical Methods for ODE Initial Value Problems. 1. One-step methods (Taylor series, Runge-Kutta)
AN OVERVIEW Numerical Methods for ODE Initial Value Problems 1. One-step methods (Taylor series, Runge-Kutta) 2. Multistep methods (Predictor-Corrector, Adams methods) Both of these types of methods are
More informationSymbolic Control of Incrementally Stable Systems
Symbolic Control of Incrementally Stable Systems Antoine Girard Laboratoire Jean Kuntzmann, Université Joseph Fourier Grenoble, France Workshop on Formal Verification of Embedded Control Systems LCCC,
More informationExamples include: (a) the Lorenz system for climate and weather modeling (b) the Hodgkin-Huxley system for neuron modeling
1 Introduction Many natural processes can be viewed as dynamical systems, where the system is represented by a set of state variables and its evolution governed by a set of differential equations. Examples
More informationReachability Analysis of Nonlinear and Hybrid Systems using Zonotopes May 7, / 56
Reachability Analysis of Nonlinear and Hybrid Systems using Zonotopes Matthias Althoff Carnegie Mellon Univ. May 7, 2010 Reachability Analysis of Nonlinear and Hybrid Systems using Zonotopes May 7, 2010
More informationOrdinary differential equations - Initial value problems
Education has produced a vast population able to read but unable to distinguish what is worth reading. G.M. TREVELYAN Chapter 6 Ordinary differential equations - Initial value problems In this chapter
More informationECE 422/522 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability
ECE 4/5 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability Spring 014 Instructor: Kai Sun 1 Transient Stability The ability of the power system to maintain synchronism
More informationTrade-Offs in Distributed Learning and Optimization
Trade-Offs in Distributed Learning and Optimization Ohad Shamir Weizmann Institute of Science Includes joint works with Yossi Arjevani, Nathan Srebro and Tong Zhang IHES Workshop March 2016 Distributed
More informationGramians based model reduction for hybrid switched systems
Gramians based model reduction for hybrid switched systems Y. Chahlaoui Younes.Chahlaoui@manchester.ac.uk Centre for Interdisciplinary Computational and Dynamical Analysis (CICADA) School of Mathematics
More informationDeterministic Global Optimization Algorithm and Nonlinear Dynamics
Deterministic Global Optimization Algorithm and Nonlinear Dynamics C. S. Adjiman and I. Papamichail Centre for Process Systems Engineering Department of Chemical Engineering and Chemical Technology Imperial
More informationApplied Math for Engineers
Applied Math for Engineers Ming Zhong Lecture 15 March 28, 2018 Ming Zhong (JHU) AMS Spring 2018 1 / 28 Recap Table of Contents 1 Recap 2 Numerical ODEs: Single Step Methods 3 Multistep Methods 4 Method
More informationModeling and Analysis of Dynamic Systems
Modeling and Analysis of Dynamic Systems by Dr. Guillaume Ducard Fall 2016 Institute for Dynamic Systems and Control ETH Zurich, Switzerland based on script from: Prof. Dr. Lino Guzzella 1/33 Outline 1
More informationNumerical solution of ODEs
Numerical solution of ODEs Arne Morten Kvarving Department of Mathematical Sciences Norwegian University of Science and Technology November 5 2007 Problem and solution strategy We want to find an approximation
More informationOPTIMAL CONTROL SYSTEMS
SYSTEMS MIN-MAX Harry G. Kwatny Department of Mechanical Engineering & Mechanics Drexel University OUTLINE MIN-MAX CONTROL Problem Definition HJB Equation Example GAME THEORY Differential Games Isaacs
More informationVerification of Nonlinear Hybrid Systems with Ariadne
Verification of Nonlinear Hybrid Systems with Ariadne Luca Geretti and Tiziano Villa June 2, 2016 June 2, 2016 Verona, Italy 1 / 1 Outline June 2, 2016 Verona, Italy 2 / 1 Outline June 2, 2016 Verona,
More informationModule 4: Numerical Methods for ODE. Michael Bader. Winter 2007/2008
Outlines Module 4: for ODE Part I: Basic Part II: Advanced Lehrstuhl Informatik V Winter 2007/2008 Part I: Basic 1 Direction Fields 2 Euler s Method Outlines Part I: Basic Part II: Advanced 3 Discretized
More informationNumerical Methods for the Solution of Differential Equations
Numerical Methods for the Solution of Differential Equations Markus Grasmair Vienna, winter term 2011 2012 Analytical Solutions of Ordinary Differential Equations 1. Find the general solution of the differential
More informationEuler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability.
Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability. REVIEW: We start with the differential equation dy(t) dt = f (t, y(t)) (1.1) y(0) = y 0 This equation can be
More informationNumerical Methods - Initial Value Problems for ODEs
Numerical Methods - Initial Value Problems for ODEs Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Initial Value Problems for ODEs 2013 1 / 43 Outline 1 Initial Value
More informationState-norm estimators for switched nonlinear systems under average dwell-time
49th IEEE Conference on Decision and Control December 15-17, 2010 Hilton Atlanta Hotel, Atlanta, GA, USA State-norm estimators for switched nonlinear systems under average dwell-time Matthias A. Müller
More informationOrdinary differential equation II
Ordinary Differential Equations ISC-5315 1 Ordinary differential equation II 1 Some Basic Methods 1.1 Backward Euler method (implicit method) The algorithm looks like this: y n = y n 1 + hf n (1) In contrast
More informationIntroduction to the Numerical Solution of IVP for ODE
Introduction to the Numerical Solution of IVP for ODE 45 Introduction to the Numerical Solution of IVP for ODE Consider the IVP: DE x = f(t, x), IC x(a) = x a. For simplicity, we will assume here that
More informationCONVERGENCE AND STABILITY CONSTANT OF THE THETA-METHOD
Conference Applications of Mathematics 2013 in honor of the 70th birthday of Karel Segeth. Jan Brandts, Sergey Korotov, Michal Křížek, Jakub Šístek, and Tomáš Vejchodský (Eds.), Institute of Mathematics
More informationDifferential Equations
Differential Equations Definitions Finite Differences Taylor Series based Methods: Euler Method Runge-Kutta Methods Improved Euler, Midpoint methods Runge Kutta (2nd, 4th order) methods Predictor-Corrector
More informationRelevant Applications of Differential Algebra in Astrodynamics
AstroNet-II International Final Conference Tossa de Mar 15-19 June 2015 Relevant Applications of Differential Algebra in Astrodynamics Pierluigi Di Lizia in collaboration with: Roberto Armellin, Alessandro
More informationECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations
ECE257 Numerical Methods and Scientific Computing Ordinary Differential Equations Today s s class: Stiffness Multistep Methods Stiff Equations Stiffness occurs in a problem where two or more independent
More informationPropagation of Uncertainties in Nonlinear Dynamic Models
Propagation of Uncertainties in Nonlinear Dynamic Models Youdong Lin 1, Scott Ferson 2, George F. Corliss 3 and Mark A. Stadtherr 1 1 Department of Chemical and Biomolecular Engineering, University of
More informationOrdinary Differential Equations
Ordinary Differential Equations In this lecture, we will look at different options for coding simple differential equations. Start by considering bicycle riding as an example. Why does a bicycle move forward?
More informationPart IB Numerical Analysis
Part IB Numerical Analysis Definitions Based on lectures by G. Moore Notes taken by Dexter Chua Lent 206 These notes are not endorsed by the lecturers, and I have modified them (often significantly) after
More informationAN INTERVAL METHOD FOR INITIAL VALUE PROBLEMS IN LINEAR ORDINARY DIFFERENTIAL EQUATIONS
AN INTERVAL METHOD FOR INITIAL VALUE PROBLEMS IN LINEAR ORDINARY DIFFERENTIAL EQUATIONS NEDIALKO S. NEDIALKOV Abstract. Interval numerical methods for initial value problems (IVPs) for ordinary differential
More informationAdvanced Protein Models again: adding regulation
Advanced Protein Models again: adding regulation James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University April 1, 2014 Outline 1 Simple Regulations
More informationDistributed Machine Learning. Maria-Florina Balcan Carnegie Mellon University
Distributed Machine Learning Maria-Florina Balcan Carnegie Mellon University Distributed Machine Learning Modern applications: massive amounts of data distributed across multiple locations. Distributed
More informationStep Simulation Based Verification of Nonlinear Deterministic Hybrid System
Step Simulation Based Verification of Nonlinear Deterministic Hybrid System Ratnesh Kumar, Professor, IEEE Fellow PhD Student: Hao Ren Electrical and Computer Engineering Iowa State University Verification
More informationReview Higher Order methods Multistep methods Summary HIGHER ORDER METHODS. P.V. Johnson. School of Mathematics. Semester
HIGHER ORDER METHODS School of Mathematics Semester 1 2008 OUTLINE 1 REVIEW 2 HIGHER ORDER METHODS 3 MULTISTEP METHODS 4 SUMMARY OUTLINE 1 REVIEW 2 HIGHER ORDER METHODS 3 MULTISTEP METHODS 4 SUMMARY OUTLINE
More informationOrder Preserving Properties of Vehicle Dynamics with Respect to the Driver s Input
Order Preserving Properties of Vehicle Dynamics with Respect to the Driver s Input Mojtaba Forghani and Domitilla Del Vecchio Massachusetts Institute of Technology September 19, 214 1 Introduction In this
More informationMath 411 Preliminaries
Math 411 Preliminaries Provide a list of preliminary vocabulary and concepts Preliminary Basic Netwon's method, Taylor series expansion (for single and multiple variables), Eigenvalue, Eigenvector, Vector
More informationRobotics. Dynamics. Marc Toussaint U Stuttgart
Robotics Dynamics 1D point mass, damping & oscillation, PID, dynamics of mechanical systems, Euler-Lagrange equation, Newton-Euler recursion, general robot dynamics, joint space control, reference trajectory
More informationIdentification Methods for Structural Systems. Prof. Dr. Eleni Chatzi Lecture March, 2016
Prof. Dr. Eleni Chatzi Lecture 4-09. March, 2016 Fundamentals Overview Multiple DOF Systems State-space Formulation Eigenvalue Analysis The Mode Superposition Method The effect of Damping on Structural
More informationOrdinary Differential Equations
Ordinary Differential Equations We call Ordinary Differential Equation (ODE) of nth order in the variable x, a relation of the kind: where L is an operator. If it is a linear operator, we call the equation
More informationROBUSTNESS OF MODEL- BASED SIMULATIONS
ROBUSTNESS OF MODEL- BASED SIMULATIONS Georgios Fainekos, Arizona State University Sriram Sankaranarayanan, University of Colorado Franjo Ivancic, NEC Labs Aarti Gupta, NEC Labs Work performed at NEC Labs
More informationThe goal of this chapter is to study linear systems of ordinary differential equations: dt,..., dx ) T
1 1 Linear Systems The goal of this chapter is to study linear systems of ordinary differential equations: ẋ = Ax, x(0) = x 0, (1) where x R n, A is an n n matrix and ẋ = dx ( dt = dx1 dt,..., dx ) T n.
More informationMath Numerical Analysis Homework #4 Due End of term. y = 2y t 3y2 t 3, 1 t 2, y(1) = 1. n=(b-a)/h+1; % the number of steps we need to take
Math 32 - Numerical Analysis Homework #4 Due End of term Note: In the following y i is approximation of y(t i ) and f i is f(t i,y i ).. Consider the initial value problem, y = 2y t 3y2 t 3, t 2, y() =.
More informationIntroduction to Reachability Somil Bansal Hybrid Systems Lab, UC Berkeley
Introduction to Reachability Somil Bansal Hybrid Systems Lab, UC Berkeley Outline Introduction to optimal control Reachability as an optimal control problem Various shades of reachability Goal of This
More informationMinkowski Sums and Aumann s Integrals in Set Invariance Theory for Autonomous Linear Time Invariant Systems
Minkowski Sums and Aumann s Integrals in Set Invariance Theory for Autonomous Linear Time Invariant Systems Saša V. Raković (sasa.rakovic@imperial.ac.uk) Imperial College, London Imperial College, 2. February
More informationSymbolic Control. From discrete synthesis to certified continuous controllers. Antoine Girard
Symbolic Control From discrete synthesis to certified continuous controllers Antoine Girard CNRS, Laboratoire des Signaux et Systèmes Gif-sur-Yvette, France Journées de l Automatique du GdR MACS Nantes,
More informationHigh-Order Representation of Poincaré Maps
High-Order Representation of Poincaré Maps Johannes Grote, Martin Berz, and Kyoko Makino Department of Physics and Astronomy, Michigan State University, East Lansing, MI, USA. {grotejoh,berz,makino}@msu.edu
More informationPhysically Based Modeling: Principles and Practice Implicit Methods for Differential Equations
Pysically Based Modeling: Principles and Practice Implicit Metods for Differential Equations David Baraff Robotics Institute Carnegie Mellon University Please note: Tis document is 997 by David Baraff
More informationDifferential Equations
Differential Equations Overview of differential equation! Initial value problem! Explicit numeric methods! Implicit numeric methods! Modular implementation Physics-based simulation An algorithm that
More informationRecent robust analysis and design results. for simple adaptive control
Recent robust analysis and design results for simple adaptive control Dimitri PEAUCELLE LAAS-CNRS - Université de Toulouse - FRANCE Cooperation program between CNRS, RAS and RFBR A. Fradkov, B. Andrievsky,
More informationMath 660 Lecture 4: FDM for evolutionary equations: ODE solvers
Math 660 Lecture 4: FDM for evolutionary equations: ODE solvers Consider the ODE u (t) = f(t, u(t)), u(0) = u 0, where u could be a vector valued function. Any ODE can be reduced to a first order system,
More informationCOSC 3361 Numerical Analysis I Ordinary Differential Equations (II) - Multistep methods
COSC 336 Numerical Analysis I Ordinary Differential Equations (II) - Multistep methods Fall 2005 Repetition from the last lecture (I) Initial value problems: dy = f ( t, y) dt y ( a) = y 0 a t b Goal:
More informationValidated Solutions of Initial Value Problems for Parametric ODEs
Validated Solutions of Initial Value Problems for Parametric ODEs Youdong Lin and Mark A. Stadtherr Department of Chemical and Biomolecular Engineering University of Notre Dame, Notre Dame, IN 46556, USA
More informationWork in Progress: Reachability Analysis for Time-triggered Hybrid Systems, The Platoon Benchmark
Work in Progress: Reachability Analysis for Time-triggered Hybrid Systems, The Platoon Benchmark François Bidet LIX, École polytechnique, CNRS Université Paris-Saclay 91128 Palaiseau, France francois.bidet@polytechnique.edu
More informationA Brief Introduction to Numerical Methods for Differential Equations
A Brief Introduction to Numerical Methods for Differential Equations January 10, 2011 This tutorial introduces some basic numerical computation techniques that are useful for the simulation and analysis
More informationNumerical Oscillations and how to avoid them
Numerical Oscillations and how to avoid them Willem Hundsdorfer Talk for CWI Scientific Meeting, based on work with Anna Mozartova (CWI, RBS) & Marc Spijker (Leiden Univ.) For details: see thesis of A.
More informationVerification of Hybrid Systems with Ariadne
Verification of Hybrid Systems with Ariadne Davide Bresolin 1 Luca Geretti 2 Tiziano Villa 3 1 University of Bologna 2 University of Udine 3 University of Verona An open workshop on Formal Methods for
More informationI. D. Landau, A. Karimi: A Course on Adaptive Control Adaptive Control. Part 9: Adaptive Control with Multiple Models and Switching
I. D. Landau, A. Karimi: A Course on Adaptive Control - 5 1 Adaptive Control Part 9: Adaptive Control with Multiple Models and Switching I. D. Landau, A. Karimi: A Course on Adaptive Control - 5 2 Outline
More informationLecture V: The game-engine loop & Time Integration
Lecture V: The game-engine loop & Time Integration The Basic Game-Engine Loop Previous state: " #, %(#) ( #, )(#) Forces -(#) Integrate velocities and positions Resolve Interpenetrations Per-body change
More informationLecture 17: Ordinary Differential Equation II. First Order (continued)
Lecture 17: Ordinary Differential Equation II. First Order (continued) 1. Key points Maple commands dsolve dsolve[interactive] dsolve(numeric) 2. Linear first order ODE: y' = q(x) - p(x) y In general,
More informationChapter 6 - Ordinary Differential Equations
Chapter 6 - Ordinary Differential Equations 7.1 Solving Initial-Value Problems In this chapter, we will be interested in the solution of ordinary differential equations. Ordinary differential equations
More informationExtremal Solutions of Differential Inclusions via Baire Category: a Dual Approach
Extremal Solutions of Differential Inclusions via Baire Category: a Dual Approach Alberto Bressan Department of Mathematics, Penn State University University Park, Pa 1682, USA e-mail: bressan@mathpsuedu
More information[ ] is a vector of size p.
Lecture 11 Copyright by Hongyun Wang, UCSC Recap: General form of explicit Runger-Kutta methods for solving y = F( y, t) k i = hfy n + i1 j =1 c ij k j, t n + d i h, i = 1,, p + p j =1 b j k j A Runge-Kutta
More informationTHE METHOD OF LINES FOR PARABOLIC PARTIAL INTEGRO-DIFFERENTIAL EQUATIONS
JOURNAL OF INTEGRAL EQUATIONS AND APPLICATIONS Volume 4, Number 1, Winter 1992 THE METHOD OF LINES FOR PARABOLIC PARTIAL INTEGRO-DIFFERENTIAL EQUATIONS J.-P. KAUTHEN ABSTRACT. We present a method of lines
More information