CDS 101: Lecture 4.1 Linear Systems

Similar documents
CDS 101/110: Lecture 3.1 Linear Systems

CDS 101/110: Lecture 3.1 Linear Systems

CDS 101/110a: Lecture 2.1 Dynamic Behavior

CDS 101/110a: Lecture 2.1 Dynamic Behavior

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

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

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

CDS 101/110a: Lecture 10-2 Control Systems Implementation

CDS 110: Lecture 2-2 Modeling Using Differential Equations

CDS 101/110a: Lecture 8-1 Frequency Domain Design

Control Systems I. Lecture 5: Transfer Functions. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

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

CDS 101/110a: Lecture 10-1 Robust Performance

Linear Systems. Chapter Basic Definitions

Frequency methods for the analysis of feedback systems. Lecture 6. Loop analysis of feedback systems. Nyquist approach to study stability

D(s) G(s) A control system design definition

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

Introduction to Modern Control MT 2016

CDS 101: Lecture 5.1 Controllability and State Space Feedback

Outline. Classical Control. Lecture 1

Exercise Sheet 1 with solutions

EET 3212 Control Systems. Control Systems Engineering, 6th Edition, Norman S. Nise December 2010, A. Goykadosh and M.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering Dynamics and Control II Fall 2007

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

Dr. Ian R. Manchester

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators.

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

Richiami di Controlli Automatici

Transfer function and linearization

EC Control Engineering Quiz II IIT Madras

ẋ 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)

Control Systems Design

2. Higher-order Linear ODE s

CDS 101: Lecture 2.1 System Modeling

Systems Analysis and Control

Linear System Theory. Wonhee Kim Lecture 1. March 7, 2018

Some solutions of the written exam of January 27th, 2014

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis

EEE582 Homework Problems

Homogeneous Constant Matrix Systems, Part II

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

APPLICATIONS FOR ROBOTICS

Systems Analysis and Control

Systems Analysis and Control

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

Return Difference Function and Closed-Loop Roots Single-Input/Single-Output Control Systems

Systems Analysis and Control

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

MAE 143B - Homework 9

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

1 Continuous-time Systems

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS

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

State will have dimension 5. One possible choice is given by y and its derivatives up to y (4)

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Pattern formation and Turing instability

EE 380. Linear Control Systems. Lecture 10

Topic # Feedback Control. State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback

ES.1803 Topic 19 Notes Jeremy Orloff. 19 Variation of parameters; exponential inputs; Euler s method

21 Linear State-Space Representations

ECE 3793 Matlab Project 3 Solution

Digital Control Systems

Topic # Feedback Control Systems

Exam in Systems Engineering/Process Control

1 (30 pts) Dominant Pole

Control Systems I Lecture 10: System Specifications

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

VALLIAMMAI ENGINEERING COLLEGE

ECE557 Systems Control

x(n + 1) = Ax(n) and y(n) = Cx(n) + 2v(n) and C = x(0) = ξ 1 ξ 2 Ex(0)x(0) = I

Introduction to Feedback Control

Lab 6a: Pole Placement for the Inverted Pendulum

Analog Signals and Systems and their properties

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 03 Linear Systems Theory: Necessary Background

Exam. 135 minutes + 15 minutes reading time

Introduction to Nonlinear Control Lecture # 4 Passivity

Problem Weight Score Total 100

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year

agree w/input bond => + sign disagree w/input bond => - sign

CONTROL DESIGN FOR SET POINT TRACKING

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley

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

Introduction. Performance and Robustness (Chapter 1) Advanced Control Systems Spring / 31

Dynamic circuits: Frequency domain analysis

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

2.010 Fall 2000 Solution of Homework Assignment 1

ECE504: Lecture 8. D. Richard Brown III. Worcester Polytechnic Institute. 28-Oct-2008

L2 gains and system approximation quality 1

= 0 otherwise. Eu(n) = 0 and Eu(n)u(m) = δ n m

3. Fundamentals of Lyapunov Theory

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

State Feedback and State Estimators Linear System Theory and Design, Chapter 8.

Chap 4. State-Space Solutions and

Control Systems I. Lecture 9: The Nyquist condition

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) =

ENGIN 211, Engineering Math. Laplace Transforms

Classical Dual-Inverted-Pendulum Control

Transcription:

CDS : Lecture 4. Linear Systems Richard M. Murray 8 October 4 Goals: Describe linear system models: properties, eamples, and tools Characterize stability and performance of linear systems in terms of eigenvalues Compute linearization of a nonlinear systems around an equilibrium point Reading: Åström and Murray, Analysis and Design of Feedback Systems, Ch 4 Packard, Poola and Horowitz, Dynamic Systems and Feedback, Sections 9,, (available via course web page)

