Linear Matrix Inequalities in Control

Similar documents
Lecture Note 5: Semidefinite Programming for Stability Analysis

An Introduction to Linear Matrix Inequalities. Raktim Bhattacharya Aerospace Engineering, Texas A&M University

Modern Optimal Control

Robust Stability. Robust stability against time-invariant and time-varying uncertainties. Parameter dependent Lyapunov functions

Appendix A Solving Linear Matrix Inequality (LMI) Problems

arzelier

Linear Matrix Inequality (LMI)

Graph and Controller Design for Disturbance Attenuation in Consensus Networks

Robust and Optimal Control, Spring 2015

1 Singular Value Decomposition and Principal Component

Stability lectures. Stability of Linear Systems. Stability of Linear Systems. Stability of Continuous Systems. EECE 571M/491M, Spring 2008 Lecture 5

Outline. Linear Matrix Inequalities in Control. Outline. System Interconnection. j _jst. ]Bt Bjj. Generalized plant framework

Course Outline. FRTN10 Multivariable Control, Lecture 13. General idea for Lectures Lecture 13 Outline. Example 1 (Doyle Stein, 1979)

Interval solutions for interval algebraic equations

MATH 425-Spring 2010 HOMEWORK ASSIGNMENTS

FINITE HORIZON ROBUST MODEL PREDICTIVE CONTROL USING LINEAR MATRIX INEQUALITIES. Danlei Chu, Tongwen Chen, Horacio J. Marquez

Linear Algebra Massoud Malek

Linear Algebra Methods for Data Mining

Introduction to linear matrix inequalities Wojciech Paszke

Research Article An Equivalent LMI Representation of Bounded Real Lemma for Continuous-Time Systems

Lecture 1: Review of linear algebra

Fast Algorithms for SDPs derived from the Kalman-Yakubovich-Popov Lemma

Chap 3. Linear Algebra

Denis ARZELIER arzelier

Linear Algebra Practice Problems

On Linear Copositive Lyapunov Functions and the Stability of Switched Positive Linear Systems

Two Results About The Matrix Exponential

Convex Optimization 1

Module 04 Optimization Problems KKT Conditions & Solvers

Geometric Modeling Summer Semester 2010 Mathematical Tools (1)

Basic Concepts in Linear Algebra

Matrix Vector Products

Semidefinite Programming Duality and Linear Time-invariant Systems

LMI Methods in Optimal and Robust Control

The SVD-Fundamental Theorem of Linear Algebra

FEL3210 Multivariable Feedback Control

1 Strict local optimality in unconstrained optimization

Nonlinear Optimization

Review of Basic Concepts in Linear Algebra

The Singular Value Decomposition

Multiobjective Optimization Applied to Robust H 2 /H State-feedback Control Synthesis

Robust and Optimal Control, Spring 2015

The Kalman-Yakubovich-Popov Lemma for Differential-Algebraic Equations with Applications

Iterative Methods for Smooth Objective Functions

Lecture 5. Ch. 5, Norms for vectors and matrices. Norms for vectors and matrices Why?

Semidefinite Programming Basics and Applications

Introduction. Chapter One

From Convex Optimization to Linear Matrix Inequalities

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2.

Linear Matrix Inequalities in Control

1 Computing with constraints

Constrained Nonlinear Optimization Algorithms

MTH 464: Computational Linear Algebra

15. Conic optimization

Marcus Pantoja da Silva 1 and Celso Pascoli Bottura 2. Abstract: Nonlinear systems with time-varying uncertainties

Stability of linear time-varying systems through quadratically parameter-dependent Lyapunov functions

Last Time. Social Network Graphs Betweenness. Graph Laplacian. Girvan-Newman Algorithm. Spectral Bisection

Rank-one LMIs and Lyapunov's Inequality. Gjerrit Meinsma 4. Abstract. We describe a new proof of the well-known Lyapunov's matrix inequality about

EE363 homework 8 solutions

Linear Algebra: Matrix Eigenvalue Problems

RECENTLY, there has been renewed research interest

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

Nonlinear Optimization for Optimal Control

Computation of eigenvalues and singular values Recall that your solutions to these questions will not be collected or evaluated.

