EE16B, Spring 2018 UC Berkeley EECS. Maharbiz and Roychowdhury. Lectures 4B & 5A: Overview Slides. Linearization and Stability

Similar documents
EE16B, Spring 2018 UC Berkeley EECS. Maharbiz and Roychowdhury. Lecture 5B: Open QA Session

EE16B, Spring 2018 UC Berkeley EECS. Maharbiz and Roychowdhury. Lecture 4A: Overview Slides. State Space Representations

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

Designing Information Devices and Systems II Spring 2018 J. Roychowdhury and M. Maharbiz Discussion 6B

Chap 4. State-Space Solutions and

AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Introduction to Automatic Control & Linear systems (time domain)

EE16B Designing Information Devices and Systems II

Linearization problem. The simplest example

Module 03 Linear Systems Theory: Necessary Background

Module 09 From s-domain to time-domain From ODEs, TFs to State-Space Modern Control

Diagonalization. Hung-yi Lee

ẋ n = f n (x 1,...,x n,u 1,...,u m ) (5) y 1 = g 1 (x 1,...,x n,u 1,...,u m ) (6) y p = g p (x 1,...,x n,u 1,...,u m ) (7)

Numerical Methods for Inverse Kinematics

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

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

EEE582 Homework Problems

Calculus for the Life Sciences II Assignment 6 solutions. f(x, y) = 3π 3 cos 2x + 2 sin 3y

From Lay, 5.4. If we always treat a matrix as defining a linear transformation, what role does diagonalisation play?

CDS 101 Precourse Phase Plane Analysis and Stability

Def. (a, b) is a critical point of the autonomous system. 1 Proper node (stable or unstable) 2 Improper node (stable or unstable)

Problem set 7 Math 207A, Fall 2011 Solutions

10-701/ Recitation : Linear Algebra Review (based on notes written by Jing Xiang)

Eigenvalues and Eigenvectors

Designing Information Devices and Systems II Spring 2017 Murat Arcak and Michel Maharbiz Homework 9

EE Control Systems LECTURE 9

Control Systems Design, SC4026. SC4026 Fall 2009, dr. A. Abate, DCSC, TU Delft

Introduction to gradient descent

Nonlinear System Analysis

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

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

Quiescent Steady State (DC) Analysis The Newton-Raphson Method

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

EE451/551: Digital Control. Chapter 8: Properties of State Space Models

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

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

CDS 101: Lecture 4.1 Linear Systems

Control Systems Design, SC4026. SC4026 Fall 2010, dr. A. Abate, DCSC, TU Delft

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

Discrete and continuous dynamic systems

Dynamical systems tutorial. Gregor Schöner, INI, RUB

Large Scale Data Analysis Using Deep Learning

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

MCE693/793: Analysis and Control of Nonlinear Systems

I Stable, marginally stable, & unstable linear systems. I Relationship between pole locations and stability. I Routh-Hurwitz criterion

Lyapunov stability ORDINARY DIFFERENTIAL EQUATIONS

Differential equations

Module 02 Control Systems Preliminaries, Intro to State Space

Eigenvalues and Eigenvectors

1 Linearity and Linear Systems

Linear Algebra- Final Exam Review

Math Ordinary Differential Equations

EE 16B Midterm 2, March 21, Name: SID #: Discussion Section and TA: Lab Section and TA: Name of left neighbor: Name of right neighbor:

Module 6 : Solving Ordinary Differential Equations - Initial Value Problems (ODE-IVPs) Section 3 : Analytical Solutions of Linear ODE-IVPs

Background Mathematics (2/2) 1. David Barber

Applied Mathematics 205. Unit V: Eigenvalue Problems. Lecturer: Dr. David Knezevic

4 Second-Order Systems

Introduction to Modern Control MT 2016

Newton-Raphson. Relies on the Taylor expansion f(x + δ) = f(x) + δ f (x) + ½ δ 2 f (x) +..

Lecture 02 Linear Algebra Basics

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Image Registration Lecture 2: Vectors and Matrices

2t t dt.. So the distance is (t2 +6) 3/2

CDS 101/110a: Lecture 2.1 Dynamic Behavior

Chapter 30 Minimality and Stability of Interconnected Systems 30.1 Introduction: Relating I/O and State-Space Properties We have already seen in Chapt

MATH 24 EXAM 3 SOLUTIONS

Chap 3. Linear Algebra

Control Systems I. Lecture 7: Feedback and the Root Locus method. Readings: Guzzella 9.1-3, Emilio Frazzoli

