[4.9 BODE](#page-10-0) PLOTS
β Back to LINEAR SYSTEMS AND SIGNALS Overview
4.9 BODE PLOTS
Sketching frequency response plots (|H(jΟ)| and H(jΟ) versus Ο) is considerably facilitated by the use of logarithmic scales. The amplitude and phase response plots as a function of Ο on a logarithmic scale are known as Bode plots. By using the asymptotic behavior of the amplitude and the phase responses, we can sketch these plots with remarkable ease, even for higher-order transfer functions.
β For simplicity, we have assumed nonrepeating characteristic roots. The procedure is readily modified for repeated roots, and the same conclusion results.
420 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
Let us consider a system with the transfer function
\n(4.44)
where the second-order factor (s2 + b2s + b3) is assumed to have complex conjugate roots.β We shall rearrange Eq. (4.44) in the form
and
This equation shows that H(jΟ) is a complex function of Ο. The amplitude response |H(jΟ)| and the phase response H(jΟ) are given by
(4.45)
and
(4.46)
From Eq. (4.46) we see that the phase function consists of the addition of terms of four kinds: (i) the phase of a constant, (ii) the phase of jΟ, which is 90β¦ for all values of Ο, (iii) the phase for the first-order term of the form 1+jΟ/a, and (iv) the phase of the second-order term
\[1+\frac{jb_2\omega}{b_3}+\frac{(j\omega)^2}{b_3}\]We can plot these basic phase functions for Ο in the range 0 to β and then, using these plots, we can construct the phase function of any transfer function by properly adding these basic responses. Note that if a particular term is in the numerator, its phase is added, but if the term is in the
β Coefficients a1, a2 and b1, b2, b3 used in this section are not to be confused with those used in the representation of Nth-order LTIC system equations given earlier [Eqs. (2.1) or (4.26)].
denominator, its phase is subtracted. This makes it easy to plot the phase function H(jΟ) as a function of Ο. Computation of |H(jΟ)|, unlike that of the phase function, however, involves the multiplication and division of various terms. This is a formidable task, especially when we have to plot this function for the entire range of Ο (0 to β).
We know that a log operation converts multiplication and division to addition and subtraction. So, instead of plotting |H(jΟ)|, why not plot log |H(jΟ)| to simplify our task? We can take advantage of the fact that logarithmic units are desirable in several applications, where the variables considered have a very large range of variation. This is particularly true in frequency response plots, where we may have to plot frequency response over a range from a very low frequency, near 0, to a very high frequency, in the range of 1010 or higher. A plot on a linear scale of frequencies for such a large range will bury much of the useful information at lower frequencies. Also, the amplitude response may have a very large dynamic range from a low of 10β6 to a high of 106 . A linear plot would be unsuitable for such a situation. Therefore, logarithmic plots not only simplify our task of plotting, but, fortunately, they are also desirable in this situation.
There is another important reason for using logarithmic scale. The WeberβFechner law (first observed by Weber in 1834) states that human senses (sight, touch, hearing, etc.) generally respond in a logarithmic way. For instance, when we hear sound at two different power levels, we judge one sound twice as loud when the ratio of the two sound powers is 10. Human senses respond to equal ratios of power, not equal increments in power [10]. This is clearly a logarithmic response.β
The logarithmic unit is the decibel and is equal to 20 times the logarithm of the quantity (log to the base 10). Therefore, 20log10 |H(jΟ)| is simply the log amplitude in decibels (dB).β‘ Thus, instead of plotting |H(jΟ)|, we shall plot 20log10 |H(jΟ)| as a function of Ο. These plots (log amplitude and phase) are called Bode plots. For the transfer function in Eq. (4.45), the log amplitude is
The term 20log(Ka1a2/b1b3) is a constant. We observe that the log amplitude is a sum of four basic terms corresponding to a constant, a pole or zero at the origin (20log|jΟ|), a first-order pole or zero (20log|1+jΟ/a|), and complex-conjugate poles or zeros (20log|1+jΟb2/b3 +(jΟ)2/b3|).
β Observe that the frequencies of musical notes are spaced logarithmically (not linearly). The octave is a ratio of 2. The frequencies of the same note in the successive octaves have a ratio of 2. On the Western musical scale, there are 12 distinct notes in each octave. The frequency of each note is about 6% higher than the frequency of the preceding note. Thus, the successive notes are separated not by some constant frequency, but by constant ratio of 1.06.
β‘ Originally, the unit bel (after the inventor of telephone, Alexander Graham Bell) was introduced to represent power ratio as log10 P2/P1 bels. A tenth of this unit is a decibel, as in 10 log10 P2/P1 decibels. Since the power ratio of two signals is proportional to the amplitude ratio squared, or |H(jΟ)| 2, we have 10 log10 P2/P1 = 10 log10 |H(jΟ)| 2 = 20 log10 |H(jΟ)| dB.
422 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
We can sketch these four basic terms as functions of Ο and use them to construct the log-amplitude plot of any desired transfer function. Let us discuss each of the terms.
4.9-1 Constant Ka1a2*/b1b***3**
The log amplitude of the constant Ka1a2/b1b2 term is also a constant, 20log|Ka1a2/b1b3|. The phase contribution from this term is zero for positive value and Ο for negative value of the constant (complex constants can have different phases).
4.9-2 Pole (or Zero) at the Origin
LOG MAGNITUDE
A pole at the origin gives rise to the term β20log|jΟ|, which can be expressed as
This function can be plotted as a function of Ο. However, we can effect further simplification by using the logarithmic scale for the variable Ο itself. Let us define a new variable u such that
u = logΟ
Hence,
The log-amplitude function β20u is plotted as a function of u in Fig. 4.40a. This is a straight line with a slope of β20. It crosses the u axis at u = 0. The Ο-scale (u = logΟ) also appears in Fig. 4.40a. Semilog graphs can be conveniently used for plotting, and we can directly plot Ο on semilog paper. A ratio of 10 is a decade, and a ratio of 2 is known as an octave. Furthermore, a decade along the Ο scale is equivalent to 1 unit along the u scale. We can also show that a ratio of 2 (an octave) along the Ο scale equals to 0.3010 (which is log10 2) along the u scale.β
Thus, if
(Ο2/Ο1) = 10 (which is a decade)
then
u2 βu1 = log10 10 = 1
and if
(Ο2/Ο1) = 2 (which is an octave)
then
β This point can be shown as follows. Let Ο1 and Ο2 along the Ο scale correspond to u1 and u2 along the u scale so that logΟ1 = u1 and logΟ2 = u2. Then
Figure 4.40 (a) Amplitude and (b) phase responses of a pole or a zero at the origin.
Note that equal increments in u are equivalent to equal ratios on the Ο scale. Thus, 1 unit along the u scale is the same as one decade along the Ο scale. This means that the amplitude plot has a slope of β20 dB/decade or β20(0.3010) = β6.02 dB/octave (commonly stated as β6 dB/octave). Moreover, the amplitude plot crosses the Ο axis at Ο = 1, since u = log10Ο = 0 when Ο = 1.
For the case of a zero at the origin, the log-amplitude term is 20 log Ο. This is a straight line passing through Ο = 1 and having a slope of 20 dB/decade (or 6 dB/octave). This plot is a mirror image about the Ο axis of the plot for a pole at the origin and is shown dashed in Fig. 4.40a.
PHASE
The phase function corresponding to the pole at the origin is β jΟ [see Eq. (4.46)]. Thus,
The phase is constant (β90β¦) for all values of Ο, as depicted in Fig. 4.40b. For a zero at the origin, the phase is jΟ = 90β¦. This is a mirror image of the phase plot for a pole at the origin and is shown dashed in Fig. 4.40b.
4.9-3 First-Order Pole (or Zero)
THE LOG MAGNITUDE
The log amplitude of a first-order pole at βa is β20log|1+jΟ/a|. Let us investigate the asymptotic behavior of this function for extreme values of Ο (Ο a and Ο a).
(a) For Ο a,
Hence, the log-amplitude function β 0 asymptotically for Ο a (Fig. 4.41a).
(a) For the other extreme case, where Ο a,
This represents a straight line (when plotted as a function of u, the log of Ο) with a slope of β20 dB/decade (or β6 dB/octave). When Ο = a, the log amplitude is zero. Hence, this line crosses the Ο axis at Ο = a, as illustrated in Fig. 4.41a. Note that the asymptotes in (a) and (b) meet at Ο = a.
The exact log amplitude for this pole is
This exact log magnitude function also appears in Fig. 4.41a. Observe that the actual and the asymptotic plots are very close. A maximum error of 3 dB occurs at Ο = a. This frequency is known as the corner frequency or break frequency. The error everywhere else is less than 3 dB. A plot of the error as a function of Ο is shown in Fig. 4.42a. This figure shows that the error at 1 octave above or below the corner frequency is 1 dB and the error at 2 octaves above or below the corner frequency is 0.3 dB. The actual plot can be obtained by adding the error to the asymptotic plot.
The amplitude response for a zero at βa (shown dotted in Fig. 4.41a) is identical to that of the pole at βa with a sign change and therefore is the mirror image (about the 0 dB line) of the amplitude plot for a pole at βa.
PHASE
The phase for the first-order pole at βa is
Let us investigate the asymptotic behavior of this function. For Ο a,
and, for Ο a,
Figure 4.41 (a) Amplitude and (b) phase responses of a first-order pole or zero at s = βa.
The actual plot along with the asymptotes is depicted in Fig. 4.41b. In this case, we use a three-line segment asymptotic plot for greater accuracy. The asymptotes are a phase angle of 0β¦ for Ο β€ a/10, a phase angle of β90β¦ for Ο β₯ 10a, and a straight line with a slope β45β¦/decade connecting these two asymptotes (from Ο = a/10 to 10a) crossing the Ο axis at Ο = a/10. It can be seen from Fig. 4.41b that the asymptotes are very close to the curve and the maximum error is 5.7β¦. Figure 4.42b plots the error as a function of Ο; the actual plot can be obtained by adding the error to the asymptotic plot.
Figure 4.42 Errors in asymptotic approximation of a first-order pole at s = βa.
The phase for a zero at βa (shown dotted in Fig. 4.41b) is identical to that of the pole at βa with a sign change, and therefore is the mirror image (about the 0β¦ line) of the phase plot for a pole at βa.
4.9-4 Second-Order Pole (or Zero)
Let us consider the second-order pole in Eq. (4.44). The denominator term is s2 + b2s + b3. We shall introduce the often-used standard form s2 + 2ΞΆΟns + Ο2 n instead of s2 + b2s + b3. With this form, the log amplitude function for the second-order term in Eq. (4.47) becomes
and the phase function is
\n(4.48)
THE LOG MAGNITUDE
The log amplitude is given by
log amplitude =
(4.49)
For Ο Οn, the log amplitude becomes
For Ο Οn, the log amplitude is
= -40 log - 40 log = -40u - 40 log (4.50)
The two asymptotes are zero for Ο<Ο*n* and β40uβ40logΟ*n* for Ο>Οn. The second asymptote is a straight line with a slope of β40 dB/decade (or β12 dB/octave) when plotted against the log Ο scale. It begins at Ο = Ο*n* [see Eq. (4.50)]. The asymptotes are depicted in Fig. 4.43a. The exact log amplitude is given by [see Eq. (4.49)]
log amplitude =
(4.51)
The log amplitude in this case involves a parameter ΞΆ , resulting in a different plot for each value of ΞΆ . For complex-conjugate poles,β ΞΆ < 1. Hence, we must sketch a family of curves for a number of values of ΞΆ in the range 0 to 1. This is illustrated in Fig. 4.43a. The error between the actual plot and the asymptotes is shown in Fig. 4.44. The actual plot can be obtained by adding the error to the asymptotic plot.
For second-order zeros (complex-conjugate zeros), the plots are mirror images (about the 0 dB line) of the plots depicted in Fig. 4.43a. Note the resonance phenomenon of the complex-conjugate poles. This phenomenon is barely noticeable for ΞΆ > 0.707 but becomes pronounced as ΞΆ β 0.
PHASE
The phase function for second-order poles, as apparent in Eq. (4.48), is
(4.52)
For Ο Οn,
β For ΞΆ β₯ 1, the two poles in the second-order factor are no longer complex but real, and each of these two real poles can be dealt with as a separate first-order factor.
Figure 4.43 Amplitude and phase response of a second-order pole.
For Ο Οn,
Hence, the phase β β180β¦ as Ο β β. As in the case of amplitude, we also have a family of phase plots for various values of ΞΆ , as illustrated in Fig. 4.43b. A convenient asymptote for the phase of complex-conjugate poles is a step function that is 0β¦ for Ο<Ο*n* and β180β¦ for Ο>Οn.
Figure 4.44 Errors in the asymptotic approximation of a second-order pole.
Error plots for such an asymptote are shown in Fig. 4.44 for various values of ΞΆ . The exact phase is the asymptotic value plus the error.
For complex-conjugate zeros, the amplitude and phase plots are mirror images of those for complex conjugate-poles.
We shall demonstrate the application of these techniques with two examples.
EXAMPLE 4.29 Bode Plots for Second-Order Transfer Function with Real Roots
Sketch Bode plots for the transfer function
MAGNITUDE PLOT
First, we write the transfer function in normalized form
Here, the constant term is 100; that is, 40 dB (20 log 100 = 40). This term can be added to the plot by simply relabeling the horizontal axis (from which the asymptotes begin) as the 40 dB line (see Fig. 4.45a). Such a step implies shifting the horizontal axis upward by 40 dB. This is precisely what is desired.
In addition, we have two first-order poles at β2 and β10, one zero at the origin, and one zero at β100.
Step 1. For each of these terms, we draw an asymptotic plot as follows (shown in Fig. 4.45a by dashed lines):
- (a) For the zero at the origin, draw a straight line with a slope of 20 dB/decade passing through Ο = 1.
- (b) For the pole at β2, draw a straight line with a slope of β20 dB/decade (for Ο > 2) beginning at the corner frequency Ο = 2.
- (c) For the pole at β10, draw a straight line with a slope of β20 dB/decade beginning at the corner frequency Ο = 10.
- (d) For the zero at β100, draw a straight line with a slope of 20 dB/decade beginning at the corner frequency Ο = 100.
- Step 2. Add all the asymptotes, as depicted in Fig. 4.45a by solid line segments.
- Step 3. Apply the following corrections (see Fig. 4.42a):
- (a) The correction at Ο = 1 because of the corner frequency at Ο = 2 is β1 dB. The correction at Ο = 1 because of the corner frequencies at Ο = 10 and Ο = 100 is quite small (see Fig. 4.42a) and may be ignored. Hence, the net correction at Ο = 1 is β1 dB.
Figure 4.45 (a) Amplitude and (b) phase responses of the second-order system.
-
(b) The correction at Ο = 2 because of the corner frequency at Ο = 2 is β3 dB, and the correction because of the corner frequency at Ο = 10 is β0.17 dB. The correction because of the corner frequency Ο = 100 can be safely ignored. Hence the net correction at Ο = 2 is β3.17 dB.
-
(c) The correction at Ο = 10 because of the corner frequency at Ο = 10 is β3 dB, and the correction because of the corner frequency at Ο = 2 is β0.17 dB. The correction because of Ο = 100 can be ignored. Hence the net correction at Ο = 10 is β3.17 dB.
-
(d) The correction at Ο = 100 because of the corner frequency at Ο = 100 is 3 dB, and the corrections because of the other corner frequencies may be ignored.
-
(e) In addition to the corrections at corner frequencies, we may consider corrections at intermediate points for more accurate plots. For instance, the corrections at Ο = 4 because of corner frequencies at Ο = 2 and 10 are β1 and about β0.65, totaling β1.65 dB. In the same way, the corrections at Ο = 5 because of corner frequencies at Ο = 2 and 10 are β0.65 and β1, totaling β1.65 dB.
With these corrections, the resulting amplitude plot is illustrated in Fig. 4.45a.
PHASE PLOT
We draw the asymptotes corresponding to each of the four factors:
- (a) The zero at the origin causes a 90β¦ phase shift.
- (b) The pole at s = β2 has an asymptote with a zero value for ββ <Ο< 0.2 and a slope of β45β¦/decade beginning at Ο = 0.2 and going up to Ο = 20. The asymptotic value for Ο > 20 is β90β¦.
- (c) The pole at s = β10 has an asymptote with a zero value for ββ <Ο< 1 and a slope of β45β¦/decade beginning at Ο = 1 and going up to Ο = 100. The asymptotic value for Ο > 100 is β90β¦.
- (d) The zero at s = β100 has an asymptote with a zero value for ββ <Ο< 10 and a slope of 45β¦/decade beginning at Ο = 10 and going up to Ο = 1000. The asymptotic value for Ο > 1000 is 90β¦. All the asymptotes are added, as shown in Fig. 4.45b. The appropriate corrections are applied from Fig. 4.42b, and the exact phase plot is depicted in Fig. 4.45b.
EXAMPLE 4.30 Bode Plots for Second-Order Transfer Function with Complex Poles
Sketch the amplitude and phase response (Bode plots) for the transfer function
MAGNITUDE PLOT
Here, the constant term is 10: that is, 20 dB(20 log 10 = 20). To add this term, we simply label the horizontal axis (from which the asymptotes begin) as the 20 dB line, as before (see Fig. 4.46a).
Figure 4.46 (a) Amplitude and (b) phase responses of the second-order system.
In addition, we have a real zero at s = β100 and a pair of complex conjugate poles. When we express the second-order factor in standard form,
434 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
we have
Step 1. Draw an asymptote of β40 dB/decade (β12 dB/octave) starting at Ο = 10 for the complex conjugate poles, and draw another asymptote of 20 dB/decade starting at Ο = 100 for the (real) zero.
Step 2. Add both asymptotes.
Step 3. Apply the correction at Ο = 100, where the correction because of the corner frequency Ο = 100 is 3 dB. The correction because of the corner frequency Ο = 10, as seen from Fig. 4.44a for ΞΆ = 0.1, can be safely ignored. Next, the correction at Ο = 10 because of the corner frequency Ο = 10 is 13.90 dB (see Fig. 4.44a for ΞΆ = 0.1). The correction because of the real zero at β100 can be safely ignored at Ο = 10. We may find corrections at a few more points. The resulting plot is illustrated in Fig. 4.46a.
PHASE PLOT
The asymptote for the complex conjugate poles is a step function with a jump of β180β¦ at Ο = 10. The asymptote for the zero at s = β100 is zero for Ο β€ 10 and is a straight line with a slope of 45β¦/decade, starting at Ο = 10 and going to Ο = 1000. For Ο β₯ 1000, the asymptote is 90β¦. The two asymptotes add to give the sawtooth shown in Fig. 4.46b. We now apply the corrections from Figs. 4.42b and 4.44b to obtain the exact plot.
Figure 4.47 MATLAB-generated Bode plots for Ex. 4.30.
BODE PLOTS WITH MATLAB
Bode plots make it relatively simple to hand-draw straight-line approximations to a systemβs magnitude and frequency responses. To produce exact Bode plots, we turn to MATLAB and its bode command.
bode(tf([10 1000],[1 2 100]),βk-β);
The resulting MATLAB plots, shown in Fig. 4.47, match the plots shown in Fig. 4.46.
Comment. These two examples demonstrate that actual frequency response plots are very close to asymptotic plots, which are so easy to construct. Thus, by mere inspection of H(s) and its poles and zeros, one can rapidly construct a mental image of the frequency response of a system. This is the principal virtue of Bode plots.
POLES AND ZEROS IN THE RIGHT HALF-PLANE
In our discussion so far, we have assumed the poles and zeros of the transfer function to be in the left half-plane. What if some of the poles and/or zeros of H(s) lie in the RHP? If there is a pole in the RHP, the system is unstable. Such systems are useless for any signal-processing application. For this reason, we shall consider only the case of the RHP zero. The term corresponding to RHP zero at s = a is (s/a) β1, and the corresponding frequency response is (jΟ/a) β1. The amplitude response is
This shows that the amplitude response of an RHP zero at s = a is identical to that of an LHP zero or s = βa. Therefore, the log amplitude plots remain unchanged whether the zeros are in the LHP or the RHP. However, the phase corresponding to the RHP zero at s = a is
whereas the phase corresponding to the LHP zero at s = βa is tanβ1(Ο/a).
The complex-conjugate zeros in the RHP give rise to a term s2β2ΞΆΟns+Ο2 n, which is identical to the term s2 +2ΞΆΟns+Ο2 n with a sign change in ΞΆ . Hence, from Eqs. (4.51) and (4.52), it follows that the amplitudes are identical, but the phases are of opposite signs for the two terms.
Systems whose poles and zeros are restricted to the LHP are classified as minimum phase systems. Minimum phase systems are particularly desirable because the system and its inverse are both stable.
4.9-5 The Transfer Function from the Frequency Response
In the preceding section we were given the transfer function of a system. From a knowledge of the transfer function, we developed techniques for determining the system response to sinusoidal inputs. We can also reverse the procedure to determine the transfer function of a minimum phase
436 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
system from the systemβs response to sinusoids. This application has significant practical utility. If we are given a system in a black box with only the input and output terminals available, the transfer function has to be determined by experimental measurements at the input and output terminals. The frequency response to sinusoidal inputs is one of the possibilities that is very attractive because the measurements involved are so simple. One needs only to apply a sinusoidal signal at the input and observe the output. We find the amplitude gain |H(jΟ)| and the output phase shift H(jΟ) (with respect to the input sinusoid) for various values of Ο over the entire range from 0 to β. This information yields the frequency response plots (Bode plots) when plotted against log Ο. From these plots we determine the appropriate asymptotes by taking advantage of the fact that the slopes of all asymptotes must be multiples of Β±20 dB/decade if the transfer function is a rational function (function that is a ratio of two polynomials in s). From the asymptotes, the corner frequencies are obtained. Corner frequencies determine the poles and zeros of the transfer function. Because of the ambiguity about the location of zeros since LHP and RHP zeros (zeros at s = Β±a) have identical magnitudes, this procedure works only for minimum phase systems.