Eigenvalue problems and optimization

An LMI Approach to the Control of a Compact Disc Player. Marco Dettori SC Solutions Inc. Santa Clara, California

Introduction to Linear Matrix Inequalities (LMIs)

Optimization Based Output Feedback Control Design in Descriptor Systems

Applied Mathematics 205. Unit II: Numerical Linear Algebra. Lecturer: Dr. David Knezevic

MATH 304 Linear Algebra Lecture 20: Review for Test 1.

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Linear Matrix Inequalities in Robust Control. Venkataramanan (Ragu) Balakrishnan School of ECE, Purdue University MTNS 2002

Chapter 7. Canonical Forms. 7.1 Eigenvalues and Eigenvectors

EE/ACM Applications of Convex Optimization in Signal Processing and Communications Lecture 2

The moment-lp and moment-sos approaches

Numerical Linear Algebra Primer. Ryan Tibshirani Convex Optimization /36-725

Solution of Linear Equations

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

Basic Math for

1 Sylvester equations

9. Introduction and Chapter Objectives

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

DELFT UNIVERSITY OF TECHNOLOGY

d A 0 + m t k A k 0 whenever λ min (B k (x)) t k λ max (B k (x)) for k = 1, 2,..., m x n B n (k).

Eigenvalues, Eigenvectors and the Jordan Form

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Dense LU factorization and its error analysis

Linear Algebra. P R E R E Q U I S I T E S A S S E S S M E N T Ahmad F. Taha August 24, 2015

In English, this means that if we travel on a straight line between any two points in C, then we never leave C.

Structure of Unital Maps and the Asymptotic Quantum Birkhoff Conjecture. Peter Shor MIT Cambridge, MA Joint work with Anand Oza and Dimiter Ostrev

CHARACTERIZATIONS. is pd/psd. Possible for all pd/psd matrices! Generating a pd/psd matrix: Choose any B Mn, then

Static Output Feedback Stabilisation with H Performance for a Class of Plants

Example: Filter output power. maximization. Definition. Eigenvalues, eigenvectors and similarity. Example: Stability of linear systems.

and Mixed / Control of Dual-Actuator Hard Disk Drive via LMIs

Lecture 9: Numerical Linear Algebra Primer (February 11st)

Math 671: Tensor Train decomposition methods

7.1 Linear Systems Stability Consider the Continuous-Time (CT) Linear Time-Invariant (LTI) system

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems

State estimation of uncertain multiple model with unknown inputs

Linear Algebra Methods for Data Mining

Transcription:

Linear Matrix Inequalities in Control Delft Center for Systems and Control (DCSC) Delft University of Technology The Netherlands Department of Electrical Engineering Eindhoven University of Technology The Netherlands 1/23

Introduction Overview: What can be expected from LMI techniques? What are LMI s and what are they good for? Example: Truss topology design Software Some aspects of linear algebra 2/23

Merging Control and Optimization In contrast to classical control, H -synthesis allows to design controllers in an optimal fashion. However the H -paradigm is restricted: Performance spec in terms of complete closed-loop transfer-matrix. Sometimes only particular channels are relevant. One measure of performance with clear interpretation in frequency domain. Often particular time-domain specs have to be imposed. No incorporation of structured time-varying/nonlinear uncertainties. Can only design LTI controllers. View controller as decision variable of optimization problem. Desired specifications are constraints on controlled closed-loop system. 3/23

Major Goals for Optimization and Control Distinguish easy from difficult problems: Convexity is key. What are the consequences of convexity in optimization? What is robust optimization? How can we check robust stability by convex optimization? Which performance measures can be incorporated? How can controller synthesis be convexified? What are the limits for the synthesis of robust controllers? How can we perform systematic gain-scheduling? 4/23

Linear Matrix Inequalities (LMIs) An LMI is an inequality of the form F 0 + x 1 F 1 + + x n F n 0 where F 0, F 1,..., F n are real symmetric matrices and x 1,..., x n are real scalar unknowns. LMI feasibility problem: Test whether there exist x 1,..., x n that render the LMI satisfied. LMI optimization problem: Minimize c 1 x 1 + + c n x n over all x 1,..., x n that satisfy the LMI. Only simple cases can be treated analytically Numerical techniques. 5/23

