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

Similar documents
EE 4343/ Control System Design Project LECTURE 10

Systems Analysis and Control

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

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

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

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

Systems Analysis and Control

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

Stability of CL System

Exercise 1 (A Non-minimum Phase System)

Homework 7 - Solutions

Exercise 1 (A Non-minimum Phase System)

FREQUENCY-RESPONSE DESIGN

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

ECE382/ME482 Spring 2005 Homework 8 Solution December 11,

MAS107 Control Theory Exam Solutions 2008

Desired Bode plot shape

EE3CL4: Introduction to Linear Control Systems

Transient response via gain adjustment. Consider a unity feedback system, where G(s) = 2. The closed loop transfer function is. s 2 + 2ζωs + ω 2 n

Frequency (rad/s)

9/9/2011 Classical Control 1

Loop shaping exercise

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

INTRODUCTION TO DIGITAL CONTROL

Outline. Classical Control. Lecture 1

Engraving Machine Example

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

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

Exercises for lectures 13 Design using frequency methods

Chapter 6 Steady-State Analysis of Continuous-Time Systems

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

Control Systems. Control Systems Design Lead-Lag Compensator.

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

16.30/31, Fall 2010 Recitation # 2

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

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

Frequency Response Analysis

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

Control Systems I Lecture 10: System Specifications

Asymptotic Bode Plot & Lead-Lag Compensator

Performance of Feedback Control Systems

AMME3500: System Dynamics & Control

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

Robust Performance Example #1

ME 475/591 Control Systems Final Exam Fall '99

PID controllers. Laith Batarseh. PID controllers

Digital Control Systems

Frequency Response part 2 (I&N Chap 12)

Dynamic Compensation using root locus method

STABILITY ANALYSIS TECHNIQUES

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

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

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

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

Topic # Feedback Control

Frequency Response Techniques

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

Discrete Systems. Step response and pole locations. Mark Cannon. Hilary Term Lecture

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

Step Response for the Transfer Function of a Sensor

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

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

R10 JNTUWORLD B 1 M 1 K 2 M 2. f(t) Figure 1

Due Wednesday, February 6th EE/MFS 599 HW #5

DIGITAL CONTROLLER DESIGN

Introduction to Feedback Control

(a) Find the transfer function of the amplifier. Ans.: G(s) =

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

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

Lecture 5: Frequency domain analysis: Nyquist, Bode Diagrams, second order systems, system types

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

EE451/551: Digital Control. Final Exam Review Fall 2013

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

An Internal Stability Example

Robust Control 3 The Closed Loop

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

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

MAE 143B - Homework 9

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

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

Automatic Control (MSc in Mechanical Engineering) Lecturer: Andrea Zanchettin Date: Student ID number... Signature...

APPLICATIONS FOR ROBOTICS

Lecture 11. Frequency Response in Discrete Time Control Systems

Chapter 7. Digital Control Systems

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

ECE 486 Control Systems

MAE 143B - Homework 9

OPTIMAL DESIGN AND ANALYSIS OF A CHEMICAL PROCESS CONTROL SYSTEM

1 (20 pts) Nyquist Exercise

Outline. Classical Control. Lecture 5

LabVIEW 开发技术丛书 控制设计与仿真实战篇

Systems Analysis and Control

NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY Vadapudupatti, Theni


Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. MSc SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2015/2016

Systems Analysis and Control

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

Reglerteknik: Exercises

Transcription:

EE572 Solution to HW#22. Keep working on your project!! 1. Consider the following system: W(s) + T s =1 msec G lead (z) G zoh (z) 8 ( s+ 4) - a) Design a lead compensator, G lead (z), which meets the following specs: ess ramp = 1/5 gain margin > 5 db phase margin > 3 o Solution: If we let G s K Ts + 1 lead ()= c, we see that we need a type 1 system to meet the steady-state error αt + 1 s specifications. Since we only have a type one system, we must increase the system type. This is accomplished by letting K c =K/s. We can find the appropriate value of K from K = 5 = lim sg G G( s) = K(8) / 4 = 2K. 2 Thus, K=5/2=2.5 and K c =2.5/s. Next, we must make a Bode plot of K c G zoh G(s)=. The Bode ss ( + 4)( 1+ s/ 2) plot is shown below: 6 EE572 - HW#21: Bode Plot of KcGzohG(jw) -5 v desired s lead zoh 4 2-1 -2 ωcg=13.84 r/s g.m. = 12.21 db -15-18 p.m. = 12.15-4 -2 ωcp= 28.28 r/s -6-25 -8-1 1-1 1 1 1 1 2 1 3-3 1-1 1 1 1 1 2 1 3 w (rad/sec) Next, we can determine how much more phase angle we need to meet specifications from: φ m = p.m. desired - p.m. current + fudge factor = 35 o -12.15 o +1 o = 32.85 o. We can use this value to solve for α : 1 α sin( φm ) = 1 φ or α = sin( m ) =. 2712. Recall that the lead compensator adds a gain of 1/ α = 1.92=5.66 1+ α 1+ sin( φ ) m db. Thus, the gain crossover frequency will shift to the right where K c G zoh G =-5.66 db. From the Bode plot, we see 1 that this occurs at ω cgnew = 19.35 rad/sec. We can find the last parameter, T, from ωcg new = = 19. 35 or T=.992. α T Hence, G s K Ts 1.. s lead () = c T ++ = 25 992 + 1. We can check our answer by making a Bode plot of G lead G zoh G(s): α 1 s. 269s + 1 s

