2 Frequency Response The most interesting type of system response Uses a sine wave forcing function inputInterest is in the steady-state response instead of the transient responseSteady-state response to a step change only provides information about process gainTransient response to sine wave change involves a fast change (gone within 4 Tp values) to consistent response oscillating at the input frequency
3 Attributes of Frequency Response Two major characteristics of frequency response:Output amplitude with respect to the inputOutput phase lag or lead with respect to the inputAmplitude is attenuated or amplified depending on input frequencyOutput 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 increasesNote: φ is a function of Tp and ω, but not of t.So for values of t/Tp ≥ 4.0 (e-4 = 0.018), the process output , is a sine wave attenuated bywhose value depends on ω being fast or slow.
6 First Order Frequency Response Attenuation and time shift between input and output sine waves (Kp=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 - for a First Order System Note that ωn = 1/Tp , the natural frequency of the system, so the X-axis is the relative frequency ω/ωn
8 Why is Frequency Response Analysis so Useful? The amplitude ratio and phase lag provide info about system stabilityThese can be determined using the Laplace Transform directly to generate a Bodé DiagramCan 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 asa + bjwhere 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 planea = |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 Then W = |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 ωTp and ζ.
15 Bode Diagram - for Second Order System Note that ωn = 1/Tp , the natural frequency of the system, so the X-axis is the relative frequency ω/ωn
16 Notes on Second Order Frequency Response 2nd order response has maximum lag of 180° - twice a 1st order system. If phase angle exceeds 90°, then it is a higher order. The real problem faced by 2nd 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 3rd order system, two critical frequencies may exist while for a 4th 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.
22 Bode Diagram for PD Controller PID Controller with Kc = 2.0, TI = 10 and TD = 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 AdvantagesApplicable to all orders & types of dynamic modelsDesigner can specify desired closed-loop responseInformation on stability and sensitivity is obtainedDisadvantagesApproach is iterative and hence, is time-consuming–interactive computer graphics are necessaryResults often taken to be "gospel" (far from reality of most processes and plants)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 criteriona 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 Kc = 1, 4, and 20.
28 Bode Stability Criteria Solution:The Open Loop Transfer FunctionThe Bode plots for the three values of Kc are shown on the next slide. Note that the phase angle curves are identical for all three cases. (Explain?)
30 Ultimate Gain and Ultimate Period The Ultimate Controller Gain, KcU, is the maximum value of Kc that results in stable closed loop system with proportional-only control (continuous oscillation).The Ultimate Period is the reciprocal of ωc as follows:KcU is determined from the Open Loop Frequency Response with P-only control and Kc =1. So:
31 Gain Margin GM is determined from the Amplitude Ratio Bodé Diagram. Determine critical frequency (ωc) where phase lag = 180°.Determine the value of the Amplitude Ratio (Ac) at ωc.The Gain Margin is then defined as:GM = 1/Ac4. 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. Find the frequency ωg where the Amplitude Ratio = 1.0.Determine the value of the phase lag φg at this ωg valueThe phase margin is defined asPM = 180° + φgThe Bode Stability Criterion statesIf PM is less than 0 , the system is stable for all sine wave input frequencies
33 Gain and Phase marginAROLωgωcωcω/ωnφgφOLωgωcω/ωn
34 Gain Margin and Phase Margin 1.7 or 2.0 ≤ GM 30° or 45°≤ PM So, one can adjust Kc 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 ( ).
Your consent to our cookies if you continue to use this website.