[ Team LiB ] Previous Section Next Section

7.2 Bode and Nyquist Plots

In the previous section the basic concept of frequency response was presented. For linear systems, an input forcing with a certain frequency results in an output with the same frequency, shifted by the phase angle. There are two ways to perform frequency response analysis: (i) conversion of the input signal to the Laplace domain, partial fraction expansion of the output, and inversion to the time domain, or (ii) substitution of s = jw in the transfer function.

Method 2, substitution of s = jw in the transfer function, is the easiest approach. There are also two ways to display the frequency response information: Bode plots and Nyquist plots. The following first-order example is used to illustrate these concepts.

Example 7.1: First-Order System

Consider a first-order process transfer function

graphics/07equ03a.gif


We use two methods to find the output, given a sine forcing on the process input.

1. Laplace Transform Method

Consider a first-order system, with an input that is forced with a sine wave of magnitude A and a frequency of w (rad/time). The time and Laplace domain representations of the input are

graphics/07equ03b.gif


The Laplace domain output is

graphics/07equ03c.gif


Using a partial fraction expansion,

graphics/07equ03d.gif


Solving for the coefficients and inverting to the time domain (see Exercise 1), we find

graphics/07equ03e.gif


The exponential term decays with time, so the first term can be neglected at long times. Also, a trignometric identity can be used to find that

Equation 7.4

graphics/07equ04.gif


The ss subscript is used to indicate the long-term behavior of the output, after the initial transients have decayed. Notice that the output approaches 0 at high frequencies. This is consistent with the results shown in Figure 7-2. The phase angle also approaches –90° at high frequencies.

The amplitude ratio is the magnitude of the output divided by the input.

Equation 7.5

graphics/07equ05.gif


Notice that there is a natural dimensionless frequency, wtp, resulting from this analysis.

An easier way to generate frequency response plots is to simply set s = jw in the transfer function. We illustrate this procedure, again with a simple first-order example.

2. Substitution of s = jw Method

Substitute s = jw into the transfer function

graphics/07equ05a.gif


Notice that the result is a complex number (real and imaginary portions) that changes as a function of frequency. Since the magnitude of a complex number Re + jIm, can be represented by graphics/07inequ01.gif, then the magnitude (amplitude) of the transfer function (notice that the amplitude at zero frequency is simply the steady-state process gain) is

Equation 7.6a

graphics/07equ06a.gif


Also, the phase angle of a complex number can be represented by tan–1(Im/Re), so

Equation 7.6b

graphics/07equ06b.gif


Notice that these are exactly the relationships shown with method 1 [Equations (7.4) and (7.5)].

Also notice that one can simply plot the imaginary values as a function of the real values to obtain a Nyquist plot. Such a plot is shown in Figure 7-5 for this system. The curve begins close to (kp,0) at low frequencies, and approaches (0,0) through the first quadrant at high frequencies. That is, it starts with an amplitude of 1 at a phase angle of 0, and ends with an amplitude of 0 at a phase angle of –90°.

Figure 7-5. Nyquist plot for a first-order system. The circles correspond to the three frequencies (1 = 0.01 rad/minute, 2 = 0.1 rad/minute, 3 = 1 rad/minute) used on the mixing tank.

graphics/07fig05.gif

Generalization

To perform a frequency-response analysis, we simply substitute s = jw in the transfer function. Bode plots consist of amplitude ratio and phase angle plots as a function of frequency. The amplitude ratio plots are log-log, while the phase angle plots are semilog. Nyquist plots consist of a curve of the real and imaginary components of the transfer function, as a function of frequency.

The steps to generate the plots are as follows.

  1. Generate a vector of frequencies, w, linearly spaced on a logarithmic scale.

  2. Substitute s = jw into gp(s).

  3. Find the real and imaginary components, Re(w ) + jIm(w).

  4. For Bode plots, at each frequency point find the amplitude ratio and phase angle

    graphics/07equ06c.gif


    1. Plot amplitude ratio as a function of frequency on a log-log plot.

    2. Plot phase angle as a function of frequency on a semilog plot.

  5. For Nyquist plots, plot Im(w) vs. Re(w).

The results for several common transfer functions are shown in Table 7-1.

Table 7-1. Nyquist and Bode Values for Common Transfer Functions

g(s)

Re(w)

Im(w)

AR

f

f(w 0)

f(w)

graphics/07tainequ01.gif

graphics/07tainequ02.gif

graphics/07tainequ03.gif

graphics/07tainequ04.gif

tan–1(–tpw)

0

–90°

eqs

cos(qw)

–sin(qw)

1

qw

0

graphics/kbys.gif

0

graphics/07tainequ06.gif

graphics/07tainequ07.gif

–90°

–90°

–90°

ts + 1

1

tw

graphics/07tainequ08.gif

tan–1(tw)

0

90°

kp

kp

0

kp

0

0

0

Complex Transfer Functions

Consider now a transfer function that is composed of a number of transfer functions

Equation 7.7

graphics/07equ07.gif


and substituting s = jw, we can find the magnitude at each frequency

Equation 7.8

graphics/07equ08.gif


The amplitude ratio and phase angle can be found at each frequency from

Equation 7.9

graphics/07equ09.gif


Equation 7.10

graphics/07equ10.gif


That is, at each frequency the amplitude ratios add on a logarithmic scale, while the phase angles add on a linear scale.

Example 7.2: First-Order + Time Delay

Consider a first-order + time-delay process, written as three independent terms

graphics/07equ10a.gif


The amplitude ratio and phase angle can be found from Equations (7.9) and (7.10), and Table 7-1

graphics/07equ10b.gif


Notice that the time delay has no effect on the amplitude ratio (compared with the pure first-order process), but it has a great effect on the phase angle, particularly at high frequencies. We can also think of the effect of the changes in each of the parameters.

Gain Change

A change in the gain merely shifts the amplitude ratio up or down (additive on a log scale), with no change in the phase angle.

Time Delay Change

A change in the time delay changes the phase angle, but not the amplitude ratio. An increase in the time delay increases the phase lag (makes it more negative) at any given frequency.

Time Constant Change

A change in the time constant affects both the amplitude ratio and phase angle. An increase in the time constant tends to decrease the amplitude ratio and increase the phase lag (make it more negative) at any given frequency.

    [ Team LiB ] Previous Section Next Section