Exercises for lectures 13 Design using frequency methods

Similar documents
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

Homework 7 - Solutions

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

Systems Analysis and Control

Exercise 1 (A Non-minimum Phase System)

Exercise 1 (A Non-minimum Phase System)

Systems Analysis and Control

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

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

Outline. Classical Control. Lecture 5

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

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

1 (20 pts) Nyquist Exercise

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

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

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

PID controllers. Laith Batarseh. PID controllers

MAS107 Control Theory Exam Solutions 2008

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

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

ECE 388 Automatic Control

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

Analysis and Design of Analog Integrated Circuits Lecture 12. Feedback

Active Control? Contact : Website : Teaching

CDS 101/110 Homework #7 Solution

FREQUENCY-RESPONSE DESIGN

EE3CL4: Introduction to Linear Control Systems

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

Stability of CL System

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

Desired Bode plot shape

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

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

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

Frequency Response Techniques

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

EE 4343/ Control System Design Project LECTURE 10

CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

Frequency Response Analysis

Engraving Machine Example

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

ECE317 : Feedback and Control

Asymptotic Bode Plot & Lead-Lag Compensator

AMME3500: System Dynamics & Control

Root Locus Design Example #3

Performance of Feedback Control Systems

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) IN BIOMEDICAL ENGINEERING SEMESTER 1 EXAMINATION 2017/2018 ADVANCED BIOMECHATRONIC SYSTEMS

Reglerteknik: Exercises

Chapter 9: Controller design

Root Locus Methods. The root locus procedure

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

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

Step Response Analysis. Frequency Response, Relation Between Model Descriptions

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

ECE382/ME482 Spring 2005 Homework 8 Solution December 11,

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

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

Control Systems. Control Systems Design Lead-Lag Compensator.

16.30/31, Fall 2010 Recitation # 2

Digital Control Systems

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

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

Electronics II. Final Examination

Automatic Control (TSRT15): Lecture 7

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

ECE 486 Control Systems

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

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

Positioning Servo Design Example

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

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

DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

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

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

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.

DIGITAL CONTROLLER DESIGN

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693

ME 304 CONTROL SYSTEMS Spring 2016 MIDTERM EXAMINATION II

Step input, ramp input, parabolic input and impulse input signals. 2. What is the initial slope of a step response of a first order system?

Controller Design using Root Locus

Table of Laplacetransform

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS

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

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

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

MAE 143B - Homework 9

Control Systems I Lecture 10: System Specifications

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

MAE 143B - Homework 9

INTRODUCTION TO DIGITAL CONTROL

Solutions to Skill-Assessment Exercises

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

Robust Performance Example #1

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

Compensator Design to Improve Transient Performance Using Root Locus

Dynamic Compensation using root locus method

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

Transcription:

Exercises for lectures 13 Design using frequency methods Michael Šebek Automatic control 2016 31-3-17

Setting of the closed loop bandwidth At the transition frequency in the open loop is (from definition) Value is L( jc ) T( jc ) 1 L( j ) c but it also depends on the phase L( j c ), thus on PM (Phase Margin) For PM = 90 is L( j ) j and small phase - 90, so c j 1 T( jc ) 0.707 1 j 2 L( j ) 1 In this case the closed loop bandwidth equals to the transition frequency of open loop exactly! BW c For small PM, the value T( j c ) rises and appears a resonance peak. This bandwidth BW moves to the right, but usually does not exceed 2 c. It is usually c BW 2c. Therefore, we set (OL!!!) in order to ensure the required (CL!!!) c BW Michael Šebek ARI-13-2013 2 c

Relationship of ω c and ω BW Bode plot T( j) with marked and values c BW for various PM It is usually 2 c BW c For a 2 nd order system without zeros, the dependency on is show in the figure. 1 0.95 0.9 0.85 c BW 1 0.8 2 4 C 2 1 4 1,1 2 4 2 BW (1 2 ) 4 4 2 2 0.5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Michael Šebek ARI-13-2013 3 0.75 0.7 0.65 0.6 0.55 1 2

