Recitation 11: Time delays

Similar documents
x(t) = x(t h), x(t) 2 R ), where is the time delay, the transfer function for such a e s Figure 1: Simple Time Delay Block Diagram e i! =1 \e i!t =!

16.30/31, Fall 2010 Recitation # 2

Control Systems I. Lecture 9: The Nyquist condition

Exercise 1 (A Non-minimum Phase System)

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

Exercise 1 (A Non-minimum Phase System)

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

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

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

Digital Control Systems

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

Systems Analysis and Control

H(s) = s. a 2. H eq (z) = z z. G(s) a 2. G(s) A B. s 2 s(s + a) 2 s(s a) G(s) 1 a 1 a. } = (z s 1)( z. e ) ) (z. (z 1)(z e at )(z e at )

2.004 Dynamics and Control II Spring 2008

Chapter 9 Robust Stability in SISO Systems 9. Introduction There are many reasons to use feedback control. As we have seen earlier, with the help of a

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

Stability of Feedback Control Systems: Absolute and Relative

Systems Analysis and Control

Control Systems I. Lecture 9: The Nyquist condition

Control Systems I Lecture 10: System Specifications

2.004 Dynamics and Control II Spring 2008

Compensation 8. f4 that separate these regions of stability and instability. The characteristic S 0 L U T I 0 N S

r + - FINAL June 12, 2012 MAE 143B Linear Control Prof. M. Krstic

MEM 355 Performance Enhancement of Dynamical Systems

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

Stabilizing the dual inverted pendulum

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

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

Process Control & Instrumentation (CH 3040)

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)

Systems Analysis and Control

This homework will not be collected or graded. It is intended to help you practice for the final exam. Solutions will be posted.

Analysis of SISO Control Loops

Controls Problems for Qualifying Exam - Spring 2014

Control Systems. Frequency Method Nyquist Analysis.

Homework 7 - Solutions

Intro to Frequency Domain Design

Design and Tuning of Fractional-order PID Controllers for Time-delayed Processes

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

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS

Frequency Response Techniques

MCE693/793: Analysis and Control of Nonlinear Systems

Control Systems! Copyright 2017 by Robert Stengel. All rights reserved. For educational use only.

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

Andrea Zanchettin Automatic Control AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Linear systems (frequency domain)

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

MAE 143B - Homework 9

ECE 486 Control Systems

1(b) Compensation Example S 0 L U T I 0 N S

Massachusetts Institute of Technology

Exam. 135 minutes + 15 minutes reading time

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

EECS C128/ ME C134 Final Thu. May 14, pm. Closed book. One page, 2 sides of formula sheets. No calculators.

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

Topic # Feedback Control Systems

6.003 (Fall 2011) Quiz #3 November 16, 2011

Module 3F2: Systems and Control EXAMPLES PAPER 2 ROOT-LOCUS. Solutions

6.241 Dynamic Systems and Control

CONTROL SYSTEM STABILITY. CHARACTERISTIC EQUATION: The overall transfer function for a. where A B X Y are polynomials. Substitution into the TF gives:

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

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

2.004 Dynamics and Control II Spring 2008

Robust Control 3 The Closed Loop

Dr. Ian R. Manchester

Nyquist Plots / Nyquist Stability Criterion

6.302 Feedback Systems Recitation 27: Final Recitation and Review Prof. Joel L. Dawson

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

STABILITY ANALYSIS TECHNIQUES

Robust fixed-order H Controller Design for Spectral Models by Convex Optimization

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

Topic # Feedback Control

EE Experiment 11 The Laplace Transform and Control System Characteristics

Control System Design

Classical Dual-Inverted-Pendulum Control

Table of Laplacetransform

Chapter Robust Performance and Introduction to the Structured Singular Value Function Introduction As discussed in Lecture 0, a process is better desc

Root locus 5. tw4 = 450. Root Locus S5-1 S O L U T I O N S

Frequency domain analysis

Class 13 Frequency domain analysis

MEM 355 Performance Enhancement of Dynamical Systems

Additional Closed-Loop Frequency Response Material (Second edition, Chapter 14)

Boise State University Department of Electrical Engineering ECE461 Control Systems. Control System Design in the Frequency Domain

Let the plant and controller be described as:-

Solutions of Spring 2008 Final Exam

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

Exam. 135 minutes, 15 minutes reading time

MAE 143B - Homework 9

1 (20 pts) Nyquist Exercise

INTRODUCTION TO DIGITAL CONTROL

MAS107 Control Theory Exam Solutions 2008

CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION

Systems Analysis and Control

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

The Relation Between the 3-D Bode Diagram and the Root Locus. Insights into the connection between these classical methods. By Panagiotis Tsiotras

Simple Harmonic Motion Concept Questions

Lecture 17 Date:

Compensator Design to Improve Transient Performance Using Root Locus

Introduction to Process Control

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

