Exercise 1 (A Non-minimum Phase System)

Similar documents
Exercise 1 (A Non-minimum Phase System)

16.30/31, Fall 2010 Recitation # 2

LINEAR CONTROL SYSTEMS. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Systems Analysis and Control

Exercises for lectures 13 Design using frequency methods

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

Systems Analysis and Control

Module 5: Design of Sampled Data Control Systems Lecture Note 8

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

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

Control Systems I Lecture 10: System Specifications

Engraving Machine Example

FREQUENCY-RESPONSE DESIGN

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

Stability of CL System

Robust Performance Example #1

Loop shaping exercise

EE 4343/ Control System Design Project LECTURE 10

Outline. Classical Control. Lecture 5

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

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

The loop shaping paradigm. Lecture 7. Loop analysis of feedback systems (2) Essential specifications (2)

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

MAE 143B - Homework 9

ECE382/ME482 Spring 2005 Homework 8 Solution December 11,

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

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

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D.

Topic # Feedback Control Systems

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

Recitation 11: Time delays

The requirements of a plant may be expressed in terms of (a) settling time (b) damping ratio (c) peak overshoot --- in time domain

EE3CL4: Introduction to Linear Control Systems

Frequency Response Techniques

= rad/sec. We can find the last parameter, T, from ωcg new

Frequency Response Analysis

Overview of Bode Plots Transfer function review Piece-wise linear approximations First-order terms Second-order terms (complex poles & zeros)

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

MAS107 Control Theory Exam Solutions 2008

Studio Exercise Time Response & Frequency Response 1 st -Order Dynamic System RC Low-Pass Filter

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

CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION

1 (20 pts) Nyquist Exercise

Desired Bode plot shape

CDS 101/110 Homework #7 Solution

Topic # Feedback Control

ECE382/ME482 Spring 2005 Homework 6 Solution April 17, (s/2 + 1) s(2s + 1)[(s/8) 2 + (s/20) + 1]

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

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

Homework 7 - Solutions

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

Outline. Classical Control. Lecture 1

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

If you need more room, use the backs of the pages and indicate that you have done so.

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 )

Control Systems I. Lecture 9: The Nyquist condition

Analysis of SISO Control Loops

Problem 1 (Analysis of a Feedback System - Bode, Root Locus, Nyquist) Consider the feedback system defined by the open loop transfer function 1.

AMME3500: System Dynamics & Control

ECE 486 Control Systems

Control for. Maarten Steinbuch Dept. Mechanical Engineering Control Systems Technology Group TU/e

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

MEM 355 Performance Enhancement of Dynamical Systems

INTRODUCTION TO DIGITAL CONTROL

Control Systems. Control Systems Design Lead-Lag Compensator.

MAE 142 Homework #2 (Design Project) SOLUTIONS. (a) The main body s kinematic relationship is: φ θ ψ. + C 3 (ψ) 0 + C 3 (ψ)c 1 (θ)

School of Mechanical Engineering Purdue University. DC Motor Position Control The block diagram for position control of the servo table is given by:

School of Mechanical Engineering Purdue University

EE C128 / ME C134 Fall 2014 HW 6.2 Solutions. HW 6.2 Solutions

Frequency (rad/s)

Control Systems 2. Lecture 4: Sensitivity function limits. Roy Smith

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

PM diagram of the Transfer Function and its use in the Design of Controllers

Process Control & Instrumentation (CH 3040)

Positioning Servo Design Example

Design Methods for Control Systems

Robust Control 3 The Closed Loop

Exam. 135 minutes + 15 minutes reading time

ME 475/591 Control Systems Final Exam Fall '99

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS

Control System Design

Reglerteknik: Exercises

Chapter 6 - Solved Problems

Professor Fearing EE C128 / ME C134 Problem Set 4 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley. control input. error Controller D(s)

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