Recap For a real or complex matrix A the inequality A 0 means that A is Hermitian and negative definite. A is defined to be Hermitian if A = A = ĀT. If A is real then this amounts to A = A T and A is called symmetric. Set of n n Hermitian and symmetric matrices: H n and S n. All eigenvalues of Hermitian matrices are real. Suppose A is Hermitian. By definition A is negative definite if x Ax < 0 for all complex vectors x 0. A is negative definite iff all its eigenvalues are negative. A B, A B, A B, A B defined/characterized analogously. 6/23

Observation: System of LMI s is LMI The system of m individual LMI s is equivalent to the single LMI F0 1 0... + 0 F m 0 F 1 0 + x 1 F 1 1 + + x n F 1 n 0. F m 0 + x 1 F m 1 + + x n F m n 0 n k=1 x k F 1 k 0... 0 F m k 0. Assuming single LMI constraint causes no loss of generality. Good solvers exploit diagonal structure for computational efficiency! 7/23

What are they good for? Many engineering optimization problem can be easily translated into LMI problems. Various computationally difficult optimization problems can be effectively approximated by LMI problems. In practice description of data is affected by uncertainty. Robust optimization problems can be either translated or approximated by standard LMI problems. Essential topic of this course How to translate/approximate a given (uncertain) optimization problem into/by an LMI problem? 8/23

Truss Topology Design 250 200 150 100 50 0 0 50 100 150 200 250 300 350 400 9/23

Example: Truss Topology Design Connect nodes with N bars of length l = col(l 1,..., l N ) (fixed) and cross-sections s = col(s 1,..., s N ) (to-be-designed). Impose bounds a k s k b k on cross-section and l T s v on total volume (weight). Abbreviate a = col(a 1,..., a N ), b = col(b 1,..., b N ). If applying external forces f = col(f 1,..., f M ) (fixed) on nodes the construction reacts with the node displacement d = col(d 1,..., d M ). Mechanical model: A(s)d = f where A(s) is the stiffness matrix which depends linearly on s and has to be positive definite. Goal is to maximize stiffness what amounts to minimizing the elastic stored energy f T d. 10/23

Example: Truss Topology Design Find s R N which maximizes f T d subject to the constraints Features A(s) 0, A(s)d = f, l T s v, a s b. Data: Scalar v, vectors f, a, b, l, and symmetric matrices A 1,..., A N which define the linear mapping A(s) = A 1 s 1 + + A N s N. Decision variables: Vectors s and d. Objective function: d f T d which happens to be linear. Constraints: Semi-definite constraint A(s) 0, nonlinear equality constraint A(s)d = f, and linear inequality constraints l T s v, a s b. Latter interpreted elementwise! 11/23

From Truss Topology Design to LMI s Render LMI inequality strict. Equality constraint A(s)d = f allows to eliminate d which results in minimize f T A(s) 1 f subject to A(s) 0, l T s v, a s b. Push objective to constraints with auxiliary variable: minimize γ subject to γ > f T A(s) 1 f, A(s) 0, l T s v, a s b. Linearize with Schur lemma to equivalent LMI problem minimize subject to γ ( γ f f T A(s) ) 0, l T s v, a s b. 12/23

Congruence Transformations Given a Hermitian matrix A and a square non-singular matrix T, A T AT is called a congruence transformation of A. Congruence transformations preserve negative/positive definiteness of a matrix. The following general statement is easy to remember. If A is Hermitian and T is nonsingular, the matrices A and T AT have the same number of negative, zero, positive eigenvalues. What is true if T is not square?... if T has full column rank? 13/23

Schur-Lemma ( The Hermitian block matrix if and only if ) Q S is negative definite R S T Q 0 and R S T Q 1 S 0 if and only if R 0 and Q SR 1 S T 0. Proof. First equivalence follows from ( ) ( ) ( I 0 Q S I Q 1 S S T Q 1 I S T R 0 I ) ( Q 0 = 0 R S T Q 1 S ). Often allows to turn rational matrix inequalities into LMI s! 14/23

