Convex computation of the region of attraction for polynomial control systems

Similar documents
Convex computation of the region of attraction for polynomial control systems

Region of attraction approximations for polynomial dynamical systems

Convex computation of the region of attraction of polynomial control systems

Controller design and region of attraction estimation for nonlinear dynamical systems

Controller design and region of attraction estimation for nonlinear dynamical systems

Inner approximations of the region of attraction for polynomial dynamical systems

Convex computation of the region of attraction of polynomial control systems

Measures and LMIs for optimal control of piecewise-affine systems

Linear conic optimization for nonlinear optimal control

Inner approximations of the maximal positively invariant set for polynomial dynamical systems

Convex computation of the maximum controlled invariant set for discrete-time polynomial control systems

Maximal Positive Invariant Set Determination for Transient Stability Assessment in Power Systems

arxiv: v1 [math.oc] 31 Jan 2017

A new look at nonnegativity on closed sets

Strong duality in Lasserre s hierarchy for polynomial optimization

LMI MODELLING 4. CONVEX LMI MODELLING. Didier HENRION. LAAS-CNRS Toulouse, FR Czech Tech Univ Prague, CZ. Universidad de Valladolid, SP March 2009

arxiv: v2 [cs.sy] 26 Jul 2018

Semidefinite Approximations of Reachable Sets for Discrete-time Polynomial Systems

Convex Optimization of Nonlinear Feedback Controllers via Occupation Measures

Convergence rates of moment-sum-of-squares hierarchies for volume approximation of semialgebraic sets

arxiv:math/ v1 [math.oc] 13 Mar 2007

c 2008 Society for Industrial and Applied Mathematics

Moments and convex optimization for analysis and control of nonlinear partial differential equations

Moments and Positive Polynomials for Optimization II: LP- VERSUS SDP-relaxations

Semidenite Approximations of Reachable Sets for Discrete-time Polynomial Systems

Convex Optimization & Parsimony of L p-balls representation

Moments and Positive Polynomials for Optimization II: LP- VERSUS SDP-relaxations

COURSE ON LMI PART I.2 GEOMETRY OF LMI SETS. Didier HENRION henrion

Global Optimization with Polynomials

Semialgebraic Relaxations using Moment-SOS Hierarchies

Lecture 6: Conic Optimization September 8

Semidefinite Programming Duality and Linear Time-invariant Systems

The moment-lp and moment-sos approaches

6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC

Modal occupation measures and LMI relaxations for nonlinear switched systems control

Formal Proofs, Program Analysis and Moment-SOS Relaxations

arzelier

arxiv: v1 [math.ds] 23 Apr 2017

Optimization for Communications and Networks. Poompat Saengudomlert. Session 4 Duality and Lagrange Multipliers

Convex Computation of the Reachable Set for Controlled Polynomial Hybrid Systems

Lecture Note 5: Semidefinite Programming for Stability Analysis

Iterative LP and SOCP-based. approximations to. sum of squares programs. Georgina Hall Princeton University. Joint work with:

Simple Approximations of Semialgebraic Sets and their Applications to Control

The Big Picture. Discuss Examples of unpredictability. Odds, Stanisław Lem, The New Yorker (1974) Chaos, Scientific American (1986)

Approximate Optimal Designs for Multivariate Polynomial Regression

Sum of Squares Relaxations for Polynomial Semi-definite Programming

Analysis and synthesis: a complexity perspective

Modal occupation measures and LMI relaxations for nonlinear switched systems control

Optimization over Nonnegative Polynomials: Algorithms and Applications. Amir Ali Ahmadi Princeton, ORFE

I.3. LMI DUALITY. Didier HENRION EECI Graduate School on Control Supélec - Spring 2010

Polynomial level-set methods for nonlinear dynamical systems analysis

Lecture: Examples of LP, SOCP and SDP

arxiv: v2 [math.oc] 30 Sep 2015

Semidefinite and Second Order Cone Programming Seminar Fall 2012 Project: Robust Optimization and its Application of Robust Portfolio Optimization

Optimization over Polynomials with Sums of Squares and Moment Matrices

Robust Multi-Objective Control for Linear Systems

Fast ADMM for Sum of Squares Programs Using Partial Orthogonality

Analytical Validation Tools for Safety Critical Systems

Mean squared error minimization for inverse moment problems

Exact SDP Relaxations for Classes of Nonlinear Semidefinite Programming Problems

Advanced SDPs Lecture 6: March 16, 2017

Continuous Optimisation, Chpt 9: Semidefinite Optimisation

Minimum volume semialgebraic sets for robust estimation