1 Gm=19.65 db, (w= 77.46) Pm=41.14 deg. (w=19.35) Gain db -1 1-1 1 1 1 1 2 1 3 Frequency (rad/sec) -9-18 -27 Phase deg -36 1-1 1 1 1 1 2 1 3 Frequency (rad/sec) As we can see, the compensated system has a phase margin of 41.14 o at a new gain cross-over frequency of 19.65 rad/sec and a gain margin of 19.65 db at a phase cross-over frequency of 77.46 rad/sec (well within our specs!!!) 1 2. 1 2 1+ 1996. z +. 996z Finally, using the Bilinear transformation, we find G lead (z) to be Glead () z = 12518. 1. 11z. 9989z 2. a) Repeat problem 1 using lag compensation techniques Solution: If we let G s K Ts + 1 lag ()= c, again we see that we need a type 1 system to meet the steady-state error βt + 1 s specifications. Since we only have a type one system, we must increase the system type. This is accomplished by letting K c =K/s. We can find the appropriate value of K from K = 5 = lim sg G G( s) = K(8) / 4 = 2K. 2 Thus, K=5/2=2.5 and K c =2.5/s. Next, we must make a Bode plot of K c G zoh G(s)=. The Bode ss ( + 4)( 1+ s/ 2) plot is the same as shown in problem 1. Next, we need to find a new gain cross-over frequency where the system has sufficient phase angle to meet our phase margin specifications. That is, we need to find ω cgnew where K G G( jω ) = p. m. 18 + fudge factor = 35 18 + 5 = 14. From the Bode plot, we can see that c zoh cg desired new this occurs at ω cgnew = 3.85 rad/sec. At this frequency, the magnitude of K c G zoh G =19.42 db = 9.36. Since our lag compensator will introduce an attenuation of 1/β at high frequencies, we set β = KG c zohg( jωcg new ) = 936.. Finally, to insure that we get the desired attenuation of 1/β, we must set the zero of our lag compensator (located at s=-1/t) a decade or so below ω cgnew. In other words, T = 1 / ω cg new = 2. 5981. Hence, G s K Ts 1.. s lag () = c T ++ = 2 5 2 5981 + 1. We can check our answer by making a Bode plot of G lag G zoh G(s): β 1 s 24. 3149s + 1 s v desired s lag zoh

1 Gm=3.84 db, (w= 27.2) Pm=39.82 deg. (w=3.862) Gain db -1-2 1-4 1-2 1 1 2 1 4 Frequency (rad/sec) -9-18 -27 Phase deg -36 1-4 1-2 1 1 2 1 4 Frequency (rad/sec) As we can see, the compensated system has a phase margin of 39.82 o at a new gain cross-over frequency of 3.862 rad/sec and a gain margin of 3.84 db at a phase cross-over frequency of 27.2 rad/sec (well within our specs!!!) 1 2. 1 2 1+ 1912. z +. 912z Finally, using the Bilinear transformation, we find G lag (z) to be Glag () z = 88. 47 1. 6544z. 3456z b) Find the step response and the closed-loop Bode plot for both of your designs. What is the bandwidth of each closed-loop compensated system? Solution: The following is a closed-loop Bode plot of both the lead and lag compensated systems: 2 EE572 - HW#21: Closed-loop Lead and Lag Bode Plot -2 Lag Lead -5-1 -4-15 -6-8 -2-1 -25-12 1-1 1 1 1 1 2 1 3-3 1-1 1 1 1 1 2 1 3 w (rad/sec) The bandwidth of the lag compensated system is about 6 rad/sec while the lead compensated system has a bandwidth of about 3 rad/sec. We can also find the closed-loop step response for both systems:

