Download presentation

Presentation is loading. Please wait.

Published byLisandro Leaverton Modified about 1 year ago

1
Lecture 8B Frequency Response

2
Frequency Response The most interesting type of system response Uses a sine wave forcing function input Interest is in the steady-state response instead of the transient response Steady-state response to a step change only provides information about process gain Transient response to sine wave change involves a fast change (gone within 4 T p values) to consistent response oscillating at the input frequency

3
Attributes of Frequency Response Two major characteristics of frequency response: 1.Output amplitude with respect to the input 2.Output phase lag or lead with respect to the input Amplitude is attenuated or amplified depending on input frequency Output oscillating out of phase with input also depends on input frequency

4
First Order Frequency Response For a sine wave input to a first order process the output equals By partial fraction decomposition, numerators are:

5
First Order Frequency Response Now, by inverting back to the time domain: dies out as t increases Note: φ is a function of T p and ω, but not of t. So for values of t/T p ≥ 4.0 (e -4 = 0.018), the process output, is a sine wave attenuated by whose value depends on ω being fast or slow.

6
First Order Frequency Response Attenuation and time shift between input and output sine waves (K p =1). The phase angle φ of the output signal is calculated from φ = – 180*Δt/P, where Δt is the time shift and P is the period of oscillation.

7
Bodé Diagrams Note that ω n = 1/T p, the natural frequency of the system, so the X-axis is the relative frequency ω/ω n - for a First Order System

8
Why is Frequency Response Analysis so Useful? The amplitude ratio and phase lag provide info about system stability These can be determined using the Laplace Transform directly to generate a Bodé Diagram Can be used to study: System identification (create a model) Controller tuning Stability of the control system Robustness of the control system Designing noise filters

9
Laplace and Complex Numbers Consider a complex number W defined as a + bj where a represents the real part of W or Re(W) b represents the imaginary part of W or Im(W). Define the following terms to characterize this number in the complex domain (polar coordinates) The Modulus The Phase Angle

10
Laplace and Complex Numbers These two terms can be used to plot the complex number in a polar coordinate plane a = |W|cosθ and b = |W|sinθ and W = |W|cosθ + j|W|sinθ

11
Laplace and Complex Numbers Since cosθ = (e +jθ + e -jθ )/2 and sinθ = (e +jθ – e -jθ )/2j ThenW = |W|[(e +jθ + e -jθ )/2] + j|W|[(e +jθ – e -jθ )/2j] W = |W|e +jθ Apply this complex knowledge to a First Order System: Substitute jω for s:

12
Laplace and Complex Numbers In polar coordinate form, this becomes: So by substituting jω for s and rearranging the transform into polar coordinate form, the amplitude ratio and phase angle for the system are obtained directly.

13
Second Order Frequency Response The original second order transform: Substitute jω for s:

14
Second Order Frequency Response In polar coordinate form, this becomes: So, steady state response is obtained directly for the second order system in a few steps and the Bodé Diagram can be plotted for different values of ωT p and ζ.

15
Bode Diagram - for Second Order System Note that ω n = 1/T p, the natural frequency of the system, so the X-axis is the relative frequency ω/ω n

16
Notes on Second Order Frequency Response 2 nd order response has maximum lag of 180° - twice a 1 st order system. If phase angle exceeds 90°, then it is a higher order. The real problem faced by 2 nd and higher order systems shows up at the natural frequency ω n. The amplitude ratio can be >>>> 1.0 and if ζ approaches 0, the response is amplified to . With a 3 rd order system, two critical frequencies may exist while for a 4 th order system there can be three. Clearly such system responses are not desired or tolerable and must be avoided. As well the phase lag of higher order systems for high frequency inputs is equal to -90n where n is the system order. With such high lags, these systems are more difficult to control and design.

17
Bode Diagram for PI Controller PI Controller

18
Bode Diagram for PI Controller PI Controller with K c = 2.0 and T I = 10

19
Bode Diagram for PD Controller PD Controller

20
Bode Diagram for PD Controller PD Controller with K c = 2.0 and T D = 10

21
Bode Diagram for PID Controller PID Controller

22
Bode Diagram for PD Controller PID Controller with K c = 2.0, T I = 10 and T D = 4

23
Notch filters are often used in control systems to eliminate the effects of mechanical resonance. The general transfer function for many types of filters, including notch filters, is equivalent to the transfer function of a PID controller.

24
Controller Design using Frequency Response Advantages 1.Applicable to all orders & types of dynamic models 2.Designer can specify desired closed-loop response 3.Information on stability and sensitivity is obtained Disadvantages 1.Approach is iterative and hence, is time-consuming– interactive computer graphics are necessary 2.Results often taken to be "gospel" (far from reality of most processes and plants) 3.Diagrams represent expected results for a model – not necessarily the real process

25
Frequency Response Stability Criteria Two principal methods to assess stability: - Bode Stability Criterion - Nyquist Stability Criterion The Bode Stability Criterion The Bode stability criterion states that a closed-loop system is unstable if the Frequency Response of the open-loop Transfer Function has an amplitude ratio greater than 1.0 at the critical frequency ω c. Otherwise the closed-loop system is stable. For the analysis, ω c is the value of ω where open-loop phase angle is -180°

26
Bode Stability Criteria The Bode stability criterion – a closed-loop system is unstable if the Frequency Response of the open-loop Transfer Function has an amplitude ratio > 1.0 at the critical frequency C ω. – Otherwise the closed-loop system is stable. – C ω is where the open-loop phase angle = 180°

27
Bode Stability Criteria Example: A process has a Transfer Function: For proportional control, determine the closed- loop stability for three values of K c = 1, 4, and 20.

28
Bode Stability Criteria Solution: The Open Loop Transfer Function The Bode plots for the three values of K c are shown on the next slide. Note that the phase angle curves are identical for all three cases. (Explain?)

29
Bode Stability Criteria AR OL φ OL ωcωc ω/ωnω/ωn

30
Ultimate Gain and Ultimate Period The Ultimate Controller Gain, K cU, is the maximum value of K c that results in stable closed loop system with proportional-only control (continuous oscillation). The Ultimate Period is the reciprocal of ω c as follows: K cU is determined from the Open Loop Frequency Response with P-only control and K c =1. So:

31
Gain Margin GM is determined from the Amplitude Ratio Bodé Diagram. 1.Determine critical frequency (ω c ) where phase lag = 180°. 2.Determine the value of the Amplitude Ratio (A c ) at ω c. 3.The Gain Margin is then defined as: GM = 1/A c 4.The Bode Stability Criterion states: If the value of GM < 1.0, the system is stable for all input sine wave frequencies.

32
Phase Margin PM is determined from the Phase Lag Bodé Diagram. 1.Find the frequency ω g where the Amplitude Ratio = Determine the value of the phase lag φ g at this ω g value 3.The phase margin is defined as PM = 180° + φ g The Bode Stability Criterion states If PM is less than 0, the system is stable for all sine wave input frequencies

33
Gain and Phase margin AR OL φ OL φgφg ωcωc ωgωg ωcωc ωgωg ωcωc ω/ωnω/ωn ω/ωnω/ωn

34
Gain Margin and Phase Margin 1.7 or 2.0 ≤ GM 30° or 45°≤ PM So, one can adjust K c such that the GM is at least 1.7 or the PM must be more than 30°

35
Comparison of Transient Response System response to a step change in set point for a PI controller tuned by frequency response ( ) and by Zeigler-Nichols rules ( ).

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google