
Frequency response; frequency domain; Bode and Nyquist plots; transfer functions Class 2, 18.031 Haynes Miller and Jeremy Orloff 1 Introduction We will start by review the notions of gain, phase lag and frequency response from 18.03. We then introduce the Nyquist and Bode plots which are graphs that represent the frequency response. We will discuss the transfer of system function which will extend the notion of frequency response to include complex frequencies. Finally we will introduce block diagrams, which give us a simple and useful way of presenting systems. 2 Complex gain, gain and phase lag In the notes for class 1 we reviewed these concepts. We summarize them here so we can reference them in what follows. Everything in this section is important. If some of it is hazy you should go back and review the details in the reading for class 1. Our basic LTI sytem with input f(t) satisfies the differential equation P (D)x = Q(D)f(t): (1) The exponential response formula solves Equation 1 in the case f(t) is an exponential function. Theorem. (ERF) If P (s) = 0 then the equation 6 P (D)x = Q(D)est (2) has a particular solution Q(s) st xp = e : P (s) The ERF is remains valid if s is complex. We used this to produce the sinusoidal response formula. Theorem. (SRF) If P (i!) = 0 then the equation 6 P (D)x = Q(D)F0 cos(!t) (3) has a particular solution xp = A cos(!t φ); where A = F0 Q(i!)=P (i!) ; and φ = Arg(Q(i!)=P (i!)): − j j − and the complex replacement equation i!t P (D)zp = Q(D)F0e (4) 1 18.031 class 2, Frequency response; frequency domain; Bode and Nyquist plots; transfer functions2 has a particular solution Q(i!) i!t zp = F0 e : P (i!) We had names for all the pieces in the SRF. 1. In equation 3 we consider F0 cos(!t) to be the input. 2. F0 is the amplitude of the input. It has the same units as the input. 3. ! is the angular frequency of the input. It has units of radians/time. 4. A = F0 Q(i!)=P (i!) is the amplitude of the response. It has the same units as the j j response quantity. 5. g(!) = Q(i!)=P (i!) is the gain. The gain is the factor that the input amplitude is j j multiplied by to get the amplitude of the response. It has the units needed to convert input units to output units. 6. φ = Arg(Q(i!)=P (i!)) is the phase lag. It has units of radians. − 7. φ/ω is the time lag. This has units of time. 8. Q(i!)=P (i!) is the complex gain. It is important to remember that gain and phase are functions of the input frequency !. 3 Frequency response The sinusoidal solution to Equation 3 is completely determined by the gain and phase lag. That is, if the gain is g and the phase lag is φ then the sinusoidal solution is xp = gF0 cos(!t φ): − Now, both the gain and phase lag are functions of !. Considered together the gain and phase lag are called the frequency response of the system. You should take this to mean they determine how the system responds to a given input frequency. We reiterate their formulas: g(!) = Q(i!)=P (i!) and φ(!) = Arg(Q(i!)=P (i!)): j j − Taken separately we call g(!) the amplitude response of the system and φ(!) is the phase response of the system. 18.031 class 2, Frequency response; frequency domain; Bode and Nyquist plots; transfer functions3 3.1 Amplitude response and practical resonance The gain g(!) is a function of !. It tells us the size of the system's response to the given input frequency. We can graph g(!) vs ! and if the amplitude has a peak at !r we call this the practical resonance frequency. Example 1. Consider the system mx¨ + by_ + kx = kF0 cos(!t) where we consider F0 cos(!t) to be the input. Graph its gain function and find the practical resonant frequency if it exists. answer: The sinusoidal solution to this equation is kF0 cos(!t φ) kF0 xp(t) = − = p cos(!t φ) (where φ = Arg(P (i!)): P (i!) (k m!2)2 + b2!2 − j j − The gain is k g = g(!) = p : (k m!2)2 + b2!2 − Here we consider the system parameters m, b, k to be fixed and that the gain depends on the input parameter !. Finding practical resonance: If it exists the practical resonance frequency !r is the frequency where where g(w) has a maximum. Now, g(!) has a maximimum where the expression under the square root in the denominator has a minimum. That is, where f(!) = (k m!2)2 + b2!2 − has a minimum. Taking the derivative and setting it to 0 we get f 0(!) = 4m!(k m!2) + 2b2! = 0: − − Solving for ! we find q p 2 2 2 2 2 !r = 0 or !r = k=m b =2m = ! b =2m : − 0 − The last expression is given because it expresses !r in terms of the natural frequency !0 = p k=m. g g ω ωr ω p 2 2 2 !r = ! b =2m (no practical resonance). 0 − (practical resonance). Notice in this example that if the damping gets too large there is no practical resonance. This example is illustrated in the MIT Mathlet Amplitude Phase Second Order I. (See http://mathlets.org/mathlets/amplitude-and-phase-2nd-order/ 18.031 class 2, Frequency response; frequency domain; Bode and Nyquist plots; transfer functions4 3.2 The simple harmonic oscillator The simple harmonic oscillator is modeled by the equation mx¨ + kx = f(t): Example 2. Find the full solution to the DE: mx¨ + kx = F0 cos !t. answer: We do not show all the algebra. You should try it for yourself. Homogeneous solution: xh = c1 cos(!0t) + c2 sin(!0t); p where !0 = k=m is the natural frequency of the oscillator. Particular solution: 8 F0 cos !t F0 cos !t > = if ! < !0 > k m!2 m !2 !2 > 0 >j − j j − j <F0 cos(!t π) F0 cos !t xp = − = − if ! > !0 k m!2 m !2 !2 > 0 > j − j j − j >F0 t cos(!0t π=2) F0 t sin(!0t) :> − = if ! = !0. 2m!0 2m!0 The bottom case (! = !0) requires complex replacement and the extended ERF. The general solution (to the inhomogeneous DE) is given by x = xp + xh. Resonance and amplitude response of the simple harmonic oscillator The solution for xp shows that the gain of the system is given by 1 g = g(!) = : m !2 !2 j 0 − j This is a function of ! and the right hand plot below shows its graph. Note, it is similar to the damped amplitude response except the peak is infinitely high. As w gets closer to !0 the amplitude increases without bound. When ! = ! we have x = F0 t sin !0t . This is called pure resonance. The frequency ! is 0 p 2m!0 0 called the resonant or natural frequency of the system. The left-hand plot below graphs xp in this case. Notice how the response is oscillatory but not periodic. The factor of t in xp causes the amplitude to keep growing over time. Note carefully the different units and different meanings in the plots below. The left hand plot is output vs. time (for a fixed input frequency) and the right hand plot is output amplitude vs. input frequency. Also, x and g are in physical units dependent on the system; t is in time; ! is in radians per unit time, e.g. radians/sec. 18.031 class 2, Frequency response; frequency domain; Bode and Nyquist plots; transfer functions5 g x t ω ω0 Resonant response (! = !0) Undamped amplitude response 4 Bode and Nyquist plots In brief, Bode (rhymes with roadie) plots show the the frequency response of a system. There are two Bode plots one for gain (or magnitude) and one for phase. The amplitude response curves given above are examples of the Bode gain plot. The Nyquist plot combines gain and phase into one plot in the complex plane. It is drawn by plotting the complex gain g(iw) for all frequencies w. That is, the plot is a curve in the plane parametrized by !. Example 3. Give the Bode and Nyquis plots for the systemx ¨ +x _ + 2x = 2f(t) with input f(t). answer: The system has complex gain 2=P (iw), where P (s) = s2 + s + 2. So the gain and phase are 2 2 2 2 2 g(!) = = 2 = p φ = = Arg(P (i!)) = Arg(1 ! +2i!): P (i!) 1 ! + 2i! (1 !2)2 + (2!)2 − P (i!) − − j j j − j − Note that we write φ because we are thinking of φ as the phase lag, so φ is the phase. − − The Bode and Nyquist plots are shown below. φ g − ω 2 1 2 3 4 30 − 1.5 60 − 1 90 − 120 .5 − 150 ω − 1 2 3 4 180 − Bode gain plot Bode phase plot (in degrees) 18.031 class 2, Frequency response; frequency domain; Bode and Nyquist plots; transfer functions6 Im Re k/P (iω) for ω = 1 Nyquist plot The best way to get a feel for these plots is to play with the MIT Mathlet Amplitude Phase Second Order I. (See http://mathlets.org/mathlets/amplitude-and-phase-2nd-order/ Especially watch how the value of the gain and phase change as you move the ! slider.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages8 Page
-
File Size-