CDS 101/110a: Lecture 2.1 Dynamic Behavior

Similar documents
CDS 101/110a: Lecture 2.1 Dynamic Behavior

CDS 101: Lecture 5-1 Reachability and State Space Feedback

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

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Predictability: Does the Flap of a Butterfly s Wings in Brazil set off a Tornado

CDS 101: Lecture 4.1 Linear Systems

CDS 101 Precourse Phase Plane Analysis and Stability

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization

3 Stability and Lyapunov Functions

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

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

CDS 110: Lecture 2-2 Modeling Using Differential Equations

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

Lecture 9 Nonlinear Control Design

STABILITY. Phase portraits and local 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)

Math 266: Phase Plane Portrait

Lyapunov Stability Theory

Georgia Institute of Technology Nonlinear Controls Theory Primer ME 6402

1 The pendulum equation

Stability of Nonlinear Systems An Introduction

CDS 101: Lecture 2.1 System Modeling

Dynamical Systems & Lyapunov Stability

System Control Engineering 0

Chapter Four. Dynamic Behavior. 4.1 Solving Differential Equations

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Control Systems I. Lecture 4: Diagonalization, Modal Analysis, Intro to Feedback. Readings: Emilio Frazzoli

Nonlinear Control Lecture 1: Introduction

An Introduction for Scientists and Engineers SECOND EDITION

A plane autonomous system is a pair of simultaneous first-order differential equations,

LMI Methods in Optimal and Robust Control

LMI Methods in Optimal and Robust Control

LECTURE 8: DYNAMICAL SYSTEMS 7

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

System Control Engineering

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

Control Systems I. Lecture 2: Modeling. Suggested Readings: Åström & Murray Ch. 2-3, Guzzella Ch Emilio Frazzoli

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

Stabilization of a Chain of Exponential Integrators Using a Strict Lyapunov Function

Physics: spring-mass system, planet motion, pendulum. Biology: ecology problem, neural conduction, epidemics

Problem set 7 Math 207A, Fall 2011 Solutions

16.30/31, Fall 2010 Recitation # 13

Robotics. Control Theory. Marc Toussaint U Stuttgart

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

B5.6 Nonlinear Systems

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

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

Applied Dynamical Systems

Coupled differential equations

Solutions 2: Simple Harmonic Oscillator and General Oscillations

Lecture 9 Nonlinear Control Design. Course Outline. Exact linearization: example [one-link robot] Exact Feedback Linearization

EC Control Engineering Quiz II IIT Madras

4 Second-Order Systems

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

Introduction to Modern Control MT 2016

(Refer Slide Time: 00:32)

Nonlinear Autonomous Systems of Differential

Chapter #4 EEE8086-EEE8115. Robust and Adaptive Control Systems

EE222 - Spring 16 - Lecture 2 Notes 1

CDS 101: Lecture 2.1 System Modeling. Lecture 1.1: Introduction Review from to last Feedback week and Control

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

1 Lyapunov theory of stability

ANSWERS Final Exam Math 250b, Section 2 (Professor J. M. Cushing), 15 May 2008 PART 1

BIFURCATION PHENOMENA Lecture 1: Qualitative theory of planar ODEs

Linearization problem. The simplest example

Fundamentals of Dynamical Systems / Discrete-Time Models. Dr. Dylan McNamara people.uncw.edu/ mcnamarad

Linear control of inverted pendulum

28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod)

An Introduction for Scientists and Engineers SECOND EDITION

Department of Mathematics IIT Guwahati

8 Ecosystem stability

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

Now I switch to nonlinear systems. In this chapter the main object of study will be

Chapter 6 Nonlinear Systems and Phenomena. Friday, November 2, 12

PH.D. PRELIMINARY EXAMINATION MATHEMATICS

Dynamical Systems and Chaos Part I: Theoretical Techniques. Lecture 4: Discrete systems + Chaos. Ilya Potapov Mathematics Department, TUT Room TD325

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

MATH 215/255 Solutions to Additional Practice Problems April dy dt

154 Chapter 9 Hints, Answers, and Solutions The particular trajectories are highlighted in the phase portraits below.

Stability in the sense of Lyapunov

MCE693/793: Analysis and Control of Nonlinear Systems

Control Systems I. Lecture 2: Modeling and Linearization. Suggested Readings: Åström & Murray Ch Jacopo Tani