Yalmip-Coding: Truss Toplogy Design minimize subject to γ ( γ f f T A(s) ) 0, l T s v, a s b. Suppose A(s)= N k=1 s km k m T k with vectors m k collected in matrix M. The following code with Yalmip commands solves LMI problem: gamma=sdpvar(1,1); x=sdpvar(n,1, full ); lmi=set([gamma f ;f M*diag(x)*M ]); lmi=lmi+set(l *x<=v); lmi=lmi+set(a<=x<=b); options=sdpsettings( solver, csdp ); solvesdp(lmi,gamma,options); s=double(x); 15/23

Result: Truss Toplogy Design 250 200 150 100 50 0 0 50 100 150 200 250 300 350 400 16/23

Quickly Accessible Software General purpose Matlab interface Yalmip: Free code developed by J. Löfberg and accessible at http://control.ee.ethz.ch/~joloef/yalmip.msql Can use usual Matlab-syntax to define optimization problem. Is extremely easy to use and very versatile. Highly recommended! Provides access to a whole suite of public and commercial optimization solvers, including fastest available dedicated LMI-solvers. Matlab LMI-Toolbox for dedicated control applications. Has been recently integrated with updated version of µ-toolbox. 17/23

Example: Stability of LTI Systems The linear time-invariant dynamical system ẋ(t) = Ax(t) is exponentially stable if and only if there exists K with K 0 and A T K + KA 0. Two inequalities can be combined as ( K 0 0 A T K + KA ) 0. Since the left-hand side depends affinely on the matrix variable K, this is indeed a standard strict feasibility test! Matrix variables are fully supported by Yalmip and LMI-toolbox! 18/23

General Formulation of LMI Problems Let X be a finite-dimensional real vector space. Suppose the mappings c : X R and F : X H m are affine (constant plus linear). LMI feasibility problem: Test existence of X X with F (X) 0. LMI optimization problem: Minimize c(x) over all X X that satisfy the LMI F (X) 0. Translation to standard form: Choose basis X 1,..., X n of X and parameterize X = x 1 X 1 + + x n X n. For any affine f infer n n f( x k X k ) = f(0) + x k [f(x k ) f(0)]. k=1 k=1 19/23

Diverse Remarks The standard basis of R p q is X (k,l), k = 1,..., p, l = 1,..., q, where the only nonzero element of X (k,l) is one at position (k, l). General affine equation constraint can be routinely eliminated - just recall how we can parameterize the solution set of general affine equations. This might be cumbersome and is not required in Yalmip. If F (X) is linear in X, then F (X) 0 implies F (αx) 0 for all α > 0. With some solvers this might cause numerical trouble. Avoided by normalization or extra constraints. Example. In stability test verify feasibility of following equivalent LMI system: trace(k) = 1, K 0 and A T K + KA 0. 20/23

Recap Let A be a real or complex matrix. The set of its eigenvalues is denoted as λ(a). If A has only real eigenvalues then λ max (A) and λ min (A) denote the largest and the smallest eigenvalue of A. Remember: If A = A then λ min (A)I A λ max (A)I. The elements of λ(a A) are called the singular values of A, and σ max (A), σ min (A) denote the largest, smallest singular values. The spectral norm of A is defined by A = σ max (A) = λ max (A A). Remember: σ min (A) 2 I A A σ max (A) 2 I. 21/23

Recap The proofs of these results are very simple. They allow to derive a whole variety of other facts that are required at various points during the course, as those that we already alluded to! Example. If A 0, M = M, M < λ max (A) then A+M 0. Tow excellent sources for linear algebra: R. Horn, C. Johnson. Matrix Analysis. Cambridge University Press, New York, (1985). G.H. Golub, C.F. van Loan. Matrix Computations. The Johns Hopkins University Press, Baltimore, 3rd edition (1996). 22/23

Lessons to be Learnt Many interesting engineering problems are LMI problems. Variables can live in arbitrary vector space. In control: Variables are typically matrices. Can involve equation and inequality constraints. Just check whether cost function and constraints are affine. Translation to standard form is done by parser (Yalmip). Can choose among many efficient LMI solvers. Main trick in removing nonlinearities so far: Schur Lemma. 23/23