Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL. Glenn Vinnicombe HANDOUT 4. The Frequency ResponseG(jω)

Similar documents
CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION

Dynamic circuits: Frequency domain analysis

Frequency Response. Re ve jφ e jωt ( ) where v is the amplitude and φ is the phase of the sinusoidal signal v(t). ve jφ

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL. Glenn Vinnicombe HANDOUT 5. An Introduction to Feedback Control Systems

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

1 (20 pts) Nyquist Exercise

Class 13 Frequency domain analysis

8.1.6 Quadratic pole response: resonance

Control Systems I. Lecture 9: The Nyquist condition

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)

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

Review of Linear Time-Invariant Network Analysis

Chapter 8: Converter Transfer Functions

Homework 7 - Solutions

Chapter 8: Converter Transfer Functions

Frequency Response Techniques

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

Response to a pure sinusoid

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

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.

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

Process Control & Instrumentation (CH 3040)

Frequency response. Pavel Máša - XE31EO2. XE31EO2 Lecture11. Pavel Máša - XE31EO2 - Frequency response

16.30/31, Fall 2010 Recitation # 2

MAS107 Control Theory Exam Solutions 2008

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

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

The Frequency-Response

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

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

Outline. Classical Control. Lecture 1

Frequency Response Analysis

Sinusoidal Forcing of a First-Order Process. / τ

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

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