MATH 18.01, FALL PROBLEM SET #5 SOLUTIONS (PART II)

Module 06 Stability of Dynamical Systems

CDS 110b: Lecture 2-1 Linear Quadratic Regulators

Stabilization of a 3D Rigid Pendulum

Handout 2: Invariant Sets and Stability

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

Complex Dynamic Systems: Qualitative vs Quantitative analysis

Modeling and Analysis of Dynamic Systems

Nonlinear Control Lecture 4: Stability Analysis I

ENGI 9420 Lecture Notes 4 - Stability Analysis Page Stability Analysis for Non-linear Ordinary Differential Equations

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

for changing independent variables. Most simply for a function f(x) the Legendre transformation f(x) B(s) takes the form B(s) = xs f(x) with s = df

CDS Solutions to the Midterm Exam

Math 312 Lecture Notes Linear Two-dimensional Systems of Differential Equations

B5.6 Nonlinear Systems

6.2 Brief review of fundamental concepts about chaotic systems

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

In the presence of viscous damping, a more generalized form of the Lagrange s equation of motion can be written as

Transcription:

CDS 11/11a: Lecture 2.1 Dynamic Behavior Richard M. Murray 6 October 28 Goals: Learn to use phase portraits to visualize behavior of dynamical systems Understand different types of stability for an equilibrium point Know the difference between local/global stability and related concepts Reading: Åström and Murray, Feedback Systems, Chapter 4 [9 minutes] Advanced: S. H. Strogatz, Nonlinear Dynamics and Chaos, Chapter 6

Dynamic Behavior (and Stability) Actuate Gas Pedal Sense Vehicle Speed Compute Control Law Goal #1: Stability Check if closed loop response is stable Goal #2: Performance Look at how the closed loop system behaves, in a dynamic context Goal #3: Robustness (later) control law system input Response depends on choice of control (all are stable) CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 2

Phase Portraits (2D systems only) Phase plane plots show 2D dynamics as vector fields & stream functions ẋ = f(x, u(x)) = F (x) Plot F(x) as a vector on the plane; stream lines follow the flow of the arrows phaseplot( dosc,... [-1 1 1], [-1 1 1],.1,... boxgrid([-1 1 1], [-1 1 1])); 1 1.5.5!.5!.5!1!1!.5.5 1!1!1!.5.5 1 CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 3

Stability of Equilibrium Points An equilibrium point is: Stable if initial conditions that start near the equilibrium point, stay near Also called stable in the sense of Lyapunov Asymptotically stable if all nearby initial conditions converge to the equilibrium point Stable + converging Unstable if some initial conditions diverge from the equilibrium point May still be some initial conditions that converge.5!.5!1!1!.5.5 1 1.5!.5 1!1!1!.5.5 1 1.5!.5, 2 1!1!2 2 4 6 8 1 time x() x e < δ = x(t) x e < ɛ,, 1.5!.5!1 2 4 6 8 1 time lim t x(t) =x e 1 5!5!1 1 2 3 4 5 time x() x e < ɛ!1!1!.5.5 1 CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 6 4

Equilibrium Points Equilibrium points represent stationary conditions for the dynamics The equilibria of the system x = F(x) are the points x e such that f(x e ) =. dx dt = [ ] x 2 sin x 1 γx 2 x e = [ ] ±nπ CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 5

Example #1: Double Inverted Pendulum Two series coupled pendula States: pendulum angles (2), velocities (2) Dynamics: F = ma (balance of forces) Dynamics are very nonlinear Eq #1 Eq #2 Eq #3 Eq #4 Stability of equilibria Eq #1 is stable Eq #3 is unstable Eq #2 and #4 are unstable, but with some stable modes CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 6

Stability of Linear Systems Linear dynamical system with state x R: n dx dt = Ax x() = x, Stability determined by the eigenvalues λ(a) = {s C : det(si A) = } Simplest case: diagonal A matrix (all eigenvalues are real) λ 1 ẋ i = λ i x i dx dt = λ 2... x x i (t) = e λit x() λ n System is asy stable if λ i < Block diagonal case (complex eigenvalues) σ 1 ω 1 dx ω 1 σ 1 dt =..... x σ m ω m ω m σ m x 2j 1 (t) = e σ jt ( x i () cos ω j t + x i+1 () sin ω j t ) x 2j (t) = e σ jt ( x i () sin ω j t x i+1 () cos ω j t ) System is asy stable if Re λ i = σ i < Theorem linear system is asymptotically stable if and only if Re λ i < λ i λ(a) CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 7