Complexity of 10 Decision Problems in Continuous Time Dynamical Systems. Amir Ali Ahmadi IBM Watson Research Center

Semidefinite approximations of projections and polynomial images of semialgebraic sets

Optimization on linear matrix inequalities for polynomial systems control

Mean squared error minimization for inverse moment problems

Linear Matrix Inequalities, Semidefinite Programming and Quantum Information Theory

Chapter 1. Preliminaries. The purpose of this chapter is to provide some basic background information. Linear Space. Hilbert Space.

Global Optimization of Polynomials

Distributionally Robust Convex Optimization

ECE7850 Lecture 8. Nonlinear Model Predictive Control: Theoretical Aspects

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

arxiv: v2 [math.oc] 31 May 2010

Lecture: Duality of LP, SOCP and SDP

Analysis and Control of Nonlinear Actuator Dynamics Based on the Sum of Squares Programming Method

ON THE ESSENTIAL BOUNDEDNESS OF SOLUTIONS TO PROBLEMS IN PIECEWISE LINEAR-QUADRATIC OPTIMAL CONTROL. R.T. Rockafellar*

Recent robust analysis and design results. for simple adaptive control

Optimal switching control design for polynomial systems: an LMI approach

Semidefinite Programming Basics and Applications

LMI Methods in Optimal and Robust Control

Probabilistic and Set-based Model Invalidation and Estimation Using LMIs

Convexification of Mixed-Integer Quadratically Constrained Quadratic Programs

Finding largest small polygons with GloptiPoly

Convex Optimization. (EE227A: UC Berkeley) Lecture 28. Suvrit Sra. (Algebra + Optimization) 02 May, 2013

Research overview. Seminar September 4, Lehigh University Department of Industrial & Systems Engineering. Research overview.

Hilbert s 17th Problem to Semidefinite Programming & Convex Algebraic Geometry

Approximating Pareto Curves using Semidefinite Relaxations

4. Algebra and Duality

Detecting global optimality and extracting solutions in GloptiPoly

Realization theory for systems biology

Introduction to Semidefinite Programming I: Basic properties a

The Big Picture. Python environment? Discuss Examples of unpredictability. Chaos, Scientific American (1986)

Optimization based robust control

E5295/5B5749 Convex optimization with engineering applications. Lecture 5. Convex programming and semidefinite programming

Linear Quadratic Zero-Sum Two-Person Differential Games Pierre Bernhard June 15, 2013

CONVEXITY IN SEMI-ALGEBRAIC GEOMETRY AND POLYNOMIAL OPTIMIZATION

Lecture 4. Chapter 4: Lyapunov Stability. Eugenio Schuster. Mechanical Engineering and Mechanics Lehigh University.

SUM-OF-SQUARES BASED STABILITY ANALYSIS FOR SKID-TO-TURN MISSILES WITH THREE-LOOP AUTOPILOT

Time Delay Margin Analysis for an Adaptive Controller

Transcription:

Convex computation of the region of attraction for polynomial control systems Didier Henrion LAAS-CNRS Toulouse & CTU Prague Milan Korda EPFL Lausanne

Region of Attraction (ROA) ẋ = f (x,u), x(t) X, u(t) U t [0,T] x(t ) X T Region of attraction (ROA) a.k.a. Backward reachable set The set of all initial states that can be admissibly steered to the target set at a given time X X T X 0 2

Region of Attraction (ROA) ẋ = f (x,u), x(t) X, u(t) U t [0,T] x(t ) X T 3

Region of Attraction (ROA) Fundamentally difficult to determine!! Long history - typically tackled using non-convex BMIs or gridding Convex formulation Infinite dimensional LP formulation for ROA computation Converging hierarchy of SDP relaxations providing outer approximations! Readily modeled using freely available tools (Gloptipoly, Yalmip, etc.)! No initialization data required! 4

How is it done? 5

Approach Approach Study how ensembles of initial conditions evolve, not single trajectories How to model these ensembles? Using measures.! 6

Measures Mappings from sets to real numbers Measures µ R Integration A g(x) dµ(x) g(x) dµ(x) = A A g(x) ρ(x)dx (x) 1 µ 7

Measures in control µ 0 µ T T µ (t,x(t),u(t)) [0,T] X U x µ T µ 0 0 T t 8

Measures in control µ 0 µ T T µ (t,x(t),u(t)) [0,T] X U x µ T µ 0 0 T t 9

Liouville s equation µ 0 µ µ T X v(t,x) dµ T (x) v C 1 ([0,T] X) X v(0,x) dµ 0 (x) = [0,T ] X U v t + xv f Lv(t,x,u) dµ(t,x,u) Key fact ẋ = f (x,u) Optimization over system trajectories Optimization over measures satisfying Liouville s equation 10