Repetition: steady behavior of the Bode plot >> L=(1+s)/(2+s)/(3+s), M 15dB v=value(l,0),l=l/v*10^(15/20),k=value(l,0),bode(l) L = 34 + 34s / 6 + 5s + s^2 K = 5.6234 >> KpdB=20*log10(abs(value(L,j*.01))), Kp=10^(15/20) KpdB = 15.0003, Kp = 5.6234 >> einfty = 1/(1+Kp) einfty = 0.1510 Initial slope is 0 so the system is of type 0 initial value (without a pole at 0) asymptote is 15 db and thus 15 20 K 15d B 10 5. 623 p steady-state error to a step is estep,ss 1 1 K p 0.151 L=(1+s)/(2+s)/(3+s)/s,v=value(coprime(s*L),0);L=L/v*10, L = 60 + 60s / 6s + 5s^2 + s^3 Kv=value(coprime(s*L),0),bode(L) Kv = 10 10 Initial slope is 20 db/dek and so the system is of type 1 (with one pole at 0) stretched "initial asymptote" intersects the zero line for frequency 10 and thus K 10 Steady-state error to a ramp v e ( ) 1 0.1 ramp K v Michael Šebek Pr-ARI-12-2013 4

Comparison of time and frequency responses Michael Šebek Pr-ARI-12-2013 5

Example: Setting K p by a P regulator System is 5 Gs () s 2 32dB K e p ss 2.5, K 20 log 2.5 8dB 1 1 K p p,db 0.29 We want K e ss,2 ss,2 0.01 Kp,2 99 ess,2 p,2,db We use K 1 e 20 log 99 40dB K 99 2.5 p,2 K p db p,2, p,db 39.6 K K K 40 8 32dB (Beware - the result is very fast, with a large action peak) 6

58390 System Gs () has s s 36 s 100 Example: Setting K v by a P regulator 1 16.22 eramp ( ) 0.0617 K If we want to reduce the steady-state error to ramp 10x, we must set Kv 162.2 We increase the gain 10x, what leads to 583900 Ls () We obtain s s 36 s 100 K v v but beware, the result is unstable! Here, P controller will not solve the task! 7

Example: Setting of gain for required PM For the position control system in the figure set the preamp gain so that the resulting system reaches 9.5% overshoot by a step of reference. From the required overshoot we calculate the damping (of dominant poles) ln(%os 100) ln(0, 095) 0.5996 0, 6 2 2 2 2 ln (%OS 100) ln (0,095) and from that we obtain PM 2 20.6 PM arctan arctan 1.0326 59.2 2 4 2 4 2 1 4 2 (0.6) 1 4 (0.6) The open loop transfer function has an indefinite K To draw the Bode plot and perform a design on the plot we have to choose some K. Let choose K = 3.6 and obtain Ls () s s L K 3.6 100K 36s 100 () s s s 360 36s 100 8

Example: Setting of gain for required PM We draw a Bode plot LK 3.6 ( s) 360 s s 36s 100 and find a frequency, for which L( j) 180 59.2 120.8 From the graph we subtract 14.8rad s For this frequency the amplitude is L( ) M( ) 0.0062 44.2dB and therefore we must increase gain by 44.2 db, so cca 162.2x. Then we obtain Ls () s s 58390 36s 100 Simulation verifying the correct design is necessary. We continue later with this example and for this purpose we measure Kv 16.22 e ( ) 0.0617 ramp 44.2dB 120.8 14.8rad s 9

Example: Setting PD System transfer function (aircraft attitude) Requirements e 0.000443 K 1 e 2257 ramp, ss v ramp, ss PM 80 First set K p = 181.19, to increase K v,1 = 12.5 to K v =2258 and to ensure the required regulation error. Then search for the part 1 KDs Obtained PD regulator for the system is K G() s P 815350 ss 361.2 Gs () K p 45dB Kv,1 12.5 4500 ss 361.2 Kv,2 2257 10

Example: Setting PD We draw the Bode plot for system L( s) KP 1 KDs G( s) 815350 s s 361.2 for K d = 0. We find ω D, at which PM = required (regulator phase at ω D ) = 80-45 = 35 where the phase is = -180 + 35 = -145. It is D 516. We calculate 1 1 KD 0.0019 516 Resulting L has a Bode plot. The requirement is fulfilled: PM = 84.9. 1 K Ds D 145 Phase of PD regulator D 35 516 45 0.1K P K D D KP KD 10K P K D 11