Local Stability of Nonlinear Systems Asymptotic stability of the linearization implies local asymptotic stability of equilibrium point Linearization around equilibrium point captures tangent dynamics ẋ = F (x e ) + F x (x x e ) + higher order terms xe approx z = x x e ż = Az If linearization is unstable, can conclude that nonlinear system is locally unstable If linearization is stable but not asymptotically stable, can t conclude anything about nonlinear system: linearize linearization is stable (but not asy stable) nonlinear system can be asy stable or unstable Local approximation particularly appropriate for control systems design Control often used to ensure system stays near desired equilibrium point If dynamics are well-approximated by linearization near equilibrium point, can use this to design the controller that keeps you there (!) CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 8

Example: Stability Analysis of Inverted Pendulum System dynamics dx dt = [ ] x 2, sin x 1 γx 2 Upward equilibrium: θ = x 1 1 = sin x 1 x 1 [ ] = dx dt = x 2 x 1 γx 2 [ ] 1 x 1 γ Eigenvalues: 1 2 γ ± 1 2 4 + γ 2 Downward equilibrium: Linearize around = π + z1: z 1 = x 1 π z 2 = x 2 = sin(π + z 1 )= sin z 1 z 1 [ ] [ ] dz dt = z 2 1 = z z 1 γ z 2 1 γ Eigenvalues: 1 2 γ ± 1 2 4 + γ 2 CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 9

Reasoning about Stability using Lyapunov Functions Basic idea: capture the behavior of a system by tracking energy in system Find a single function that captures distance of system from equilibrium Try to reason about the long term behavior of all solutions Example: spring mass system Can we show that all solutions return to rest w/out explicitly solving ODE? Idea: look at how energy evolves in time Start by writing equations in state space form Compute energy and its derivative V (x) = 1 2 k 1 + 1 2 m 2 dx dt = [ dv dt = kx 1ẋ 1 + mx 2 ẋ 2 m q + c q + kq = x 2 k m x 1 c m x 2 ] x 1 = q x 2 = q = kx 1 x 2 + mx 2 ( c m x 2 k m x 1) = cx 2 2 Energy is positive x 2 must eventually go to zero If x 2 goes to zero, can show that x 1 must also approach zero (Krasovskii-Lasalle) CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 1

Local versus Global Behavior Stability is a local concept Equilibrium points define the local behavior of the dynamical system Single dynamical system can have stable and unstable equilibrium points Region of attraction Set of initial conditions that converge to a given equilibrium point CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 11

Example #2: Predator Prey (ODE version) Continuous time (ODE) version of predator prey dynamics: ( dh dt = rh 1 H k dl dt = b ahl c + H ) Equilibrium points (2) ~(2.5, 29.5): unstable (, ): unstable ahl c + H H dl L. Lynxes Limit cycle Population of each species oscillates over time Limit cycle is stable (nearby solutions converge to limit cycle) This is a global feature of the dynamics (not local to an equilibrium point) 1 Continuous time (ODE) model MATLAB: predprey.m (from web page) 8 6 4 2 2 4 6 8 1 12 Hares stable unstable CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 12

Simpler Example of a Limit Cycle Dynamics: Stability of invariant set dx 1 dt dx 2 dt = x 2 x 1 (1 x 2 1 x 2 2) Note that x = 1 is an invariant set From simulation, x(t+t) = x(t) V (x) = 1 1 x 2 4( 1 x 2 ) 2 2 = x 1 x 2 (1 x 2 1 x 2 2). V (x) = ( ẋ 1 + x 2 ẋ 2 )(1 x 2 1 x 2 2) = = (x 2 1 + x 2 2) ( 1 x 2 1 x 2 2 ) 2 CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 13

Summary: Stability and Performance Key topics for this lecture Stability of equilibrium points Eigenvalues determine stability for linear systems Local versus global behavior 1 8 Lynxes 6 4 2 2 4 6 8 1 12 Hares CDS 11/11, 6 Oct 8 Richard M. Murray, Caltech CDS 14