CDS 101/110: Lecture 10.3 Final Exam Review

Similar documents
CDS 101/110: Lecture 6.2 Transfer Functions

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

MEM 355 Performance Enhancement of Dynamical Systems

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

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

Systems Analysis and Control

Intro to Frequency Domain Design

ECE 486 Control Systems

Controls Problems for Qualifying Exam - Spring 2014

MEM 355 Performance Enhancement of Dynamical Systems

MAS107 Control Theory Exam Solutions 2008

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

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

Control Systems I. Lecture 9: The Nyquist condition

1 (20 pts) Nyquist Exercise

Homework 7 - Solutions

Systems Analysis and Control

Robust Control 3 The Closed Loop

Systems Analysis and Control

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

CDS 101/110: Lecture 3.1 Linear Systems

Richiami di Controlli Automatici

MAE 143B - Homework 9

Control Systems I Lecture 10: System Specifications

Chapter 2. Classical Control System Design. Dutch Institute of Systems and Control

SECTION 7: STEADY-STATE ERROR. ESE 499 Feedback Control Systems

Outline. Classical Control. Lecture 1

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

Systems Analysis and Control

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

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

Lecture 6 Classical Control Overview IV. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Exercise 1 (A Non-minimum Phase System)

Plan of the Lecture. Goal: wrap up lead and lag control; start looking at frequency response as an alternative methodology for control systems design.

Digital Control Systems

Analysis and Synthesis of Single-Input Single-Output Control Systems

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

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

Control Systems. EC / EE / IN. For

Exercise 1 (A Non-minimum Phase System)

Today (10/23/01) Today. Reading Assignment: 6.3. Gain/phase margin lead/lag compensator Ref. 6.4, 6.7, 6.10

ECE317 : Feedback and Control

Linear Control Systems Lecture #3 - Frequency Domain Analysis. Guillaume Drion Academic year

ELECTRONICS & COMMUNICATIONS DEP. 3rd YEAR, 2010/2011 CONTROL ENGINEERING SHEET 5 Lead-Lag Compensation Techniques

K(s +2) s +20 K (s + 10)(s +1) 2. (c) KG(s) = K(s + 10)(s +1) (s + 100)(s +5) 3. Solution : (a) KG(s) = s +20 = K s s

Electronic Circuits. Prof. Dr. Qiuting Huang Integrated Systems Laboratory

Analysis of SISO Control Loops

EE C128 / ME C134 Fall 2014 HW 8 - Solutions. HW 8 - Solutions

SECTION 8: ROOT-LOCUS ANALYSIS. ESE 499 Feedback Control Systems

ECE382/ME482 Spring 2005 Homework 7 Solution April 17, K(s + 0.2) s 2 (s + 2)(s + 5) G(s) =

Control Systems I. Lecture 9: The Nyquist condition

Time Response of Systems

ROOT LOCUS. Consider the system. Root locus presents the poles of the closed-loop system when the gain K changes from 0 to. H(s) H ( s) = ( s)

CDS 101/110: Lecture 3.1 Linear Systems

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

Systems Analysis and Control

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

Control of Mobile Robots

Design Methods for Control Systems

FREQUENCY-RESPONSE DESIGN

ECEN 605 LINEAR SYSTEMS. Lecture 20 Characteristics of Feedback Control Systems II Feedback and Stability 1/27

Root Locus Methods. The root locus procedure

Stability of CL System

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Frequency Response-Design Method

Lecture 12. Upcoming labs: Final Exam on 12/21/2015 (Monday)10:30-12:30

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

Table of Laplacetransform

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

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

Answers to multiple choice questions

Alireza Mousavi Brunel University

ECE317 : Feedback and Control

PID controllers. Laith Batarseh. PID controllers

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

Course Outline. Closed Loop Stability. Stability. Amme 3500 : System Dynamics & Control. Nyquist Stability. Dr. Dunant Halim

9. Two-Degrees-of-Freedom Design

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

Data Based Design of 3Term Controllers. Data Based Design of 3 Term Controllers p. 1/10

Frequency Response Techniques

Let the plant and controller be described as:-

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.

6.302 Feedback Systems Recitation 16: Compensation Prof. Joel L. Dawson

Analysis of Discrete-Time Systems

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

EECE 460 : Control System Design

