MCE/EEC 647/747: Robot Dynamics and Control. Lecture 8: Basic Lyapunov Stability Theory

Similar documents
MCE693/793: Analysis and Control of Nonlinear Systems

Topic # /31 Feedback Control Systems. Analysis of Nonlinear Systems Lyapunov Stability Analysis

Nonlinear Control. Nonlinear Control Lecture # 3 Stability of Equilibrium Points

Nonlinear Systems and Control Lecture # 12 Converse Lyapunov Functions & Time Varying Systems. p. 1/1

Nonlinear systems. Lyapunov stability theory. G. Ferrari Trecate

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 12: Multivariable Control of Robotic Manipulators Part II

Solution of Additional Exercises for Chapter 4

EG4321/EG7040. Nonlinear Control. Dr. Matt Turner

EN Nonlinear Control and Planning in Robotics Lecture 3: Stability February 4, 2015

Nonlinear Control. Nonlinear Control Lecture # 8 Time Varying and Perturbed Systems

Stability in the sense of Lyapunov

2 Lyapunov Stability. x(0) x 0 < δ x(t) x 0 < ɛ

Stability of Nonlinear Systems An Introduction

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

Lyapunov Stability Theory

Chapter III. Stability of Linear Systems

Modeling & Control of Hybrid Systems Chapter 4 Stability

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

Nonlinear Control. Nonlinear Control Lecture # 2 Stability of Equilibrium Points

Nonlinear Control Lecture 4: Stability Analysis I

1. Find the solution of the following uncontrolled linear system. 2 α 1 1

Dynamical Systems & Lyapunov Stability

There is a more global concept that is related to this circle of ideas that we discuss somewhat informally. Namely, a region R R n with a (smooth)

Using Lyapunov Theory I

3 rd Tutorial on EG4321/EG7040 Nonlinear Control

Introduction to Nonlinear Control Lecture # 3 Time-Varying and Perturbed Systems

Lyapunov stability ORDINARY DIFFERENTIAL EQUATIONS

E209A: Analysis and Control of Nonlinear Systems Problem Set 6 Solutions

Automatic Control 2. Nonlinear systems. Prof. Alberto Bemporad. University of Trento. Academic year

1 Lyapunov theory of stability

Nonlinear System Analysis

CDS 101 Precourse Phase Plane Analysis and Stability

CDS Solutions to the Midterm Exam

Nonlinear Control Lecture 5: Stability Analysis II

MCE693/793: Analysis and Control of Nonlinear Systems

Lyapunov Stability Analysis: Open Loop

Prof. Krstic Nonlinear Systems MAE281A Homework set 1 Linearization & phase portrait

Georgia Institute of Technology Nonlinear Controls Theory Primer ME 6402

EE363 homework 7 solutions

Nonlinear Control. Nonlinear Control Lecture # 8 Time Varying and Perturbed Systems

Handout 2: Invariant Sets and Stability

Hybrid Control and Switched Systems. Lecture #11 Stability of switched system: Arbitrary switching

MCE693/793: Analysis and Control of Nonlinear Systems

2.10 Saddles, Nodes, Foci and Centers

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 2: Rigid Motions and Homogeneous Transformations

Modeling and Analysis of Dynamic Systems

Lecture 9 Nonlinear Control Design