1. Select the unique answer (choice) for each problem. Write only the answer.

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

The goal of this chapter is to study linear systems of ordinary differential equations: dt,..., dx ) T

Eigenvalue and Eigenvector Homework

Software Engineering/Mechatronics 3DX4. Slides 6: Stability

Computational Methods CMSC/AMSC/MAPL 460. Eigenvalues and Eigenvectors. Ramani Duraiswami, Dept. of Computer Science

Tangent Planes, Linear Approximations and Differentiability

MODELING OF CONTROL SYSTEMS

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

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

Linear Algebra Review. Vectors

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

Econ Slides from Lecture 7

Module 06 Stability of Dynamical Systems

Lab 6a: Pole Placement for the Inverted Pendulum

Solution: In standard form (i.e. y + P (t)y = Q(t)) we have y t y = cos(t)

Lecture 8 : Eigenvalues and Eigenvectors

EC Control Engineering Quiz II IIT Madras

Math 1553 Worksheet 5.3, 5.5

Nonlinear Control Lecture 2:Phase Plane Analysis

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

Large Steps in Cloth Simulation. Safeer C Sushil Kumar Meena Guide: Prof. Parag Chaudhuri

7 Planar systems of linear ODE

Solutions to Math 53 Math 53 Practice Final

Control Systems I. Lecture 7: Feedback and the Root Locus method. Readings: Jacopo Tani. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Math 266: Phase Plane Portrait

CDS 101/110: Lecture 3.1 Linear Systems

Matrices A brief introduction

Review for Exam 2 Ben Wang and Mark Styczynski

HW3 - Due 02/06. Each answer must be mathematically justified. Don t forget your name. 1 2, A = 2 2

Robot Control Basics CS 685

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

CDS 101/110a: Lecture 2.1 Dynamic Behavior

Transcription:

EE16B, Spring 2018 UC Berkeley EECS Maharbiz and Roychowdhury Lectures 4B & 5A: Overview Slides Linearization and Stability Slide 1

Linearization Approximate a nonlinear system by a linear one (unless it s linear to start with) then apply powerful linear analysis tools gain precise understanding insight and intuition Consider a scalar system first in state space form with additive input (for simplicity) step 1: choose DC input u* find DC soln. x* : solve for x* x* is an equilibrium point aka DC operating point for input u* Slide 2

Linearization (contd. - 2) DC operation (equilibrium), viewed in time Linearized System small Now, perturb the input a little: Suppose x(t) responds by also changing a little ASSUMED small Goal: find system relating Du(t) and Dx(t) directly Slide 3

Linearization (contd. - 3) Basic notion: replace f(x) by its tangent line at x* Mathematically: expand f(x*+dx) in Taylor Series slope inaccurate for larger Dx accurate for small Dx Slide 4

Linearization (contd. - 4) applying the Taylor linearization (move to xournal) ORIGINAL LINEARIZED Slide 5

Linearization of Vector S.S. Systems Now: the full S.S.R: step 1: find a DC. op. pt. (equilibrium pt.) DC input DC solution The linearized system is n-vector nxn matrix Solving for this is often difficult, even using computational methods (see handwritten notes for derivation) nxm matrix m-vector What are and? called Jacobian or gradient matrices Slide 6

Jacobian (Gradient) Matrices If:, then nxn matrix nxm matrix Slide 7

Example: Linearizing the Pendulum Pendulum: (move to xournal) Compare against sin(q) q approximation (prev. class) Slide 8

Where We Are Now continuous AND discrete systems Any kind of system (EE, mech., chem., optical, multi-domain,...) STATE SPACE FORMULATION LINEAR NONLINEAR LINEARIZATION This and future lectures stability FEEDBACK controllability observability practically useful engineered systems Slide 9

Pendulum: Inverted Solution Pendulum: DC input: b(t) = b* DC solution: dx/dt = 0, inverted position Slide 10

Inverted Pendulum: Linearization non-inverted Linearization: Slide 11

Pole & Cart (Inverted Pendulum ++) Slightly more complicated example discussion / HW Slide 12

Stability Basic idea: perturb system a little from equilibrium does it come back? yes STABLE More precisely: small perturbations small responses remains small small BIBO STABLE BIBO = bounded input bounded output Slide 13

Stability (contd. - 2) small becomes large UNSTABLE Slide 14

Stability: the Scalar Case Analysis: start w scalar case: [already linear(ized); everything is real] initial condition term input term (convolution) Solution: real [obtained by, eg, the method of integrating factors (Piazza: @88)] The initial condition term: a<0: dies down STABLE a>0: blows up UNSTABLE. Say a=0: stays the same MARGINALLY STABLE Slide 15