EC CONTROL SYSTEM UNIT I- CONTROL SYSTEM MODELING

Lecture 5: Linear Systems. Transfer functions. Frequency Domain Analysis. Basic Control Design.

CYBER EXPLORATION LABORATORY EXPERIMENTS

Feedback Control of Linear SISO systems. Process Dynamics and Control

Classify a transfer function to see which order or ramp it can follow and with which expected error.

IC6501 CONTROL SYSTEMS

Prüfung Regelungstechnik I (Control Systems I) Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

TECHNICAL NOTE AUTOMATIC GENERATION OF POINT SPRING SUPPORTS BASED ON DEFINED SOIL PROFILES AND COLUMN-FOOTING PROPERTIES

Linear State Feedback Controller Design

1 (s + 3)(s + 2)(s + a) G(s) = C(s) = K P + K I

Robust and Optimal Control, Spring A: SISO Feedback Control A.1 Internal Stability and Youla Parameterization

Recitation 11: Time delays

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

Lecture 1: Feedback Control Loop

Transcription:

CDS 11/11: Lecture 1.3 Final Exam Review December 2, 216 Schedule: (1) Posted on the web Monday, Dec. 5 by noon. (2) Due Friday, Dec. 9, at 5: pm. (3) Determines 3% of your grade Instructions on Front Page. Five hour limited time take-home. Same collaboration rules as Mid-Term

Key Concepts up to Mid Term Review: Frequency domain Convert control system description to 1 st order form Solution and characterization of o.d.e.s Matrix exponential, equilibria, stability of equilibria, phase space Lyapunov Function and stability System linearization, and stability/stabilization of linearized models. Convolution Integral, impulse response Performance characterization for 1 st and 2 nd order systems: Step response overshoot, rise time, settling time System Frequency Response Discrete Time System State Feedback, eigenvalue placement Reachability, reachable canonical form, test for reachability

Key Concepts From Mid-Term Onward Review: Frequency Domain Concepts Transfer Function (poles/zeros) Block Diagram Algebra Bode Plot Loop Diagram Concepts Loop Transfer Function (closed loop poles and zeros) Nyquist Plot and Nyquist Criterion for closed loop stability Gain, Phase, and Stability Margins PID Controllers Effect of P, I, and D terms of closed loop behavior Reachability, reachable canonical form, test for reachability Loop Shaping Lead/Lag compensators Converting requirements/spec.s to frequency domain equivalents Sensitivity Functions ( gang of four )

Frequency Domain Modeling Defn. The frequency response of a linear system is the relationship between the gain and phase of a sinusoidal input and the corresponding steady state (sinusoidal) output. 1 1-1 5 1-1 5 1 (deg) 1 1.1.1.1-9 -18-27 -36 Frequency Response Bode plot (194; Henrik Bode) Plot gain and phase vs input frequency Gain is plotting using log-log plot Phase is plotting with log-linear plot Can read off the system response to a sinusoid in the lab or in simulations Linearity can construct response to any input (via Fourier decomposition) Key idea: do all computations in terms of gain and phase (frequency domain).1 1 1 Frequency [rad/sec] 4

Transfer Function Properties transient steady state Theorem. The transfer function for a linear system Σ = (AA, BB, CC, DD) is given by GG ss = CC ssss AA 1 + DD ss εε C Theorem. The transfer function GG(ss) has the following properties (for SISO systems): G(s) is a ratio of polynomials n(s)/d(s) where d(s) is the characteristic equation for the matrix A and n(s) has order less than or equal to d(s). The steady state frequency response of Σ has gain G(jω) and phase arg G(jω): Remarks uu = MMMMMMMM ωωωω yy = GG iiii MMMMMMMM ωωωω + arg GG iiii + tttttttttttttttttttt G(s) is the Laplace transform of the impulse response of Σ Typically we write y = G(s)u for Y(s) = G(s)U(s), where Y(s) & U(s) are Laplace transforms of y(t) and u(t). MATLAB: G = ss2tf(a, B, C, D) 5

