Frequency-Domain Control Systems Eng R. L. Nkumbwa Copperbelt University School of Technology 2010 2 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Its all Stability of Control Systems 3 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Frequency Response Roadmap We will cover the following: – 4 General frequency analysis in Control Engineering 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Introduction 5 In practice, the performance of a control system is more realistically measured by its time domain characteristics. The reason is that the performance of most control systems is judged based on the time response due top certain test signals. In the previous chapters, we have learnt that the time response of a control system is usually more difficult to determine analytically, especially for higher order systems. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Introduction In design problems, there are no unified methods of arriving at a designed system that meets the time-domain performance specifications, such as: – – – – 6 Maximum overshoot, Rise time, Delay time, Settling time and so on. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Introduction 7 On the other hand, in frequency domain, there is a wealth of graphical methods available that are not limited to low order systems. It is important to realize that there are correlating relations between frequency domain performance in a linear system, Such that the time domain properties of the system can be predicted based on the frequency-domain characteristics. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 8 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 9 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Example: Gun Positional Control 10 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Why use Frequency-Domain? 11 With the previous concepts in mind, we can consider the primary motivation for conducting control systems analysis and design in the frequency domain to be convenience and the availability of the existing analytical tools. Another reason, is that, it presents an alternative point of view to control system problems, which often provides valuable or crucial information in the complex analysis and 4/10/2015 design of control systems. Eng R. L. Nkumbwa @ CBU 2010 Characteristics of Frequency Response Frequency response methods are a good complement to the root locus techniques:– – – – – – 12 Can infer performance and stability from the same plot Can use measured data rather than a transfer function model Design process can be independent of the system order Time delays are handled correctly Graphical techniques (analysis and synthesis) are quite simple. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Frequency-Domain Analysis 13 The starting point for frequency-domain analysis of a linear system is its transfer system. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Time & Frequency-Domain Specs. 14 So, what are time-domain specifications by now? Am sure u all know what they are? Ok, what of frequency domain specifications? What are they? Lets look at the pictorials views… 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Time-Domain Specifications 15 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Frequency-Domain Specifications 16 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Wrap Up… 17 The frequency response of a system directly tells us the relative magnitude and phase of a system’s output sinusoid, if the system input is a sinusoid. What about output frequency? If the plant’s transfer function is G (s), the open-loop frequency response is G (jw). 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Further Frequency Response 18 In previous sections of this course we have considered the use of standard test inputs, such as step functions and ramps. However, we will now consider the steadystate response of a system to a sinusoidal input test signal. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Further Frequency Response 19 The response of a linear constant-coefficient linear system to a sinusoidal test input is an output sinusoidal signal at the same frequency as the input. However, the magnitude and phase of the output signal differ from those of the input sinusoidal signal, and the amount of difference is a function of the input frequency. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Further Frequency Response 20 We will now examine the transfer function G(s) where s = jw and graphically display the complex number G(jw) as w varies. The Bode plot is one of the most powerful graphical tools for analyzing and designing control systems, and we will also consider polar plots and log magnitude and phase diagrams. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 21 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Further Frequency Response 22 How is this different from Root Locus? The information we get from frequency response methods is different than what we get from the root locus analysis. In fact, the two approaches complement each other. One advantage of the frequency response approach is that we can use data derived from measurements on the physical system without deriving its mathematical model. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Further Frequency Response 23 What is the Importance of Frequency methods? They are a powerful technique to design a single-loop feedback control system. They provide us with a viewpoint in the frequency domain. It is possible to extend the frequency analysis idea to nonlinear systems (approximate analysis). 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Who Developed Frequency Methods? Bode Nyquist Nichols And others In the 1930s and 1940s. Existed before root locus methods. 24 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Variety of Frequency domain Analysis Bode Plot – Log |G(jω)| and Phase of G(jω) vs. Log frequency. – – Polar (Nyquist) plot – Re vs.Im of G(jω) in complex plane. – 25 Simplest tool for visualization and synthesis Typically plot 20log|G| which is given the symbol dB Hard to visualize, not useful for synthesis, but gives definitive tests for stability and is the basis of the robustness analysis. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Variety of Frequency domain Analysis 26 Nichols Plot – |G(jω)| vs. Phase of G(jω), which is very handy for systems with lightly damped poles. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 What are the advantages? 27 We can study a system from physical data and determine the transfer function experimentally. We can design compensators to meet both steady state and transient response requirements. We can determine the stability of nonlinear systems using frequency analysis. Frequency response methods allow us to settle ambiguities while drawing a root locus plot. A system can be designed so that the effects of undesirable noise are negligible. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 What are the disadvantages? 28 Frequency response techniques are not as intuitive as root locus. Find more cons 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Concept of Frequency Response 29 The frequency response of a system is the steady state response of a system to a sinusoidal input. Consider the stable, LTI system shown below. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Characteristics of Frequency Domain 30 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Concept of Frequency Response 31 The input-output relation is given by: 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Concept of Frequency Response 32 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Obtaining Frequency Response 33 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Concept of Frequency Response 34 Obtaining Magnitude M and Phase Ø 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Concept of Frequency Response 35 For linear systems, M and Ø depend only on the input frequency, w. So, what are some of the frequency response plots and diagrams? 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Frequency Response Plots and Diagrams 36 There are three frequently used representations of the frequency response: Nyquist diagram: a plot on the complex plane (G(jw)-plane) where M and Ø are plotted on a single curve, and w becomes a hidden parameter. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Frequency Response Plots and Diagrams 37 Bode plots: separate plots for M and Ø, with the horizontal axis being w is log scale. The vertical axis for the M-plot is given by M is decibels (db), that is 20log10(M), and the vertical axis for the Ø -plot is Ø in degrees. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Plotting Bode Plots 38 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Amplitude Ratio (AR) on log-log plot 39 – Start from steady-state gain at ω=0. If GOL includes either integrator or differentiator it starts at infinity or 0. – Each first-order lag (lead) adds to the slope –1 (+1) starting at the corner frequency. – Each integrator (differentiator) adds to the slope –1 (+1) starting at zero frequency. – A delays does not contribute to the AR plot. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Phase angle on semi-log plot 40 Start from 0°or -180°at ω =0 depending on the sign of steadystate gain. Each first-order lag (lead) adds 0°to phase angle at ω =0, adds -90°(+90°) to phase angle at ω = ∞ , and adds -45°(+45°)to phase angle at corner frequency. Each integrator (differentiator) adds -90°(+90°)to the phase angle for all frequency. A delay adds -ωθ to phase angle depending on the frequency. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 41 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 42 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 43 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Try Solving the Following Using Bode Technique 44 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Diagram or Analysis 45 The polar plot, or Nyquist diagram, of a sinusoidal transfer function G(jw) is a plot of the magnitude of G(jw) versus the phase angle of G(jw) on polar coordinates as w is varied from zero to infinity. Thus, the polar plot is the locus of vectors |G(jw)| LG(jw) as w is varied from zero to infinity. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Diagram or Analysis 46 The projections of G(jw) on the real and imaginary axis are its real and imaginary components. The Nyquist Stability Criteria is a test for system stability, just like the Routh-Hurwitz test, or the Root-Locus Methodology. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist is an alternative representation of frequency response 47 Compact (one plot) Wider applicability of stability analysis than Bode plot High frequency characteristics will be shrunk near the origin. Inverse Nyquist diagram: polar plot of G(jw) Combination of different transfer function components is not easy as with Nyquist diagram as 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 with Bode plot. Nyquist Diagram or Analysis 48 Note that in polar plots, a positive (negative) phase angle is measured counterclockwise (clockwise) from the positive real axis. In the polar plot, it is important to show the frequency graduation of the locus. Routh-Hurwitz and Root-Locus can tell us where the poles of the system are for particular values of gain. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Diagram or Analysis 49 By altering the gain of the system, we can determine if any of the poles move into the RHsP, and therefore become unstable. However, the Nyquist Criteria can also give us additional information about a system. The Nyquist Criteria, can tell us things about the frequency characteristics of the system. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Diagram or Analysis 50 For instance, some systems with constant gain might be stable for low-frequency inputs, but become unstable for high-frequency inputs. Also, the Nyquist Criteria can tell us things about the phase of the input signals, the time-shift of the system, and other important information. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Kuo’s View 51 Kuo et al (2003) suggests that, the Nyquist criterion is a semi-graphical method that determines the stability of a closed loop system by investigating the properties of the frequency domain plot, the Nygmst plot of L(s) which is a plot of L(jw) in the polar coordinates of M [L(jw)] versus Re[L(jw)] as ω varies from 0 to ∞. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Xavier’s View 52 While, Xavier et al (2004) narrates that, the Nyquist criterion is based on “Cauchy’s Residue Theorem” of complex variables which is referred to as “Principle of Argument”. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 The Argument Principle 53 If we have a contour, Γ (capital gamma), drawn in one plane (say the complex laplace plane, for instance), we can map that contour into another plane, the F(s) plane, by transforming the contour with the function F(s). The resultant contour, Γ F(s) will circle the origin point of the F(s) plane N times, where N is equal to the difference between Z and P (the number of zeros and poles of the function F(s), respectively). 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Criterion Let us first introduce the most important equation when dealing with the Nyquist criterion: Where: – – – 54 N is the number of encirclements of the (-1, 0) point. Z is the number of zeros of the characteristic equation. P is the number of poles of the open-loop characteristic equation. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Stability Criterion Defined 55 A feedback control system is stable, if and only if the contour ΓF(s) in the F(s) plane does not encircle the (-1, 0) point when P is 0. A feedback control system is stable, if and only if the contour ΓF(s) in the F(s) plane encircles the (-1, 0) point a number of times equal to the number of poles of F(s) enclosed by Γ. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Stability Criterion Defined 56 In other words, if P is zero then N must equal zero. Otherwise, N must equal P. Essentially, we are saying that Z must always equal zero, because Z is the number of zeros of the characteristic equation (and therefore the number of poles of the closed-loop transfer function) that are in the right-half of the s plane. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Manke’s View 57 While Manke (1997) outlines that, the Nyquist criterion is used to identify the presence of roots of a characteristic equation of a control system in a specified region of s-plane. He further adds that although the purpose of using Nyquist criterion is similar to RHC, the approach differs in the following respect: 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Nyquist Manke’s View Cont… – – 58 The open loop transfer G(s) H(s) is considered instead of the closed loop characteristic equation 1 + G(s) H(s) = 0 Inspection of graphical plots G(s) H(s) enables to get more than YES or NO answer of RHC pertaining to the stability of control systems. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Kuo’s Features of Nyquist Criterion Kuo also outlines the following as the features that make the Nyquist criterion an attractive alternative for the analysis and design of control systems: – – 59 In addition to providing the absolute stability, like the RHC, the NC also gives information on the relative of a stable system and the degree of instability. The Nyquist plot of G(s) H(s) or of L (s) is very easy to obtain. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Kuo’s Features of Nyquist Criterion – – 60 The Nyquist plot of G(s) H(s) gives information on the frequency domain characteristics such as Mr, Wr, BW and others with ease. The Nyquist plot is useful for systems with pure time delay that cannot be treated with the RHC and are difficult to analyze with root locus method. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Benefits of Frequency Response 61 Frequency responses are the informative representations of dynamic systems Example of an Audio Speaker 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Benefits of Frequency Response 62 Lets now look at a Mechanical or Civil Engineering example of frequency domain, say a structure like a bridge. 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 63 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Frequency Stability Tests 64 Want tests on the loop transfer function L(s)=Gc(s)G(s) that can be performed to establish stability of the closed-loop system 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Frequency Stability Tests 65 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 66 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 67 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 Any more worries about freqtool… 68 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010 69 4/10/2015 Eng R. L. Nkumbwa @ CBU 2010