Raktim Bhattacharya. . AERO 632: Design of Advance Flight Control System. Preliminaries

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

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

Richiami di Controlli Automatici

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

Digital Control Systems

Active Control? Contact : Website : Teaching

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

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

ECE317 : Feedback and Control

] [ 200. ] 3 [ 10 4 s. [ ] s + 10 [ P = s [ 10 8 ] 3. s s (s 1)(s 2) series compensator ] 2. s command pre-filter [ 0.

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

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

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)

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

Transcription:

Prof. Dr. E. Frazzoli 5-59- Control Systems I (HS 25) Solution Exercise Set Loop Shaping Noele Norris, 9th December 26 Exercise (A Non-minimum Phase System) To increase the rise time of the system, we need to increase the bandwidth of the system and thus design a system with a crossover frequency ω c as high as possible. However, we are constrained by the presence of a RHP zero at z = 2, which limits the crossover frequency. The common rule of thumb used for control design is to assume that ω c <.5z. Thus, for our problem: ω c < rad/sec. So we will add gain along with a lead compensator to try to achieve a crossover frequency of rad/sec while increasing the phase margin. We use a lead compensator of form: At ω =, the phase of P (s) is: C lead = K + s a + s. b ( ) ( P (jω) ω= = arctan arctan 2 4 = 78.69 87.7 26.57 = 92.97 ) arctan ( ) 2 We need a phase margin of around 45, so we need the compensator to provide: 45 + ( 8 ( 92.97 ( )) = 57.97. b/a ) Now, 57.97 = 2 arctan 9. Therefore, we want b/a = 3.48. Since, ω c = = ab, we get: a 29 b = 348 Now, we need to find K: At the crossover frequency ω c, L(s) ωc= =. Therefore, we want: + (/2) 2 + (/29) = 5 + (/4) 2 + (/2) 2 2 K + (/348) 2 That is, we want K 6.56. Therefore, our lead compensator is: C lead (s) = 6.56 + s/29 + s/348. But now we need a lag element to compensate for the increased gain of the system at high frequencies due to the lead compensator and to minimize the steady state error. A good rule of thumb so that the lag compensator does not interfere with the phase margin and crossover frequency determined by the lead compensator is to choose its zero to be a decade below the crossover:

Amplitude C lag = s + s + b. The low frequency gain of the system is around 6.56 5 = 32.8. To have low frequency gain of 2, we choose a lag ratio of 2/32.8 = 6.: Therefore, our final compensator is: b =.6 ( + s/29) (s + ) C(s) = C lead (s)c lag (s) = 6.56 ( + s/348) (s +.6) The Bode plot of the resulting Loop transfer function is: 6 Gm = 6.5 db (at 25 rad/s), Pm = 4. deg (at 99.7 rad/s) 4 2-2 -4 36 27 8 9-2 - 2 3 4 The step response of the resulting closed-loop system is given below. Notice the undershoot caused by the RHP zero..4.2.8.6.4.2 -.2 -.4.2.4.6.8..2.4.6 Exercise 2 (A Dynamic Compensator) The root locus and Bode plot of the system P (s) are given below: The root locus plot shows that the closed-loop system is stable for all positive gains, i.e., it is stable for C(s) = K, for K >. We take K = for our baseline stabilizing controller, so that the Bode plot above shows us the performance of the system with K =. 2

Imaginary Axis (seconds - ) 5 Gm = Inf db (at Inf rad/s), Pm = 84.3 deg (at.995 rad/s) 6 Root Locus 4-5 2 - -9-2 -35-4 -8-2 3-6 -2 - -8-6 -4-2 2 Real Axis (seconds - ). The steady-state error following ramp inputs must not exceed 2%. For this requirement to hold, the system must be of Type, i.e., L(s) = C(s)P (s) must have one pole at the origin (i.e., an integrator). Furthermore, the Bode-plot gain of L(s) must be such that e ss.2 for a ramp input. Since P (s) already contains a pole at the origin, there is no need yet to change the structure of the compensator C(s) = K. However, choosing C(s) = would not satisfy the max error requirement because we need the compensator gain to be greater than than /.2, i.e., K 5: ess = lim s sl(s) = lim s Ks s(.s+) = K The Bode plot for K = 5 is shown in the figure below. It is obtained by translating the magnitude plot of the previous Bode plot up by log 5. The phase plot remains unchanged: Gm = Inf db (at Inf rad/s), Pm = 25.2 deg (at 2.3 rad/s) 5-5 - -9-35 -8-2 3 2. The error in response to sinusoidal inputs up to 5 rad/sec should not exceed about 5%. The error in response to sinusoidal inputs can be evaluated using the frequency response. The transfer function from the reference input to the error is given by the sensitivity S(s) = + L(s). 3

In particular, the magnitude of the error in response to a unit-amplitude sinusoid of frequency ω is given by S(jω) = / + L(jω). Hence, the specification can be written as + L(jω) /.5 = 2, for all ω 5rad/s. In order to satisfy this equation, L(jω) should be large with respect to, hence we approximate this condition as L(jω) 2, for all ω 5rad/s. From the magnitude Bode plot of L(s) above, we can see that the system with C(s) = 5 does indeed hit the obstacle imposed by this magnitude condition: at 5rad/s, the magnitude of L(s) is only about 9. Thus, we need to further increase the gain by at least a factor of 2/9, so let us just take C(s) = 5, giving us this new Bode plot: 5 Gm = Inf db (at Inf rad/s), Pm = 6.8 deg (at 33.2 rad/s) System: untitled : 5.35 : 25.6-5 - -9-35 -8-2 3 3. The crossover frequency should be at about 5 rad/sec to meet bandwidth requirements while limiting the response to high-frequency noise. With the current design C(s) = 5, the crossover frequency occurs at approximately ω c = 33.2, and at 5 rad/sec the magnitude of the frequency response is about.4. Hence, in order to make sure that the crossover frequency is exactly at 5 rad/s, we need to multiply K by a factor of /.4 = 2.5. We thus even further increase K to K = 288, satisfying the first three requirements. 4. The phase margin should be about 5, and the ratio of the break frequencies of C should not exceed 5 to limit noise effects. While the choice of C(s) = 288 satisfies requirements -3, increasing the gain makes the phase margin very small. We now have a phase margin of only 2. We can use a lead compensator to increase the phase at crossover frequency, i.e., consider a compensator of the form C(s) = K s a + s b +. The maximum phase lead we can get is limited by the constraint on the ratio α = b/a of the break frequencies of the compensator imposed by our requirement. Using the straightline approximation, we know that the phase lead will be degrees one decade below the zero break frequency, and will increase linearly with log ω at a rate of 45 degrees/decade until one decade below the pole break frequency, at which point it will remain flat and eventually decrease. In other words, an estimate of the maximum phase lead is φ max = 45 log (5) = 3.45. (More accurate calculations, yield a max phase lead of about 4.) 4

In other words, a lead compensator, if used correctly, could increase the phase margin to the 45-5 degrees range, as desired. How do we get the maximum phase lead contribution to the phase margin? We can achieve this by placing the midpoint (on a log scale, i.e., the geometric mean) of the compensator zero/pole break frequencies exactly at the desired crossover frequency. Doing the math, we get a b = a α = 5rad/s, i.e., a = 5/ 5 = 22.36 rad/s, and b = 5a = 5 5 =.8 rad/s. The resulting Bode plot is shown below. The phase at 5 rad/s is as desired. However, the crossover frequency has moved to the right as an effect of the increased gain at high frequencies due to the lead compensator... In order to recover the correct crossover frequency, and the desired phase margin, we can lower the gain (i.e., shift the magnitude Bode plot downwards). Fortunately, we have some room to reduce the gain and still meet requirements () and (2), since we artificially increased the gain in step (3). For C(s) = 288(s/22.36 + )/(s/.8 + ), the magnitude of the L(s) at 5 rad/s is about 2.5, so let s reduce the gain by a factor of 2.5: C(s) = 5 s/22.36 + s/.8 + = 575 s + 22.36 s +.8 Note that this compensator satisfies the error specifications () and (2), since K is still greater than the minimum values we obtained from those requirements. If this had not been the case, we could have added a lag compensator at low frequencies. The corresponding Bode plot is: Gm = Inf db (at Inf rad/s), Pm = 53 deg (at 5.3 rad/s) 5-5 - -9-35 -8-2 3 4 5

Amplitude The step response of the resulting closed-loop system with designed C(s) is:.2.8.6.4.2.5..5 Exercise 3 (Time Delays) a) We analyatically derive the magnitude and phase of :e jt dω = cos(t d ω) j sin(t d ω). Magnitude: e jtdω = cos(t d ω) j sin(t d ω) = (cos(t d ω)) 2 + ( sin(t d ω)) 2 = cos 2 (T d ω) + sin 2 (T d ω) = Phase: ( ) e jtdω sin(td ω) = arctan cos(t d ω) ( ) sin(td ω) = arctan cos(t d ω) = arctan (tan(t d ω)) = T d ω Below are linear plots of both the magnitude and phase for T d = : 6