( ) Frequency Response Analysis. Sinusoidal Forcing of a First-Order Process. Chapter 13. ( ) sin ω () (

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

Step Response Analysis. Frequency Response, Relation Between Model Descriptions

MAE 143B - Homework 9

ME 375 EXAM #1 Friday, March 13, 2015 SOLUTION

School of Mechanical Engineering Purdue University

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

Refinements to Incremental Transistor Model

SCHOOL OF MATHEMATICS MATHEMATICS FOR PART I ENGINEERING. Self-paced Course

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

Electric Circuit Theory

Frequency domain analysis

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

R-L-C Circuits and Resonant Circuits

ESE319 Introduction to Microelectronics. Feedback Basics

Definitions. Decade: A ten-to-one range of frequency. On a log scale, each 10X change in frequency requires the same distance on the scale.

Step Response for the Transfer Function of a Sensor

FATIMA MICHAEL COLLEGE OF ENGINEERING & TECHNOLOGY

EE3CL4: Introduction to Linear Control Systems

INTRODUCTION TO DIGITAL CONTROL

Chapter 9: Controller design

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

Richiami di Controlli Automatici

EE221 Circuits II. Chapter 14 Frequency Response

STABILITY ANALYSIS TECHNIQUES

Sinusoids and Phasors

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

EE221 Circuits II. Chapter 14 Frequency Response

Asymptotic Bode Plot & Lead-Lag Compensator

STABILITY. Have looked at modeling dynamic systems using differential equations. and used the Laplace transform to help find step and impulse

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

Course Summary. The course cannot be summarized in one lecture.

Solution: K m = R 1 = 10. From the original circuit, Z L1 = jωl 1 = j10 Ω. For the scaled circuit, L 1 = jk m ωl 1 = j10 10 = j100 Ω, Z L

2.010 Fall 2000 Solution of Homework Assignment 1

Controls Problems for Qualifying Exam - Spring 2014

Compensator Design to Improve Transient Performance Using Root Locus

EECS C128/ ME C134 Final Wed. Dec. 14, am. Closed book. One page, 2 sides of formula sheets. No calculators.

EE Experiment 11 The Laplace Transform and Control System Characteristics

Chapter 8: Frequency Domain Analysis

Systems Analysis and Control

Explanations and Discussion of Some Laplace Methods: Transfer Functions and Frequency Response. Y(s) = b 1

Chapter 10: Sinusoids and Phasors

ESE319 Introduction to Microelectronics Bode Plot Review High Frequency BJT Model

Phasors: Impedance and Circuit Anlysis. Phasors

'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. ECE 110 Fall Test II. Michael R. Gustafson II

(amperes) = (coulombs) (3.1) (seconds) Time varying current. (volts) =

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

Solutions to Skill-Assessment Exercises

CIRCUIT ANALYSIS II. (AC Circuits)

Lecture 4: R-L-C Circuits and Resonant Circuits

ECE 486 Control Systems

Sinusoidal Steady-State Analysis

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

EC CONTROL SYSTEM UNIT I- CONTROL SYSTEM MODELING

The Frequency-response Design Method

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

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

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

Stability of Feedback Control Systems: Absolute and Relative

Control Systems Design

Frequency Dependent Aspects of Op-amps

Steady State Frequency Response Using Bode Plots

Laplace Transform Analysis of Signals and Systems

Transcription:

Part IB Paper 6: Information Engineering LINEAR SYSEMS AND CONROL Glenn Vinnicombe HANDOU 4 he Frequency ResponseG(jω)

x(t) 2π ω y(t) G(jω) argg(jω) ω t t Asymptotically stable LI systemg(s) x(t)=cos(ωt) y(t)= G(jω) cos ( ωt+ argg(jω) ) +starting transient

Summary If a pure sinusoid is input to an asymptotically stable LI system, then the output will also settle down, eventually, to a pure sinusoid. his steady-state output will have the same frequency as the input but be at a different amplitude and phase. he dependence of this amplitude and phase on the frequency of the input is called the frequency response of the system. In this handout we shall: Show how the frequency response can be derived from the transfer function. (by substitutingjω fors) Study how the frequency response can be represented graphically. (using the Bode diagram)

Contents 4 he Frequency ResponseG(jω) 4. What is the Frequency Response?............... 3 4.. Derivation of gain and phase shift........... 6 4.2 Plotting the frequency response................ 8 4.3 Sketching Bode Diagrams.................... 4.3. Powers ofs:(s) k.................... 2 4.3.2 First Order erms:(+s)............... 3 4.3.3 Second order terms:(+2ζs+s 2 2 )....... 5 4.3.4 Examples......................... 7 4.4 Key Points............................. 25

4. What is the Frequency Response? x(t) 2π ω y(t) A φ ω t t Asymptotically stable LI system x(t)=cos(ωt) y(t)= A cos ( ωt+φ ) +starting transient

If the input to an asymptotically stable LI system is a pure sinusoid then the steady state output will also be a pure sinusoid, of the same frequency as the input but at a different amplitude and phase. How do we finda, the gain, andφ, the phase shift?

How does this relate to Part IA? Consider again a system with input u and outputy, If d 2 y dt 2 +αdy dt +βy=adu dt +bu. then we can use the usual trick, letting u=e jωt so that R(u(t))=cos(ωt). We will find the response to the input cos(ωt) by taking the real part ofy, the response tou=e jωt. o find the solutiony, we assume it takes the form y(t)=ye jωt (4.) for some complex numbery = Y e j argy, so that R(y(t))=R( Y e j argy e jωt )= Y cos(ωt+ argy).

Substituting (4.) into the differential equation, and noting that dy dt =[jω]yejωt, d 2 y dt 2 =[jω]2 Ye jωt, etc we obtain Y[jω] 2 e jωt +αy[jω]e jωt +βye jωt =a[jω]e jωt +be jωt or Y = a[jω]+b [jω] 2 +α[jω]+β Note that the transfer function fromū(s) toȳ(s) is given by G(s)= as+b s 2 +αs+β So, it would appear thaty =G(jω), suggesting: Answer: If system has the transfer functiong(s), then A= G(jω), φ=argg(jω)

You ve done this in Linear Circuits, Maths and Mechanical Vibrations in Part IA, so I m assuming that you are familiar with these arguments! he notation above is as used in Maths and Mechanical Vibrations. In Linear Circuitsỹ was used to represent a complex phasor, rather than they above. Example:he Capacitor is described by the differential equation i=c dv dt soī(s)=cs v(s) in the absence of initial conditions giving the transfer function v(s) ī(s) = sc. So, the frequency response of a capacitor (from current to voltage) is jωc, which equals its impedance,ṽ/ĩ. he advantage of transfer functions is that they define the response to all possible inputs, whereas the impedence is only valid for sinusoidal (ac) signals.

4.. Derivation of gain and phase shift he previous argument is not the whole story though - we have assumed that the inputu=cos(ωt) has been present since the beginning of time, and have only shown thaty=a cos(ωt+φ) is a possible response. What if the system is at rest untilt= 0, and then a sinusoid is applied? ake an asymptotically stable system with input ū(s) outputȳ(s) and rational transfer functiong(s)= n(s) d(s), so Letu(t)=e jωt, soū(s)= s=jω, ȳ(s)=g(s) ȳ(s)=g(s)ū(s). s jω then, sinceg(s) can t have a pole at s jω = λ + λ 2 + + λ n + G(jω) s p s p 2 s p n s jω y(t)=λ e p t +λ e p 2 t + +λ n e p nt +G(jω)e }{{}}{{ jωt } y tr (= CF) y ss (= PI)

(with the obvious modifications if any poles are repeated). Since all the p k, the poles ofg(s), have a negative real part, theny tr (t) 0 as t leaving the steady-state responsey ss. he steady-state response to the inputu(t)=cos(ωt) is given by the real part of this: ( R(y ss (t))=r e jωt ) G(jω) =R ( G(jω) e j( ) ) ωt+argg(jω) asz= z e j argz = G(jω) cos ( ) ωt+ argg(jω) }{{}}{{} A φ

Example: Consider a system with transfer function and an input G(s)= s 2 + 0.s+ 2 x(t) = cos(0.5t) (a sinusoid at 0.5rad/s, or 0.5/(2π)=0.0796 Hz ) So,ω=0.5 and G(jω) = (0.5j) 2 + 0.(0.5j)+2 = 0.25+0.05j+ 2 =.75+0.05j =.7507e 0.0286j = 0.57e 0.0286j = 0.57.64 he following figures show the impulse response of this system, the inputx(t)=cos(0.5t), and the response to this input.

Note how the output initially contains a component near the resonant frequency of the system ω n = 2 (0.225 Hz) but that this quickly decays leaving only a sinusoid at the frequency of the input ω=0.5 (0.08 Hz) (and at an amplitude of 0.57). (he phase lag of.64 is too small to be seen on this diagram) 0.57 0.5 0 0.5 0 50 00 50 200 0.5 0 0.5 0 50 00 50 200 0.5 0 G(s)=/(s 2 + 0.s+ 2) g(t) Input:x(t)=cos(0.5t) Response to the inputx(t)=cos(0.5t) y(t)=g(t) x(t) 0.5 0 50 00 50 200 t (sec)

4.2 Plotting the frequency response he frequency responseg(jω) is a complex-valued function of frequencyω. At each frequencyω, the complex numberg(jω) can be represented either in terms of its real and imaginary parts, or in terms of its gain (magnitude) and phase (argument). here are a number of common ways of representing this information graphically: he Bode Diagram: wo separate graphs, one of G(jω) vsω(on log-log axes), and one of G(jω) (lin axis) vsω(log axis). he Nyquist Diagram: One single parametric plot, ofr ( G(jω)) againsti ( G(jω)) (on linear axes) asωvaries. he Nichols Diagram: One single parametric plot, of G(jω) (log axis) against (G(jω)) (lin axis) asωvaries.

Example: G(s) = 20 Bode Gain Plot s(s 2 +0.2s+2) Nyquist Diagram G(jω) (db) 0 20 40 60 0 0 0 0 0 ω (rad/s) Bode Phase Plot I ( G(jω) ) 0 2 3 4 5 5 4 3 2 0 2 20 R ( G(jω) ) Nichols Chart G(jω) (deg) 90 80 270 0 0 0 0 ω (rad/s) G(jω) (db) 0 20 40 60 270 225 80 35 90 45 0 G(jω) (deg)

Each has its use: he Bode diagram is relatively straightforward to sketch to a high degree of accuracy, is compact and gives an indication of the frequency ranges in which different levels of performance are achieved. he Nyquist diagram provides a rigorous way of determining the stability of a feedback system. he Nichols diagram combines some of the advantages of both of these (although is not quite as good in either specific application) and is widely used in industry. We shall not study the Nichols diagram in this course(!), but the ideas behind its construction will be readily grasped once the two fundamental diagrams that we do study are understood.

Consider G(jω) for ω = 2 G(jω) = ω=2 2j((2j) 2 + 0.2 (2j)+2) = 2j( 2 + 0.4j) Hence and G(j2) = 2 2 2 + 0.4 2 = 0.245 argg(j2)=arg arg 2j arg( 2+0.4j) = 0 π/2 2.9442 }{{} π atan(.4/2) = 4.550

because R I X So, G(j2)=0.245e 4.550j = 0.048+0.2404j Also, 20log 0 G(j2) = 2.2dB, G(jω)= 258.7 he corresponding point has been marked with a cross on each of the previous plots.

4.3 Sketching Bode Diagrams he bode diagram ofg(s) consists of two curves. Gain Plot: Gain G(jω) (log) vs freqω(log) 2. Phase Plot: Phase G(jω) (lin) vsω(log) It is straightforward to sketch, and gives a lot of insight. Basic idea: polynomials e.g. Clearly Consider a transfer function written as a ratio of factorized G(s)= a (s)a 2 (s) b (s)b 2 (s). log 0 G(jω) =log 0 a (jω) +log 0 a 2 (jω) log 0 b (jω) log 0 b 2 (jω), so we can compute the gain curve by simply adding and subtracting gains corresponding to terms in the numerator and denominator. Similarly G(jω)= a (jω)+ a 2 (jω) b (jω) b 2 (jω) and so the phase curve can be determined in an analogous fashion.

Since a polynomial can always be written as a product of terms of the type K, s, +s, +2ζs+s 2 2 (for ζ <, i.e. complex roots) it is suffices to be able to sketch Bode diagrams for these terms. he Bode plot of a complex system is then obtained by adding the gains and phases of the individual terms. Note: Always rewrite the transfer function in terms of these building blocks before starting to sketch a Bode diagram you will find it much easier. For example, if the transfer function has a term(s+a) first rewrite this as a (+s/a) and then collect together all the constants that have been pulled out. he transfer functions in Question 6 on Examples Paper 2 are already given in the right form, but you will need to rewrite the transfer function in Question 7. Example: We would rewriteg(s)= ( ) 0 G(s)= s 000(s+ ) s(s 2 + 5s+ 00) as (+s) (+0.05s+s 2 /00) and begin by considering each term individually.

4.3. Powers ofs:(s) k he simplest term in a transfer function is a power ofs, which it is convenient to write in the form a(s)=(s) k wherek>0 if the term appears in the numerator andk<0 if the term is in the denominator. he magnitude and phase of the term are given by log 0 a(jω) =log 0 (ω) k =klog 0 (ω), G(jω)=90k he gain curve is thus a straight line with slopekdecades/decade, or 20k db/decade, intersecting the 0dB line atω =. he phase curve is a constant at 90 k. For =, the case whenk= corresponds to a differentiator, and has a slope 20dB/decade and phase 90. he case whenk= corresponds to an integrator and has a slope 20dB/decade and phase 90.

40dB (=00) 20dB (=0) 0dB (=) 20dB (=.) 40dB (=.0) 0.0 0. 0 00 80 90 0 90 80 0.0 0. 0 00

4.3.2 First Order erms:( + s) Bode plot of G(s)=(+s) (for > 0)... replaces byjω to get G(jω)=(+jω) Asymptotes: = G(jω) = +jω }{{} +ω 2 2 G(jω) = (+jω) }{{} atan(ω) ω 0: (i.e. ω / ) +jω jω 20log 0 G(jω) 20log 0 =0 G(jω) =0

ω : (i.e. ω / ) 20log 0 G(jω) 20log 0 jω = 20log 0 ω 20log 0 / (which is a straight line with slope=20db/decade andx-axis (i.e. 0db) intercept at ω = /) G(jω) jω = 90 Atω=/, we get 20log 0 G(jω) =20log 0 +j = 20log 0 2 (3dB) G(jω)= (+j)=45

Bode diagram ofg(s)=(+s): 40dB (=00) Gain high freq asymptote ( slope= 20 db/decade) 20dB (=0) low freq asymptote 20log 0 G(jω) 0dB (=) 3dB 0.0 0. Frequency (rad/s) 0 00

90 G(jω) 0 high freq asymptote Phase (Degrees) 45 low freq asymptote 0 0 0.0 0. Frequency (rad/s) 0 00

4.3.3 Second order terms:(+2ζs+s 2 2 ) Bode plot of G(s)= +2ζs+s 2 2 (for > 0, 0 ζ )... replaces byjω to getg(jω)= +2ζjω ω 2 2 ω = 20log 0 G(jω) = 20log 2 0 2 + 2ζjω ( G(jω)= ω 2 2 ) + 2ζjω Asymptotes: ω 0: (i.e. ω / ) 20log 0 G(jω) 20log 0 =0 G(jω) =0

ω : (i.e. ω / ) 20log 0 G(jω) 20log 0 ω 2 2 = 40log 0 ω = 40log 0 / 40log 0 ω (which is a straight line with slope= 40dB/decade andx-axis (i.e. 0db) intercept atω=/) Atω=/, we get G(jω) ω 2 2 = 80 20log 0 G(jω) = 20log 0 2ζj = 20log 0 2ζ G(jω)= (2ζj)= 90

20dB 8dB= 2.5 (/2ζ) ζ= 0.2 0dB Gain (db) 20dB 6dB ζ= 40dB 60dB 0.0 0. 0 00

0 ζ= 0.2 Phase (Degrees) 45 90 ζ= 35 80 0.0 0. 0 00

4.3.4 Examples Example : G(s) = 5 +0s (K= 5, / = 0.) 20log 0 G(jω) =20log 0 5 20log 0 +jω/0. G(jω) = 5 (+jω/0.) We now produce a sketch of the Bode diagram in two stages (this is for clarity all these constructions would normally appear on one pair of graphs ). First we plot the asymptotes and approximations to the true curves for the individual terms, using the 3dB error at the cornerand 0/, /0 approximations. (he exact values are used for the plots here.)

Frequency (rad/s) 20 Gain (db) 0 20log 0 +0jω 20log 0 5 20 0 3 0 2 0 0 0 0 Phase (Degrees) 0 +0jω 5 90 0 3 0 2 0 0 0 0

In the next pair of diagrams, the contributions from the individual terms (now shown as dashed lines) have been added to give the Bode diagram ofg(s) (this has been done for both the asymptotes and the true gain and phase).

Frequency (rad/s) 20 Gain (db) 0 20log 0 G(jω) 20 0 3 0 2 0 0 0 0 Phase (Degrees) 0 G(jω) 90 0 3 0 2 0 0 0 0

he next example has both a pole and a zero it is an example of a phase-lead compensator. Example 2: G(s)=0.05 +0s +s So,G(jω)=0.05 +0jω +jω, 20log 0 G(jω) =20log 0 0.05 Note: 0.05= 26dB + 20log 0 +0jω 20log 0 +jω and G(jω) = 0.05 }{{} + (+0jω) (+jω) 0

First we draw the individual terms: Gain (db) 20 0 20 20log 0 +0jω 20log 0 +jω 40 20log 0 0.05 0 3 0 2 0 0 0 0 0 2

Phase (Degrees) 90 0 +0jω 0.05 +jω 90 0 3 0 2 0 0 0 0 0 2 Frequency (rad/s)

and then we sum them (Note how the phase terms sum to produce a maximum phase advance of only about 55.) 20 Gain (db) 0 20 20log 0 G(jω) 40 0 3 0 2 0 0 0 0 0 2

Phase (Degrees) 90 0 G(jω) 90 0 3 0 2 0 0 0 0 0 2 Frequency (rad/s)

Example 3: G(s)=0.05 +2s = 0.05 s s 20 20log 0 +2jω (+2s) Gain (db) 0 20 0.05 20log 0 jω = 20log 0 0.05 20log 0 ω 40 0 3 0 2 0 0 0 0 0 2

90 Phase (Degrees) 0 90 +2jω 0.05 jω = j 0 3 0 2 0 0 0 0 0 2 Frequency (rad/s)

20 Gain (db) 0 20 20log 0 G(jω) 40 0 3 0 2 0 0 0 0 0 2

Phase (Degrees) 90 0 G(jω) 90 0 3 0 2 0 0 0 0 0 2 Frequency (rad/s)

RHP poles and zeros ( jω)= (+jω) 20log 0 ( jω) = + 20log0 (+jω) hat is, if we have a term( s) instead of(+s) then the gain plot is unchanged but the term s contribution to the phase plot is reversed in sign (so the contribution of a RHP zero to the overall phase diagram is the same as that of a LHP pole at the same location).

Comments on Bode sketching A alternative technique for Bode diagrams would be to ignore the asymptotes, and just calculate and plot the true gain and phase over a grid of frequencies. his is not recommended for a number of reasons. Firstly, a lot more points are required to get the same accuracy (particularly when the diagram is to be used for control system analysis and design, as only a small region is required accurately in this case). Secondly, the structure of the diagram is then lost. A practising control engineer will often prefer a good sketch, with the asymptotes shown, to an accurate computer generated diagram since this gives a better idea of how things can be changed to improve the behaviour of the controlled system. When a question asks you to draw a Bode diagram (as in the questions on Examples Paper 2) it s really asking you to produce a drawing showing the straight line asymptotes and approximations and a rough approximation to the true gain and phase by rounding the corners appropriately.

4.4 Key Points he frequency response is obtained from the transfer function by replacings withjω. At each frequencyω,g(jω) is a complex number whose magnitude gives the gain of the system at that frequency and whose argument gives the phase shift of the system at that frequency. he gain and the phase shift are conveniently shown on the Bode diagram.