Characterization of ROA using measures 11

Dynamics Dynamics Liouville s equation 12

Constraints Constraints Support constraints Support of a measure Smallest closed set whose complement has zero measure spt µ x(0) X (x(t),u(t)) X U x(t ) X T spt µ 0 X spt µ [0,T] X U spt µ T X T 13

Characterization of ROA using measures Need to µ 0 Non-convex 14

Convex characterization of ROA Key idea µ 0 µ 0 15

Convex characterization of ROA Key idea µ 0 µ 0 X 0 1 X 0 X 16

Convex characterization of ROA Key idea µ 0 µ 0 X 0 1 X 0 X 17

Convex characterization of ROA Key idea µ 0 µ 0 X 0 1 X 0 X 18

Convex characterization of ROA Key idea µ 0 µ 0 X 0 1 X 0 X 19

Convex characterization of ROA Key idea µ 0 µ 0 X 0 1 X 0 X 20

Primal LP The ROA is characterized by the optimization problem sup µ 0 (X) Primal LP s.t. X T vdµ T X vdµ 0 = [0,T ] X U Lvdµ v C 1 µ 0 µ 0, µ 0 0,µ T 0, ˆµ 0 0 spt µ [0,T] X U, spt µ 0 X, spt µ T X T Infinite dimensional linear program in the cone of nonnegative measures 21

Dual LP on continuous functions Decrease along trajectories inf X w(x) dx Dual LP s.t. Lv(t,x,u) 0, (t,x,u) [0,T] X U w(x) v(0,x)+1, x X v(t,x) 0, x X T w(x) 0, x X, v C 1 ([0,T] X) w C(X) {x w(x) Key observation 1} X 0 w Important fact 22

Finite dimensional SDP relaxations SDP! Optimization over measures Optimization over moment sequences Optimization over truncated moment sequences Duality Optimization over nonnegative continuous functions Optimization over nonnegative polynomials SDP! Optimization over SOS polynomials Duality 23

Big picture Infinite dimensional Infinite dimensional 2k 2k k k 24

Convergence results Convergence of primal and dual relaxations Optimal values of the primal and dual SDPs converge to the optimal value of the two infinite dimensional LPs, which is equal to the volume of the ROA X 0 w k (x) k Functional convergence w k I X0 L 1 min i k w i I X0 k X 0k := {x w k (x) 1} Set-wise convergence X 0k X 0 volume(x 0k \ X 0 ) 0 k 25

Numerical examples Backward Van der Pol oscillator ẋ 1 = 2x 2 ẋ 2 =0.8x 1 + 10(x1 2 0.21)x 2 X =[ 1.2, 1.2] 2 X T = {x x 2 0.01}, T = 100 26

Numerical examples Backward Van der Pol oscillator ẋ 1 = 2x 2 ẋ 2 =0.8x 1 + 10(x1 2 0.21)x 2 X =[ 1.2, 1.2] 2 X T = {x x 2 0.01}, T = 100 Stable equilibrium at the origin with a bounded region of attraction 27

Numerical examples Backward Van der Pol oscillator ẋ 1 = 2x 2 ẋ 2 =0.8x 1 + 10(x1 2 0.21)x 2 X =[ 1.2, 1.2] 2 X T = {x x 2 0.01}, T = 100 Stable equilibrium at the origin with a bounded region of attraction X 0 1.2 1 0.8 d = 10 d = 10 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 28

Numerical examples Backward Van der Pol oscillator ẋ 1 = 2x 2 ẋ 2 =0.8x 1 + 10(x1 2 0.21)x 2 X =[ 1.2, 1.2] 2 X T = {x x 2 0.01}, T = 100 Stable equilibrium at the origin with a bounded region of attraction X 0 1.2 1 0.8 d = 12 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 29

Numerical examples Backward Van der Pol oscillator ẋ 1 = 2x 2 ẋ 2 =0.8x 1 + 10(x1 2 0.21)x 2 X =[ 1.2, 1.2] 2 X T = {x x 2 0.01}, T = 100 Stable equilibrium at the origin with a bounded region of attraction X 0 1.2 1 0.8 d = 14 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 30

Numerical examples Backward Van der Pol oscillator ẋ 1 = 2x 2 ẋ 2 =0.8x 1 + 10(x1 2 0.21)x 2 X =[ 1.2, 1.2] 2 X T = {x x 2 0.01}, T = 100 Stable equilibrium at the origin with a bounded region of attraction X 0 1.2 1 0.8 d = 16 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 31