Stability: Scalar Case (contd.) Solution: Can show (see handwritten notes): if a<0: if a>0: if a=0: input term (convolution) bounded if Du(t) bounded: BIBO stable unbounded even if Du(t) bounded: UNSTABLE unbounded even if Du(t) bounded: UNSTABLE a<0: BIBO STABLE a 0: UNSTABLE Slide 16

The Vector Case: Eigendecomposition The vector case: Can be decomposed into n scalar systems [already linear(ized); everything is real] real matrices the key idea: to eigendecompose A if time, move to xournal (recap) eigendecomposition: given an nxn matrix A:* eigenvectors eigenvalues same thing EE16B, Spring 2018, Lectures on Linearization (Roychowdhury) * diagonalization always possible ifand allstability eigenvalues distinct (assumed) Slide 17

Eigendecomposition (contd.) eigenvalues and determinants must be singular in order to support a non-zero solution for i.e., characteristic polynomial of A the roots of the char. poly. are the eigenvalues factorized form: in general, n roots n eigenvalues {l1, l2,, ln} Slide 18

The Vector Case: Diagonalization Applying eigendecomposition: diagonalization (move to xournal) Slide 19

Stability: the Vector Case provided li is REAL System stable if each system is stable Complication: eigenvalues can be complex reason: real matrices A can have complex eigen{vals,vecs} examples: (also demo in MATLAB) Slide 20

Stability: the Vector Case (contd.) If A real, eigen{v,v}s come in complex conjugate pairs Implications (details in handwritten notes) internal quantities in the decomposition come in conjugate pairs the rows of P-1, Db (t), the eigenvalues, Dyi(t), the cols of P i complex conjugate pair (say): sum is real real (say) always real real (say) jth component of vector derived from Dy2(0) and IC term just like the real scalar case input term (convolution) derived from Db2(t) and Slide 21

Stability: the Vector Case (contd. - 2) Initial condition terms: lr<0: envelope dies down lr>0: envelope blows up STABLE UNSTABLE lr=0: const. envelope MARGINALLY STABLE Input conv. terms: can show (see notes) that: same as for real eigenvalues, but using the real parts of complex eigenvalues if lr<0: bounded if Du(t) bounded: BIBO stable if l >0: unbounded even if Du(t) bounded: UNSTABLE r if l =0: unbounded even if Du(t) bounded: UNSTABLE r Slide 22

Eigenvalues and Responses (continuous) complex plane for plotting eigenvalues Slide 23

Eigenvalues of Linearized Pendulum (move to xournal) plot eigenvalues as k changes (run pendulum_root_locus.m) always stable if non-zero friction Slide 24

Eigenvalues of Inverted Pendulum always real, always greater than one eigenvalue always positive! always unstable! Slide 25

Stability for Discrete Time Systems real The scalar case:, IC Dx[0] [already linear(ized); everything is real] (move to xournal?) IC term input term (discrete convolution) Initial Condition term: MARGINALLY STABLE UNSTABLE -1 0<a<1: dies down -1<a<0: dies down STABLE STABLE MARGINALLY STABLE 0 STABLE a>1: blows up UNSTABLE STABLE a<-1: blows up UNSTABLE 1 UNSTABLE a=1: constant a=-1: constant MARGINALLY STABLE MARGINALLY STABLE Slide 26

Scalar Discrete-Time Stability (contd.) Solution: Can show (see handwritten notes): input term (d. convolution) if a <1: bounded if Du(t) bounded: BIBO stable if a >1: unbounded even if Du(t) bounded: UNSTABLE if a =1: unbounded even if Du(t) bounded: UNSTABLE a <1: BIBO STABLE a 1: UNSTABLE Slide 27

Discrete Time Stability: the Vector Case The vector case: [already linear(ized); everything is real] real matrices Eigendecompose A: Define: scalar Decomposed system: same as scalar case, but li now complex same form for as for the continuous case complex conjugate terms always present in pairs Stability: BIBO stable iff,... 1.. real.. Slide 28

Eigenvalues and IC Responses (discrete) complex plane for plotting eigenvalues Slide 29

Summary Linearization scalar and vector cases example: pendulum, (pole-cart) Stability scalar and vector cases continuous: real parts of eigenvalues determine stability pendulum: stable and unstable equilibria eigenvalue vs friction plots (root-locus plots) discrete: magnitudes of eigenvalues determine stability Slide 30