1.4 1.2 EE572 - HW#21: Lead and Lag Closed-loop Step Response Lead Lag 1.8.6.4.2.5 1 1.5 2 2.5 3 time (sec) Note that the settling time for the lead step response is about.4 seconds while the lag settling time is nearly 3 seconds! c) Suppose our input is corrupted by periodic additive noise such that the actual input is w(t)+2.5cos2t. For both closed-loop systems, find the magnitude of the noise at the output (i.e., the magnitude of y 2.5cos2t ). (Hint:use your closed-loop Bode plot from part b)). Which system does a better job at attenuating the effects of the noise? Solution: From the closed-loop lead Bode plot, at a frequency of 2 rad/sec the magnitude of the lead system is about 3.2 db = 1.44 while the phase is about -75 o. Thus, the steady-state output of the lead system due to the noise will be about 3.6cos(2t -75 o ). From the closed-loop lag Bode plot, at a frequency of 2 rad/sec the magnitude of the lag system is about -25 db =.562 while the phase is about -175 o. Thus, the steadystate output of the lead system due to the noise will be about.146cos(2t -175 o ). Obviously, the lag system does a far better job of attenuating the additive input noise! APPENDIX - Matlab Code for HW#21» num=2;» den=conv([1 4 ],[1/2 1]) den =.5 1.2 4.» w=logspace(-1,3,2);» [mg,ph]=bode(num,den,w);» semilogx(w,2*log1(mg))» grid;title('ee572 - HW#21: Bode Plot of KcGzohG(jw)')» margin(num,den)» semilogx(w,ph)» grid;xlabel('w (rad/sec)')» semilogx(w,ph,[.1 1],[-18-18],'--')» grid;xlabel('w (rad/sec)')» phim=35-12.15+1 phim =

32.85» phim*pi/18.5733» alpha = (1-ans)/(1+ans) alpha =.2712» 1/sqrt(alpha) 1.923» 2*log1(ans) 5.6674» margin(1/sqrt(alpha)*num,den)» T=1/(sqrt(alpha)*19.35) T =.992» alpha*t.269» numc=2.5*[t 1] numc =.2481 2.5» denc=[alpha*t 1 ] denc =.269 1.» [numd,dend]=bilinear(numc,denc,1/1) numd =

125.187 249.8655 124.6848 dend = 1. -.11 -.9989» numd/numd(1) 1. 1.996.996» denlead=conv([alpha*t 1],den) denlead =.1.325 1.1276 4.» numlead=conv([t 1],num) numlead = 19.8481 2.» margin(numlead,denlead)» [g,p,w,w2]=margin(mg,ph-45,w) g =.169 p = -32.8424 w = 3.8489 w2 = 13.8447» beta=1/g beta = 9.3586

» 2*log1(beta) 19.4242» T=1/w T = 2.5981» beta*t 24.3149» numl=conv([t 1],num) numl = 519.6277 2.» denl=conv([beta*t 1],den) denl =.1216 24.862 98.2798 4.» margin(numl,denl) Warning: Divide by zero» numc=2.5*[t 1] numc = 6.4953 2.5» denc=[beta*t 1 ] denc = 24.3149 1.» [numd,dend]=bilinear(numc,denc,1/1) numd = 88.4717 168.231 79.7314 dend =

1. -.6544 -.3456» numd/numd(1) 1. 1.912.912» numclag=2.5*[t 1] numclag = 6.4953 2.5» denclag=[beta*t 1 ] denclag = 24.3149 1.» T=1/(sqrt(alpha)*19.35) T =.992» numclead=2.5*[t 1] numclead =.2481 2.5» [numldcl,denldcl]=cloop(numlead,denlead) numldcl = 19.8481 2. denldcl =.1.325 1.1276 23.8481 2.» [numlgcl,denlgcl]=cloop(numl,denl) numlgcl = 519.6277 2. denlgcl =.1216 24.862 98.2798 523.6277 2.

» [mgld,phld]=bode(numldcl,denldcl,w);» [mglg,phlg]=bode(numlgcl,denlgcl,w);» semilogx(w,2*log1(mgld),w,2*log1(mglg))» w=logspace(-1,3,2);» [mgld,phld]=bode(numldcl,denldcl,w);» [mglg,phlg]=bode(numlgcl,denlgcl,w);» semilogx(w,2*log1(mgld),w,2*log1(mglg))» grid;title(ee572 - HW#21: Closed-loop Lead and Lag Bode Plot')??? d;title(ee572 - HW# Improper function reference. A "," or ")" is expected.» grid;title('ee572 - HW#21: Closed-loop Lead and Lag Bode Plot')» semilogx(w,phld,w,phlg)» grid;xlabel('w (rad/sec)')» ylg=step(numldcl,denldcl);» yld=step(numldcl,denldcl);» ylg=step(numlgcl,denlgcl);» plot(yld)» t=[:.1:2];» yld=step(numldcl,denldcl,t);» ylg=step(numlgcl,denlgcl,t);» plot(t,ylg,t,yld)» t=[:.1:3];» yld=step(numldcl,denldcl,t);» ylg=step(numlgcl,denlgcl,t);» plot(t,ylg,t,yld,[ 3],[.98.98],'--',[ 3],[1.2 1.2],'--')» grid;title('ee572 - HW#21: Lead and Lag Closed-loop Step Response')» xlabel('time (sec)')» semilogx(w,2*log1(mgld),w,2*log1(mglg))» grid» max(mgld) 1.4453» 2*log1(ans) 3.1995» semilogx(w,phld,w,phlg)» grid» semilogx(w,2*log1(mgld),w,2*log1(mglg))» grid» 1^(-25/2).562

» 1.44*2.5 3.6» 1^(-25/2).562» ans*2.5.146