Laplace Transform Review Constant Coefficient O.D.E.: Laplace Transform (assuming zero initial conditions) L dd nn ddtt nn yy tt + aa 1 dd nn 1 ddtt nn 1 yy tt + + aa dd nn 1 nnyy tt = bb 1 ddtt nn 1 uu tt + + bb nnuu tt ss nn + aa 1 ss nn 1 + + aa nn 1 ss + aa nn YY ss = bb 1 ss nn 1 + + bb nn UU ss (*) GG ss = YY(ss) UU(ss) = bb 1 ss nn 1 + + bb nn ss nn + aa 1 ss nn 1 + + aa nn 1 ss + aa nn = nn(ss) dd(ss) Roots of dd ss are called the poles of transfer function GG ss If pp is a system pole, then yy = ee pppp is a solution to (*) with uu tt = Poles are strictly defined by matrix AA.. Roots of nn ss are called the zeros of G(s) If ss is a pole of GG(ss), then GG ss ee ssss is an output if dd ss. Out put is zero at ss if nn ss =.

Poles and Zeros Roots of d(s) are called poles of G(s) Roots of n(s) are called zeros of G(s) Poles of G(s) determine the stability of the (closed loop) system Denominator of transfer function = characteristic polynomial of state space system Provides easy method for computing stability of systems Right half plane (RHP) poles (Re > ) correspond to unstable systems Zeros of G(s) related to frequency ranges with limited transmission A pure imaginary zero at s = iω blocks any output at that frequency (G(iω) = ) Zeros provide limits on performance, especially RHP zeros MATLAB: pole(g), zero (G), pzmap(g) pzmap(g) 7 Imag Axis 1.8.6.4.2 -.2 -.4 -.6 -.8-1 -1 -.6 -.2.2.6 1 Real Axis

Type Diagram Transfer function Series Block Diagram Algebra Parallel Feedback 8 These are the basic manipulations needed; some others are possible Formally, could work all of this out using the original ODEs ( nothing really new)

Sketching the Bode Plot for a Transfer Function (1/2) Evaluate transfer function on imaginary axis Plot gain (M) on log/log scale Plot phase (φ) on log/linear scale Piecewise linear approximations available 9

Sketching the Bode Plot for a Transfer Function (2/2) Complex poles Ratios of products 1

What are the units of a Bode Plot? Bode Plot Units Magnitude: The ordinate (or y-axis ) of magnitude plot is determined by 2 log 1 GG iiii Decibels, names after A.G. Bell Phase: Ordinate has units of degrees (of phase shift) The abscissa (or x-axis ) is log 1 (frequency) (usually, rad/sec) Example: simple first order system: GG ss = 1 Single pole at ss = 1/ττ GG iiii = 1 1+iiττωω = 1 1+ωω 2 ττ 2 In decibels: 1+ττττ 2 log 1 GG(iiii) = 2 log 1 1 2 log 1 1 + ωωωω 2 1 2 = 1 log 1 ( 1 + ωωωω 2 )

+ii Nyquist D contour Take limit as R ii IIII(ss) R Basic Nyquist Plot (review) Γ RRRR(ss) (no poles of LL(ss) on imaginary axis) LL ss ωω 2 GG yyyy ss = ss 2 2 + 2ζζωω ss + ωω Imaginary Axis To: Y(1) 3 2 1-1 -2 Nyquist Diagrams From: U(1) ωω=- ωω= ωω= -3-1.5-1 -.5.5 1 1.5 2 Nyquist Contour (Γ): Start from, and move along positive Imaginary axis (increasing frequency) Follow semi-circle, or arc at infinity, in clockwise direction (connecting the endpoints of the imaginary axis) From ii to zero on imaginary axis Note, portion of plot corresponding to ωω < is mirror image of ωω > Real Axis Nyquist Plot Formed by tracing ss around the Nyquist contour, Γ, and mapping through LL(ss) to complex plane representing magnitude and phase of LL ss. I.e., the image of LL(ss) as ss traverses Γ is the Nyquist plot Goal: from complex analysis, we re trying to find number of zeros (if any) in RHP, which leads to instability 12

Nyquist Criterion IIII(ss) 6 Nyquist Diagrams From: U(1) +ii R Γ RRRR(ss) To: Y(1) 4 2-2 + iωω < ωω=+i ωω=-i = ii -4 iωω > N=2-6 -6-4 -2 2 4 6 8 1 12 Real Axis Thm (Nyquist). Consider the Nyquist plot for loop transfer function L(s). Let P # RHP poles of open loop L(s) N # clockwise encirclements of -1 (counterclockwise is negative) Z # RHP zeros of 1 + L(s) Then Z = N + P Consequence: If Z 1, then 1 + LL ss has RHP zeros, which means that GG yyyy ss has RHP poles. GG yyyy ss is unstable with simple unity feedback, and control CC(ss) 13