.5 -.5 - -8-36 -54-72 2 3 4 5 6 7 8 9 On a logarithmic scale, it looks like this:.5 -.5 - -8-36 -54-72 b). The first, second, and third order Padé approximations for T d = are: st order: e s 2 s 2 + s 2nd order: e s s2 6s + 2 s 2 + 6s + 2 3rd order: e s s3 + 2s 2 6s + 2 s 3 + 2s 2 + 6s + 2 2. The corresponding Bode plots of e s and its first through third order Padé approximations are: 7

Amplitude.5 -.5-44 -44-288 -432-576 Exact First order Second order Third order 2 3 4 5 6 7 8 9 3. The corresponding step responses are:.5 Exact First order Second order Third order.5 -.5 -.5.5 2 2.5 3 3.5 4 c). The Bode plots are as follows: 5 5-5 -5-44 - 2.34 # 4-44 -288 No delay -432 Exact delay of. sec First order approx of. sec delay -576-2 3 4-2.34-4.68 No delay Exact delay of. sec First order approx of. sec delay -6.92-2 3 4 2. The step responses are as follows: 8

Amplitude Amplitude.8 2.5 # 33.6 No delay Exact delay of. sec.4 2.2.5.8.6.4.5.2 No delay Exact delay of. sec First order approx of. sec delay -.2.5..5.2.25.3.35.4.45 -.5 2 3 4 5 6 7 d) As we saw from the plots above, while the designed compensator can handle small delays, the system becomes destabilized for larger time delays. The first order Padé approximation for G d (s) = e T ds is D(s) = 2/T d s 2/T d + s. This is an all-pass filter with a RHP zero equal to 2/T d. As the time-delay T d increases, this RHP zero approaches the origin and further and further limits the crossover frequency of the system, thus decreasing the phase without changing the gain crossover. Thus, a large enough time delay can destabilize the system. Remember our rule of thumb that the crossover frequency w c <.5z, where z is a RHP zero. Thus, for T d =., w c < rad/sec, while in the previous exercise we assumed we could reach a crossover frequency of w c = 5 rad/sec. As time delay is an important consideration for many control applications, it can thus also be useful to consider the time delay margin along with the gain and phase margins. You can use Matlab s allmargin to calculate all these margins for a given loop function. For the plant P (s) and C(s) designed in this solution set for exercise 2, the time delay margin claculated by Matlab is.84 seconds. Therefore, it is no surprise that the system was unable to handle a delay of. seconds. 9