Part II. Advanced PID Design Methods

Transcription:

Recitation : Time delays Emilio Frazzoli Laboratory for Information and Decision Systems Massachusetts Institute of Technology November, 00. Introduction and motivation. Delays are incurred when the controller is implemented on a computer, which needs some time to compute the appropriate control input, given a certain error. More in general, the evaluation of sensory information aimed at deciding the best course of action, will require a finite computation time.. In some systems, delays may also be part of the physical plant. For example, on an airplane, the effect of lift variation at the main wing are felt on the tail when the vortices shed by the wing reach the tail plane. A rather extreme example is remote tele-operation: communication with a deep-space spacecraft or planetary rover may require several minutes. The frequency response of a time delay A time delay is an operator that transforms an input signal t u(t) into a delayed output signal t y(t), with y(t) = u(t T ), where T 0 is the amount of the delay. Clearly, this is a linear operator: you can check easily that the delayed version of a linear combination of signals is equal to the linear combination of the delayed signals. Let us indicate this operator with Delay T. In order to compute the transfer function of this linear operator, let us compute the Laplace transform of the output as a function of the Laplace transform of the input. We get Y (s) = L [y(t)] = y(t)e st dt = u(t T )e st dt = u(τ )e sτ st dτ = e st U(s), 0 0 0

from which we conclude that Delay T (s) = e st. What is the frequency response of the time delay? We need to study the function Delay T (j) = e jt. Recall that the polar representation of a complex number z C is z = z e j (z), from which we deduce immediately that ( ) e jt =, e jt = T. This is not unexpected, since the time-delayed version of a sinusoid of unit amplitude and zero phase u(t) = sin(t) is another sinusoid, y = sin((t T )), with unit magnitude and a phase delayed by T. (The peak of the input is reached at times t p = π/() + πn, where the phase of the input is equal to π/; at those times, the phase of the output is π/ T.) See Figure. 0.5 y(t) 0-0.5-0 5 0 5 0 Figure : Time-delayed sinusoid. The blue line represents the signal y(t) = sin(π/0t) (for t 0); the red line is the same signal delayed by.5 time units, i.e., Delay.5 [y]. Since = π/0 rad/s, and T =.5s, T = π/: the phase of the time-delayed signal is lagging that of the original signal by exactly π/ radians, or 90 degrees. On the complex plane, the polar plot of e jt corresponds to a circle of unit radius. The Bode magnitude plot is a straight horizontal line at, or 0 db. The Bode phase plot would be a straight line with a negative slope T, if we were to plot the phase of the frequency response on a linear scale for the frequency. However, since in the Bode plot the frequency axis is logarithmic, the Bode phase plot of a time delay is in fact an exponential (Delay T (s)) = T 0 log 0 [rad]. To further complicate things, the phase is usually wrapped to ( π, 0] in Bode plots, so the Bode phase plot of a time delay is usually portrayed as in Figure. t

Im [ e j] e j 0.5 0 ( e j) -0.5 - Re [ e j] - -0.5 0 0.5 Figure : Polar and Bode plots of a unit time delay, e j. 3 Effects of time delays on closed-loop stability Next, we are going to consider the effects that time delays have on closed-loop stability, and discuss methods to take such effects into account when designing feedback control systems. Let us consider a system with loop transfer function L(s) = C(s)P (s), and include a time delay of T seconds (this can be either in the controller, or in the plant). We would get a new loop transfer function L (s) = e st L(s). The frequency response of the system with the time delay is obtained from the ideal frequency response with no time delay, by shifting the phase back by T. In other words, L (j) = L(j), L (j) = L(j) T, > 0. The effects of such a phase lag are better appreciated with an example. Let us consider a simple plant, P (s) =, s + with a proportional controller C(s) = k. Hence, the ideal loop transfer function is k L(s) =. s + A quick check with the root locus or the Nyquist plot will show that the feedback system would be stable for all k > 0 (in fact, for all k > ). What is the effect of time delay? Consider now the loop transfer function k L (s) = e st. s + 3

The polar plot of L is obtained from the polar plot of L by smearing it: in practice all points L(j) must be rotated clockwise about the origin by an angle T. In other words, the magnitude of such rotation is larger at higher frequencies. In practice, the polar plot of a system with a time delay always looks like a logarithmic spiral close to the origin. See Figure 3. Im[L(j)] L(j) 0.5 0 Arg[L(j)] -0.5 - - -0.5 0 0.5 Re[L(j)] Figure 3: Polar and Bode plots of a simple lag, with and without a unit time delay. It is easy to recognize that while the polar plot of L never crosses the negative real axis, the polar plot of L crosses it an infinite number of times. In particular, the first crossing occurs when ( ) k T = 80, j + i.e., when tan + T = 80. The location of this point determines the gain margin, which will be finite for all T > 0 (it was infinite in the ideal case T = 0). For example, in the unit delay case shown in the figures, in which T = seconds, you can verify that the intersection occurs when.03 at the point ( 0.44k, 0) on the complex plane. Clearly, if the gain k were to be greater or equal to /0.044 =.6, the Nyquist plot will encircle the (, 0) point, and the closed-loop system would be unstable. Bode plot You can carry out a similar analysis on the Bode plot. First, notice that the magnitude plot of L is exactly the same as the magnitude plot of L. The phase plot is obtained by adding the phase plot of L to the phase plot of the time delay. This lets you determine very easily the effect of a time delay on the phase margin. In fact, the following relationship holds: φ m,t = φ 0 c T, () 4