What can you do with a Nyquist Analysis? Set Up (somewhat artificial): Given: PP(ss) r r + e C(s) d + u P(s) y (any unstable roots known) Given: CC ss -1 (any unstable roots known) Q: can negative output feedback stabilize the system (stable GG yyyy (ss))? The Nyquist plot logic Poles of GG yyyy (ss) are zeros of Possible Solutions: GG yyyy (ss) = PPPP = nn pp (ss)nn cc (ss) dd pp (ss)dd cc (ss)+nn pp (ss)nn cc (ss) Compute and check poles of GG yyyy Find another way to determine existence of unstable poles without computing roots of dd PP ss dd CC ss + nn PP ss nn CC ss 1 + PP ss CC ss = dd PP ss dd CC ss + nn PP ss nn CC (ss) dd PP ss dd CC (ss) If GG yyyy ss is unstable, then it has at least one pole in RHP An unstable pole of GG yyyy (ss) implies and unstable (RHP) zero of 1 + PP ss CC ss Nyquist plot and Nyquist Criterion allow us to determine if 1 + PPPP has RHP zeros without polynomial solving. 14

Nyquist Example (unstable system) Bode Plots of Open Loop LL ss = PP ss CC ss = kk ss(ss 1) 5-225 Magnitude (db) -5 Phase (deg) -1-27 -18 1-2 1-1 1 1 1 1 2 1-2 1-1 1 1 1 1 2 Nyquist Contour and Plot Must account for pole on the iiii axis +ii (a) Frequency (rad/s) (b) a) ωω = + + b) ωω = + cc) ωω = ωω = dd) ωω = ωω = + Frequency (rad/s) (d) ωω = + IIII (a) (b) RRRR (d) (c) iii ωω = εεee iiii for [ 9 oo, 9 oo ] GG ss = εεee iiii kk kkee iiii = εεeeiiii εε ωω = (c)

Nyquist Example (unstable system) Nyquist Contour and Plot (d) +iii (a) (c) ii Accounting: (b) (dd) ωω = ωω = + ωω = εεee iiii for [ 9 oo, 9 oo ] GG ss = εεee iiii kk εεee iiii = kkee iiii εε = kk εε One open loop pole in RHP: PP = 1 ( cos φφ + ii sin φφ) One clockwise encirclement of -1 point: NN = 1 ωω = + ωω = ZZ = NN + PP = 1 + 1 = 2 two unstable poles in closed loop system (a) IIII (b) (c) RRRR

Overview: PID control r e u + PID P(s) y -1 Parametrized by: kk pp, the proportional gain kk ii, the integral gain kk dd, the derivative gain kk pp, Alternatively: TT ii = kk pp kk ii, TT dd = kk dd kk pp Utility of PID PID control is most common feedback structure in engineering systems For many systems, only need PI or PD (special case) Many tools for tuning PID loops and designing gains 18

Proportional Feedback Simplest controller choice: u = kpe Effect: lifts gain with no change in phase Good for plants with low phase up to desired bandwidth Bode: shift gain up by factor of kp Step response: better steady state error, but with decreasing stability r + - e kp u kp > P(s) y 5-5 -1-15 -1-2 -3 1-1 1 1 1 1 2 19

Proportional + Integral Compensation Use to eliminate steady state error Effect: lifts gain at low frequency Gives zero steady state error Bode: infinite SS gain + phase lag Step response: zero steady state error, with smaller settling time, but more overshoot r + - e u P(s) y 1 5-5 -1-1 -2-3 1-2 1-1 1 1 1 1 2 2

Proportional + Integral + Derivative (PID) r e u + C(s) P(s) y -1 Bode Diagrams 5 4 Phase (deg); Magnitude (db) 3 2 1 1 5-5 -1 1-3 1-2 1-1 1 1 1 1 2 1 3 Frequency (rad/sec) 21