Represent this system in terms of a block diagram consisting only of. g From Newton s law: 2 : θ sin θ 9 θ ` T

Converse Lyapunov theorem and Input-to-State Stability

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

3. Fundamentals of Lyapunov Theory

Practice Problems for Final Exam

Robotics. Control Theory. Marc Toussaint U Stuttgart

CDS 101/110a: Lecture 2.1 Dynamic Behavior

EE363 homework 8 solutions

Introduction to Nonlinear Control Lecture # 4 Passivity

Lecture 15 Perron-Frobenius Theory

CDS 101/110a: Lecture 2.1 Dynamic Behavior

Switched systems: stability

LECTURE 8: DYNAMICAL SYSTEMS 7

Hybrid Systems Course Lyapunov stability

1. Type your solutions. This homework is mainly a programming assignment.

Video 8.1 Vijay Kumar. Property of University of Pennsylvania, Vijay Kumar

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Lecture Note 1: Background

3 Stability and Lyapunov Functions

STABILITY ANALYSIS OF DYNAMIC SYSTEMS

Hybrid Systems - Lecture n. 3 Lyapunov stability

High-Gain Observers in Nonlinear Feedback Control

DO NOT DO HOMEWORK UNTIL IT IS ASSIGNED. THE ASSIGNMENTS MAY CHANGE UNTIL ANNOUNCED.

Lecture 2: Controllability of nonlinear systems

Dissipativity. Outline. Motivation. Dissipative Systems. M. Sami Fadali EBME Dept., UNR

LMI Methods in Optimal and Robust Control

Control Systems. Internal Stability - LTI systems. L. Lanari

Mathematical Systems Theory: Advanced Course Exercise Session 5. 1 Accessibility of a nonlinear system

DOMAIN OF ATTRACTION: ESTIMATES FOR NON-POLYNOMIAL SYSTEMS VIA LMIS. Graziano Chesi

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

COSMOS: Making Robots and Making Robots Intelligent Lecture 3: Introduction to discrete-time dynamics

Grammians. Matthew M. Peet. Lecture 20: Grammians. Illinois Institute of Technology

STABILITY. Phase portraits and local stability

Global Analysis of Piecewise Linear Systems Using Impact Maps and Quadratic Surface Lyapunov Functions

Chap 8. State Feedback and State Estimators

Half of Final Exam Name: Practice Problems October 28, 2014

Nonlinear Autonomous Systems of Differential

Global Analysis of Piecewise Linear Systems Using Impact Maps and Surface Lyapunov Functions

Functions of Several Variables

Convergence Rate of Nonlinear Switched Systems

Nonlinear Control Lecture 7: Passivity

2.3. VECTOR SPACES 25

High-Gain Observers in Nonlinear Feedback Control. Lecture # 2 Separation Principle

Nonlinear Control Systems

Mathematics for Control Theory

Solutions for B8b (Nonlinear Systems) Fake Past Exam (TT 10)

Solution of Linear State-space Systems

1.7. Stability and attractors. Consider the autonomous differential equation. (7.1) ẋ = f(x),

Output Feedback and State Feedback. EL2620 Nonlinear Control. Nonlinear Observers. Nonlinear Controllers. ẋ = f(x,u), y = h(x)

Control of Robotic Manipulators

Lecture 6 Verification of Hybrid Systems

Theorem 1. ẋ = Ax is globally exponentially stable (GES) iff A is Hurwitz (i.e., max(re(σ(a))) < 0).

8.7 MacLaurin Polynomials

Transcription:

MCE/EEC 647/747: Robot Dynamics and Control Lecture 8: Basic Lyapunov Stability Theory Reading: SHV Appendix Mechanical Engineering Hanz Richter, PhD MCE503 p.1/17 Stability in the sense of Lyapunov A dynamic system ẋ = f(x) is Lyapunov stable or internally stable about an equilibrium point x eq if state trajectories are confined to a bounded region whenever the initial condition x 0 is chosen sufficiently close to x eq. Mathematically, given R > 0 there always exists r > 0 so that if x 0 x eq < r, then x(t) x eq < R for all t > 0. As seen in the figure R defines a desired confinement region, while r defines the neighborhood of x eq where x 0 must belong so that x(t) does not exit the confinement region. R x eq r x 0 x(t) MCE503 p.2/17

Stability in the sense of Lyapunov... Note: Lyapunov stability does not require x(t) to converge to x eq. The stronger definition of asymptotic stability requires that x(t) x eq as t. Input-Output stability (BIBO) does not imply Lyapunov stability. The system can be BIBO stable but have unbounded states that do not cause the output to be unbounded (for example take x 1 (t), with y = Cx = [01]x). The definition is difficult to use to test the stability of a given system. Instead, we use Lyapunov s stability theorem, also called Lyapunov s direct method. This theorem is only a sufficient condition, however. When the test fails, the results are inconclusive. It s still the best tool available to evaluate and ensure the stability of nonlinear systems. MCE503 p.3/17 Lyapunov s Linearization Method This method allows us to determine the stability of the nonlinear system about the equilibrium point on the basis of the linearized system. Simply: If the eigenvalues of the A matrix in the linearized system have negative real parts, the nonlinear system is stable about the equilibrium point. If at least one eigenvalue of the A matrix in the linearized system has positive real part, the nonlinear system is unstable about the equilibrium point. If at least one eigenvalue ofthe A matrix in the linearized system has zero real part, the test is inconclusive. The linear approximation is insufficient to determine stability. However, methods exist to include higher-order terms (center manifold technique). MCE503 p.4/17

Positive-Definite Functions and Matrices The function f : R n R is positive semidefinite if f(0) = 0 and f(x) 0 for all x R n. If f(x) > 0 for all nonzero x R n, then f is positive definite. Example: f(x 1, x 2 ) = x 2 1 + x 2 2 + sin 2 (x 1 ) is positive-definite. If f(x) 0 (resp. f(x) > 0) in a subset A R n, we say that f is positive-semidefinite (resp. positive definite) in A. When f(x) is a quadratic function defined through a symmetric matrix P as f(x) = x T Px then we say that P is positive-semidefinite (resp. positive definite) when the associated function is so. Finally, if f is positive-semidefinite (resp. positive definite), we say that f is negative-semidefinite (resp. negative definite). If f changes sign, it is signindefinite. MCE503 p.5/17 Testing for Positive-Definite Matrices Suppose f(x) = x 2 1 + 2x2 2 0.1x2 3 x 1x 2 + 8x 2 x 3 5x 1 x 3. How can we tell if f is sign-definite? The symmetric matrix associated with f is 1 1 2 5 2 P = 1 2 2 4 5 2 4 0.1 The eigenvalue test can be applied. If all eigenvalues are nonnegative, we have a p.s.d. matrix. If they are all positive, we have a p.d. matrix. The same idea applies for n.s.d. and n.d. If the eigenvalues have mixed signs, the matrix is sign-indefinite. (1) MCE503 p.6/17

Lyapunov s Direct Method For simplicity, suppose the origin is an equilibrium point. Suppose we find a function V : R n R which has continuous first partial derivatives and is positive-definite in a region surrounding the origin. We call this function a candidate Lyapunov function. If the function V is negative-semidefinite in the same region, then the origin is a stable equilibrium point. When the region where V is p.d. and V is n.s.d. can be extended to the whole state-space, we say that the origin is globally stable. MCE503 p.7/17 Necessary vs. Sufficient Suppose we have a condition A and a property B. (think V > 0, V 0 as a condition and stability as the property) We have several possible logical relationships: When A is true, then B must be true, but if A is false, nothing can be said about B. Then A is a sufficient condition, represented as A B (A implies B). Example: If you live in the USA (A), then you live in North America (B). (if you say you don t live in the USA, we can t tell whether you live in North America or not). When B is true, then A must be true, but if B is false, nothing can be said about A. Then A is a necessary condition, represented as B A (B implies A). Example: Living in North America (A) is a necessary condition for living in the USA (B). When A is true, then B must be true, and if A is false, then B is also false. Then A and B are necessary and sufficient conditions for each other, represented as A B. We also say A if and only if B. Example: A MCE503 p.8/17 linear system is stable if and only if the eigenvalues of A have negative real

Sufficient Conditions and Conservativeness It is important to realize that sufficient conditions are conservative. Suppose you are trying to determine whether someone lives in North America. Then you decide to use the question Do you live in the USA? as a test. Your condition is only sufficient. It doesn t help you when the answer is No. As a result, you will not be able to accurately estimate how many people lives in North America from those who you interviewed. It is important to realize that the Lyapunov theorem is only sufficient. As a consequence, if the Lyapunov function candidate does not have n.s.d. derivative, it does not mean that the system is unstable. There are some instability theorems, however (sufficient condition for instability). Of course, if they fail, it doesn t mean the system is stable! MCE503 p.9/17 Example Consider the nonlinear system ẋ 1 ẋ 2 = 2x 1 + x 2 u = x 1 u The origin is an equilibrium point. Check the stability of the system using the Lyapunov function candidate V (x 1,x 2 ) = 1 2 (x2 1 + x 2 2) MCE503 p.10/17

Asymptotic Stability and Global Asymptotic Stability Stronger conditions on V and its derivative are required for asymptotic stability and global asymptotic stability 1. If V is negative-definite ( V < 0), then the origin is asymptotically stable. 2. If in addition V (x) as x (V is radially unbounded), then the origin is globally asymptotically stable. Global asymptotic stability, also known as asymptotic stability in the large is the most desirable situation. MCE503 p.11/17 Region of Attraction Suppose an equilibrium point x eq is asymptotically stable, but not globally. We would like to determine the largest region surrounding x eq which results in trajectories which converge to x eq. Such region is called region of attraction. In practical terms, if we design a closed-loop nonlinear control system to regulate the state to x eq, we want to determine the safe region of operation. A somewhat conservative way to estimate this region is through a Lyapunov function. The estimated region of attraction is the region in which V > 0 and V < 0. When V (x) and f(x) are sufficiently simple, we may determine this region analytically. Otherwise we can use a numerical technique (HW4). This method is conservative because the Lyapunov stability theorem is only sufficient, not necessary. That is, the actual region of attraction will be larger. MCE503 p.12/17

2D and 3D: Region of Attraction by Spherical Sweep When V is complex enough to prevent analysis, we can explore the region where V < 0 by a numerical method. A simple way to do this is to determine a spherical region. This will introduce additional conservativeness, since the actual region of attraction is generally not spherical. We determine a radius of attraction by setting up a computer iteration (3 nested for loops) that vary the r, θ and φ parameters of the spherical coordinate system. For each combination of r, θ and φ, we find the corresponding x 1,x 2,x 3 coordinates and evaluate V to determine its sign. We continue until V > 0. The limiting value of r gives us the radius of attraction estimate. MCE503 p.13/17 Example Consider the nonlinear system: ẋ 1 = sin(x 1 )cos(x 2 ) ẋ 2 = cos(x 1 )sin(x 2 ) 1. Find the equilibrium points and use Lyapunov s linearization method to determine their stability 2. Use the quadratic Lyapunov function V (x 1,x 2 ) = 1 2 ((x 1 π) 2 + (x 2 + π) 2 ) to study the stability of the equilibrium point (π, π). Determine a region of attraction by a computer-generated contour plot and a radius of attraction by a polar coordinate sweep. MCE503 p.14/17

Quadratic Lyapunov Functions and Linear Systems Consider the linear system ẋ = Ax and the quadratic Lyapunov function V (x) = x T P x, with P being symmetric and positive-definite. The derivative of V is V = ẋ T Px + x T Pẋ = x T (A T P + PA)x The linear system defined by A is asymptotically stable (A is Hurwitz) if A T P + PA is negative-definite. This is referred to as a Lyapunov inequality. We can turn this into an equality by making A T P + PA = Q where Q is an arbitrary positive-definite matrix. We can solve for P using Matlab s lyap command. If P turns out to be positive-definite, we conclude asymptotic stability. Note: Matlab s lyap uses the transpose of A. MCE503 p.15/17 Sufficiency of Lyapunov s Theorem for Linear Systems For linear systems, the existence of P so that A T P + PA < 0 is necessary and sufficient for stability: If the linear system is asymptotically stable, there has to be a P proving it. We can find a P by choosing an arbitrary Q > 0 and solving Lyapunov s equation. If the linear system is unstable and the Lyapunov equation is solved for P using an arbitrary Q > 0, P will not be positive-definite or a unique solution may not exist. In summary, any quadratic function V = x T Px can be used to prove the asymptotic stability of a linear system. MCE503 p.16/17

Example: Linear Systems Find a quadratic Lyapunov function for the linearized system of the previous example about (π, π) using Lyapunov s equation. Use a similar method to prove that (π/2, π/2) is unstable. MCE503 p.17/17