where φ m,t and φ m,0 are the phase margins with and without the time delay, respectively, and c is the crossover frequency (which does not depend on the time delay). The above equation summarizes the main effect of a time delay, that is a reduction of the phase margin. Moreover, the phase margin reduction increases as the crossover frequency increases. If we consider again the example we considered for the Nyquist plot, with the same time delay, you will notice that, while the phase of L never drops below 80 degrees, the phase of L does, for >.03 rad/s. This means that in this case the gain k cannot be increased beyond the point at which crossover occurs at c =.03 rad/s, and we recover the condition k <.6 for closed-loop stability. A design procedure: Equation () suggests a procedure to design a feedback control system in the presence of time delay, as follows:. Design a feedback control system ignoring the time delay.. Check the effective phase margin, using (). If the effective phase margin is too small (or negative, indicating closed-loop instability), redesign the controller according to one or both of these criteria: Increase the phase at crossover, e.g., using a phase lead controller. Decrease the crossover frequency, e.g., reducing the gain, or possibly a phase lag controller (to maintain command-following performance). 3. Iterate until a satisfactory controller is found. 4 Time delays and the root locus method So far, we haven t talked about the root locus method in conjunction with time delays. The reason is simple: in order to apply the root locus method, the loop transfer function must be rational, i.e., the ratio of two polynomials in s. This is not the case when a time delay is present since the term e st is not a rational function. In order to use the root locus method in this case, it is required to approximate the time delay with a rational transfer function. A first choice would be a Taylor series expansion, which will take the form e st = st + (st ) 6 (st ) 3... Let s truncate this series and maintain only the terms up to the second order in (st ), i.e., let us write e st st + (st ). Notice that this is a non-proper transfer function with two non-minimum phase zeros. This would be a good approximation for st <<. However, the magnitude of the frequency 5

response diverges for whereas we know that the magnitude of e jomegat is always equal to one. A better approximation can be obtained by using what is called a Padè approximant. What we will do is approximate the exponential representing the time delay with a ratio of two polynomials. For simplicity, let us limit ourselves to the ratio of first-order polynomials in s, i.e., let us write e st s + p k. s + q In order to figure out the right values of the coefficients k, p, and q, let us ensure that the Padè approximation matches the relevant terms in the Taylor series expansion. In other words, let us impose that s + p k s + q = st + (st ) 6 (st ) 3..., at least up to the terms that we can match using our three free parameters. We get ks + kp = s + q s T qst + s 3 T + q(st ) +.... We can t do anything about the cubic term and higher, but we can ensure that all the terms of order up to and including match, by imposing the following choices: Solving for k, p, and q, we get and finally Order 0 : kp = q, Order : k = qt, Order : 0 = T + qt. q =, T k =, p =, T e st /T s. /T + s Such an approximation has the advantage that the magnitude of its frequency response is always equal to one. Using the Padè approximation, we can represent a time delay on the root locus as a pole and zero, respectively at ±/T. Notice the presence of a non-minimum-phase zero. This approximation method is useful since it allows us to use the root locus method for control design, and gain the insight provided by it. In particular, notice the fact that we can immediately conclude that we cannnot increase the gain arbitrarily, since eventually the closed-loop pole will converge to the non-minimum phase zero for large gains. 6

Considering again the example introduced in the previous sections, the root locus sketch will look like Figure 4. The root locus analysis will tell us that the closed-loop system will remain stable as long as k < 3. This is not correct, but only gives us a rough estimate of the gain margin. A better approximation may be achieved using a higher-order Padè approximation. Im(s) Re(s) Figure 4: Root locus sketch for a simple lag, with a unit time delay modeled using a firstorder Padè approximant. Summarizing, the Padè approximation allows the use of the root locus method to study the closed-loop stability of a system in the presence of a time delay. However, the results may not be accurate, and it is recommended that the root-locus method be used only as a backof-the-envelope tool providing some additional insight in the control design process. Note: The only tool that would always provide you with correct answers in all cases when a time delay is present (including, e.g., unstable open-loop poles and non-minimum phase zeros) is the Nyquist plot. 7

MIT OpenCourseWare http://ocw.mit.edu 6.30 / 6.3 Feedback Control Systems Fall 00 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.