General Loop Transfer Functions rr System outputs yy ηη vv uu ee disturbance ee uu vv F(s) + C(s) + P(s) + Feed forward = Controller PPPPPP PPPPPP CCCC CCCC FF Gang of Seven Control PP PP 1 PPPP PP -1 1 PPPP CC CC 1 System inputs rr dd nn η Plant Process TF = CFS = noise PPPPPP CCCC Response of (y, u) to r yy T = CS = r = reference input e = error u = control v = control + disturbance η = true output (what we want to control!) y = measured output Gang of Six PPPP CC Response of u to (d,n) PS = PP S = 1 Response of y to (d,n) 22

Key Loop Transfer Functions rr 1 d n ee uu vv F(s) + C(s) + P(s) + yy η -1 F(s) = 1: Four unique transfer functions define performance ( Gang of Four ) Sensitivity: Function Complementary Sensitivity Function: Load Sensitivity Function: Noise Sensitivity Function: GG eeee = S(s) = 1 1+LL(ss) GG yyyy = T(s) = GG yyyy = PS(s) = GG yyyy = CS (s) = LL(ss) 1+LL(ss) PP(ss) 1+LL(ss) CC(ss) 1+LL(ss) Gang of Four (the sensitivity functions) Characterize most performance criteria of interest

Rough Loop Shaping Design Process A Process: sequence of (nonunique) steps 1. Start with plant and performance specifications 2. If plant not stable, first stabilize it (e.g., PID) 3. Adjust/increase simple gains Increase proportional gain for tracking error Introduce integral term for steady-state error Will derivative term improve overshoot? 4. Analyze/adjust for stability and/or phase margin Adjust gains for margin Introduce Lead or Lag Compensators to adjust phase margin at crossover and other critical frequencies Consider PID if you haven t already 2

Summary of Specifications Hyr Key Idea: convert closed loop specifications on GG yyyy ss = PP ss CC(ss) 1 + PP ss CC(ss) = LL (ss) 1 + LL ss to equivalent specifications on loop system LL(ss) Time domain spec.s can often be converted to frequency domain spec.s Steady-state tracking error < XXX LL > 1/XX Tracking error < YYY up to frequency ff tt Hz LL iiii > 1/YY for ωω < 2ππff tt Bandwidth of ωω bb rad/sec LL iiωω bb 1 2 Usually needed for rise/settling time spec. 25

Summary of Specifications Hyr Overshoot < ZZZ Phase Margin > ff(zz) Phase/Gain margins (Specified Directly) For robustness Typically, at least gain margin of 2 (6 db) Usually, phase margin of 3-6 degrees 26

Summary: Loop Shaping Loop Shaping for Stability & Performance Steady state error, bandwidth, tracking response Specs can be on any input/output response pair BW GM Main ideas Performance specs give bounds on loop transfer function Use controller to shape response Gain/phase relationships constrain design approach Standard compensators: proportional, lead, PI PM Things to remember (for homework and exams) Always plot Nyquist to verify stability/robustness Check gang of 4 to make sure that noise and disturbance responses also look OK u 27

Lead & Lag Compensators Lead: K >, a < b Add phase near crossover Lag: Improve gain & phase margins, increase bandwidth (better transient response). K >, a> b Add gain in low frequencies Improves steady state error r + - e K (ss+aa) (ss+bb) u P(s) Lead/Lag: Better transient and steady state response y C(i ) C(i ) 1 1 1 1 1 9 45 Lead PD C(i ) C(i ) 1 1 1 1 1 45 Lag PI 9 a b b a Frequency [rad/s] Frequency [rad/s] (a) Lead compensation, a < b (b) Lag compensation, b < a

Bode s Integral Formula and the Waterbed Effect Bode s integral formula for SS ss = 1 1+LL(ss) = GG eeee = GG yyyy = GG vvvv = GG eeee Let pp kk be the unstable poles of LL(ss) and assume relative degree of LL(ss) 2 Theorem: the area under the sensitivity function is a conserved quantity: Magnitude (db) 1-1 -2-3 -4 Sensitivity Function Area below db + area above db = ππ Re p k = constant 1 1 1 1 2 1 3 1 4 Frequency (rad/sec) Waterbed effect: Making sensitivity smaller over some frequency range requires increase in sensitivity someplace else Presence of RHP poles makes this effect worse Actuator bandwidth further limits what you can do Note: area formula is linear in ωω; Bode plots are logarithmic 29