One more example: Setting PD For a transfer function Gs () s s Consider, we already designed K P = 1 and now we set K D in PD regulator for good PM We draw Bode plot for following values KD 0, 0.002, 0.005, 0.02 Uncompensated system (K d = 0) has PM = 7.78 To reach PM 58.5 PM = 80, regulator should PM add 72,22 to the new ω c From figure it follows, that it is impossible. High regulator gain PM 7.78 shifts ω c to higher frequencies, where phase of the uncompensated system declining faster than it is increased by the compensator. 2 1.510 3408.3s 1204000 12 7 47.6 1 D K s PM 25.9

For a transfer function Gs () Find a PI regulator, that increases PM = 22.6 to PM new = 65 Draw a Bode graph Ls () 815350K s K K 2 s s 361.2 First for K p = 1 and K I = 0 From requirement PM new =65 find ω c,new = 170 rad/s and calculate K P G j K I choose so that the corner freq. is less than a decade ω c,new K K P I P ( c, new ) db 20 21.5 20 10 10 0.084 K I P c, new I P c, new 10 K 10 0.084170 10 1.42 815350 ss 361.2 Example: Setting PI PM new 65 c, new 170 868 13 c PM 22.6

Example: Setting PI For this K 1.42 calculate the transfer function and draw the Bode plot Ls () We obtain PM new =59, what does not satisfy the requirement. Lets try to use a smaller K I (= move the corner frequency to left). For example K I = 0.07 leads to the transfer function L () s 2 2 with PM new = 64.3 I 815350KP s KI KP 68489s 16.9 2 2 s s 361.2 s s 361.2 68489s 0.833 s s 361.2 14

PID See the attached document. 15

Example: Lag regulator design Task: For a plat give by a transfer function Fs () 1 2s 30 s s design a Lag regulator satisfying these requirements: e, 0.05, PM 45 ss ramp Solution: 1. Find the value of the gain providing the desired deviation: ( ) ( ) K L1 s KF s s s 2 30 e ss, ramp s 1 1 1 60 60 0.05 K 1200 Kv lim sl1 ( s) K K 0.05 s0 230 This OL transfer function gives incorrect PM and GM >> K=1200;F=1/s/(s+2)/(s+30);L1=K*F L1 = 1200 / 60s + 32s^2 + s^3 >> [GM,PM,om_cp,om_cg]=margin(tf(L1)) GM = 1.6000 PM = 6.6449 om_cp = 7.7460 om_cg = 6.1031 >> GM_dB = 20*log10(GM) GM_dB = 4.0824 Michael Šebek ARI-13-2013 16

Phase (deg) Magnitude (db) Example: Lag regulator design 2. Draw a Bode plot L L1 () s s s 1200 2s 30 From the required PM we calculate necessary phase and we find new ω c,new = 1.28 rad/s At this frequency, we find the necessary attenuation 50 40 30 20 10 180 10 0-10 -90-135 -180 c, new Bode Diagram C( j ) 22.1dB db System: untitled1 Frequency (rad/s): 1.31 Magnitude (db): 22.1 System: untitled1 Frequency (rad/s): 1.28 Phase (deg): -125-225 10-1 10 0 10 1 Frequency (rad/s) 3. We calculate the parameter a from the measurements or from a transfer fcn. a C( j ) 22.1dB c, new db 1 22.1 C( j ) c, new 20 20 = C( j ) 10 db 10 0.0785 c, new >> aa=1/abs(value(l1,j*1.28)) aa = 0.0761 Michael Šebek ARI-13-2013 17

4. We calculate zero and pole 5. The final regulator is p c z c 10 c, new Example: Lag regulator design 0. 128 az 0.07850.128 0.0101 c C lag () s as pc 0.0785s 0.0101 s p s 0.0101 c 6. Finally, we verify if the regulator satisfies the requirements. Michael Šebek ARI-13-2013 18