Lecture Review 3.: Stability from Last and Week Performance - -π π Key topics for this lecture Stability of equilibrium points Local versus global behavior Performance specification via step and frequency response.5 u y.5 5 5 5 5 5 8 Oct 4 R. M. Murray, Caltech CDS

What is a Linear System? Linearity of functions: f : Zero at the origin: f () = n Addition: f ( + y) = f( ) + f( y) Scaling: f ( α ) = α f ( ) m f( α + β y) = Canonical eample: α f ( ) + β f( y) f ( ) = A Linearity of systems: sums of solutions Dynamical system = A Control system = A+ Bu y = C + Du () = t () = () t () = α + β () = t () = () t t () = α() t + β() t () =, u( t) = u ( t) y() t = y () t () =, u( t) = u ( t) y() t = y () t () =, u( t) = αu ( t) + βu ( t) y() t = αy () t + βy () t 8 Oct 4 R. M. Murray, Caltech CDS 3

Linear Systems u u = A+ Bu y = C + Du () = y y Input/output linearity at () = Linear systems are linear in initial condition and input need to use () = to add outputs together For different initial conditions, you need to be more careful (sounds like a good midterm question) - - + 5 + 5.5 u u + u - 5-5 y y + y -.5 5-5 Linear system step response and frequency response scale with input amplitude X input X output Allows us to use ratios and percen-tages in step/freq response. These are independent of input amplitude Limitation: input saturation only holds up to certain input amplitude 8 Oct 4 R. M. Murray, Caltech CDS 4

Why are Linear Systems Important? Many important eamples Electronic circuits Many important tools Frequency response, step response, etc Traditional tools of control theory Developed in 93 s at Bell Labs; intercontinental telecom Especially true after feedback Frequency response is key performance specification (think telephones) Many mechanical systems q k m q Quantum mechanics, Markov chains, u (t ) k m k 3 b Classical control design toolbo Nyquist plots, gain/phase margin Loop shaping Optimal control and estimators Linear quadratic regulators Kalman estimators Robust control design H control design μ analysis for structured uncertainty 8 Oct 4 R. M. Murray, Caltech CDS 5 CDS / a CDS b CDS b/

Solutions of Linear Systems: The Matri Eponential = A+ Bu y = C+ Du Scalar linear system, with no input yt ( ) =??? y = a = c () = t () at at = e yt () = ce Matri version, with no input = A () = y = C t () e At yt () = Ce At = initial(a,b,c,d,); Matri eponential Analog to the scalar case; defined by series epansion: e M I M M M! 3! 3 = + + + +L P = epm(m) 8 Oct 4 R. M. Murray, Caltech CDS 6

= A+ Bu y = C+ Du Stability of Linear Systems () t = e At Q: when is the system asymptotically stable? lim t ( ) = t Stability is determined by the eigenvalues of the matri A Simple case: diagonal system λ = O λn λt e t () = O λnt e More generally: transform to Jordan form & = T JT J J = O J k λi = O λi Form of eigenvalues determines system behavior Linear systems are automatically globally stable or unstable J i Stable if λ i Asy stable if λ i < Unstable if λ i > Asy stable if Re(λ i ) < Unstable if Re( λ i )> Indeterminate if Re( λ i )= 8 Oct 4 R. M. Murray, Caltech CDS 7

Eigenstructure of Linear Systems Real e-values Re(λ i ) <.8.6.4. -. Real e-values Re(λ i ) < Re(λ j ) >.8.6.4. -. -.4 -.4 -.6 -.6 -.8 -.8 Comple e-values Re(λ i ) = - - -.5.5.8.6.4. -. -.4 -.6 -.8 - - -.5.5 Comple e-values Re(λ i ) < - - -.5.5.8.6.4. -. -.4 -.6 -.8 - - -.5.5 8 Oct 4 R. M. Murray, Caltech CDS 8

Step and Frequency Response = A+ Bu y = C+ Du ut () = () t ut () = Asin( ωt) Effect of eigenstructure on step response Comple eigenvalues with small real part lead to oscillatory response Frequency of oscillations ω i Effects of eigenstructure on frequency response Eigenvalues determine break points for frequency response Comple eigenvalues lead to peaks in response function near ω i Imag Ais Phase (deg); Magnitude (db) - Pole-zero map - -5 - -5 5-5 - - - ω p Real Ais Amplitude..5..5 Bode Diagrams ω p - Frequency (rad/sec) Step Response T π/ω p 5 5 5 3 Time (sec.) 8 Oct 4 R. M. Murray, Caltech CDS 9