Numerical examples Backward Van der Pol oscillator ẋ 1 = 2x 2 ẋ 2 =0.8x 1 + 10(x1 2 0.21)x 2 X =[ 1.2, 1.2] 2 X T = {x x 2 0.01}, T = 100 Stable equilibrium at the origin with a bounded region of attraction 18 I X0 32

Numerical examples Double integrator ẋ 1 = x 2 ẋ 2 = u X =[ 0.7, 0.7] [ 1.2, 1.2] U =[ 1, 1] X T = {0}, T =1 33

Numerical examples Double integrator ẋ 1 = x 2 ẋ 2 = u X =[ 0.7, 0.7] [ 1.2, 1.2] U =[ 1, 1] X T = {0}, T =1 V (x) = X 0 = {x : V (x) 1} x 2 +2 x 1 + 1 2 x 2 2 x 1 + 1 2 x 2 x 2 > 0, x 2 +2 x 1 + 1 2 x 2 2. 34

Numerical examples Double integrator ẋ 1 = x 2 ẋ 2 = u X =[ 0.7, 0.7] [ 1.2, 1.2] U =[ 1, 1] X T = {0}, T =1 1.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 V (x) = X 0 = {x : V (x) 1} x 2 +2 x 1 + 1 2 x 2 2 x 1 + 1 2 x 2 x 2 > 0, x 2 +2 x 1 + 1 2 x 2 2. d =6 1.2 0.6 0.4 0.2 0 0.2 0.4 0.6 35

Numerical examples Double integrator ẋ 1 = x 2 ẋ 2 = u X =[ 0.7, 0.7] [ 1.2, 1.2] U =[ 1, 1] X T = {0}, T =1 1.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 V (x) = X 0 = {x : V (x) 1} x 2 +2 x 1 + 1 2 x 2 2 x 1 + 1 2 x 2 x 2 > 0, x 2 +2 x 1 + 1 2 x 2 2. d =8 1.2 0.6 0.4 0.2 0 0.2 0.4 0.6 36

Numerical examples Double integrator ẋ 1 = x 2 ẋ 2 = u X =[ 0.7, 0.7] [ 1.2, 1.2] U =[ 1, 1] X T = {0}, T =1 1.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 V (x) = X 0 = {x : V (x) 1} x 2 +2 x 1 + 1 2 x 2 2 x 1 + 1 2 x 2 x 2 > 0, x 2 +2 x 1 + 1 2 x 2 2. d = 10 1.2 0.6 0.4 0.2 0 0.2 0.4 0.6 37

Numerical examples Double integrator ẋ 1 = x 2 ẋ 2 = u X =[ 0.7, 0.7] [ 1.2, 1.2] U =[ 1, 1] X T = {0}, T =1 1.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 V (x) = X 0 = {x : V (x) 1} x 2 +2 x 1 + 1 2 x 2 2 x 1 + 1 2 x 2 x 2 > 0, x 2 +2 x 1 + 1 2 x 2 2. d = 12 1.2 0.6 0.4 0.2 0 0.2 0.4 0.6 38

Numerical examples Brocket integrator ẋ 1 = u 1 ẋ 2 = u 2 ẋ 3 = u 1 x 2 u 2 x 1 X = {x x 1} U = {u u 2 1} X T = {0}, T =1 ROA known semi-analytically d =6 39

Numerical examples Brocket integrator ẋ 1 = u 1 ẋ 2 = u 2 ẋ 3 = u 1 x 2 u 2 x 1 X = {x x 1} U = {u u 2 1} X T = {0}, T =1 ROA known semi-analytically d = 10 40

Numerical examples x 2 u 2 u 1 u 2 x 1 u 1 u 2 d =6 41

Numerical examples x 2 u 2 u 1 u 2 x 1 u 1 u 2 d =8 42

Computational complexity ẋ = f (x,u) n+m+1+d/2 d/2 ẋ = f (x)+g(x)u n+1+d/2 d/2 d n O((n + m + 1) d/2 ) O((d/2) n+m+1 ) d n O((n + 1) d/2 ) O((d/2) n+1 ) Single SDP block of this size + number of smaller blocks Number of blocks of this size linear in the number of inputs [A. Majumdar, et al., 2013] 43

Extensions Reachability Invariance Inner approximations Rational or trigonometric dynamics Uncertain and stochastic systems Piecewise polynomial dynamics defined over semialgebraic partition? 44

Conclusion Convex characterization of the ROA Guaranteed convergence of finite dimensional relaxations Additional properties (e.g. convexity) can be easily enforced Covers a broad class of systems Extremely simple to use! 45

Question time 46