Phase (deg) Magnitude (db) Example: Lag regulator design 6. 100 80 60 40 20 0-20 -40-60 -80 Bode Diagram 20 20 rad/s rad/s -100-90 System: untitled3 Phase Margin (deg): 49 Delay Margin (sec): 0.65 At frequency (rad/s): 1.32 Closed loop stable? Yes -135 49-180 -225 10-3 10-2 10-1 10 0 10 1 10 2 Frequency (rad/s) >> Kv=value(coprime(s*L2),0), e_ss_ramp=1/kv Kv = 20.0000, e_ss_ramp = 0.0500 Michael Šebek ARI-13-2013 19

Other Example: Lag compensation In the positioning control system, 58390 Ls () the gain was by previous method adjusted so ss 36s 100 that the system has overshoot 9.5% and 1 Kv 16.22 eramp ( ) 0.0617 Kv Add Lag compensation so that the steady state value to the ramp is 10x smaller and the overshoot does not increase The steady state leads to Kv 162.2, so we have to increase the gain 10 and then we obtain 583900 Ls () The overshot requirement 9.5% leads to ss 36s 100 0.6 PM 59.2 Because Lag decreases PM only little, but still (we expect a deteriorateon PM 5 12 ), we consider rather PM 59.2 10 69.2 Lets find a frequency, for which the phase is L( j) 180 69.2 110.8 20

Lag compensation From required phase 110.8 we determine frequency 9.8rad s 24dB Ls () 36s 100 s s 583900 and then the value 20log M( ) 24dB 110.8 9.8rad s From the definition, PM for should be 20log M( ) 0dB 9.8rad s Lag should have at the frequency attenuation 24dB 21

Lag compensation Draw the asymptote for higher frequencies in 20log M( ) 24dB 1 T 0.062rad s 20dB dek 24dB 1 T 0.98rad s The upper corner frequency is chosen by a decade left from 9.8rad s, it is 1 T 0.98rad s From there we continue with the slope 20dB dek to 0dB, what we reach for 1 T 0.062rad s After substitution we obtain s 1 T s 0.98 Cs () s 1 T s 0.062 It has correct shape, but not the gain, so we set up the DC gain of the compensator 0.063 s 0.98 K DC( s) KCC( s) C 1 p z DC(0) 1 0dB s 0.062 22

Lag compensation The result is 583900 36s 100 s s 0.063( s 0.98) s 0.062 36787( s 0.98) s s 36s100 s 0. 062 Compensated system Lag compensator Amplified uncompensated system Step response Ramp response 23

Lets get back to the positioning control system and design a regulator according to specifications: OS 20%, K v = 40, T p = 0,1s First set up gain so, that K 40 K lim sl( s) 0.0278K 40 K 1440 v s0 Lets substitute it and continue From the given specification we calculate PM a ω BW : v Example: Lead compensation Ls () s s Ls () s s 100K 36s 100 144000 36s 100 ln(%os 100) 2 0.456 PM arctan 48.1 2 2 ln (%OS 100) 2 4 2 1 4 BW 2 1 T p 2 4 2 1 2 4 4 2 46.6 rad s 24

Lead compensation Draw a Bode plot for This uncompensated system has PM = 34,1 By Lead compensation we increase PM to required value Since Lead also increases ω C, we add also some compensation factor. To compensate the smaller phase for larger frequencies ω C we choose the factor as 10º. Ls () 144000 36s 100 s s We require the regulator phase increase of 48.1 3410 24.1 25

Lead compensation We require the regulator phase increase of 48,1-34 + 10 = 24,1 Generally the compensated system should have PM 48.1 a BW 46.6rad s It should not produce satisfactory results, we have to repeat the design with other correction factor. From the phase growth requirement we have max 24.1 and from it It follows that 1 sin 1 sin max max 0.42 1 D( max ) 3.76dB If we choose C, new max, then at this frequency the amplitude of the uncompensated system should be -3,76 db According to that we find ω max Michael Šebek Pr-ARI-13-2012 26

Lead compensation On the Bode plot Ls () s s 144000 36s 100 We measure max 39rad s. Then from and 0.42 we calculate max 3.76dB max 39rad s max T 1 1 1 25.3, 60.2 T T and in the end, we obtain the search factor 1 s 1 25.3 ( ) T s Ds 2.38 1 s s 60.2 T 27

Lead compensation The result is: Compensated system Uncompensated system Lead compensator Simulation: OS% 22.6, PM 45.5, 39 rad s 68.8rad s, T 0.075s, K 40 BW p v C 28