Computing Frequency Responses Technique #: plot input and output, measure relative amplitude and phase Use MATLAB or SIMULINK to generate response of system to sinusoidal output.5.5 A u A y u y Gain = A y /A u Phase = π ΔT/T Note: In general, gain and phase will depend on the input amplitude -.5 - ΔT T -.5 5 5 Technique # (linear systems): use MATLAB bode command Assumes linear dynamics in state space form: = A+ Bu y = C+ Du Gain plotted on log-log scale db = log (gain) Phase plotted on linear-log scale Frequency (rad/sec) 8 Oct 4 R. M. Murray, Caltech CDS Phase (deg) Magnitude (db) - - -3-4 -5-6 -9-8 -7-36 bode(a,b,c,d).

Eample: Electrical Circuit C 3 v i ~ R R C v o Derivation based on Kirchoff s laws for electrical circuits (Ph ) Sum of currents at nodes = : dv v v v v3 dv ( 3 v) v3 v C = C = dt R R dt R Rewrite in terms of new states: v c =v, v c =v 3 v Bridged Tee Circuit d dt v + c C R v R CR c + C R R v v = c v + c V c CR CR i v o [ ] v v c = + c v i 8 Oct 4 R. M. Murray, Caltech CDS

Linear Control Systems and Convolution = A+ Bu y = C+ Du Impulse response, h(t) = Ce At B Response to input impulse Equivalent to Green s function yt () = Ce At () +??? homogeneous Linearity compose response to arbitrary u(t) using convolution Decompose input into sum of shifted impulse functions Compute impulse response for each Sum impulse response to find y(t) Complete solution: use integral instead of sum t () = At A( t τ ) () + ( τ) τ + () τ = yt Ce Ce Bu d Dut linear with respect to initial condition and input X input X output when () = 8 Oct 4 R. M. Murray, Caltech CDS

Matlab Tools for Linear Systems t At A( t τ ) () = () + ( τ) τ + () yt Ce Ce Bu d Dut τ = A = [- ; -]; B = [; ]; C = [ ]; D = []; = [;.5]; sys = ss(a,b,c,d); initial(sys, ); impulse(sys); Amplitude To: Y().8.6.4. Initial Condition Results 3 4 5 6 7 Linear Simulation Results t = :.:; u =.*sin(5*t) + cos(*t); lsim(sys, u, t, ); Other MATLAB commands gensig, square, sawtooth produce signals of diff. types step, impulse, initial, lsim time domain analysis bode, freqresp, evalfr frequency domain analysis Amplitude To: Y().5 -.5 3 4 5 6 7 8 9 Time (sec.) ltiview linear time invariant system plots 8 Oct 4 R. M. Murray, Caltech CDS 3

Linearization Around an Equilibrium Point = f(, u) z& = Az+ Bv y = h(, u) w= Cz+ Dv Linearize around = e f( e, ue) = ye = h( e, ue) z = v = u u w= y y e e e f A= B = f u (, u ) (, u ) e e e e h C = D = h u (, u ) (, u ) e e e e Remarks In eamples, this is often equivalent to small angle approimations, etc Only works near to equilibrium point - -π π.4.3.. -. -. -.3 -.4 -.3 -. -....3 Full nonlinear model.4.3.. -. -. -.3 -.4 -.3 -. -....3 Linear model (honest!) 8 Oct 4 R. M. Murray, Caltech CDS 4

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( ) = A ( + o ( ) e ) e higher order terms 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: 3 & = =± linearize & linearization is stable (but not asy stable) nonlinear system can be asy stable or unstable Local approimation particularly appropriate for control systems design Control often used to ensure system stays near desired equilibrium point If dynamics are well-approimated by linearization near equilibrium point, can use this to design the controller that keeps you there (!) 8 Oct 4 R. M. Murray, Caltech CDS 5

Eample: Inverted Pendulum on a Cart m θ f M State:, θ,, & θ Input: u = F Output: y = Linearize according to previous formula around θ = π 8 Oct 4 R. M. Murray, Caltech CDS 6

Summary: Linear Systems u = A+ Bu y = C+ Du () = y + - 5 + - 5.5-5 - 5 -.5 5-5 t () = At A( t τ ) () + ( τ) τ + () τ = yt Ce Ce Bu d Dut Properties of linear systems Linearity with respect to initial condition and inputs Stability characterized by eigenvalues Many applications and tools available Provide local description for nonlinear systems 8 Oct 4 R. M. Murray, Caltech CDS 7