Você está na página 1de 24

7

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis


In Chapter 4 you studied the response of SDOF systems to harmonic excitation and became familiar with important concepts such as resonance. You also learned how to simplify the analysis of viscous-damped systems by using complex frequency response. These concepts from Chapter 4 are now extended to determine the response of SDOF systems to periodic excitation. Upon completion of this chapter you should be able to:

Determine the Fourier series representation of a periodic function using the real form of the Fourier series. Determine the Fourier series representation of a periodic function using the complex form of the Fourier series. Determine the steady-state response of an SDOF system to periodic excitation using either the real form or the complex form. Use the basic denition to determine the Fourier transform of a transient function p (t ). Show that the impulse-response function for a linear system and the frequencyresponse function for the system form a Fourier transform pair. Apply the FFT algorithm to compute the Fourier transform of a periodic function p (t ), and plot the magnitude and phase of the Fourier transform computed.

7.1 RESPONSE TO PERIODIC EXCITATION: REAL FOURIER SERIES


Forces acting on structures are frequently periodic, or can be approximated closely by periodic forces. For example, the forces exerted on an automobile traveling at constant speed over certain roadway surfaces can be considered to be periodic. Figure 7.1 shows a periodic function with period T1 , that is, p(t + T1 ) = p(t) (7.1)

A periodic function can be separated into its harmonic components by means of a Fourier series expansion. In this section we consider real Fourier series. In Section 7.2 184

7.1 Response to Periodic Excitation: Real Fourier Series


p(t )

185

T1

Figure 7.1

Periodic function with period T1 .

complex Fourier series are introduced. The complex form is very useful when combined with the complex frequency-response function of Chapter 4 to study the steady-state response of damped systems. 7.1.1 Real Fourier Series The periodic function p(t) may be separated into its harmonic components by means of a Fourier series expansion. The real Fourier series expansion of p(t) may be dened as p(t) = a0 + where
1

n=1

an cos n

t+

n=1

bn sin n

(7.2)

2 T1

(7.3)

is the fundamental frequency (in rad/s), and an and bn are the coefcients of the nth harmonic. The coefcients a0 , an , and bn are related to p(t) by the equations a0 = an = bn = 1 T1 2 T1 2 T1
+T1 +T1 +T1

p(t) dt = average value of p(t) p(t) cos n p(t) sin n


1

t dt,

n = 1, 2, . . . n = 1, 2, . . .

(7.4)

t dt,

where is an arbitrary time. Although theoretically, a Fourier series representation of p(t) may require an innite number of terms, in actual practice p(t) can generally be approximated with

186

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

sufcient accuracy by a relatively small number of terms. Example 7.1 illustrates the Fourier series representation of a square wave. Example 7.1 (a) Determine expressions for the coefcients of a real Fourier series representation of the square wave shown in Fig. 1. Write the Fourier series representation of p(t). (b) Plot truncated series employing, respectively one, two, and three terms of the Fourier series.
p(t ) p0 t p0 T1

Figure 1 Square wave.

SOLUTION (a) The integrals in Eqs. 7.4 can be evaluated over the period T1 /2 < t < T1 /2 and thus written in the form a0 = an = bn = where p(t) = 1 T1 2 T1 2 T1
T1 /2

p(t) dt
T1 /2 T1 /2

(1) t dt (2) (3)

p(t) cos n p(t) sin n

T1 /2 T1 /2

T1 /2

t dt

p0 p0

Substituting Eqs. 4 into Eqs. 1 and 2, we get

T 1 /2 t < 0 0 t < T 1 /2

(4)

a0 = an = 0

Ans. (a) (5)

This results from the fact that p(t) is an odd function of t [i.e., p(t) = p(t)], whereas a0 and an are coefcients of even terms in the Fourier series. The coefcient for the odd terms is bn = so bn = 4 p0 T1
T1 /2 0

sin n

t dt
T1 /2

(6)

4p0 1 cos n T1 n 1

1t

(7)
0

7.1 Response to Periodic Excitation: Real Fourier Series

187

But

1 1

T = 2 , so bn =

2p0 (cos n 1) n

(8)

or 4p0 , n = 1, 3, 5, . . . n The Fourier series representation of the square wave is thus bn = p(t) = 4p0 1 sin n n
1

Ans. (a) (9)

Ans. (a) (10)

n=1,3,...

(b) The plots in Fig. 2 show the contributions over one period of the rst three nonzero terms of the Fourier series representation of the square wave in Fig. 1.
p (t ) p0
(a)

t T1 p0

(b)

(c)

(d)

Figure 2 Fourier-series representations of a square wave: (a ) square wave; (b ) sin( (c ) two-term representation; (d ) three-term representation.

t) term;

7.1.2

Steady-State Response to Periodic Excitation Having determined the response of SDOF systems to harmonic excitation in Chapter 4, and having determined how to represent a periodic function in terms of its harmonic components, we can now determine the response of SDOF systems to periodic excitation. In Example 7.2, an undamped SDOF system is subjected to the square-wave excitation of Example 7.1.

188

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

Example 7.2 The undamped SDOF system in Fig. 1 is subjected to a square-wave excitation p(t) like the one in Example 7.1. Determine a Fourier series expression for the steady-state response of the system if n = 6 1 .
u (t ) p (t )

Figure 1

Springmass oscillator.

SOLUTION From Eq. 4.9, the steady-state response of an undamped SDOF system to cosine excitation p0 cos t is u= p0 /k cos t 1 r2 (1)

m/k . where r = /n = From Example 7.1 we can write the square-wave excitation p(t) in the form p(t) = where
n=1

Pn sin n

(2)

Hence, the steady-state response can be written in the form u(t) =


n=1

4p0 n Pn = 0

n = odd n = even

(3)

Un sin n

(4)

From Eq. 1, the coefcients Un of the steady-state-response series have the form Un = where rn = Pn 2) k (1 rn n 1 n (5)

(6)

Finally, combining Eqs. 3, 4, and 5, we get the following Fourier series expression for the steady-state response: u(t) = 4p0 k 1 sin n n [1 (n/6)2 ]
1 1

Ans. (7)

n=1,3,...

since, for the present problem, n = 6

7.2 Response to Periodic Excitation: Complex Fourier Series


pPn 4p0 1 wn = 61

189

n 1 pkUn 4p0 1 31 51 71 91

71 1 31 51

91

Figure 7.2 Excitation and response spectra based on Example 7.2.

It is very convenient to visualize periodic functions in terms of their spectra, that is, plots of the amplitude of each harmonic component versus frequency. The spectra of the periodic excitation p(t) and resulting steady-state response u(t) from Examples 7.1 and 7.2 are plotted in Fig. 7.2. From Eqs. 3 and 5 of Example 7.2, the following nondimensional forms are obtained: 4 n = odd Pn = n (7.5a) p0 n = even 0 4 n = odd Un n [1 (n/6)2 ] = (7.5b) p0 /k n = even 0 and
n

Note that for the particular frequency ratio n = 6 1 , some of the Fourier components of the excitation are at frequencies below resonance, whereas others are above resonance. The response would have a very large Fourier component if n 1 were to fall close to n for some value of n.

=n

(7.5c)

7.2 RESPONSE TO PERIODIC EXCITATION: COMPLEX FOURIER SERIES


In Section 4.3, the complex frequency-response function H ( ) was introduced as a convenient means of representing the response of a viscous-damped system to harmonic

190

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

excitation. A complex Fourier series representation of periodic excitation and response functions will also prove to be very useful. 7.2.1 Complex Fourier Series Let the periodic function p(t) be separated into its harmonic components by means of a complex Fourier-series expansion, given by1 p(t) =
n=

P n ( )ei(n

1 t)

(7.6)

where the fundamental frequency 1 (rad/s) is related to the period of the function by 1 T1 = 2 . The bar over Pn symbolizes the fact that the coefcients of the series may be complex, even though the series as a whole represents a real function of time. To evaluate these components, note that
+T1

ei(n

1 t)

ei(m
1 t)

1 t)

dt =

0 T1

n=m n=m

(7.7)

So, multiplying Eq. 7.6 by ei(m Pn = Note that 1 T1


+T1

and integrating over one period, we get


1 t)

p(t)ei(n

dt,

n = 0, 1, . . .

(7.8)

P n = P n = complex conjugate of P n and that P0 = 1 T1


+T1

(7.9)

p(t) dt = average value of p(t)

(7.10)

[Actually, P 0 is real-valued since p(t) is real-valued.] Example 7.3 (a) Show that if p(t) is a real-valued function, the right-hand side of Eq. 7.6 will turn out to be real-valued, as it should be. (b) Show that if p(t) is an odd function, P n ( ) is purely imaginary and the coefcients P n and P n are related by the equation P n = P n SOLUTION (a) From Eulers formula (Eq. 3.14), ei = cos i sin
1 By

and e0 = 1

(1)

including negative n terms in this series, the Fourier series can represent a real function of time, p(t).

7.2 Response to Periodic Excitation: Complex Fourier Series

191

Therefore, Eq. 7.6 can be expanded into the following form: p(t) = P 0 + +
n=1

P n (cos n

t + i sin n t i sin n

t) (2)

n=1

P n (cos n

t)

Since P n is assumed to be complex, it can be expressed in terms of its real and imaginary components as Pn = Then, from Eq. 7.9, P n = P n = Combining Eqs. 2 through 4, we get p(t) = P 0 + 2
n=1

(P n ) + i (P n ) (P n ) i (P n )

(3)

(4)

[ (P n ) cos n

t (P n ) sin n

t]

(5)

which is real. Q.E.D. (b) Making use of Eulers formula, Eq. 1, we can write Eq. 7.8 as Pn = 1 T1
+T1

p(t) (cos n

t i sin n

t) dt

(6)

Since p(t) is said to be an odd function of t , the cosine term drops out and P +n = Then P n = i T1
+T1 +T1

i T1

+T1

p(t) sin n

t dt

(7)

p(t) sin(n p(t) sin n


1

t) dt (8)

i = T1

t dt

Hence, from Eq. 7, P n is purely imaginary, and from Eqs. 7 and 8, P n = P n . Q.E.D. By comparing Eq. 5 of Example 7.3 with Eq. 7.2, you will notice that the coefcients of the real Fourier series and the coefcients of the complex Fourier series are related by the following equations: ao = P 0 , an = 2 (P n ) bn = 2 (P n ) (7.11)

192

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

Example 7.4 (a) Determine an expression for the Fourier coefcients P n of the complex Fourier series representation for the square wave of Example 7.1. (b) Sketch spectra of (P n ), (P n ), and |P n |. SOLUTION (a) Equation 7.8 can be evaluated over the period 0 < t < T1 , giving Pn = Pn = But
1 1

1 T1

T1 /2 0

(p0 )ei(n
1 t)

1 t)

dt +

1 T1

T1 T 1 /2
1 t)

(p0 )ei(n

1 t)

dt

(1) (2)

p0 ei(n in 1 T1 ei(n
1 T1 /2)

T1 /2 0

ei(n +1 1

T1 T1 /2

T = 2 , so = ei(n ) = =e
i(2n )

ei(n 1 T1 )

n = even n = odd

(3)

Therefore, the complex Fourier coefcients are given by ip0 [2ei(n ) 1 ei(2n ) ] Pn = 2 n or n = even 0 ip0 i(n ) (2e Pn = 2) = 2ip0 2n n = odd n (b) See Fig. 1.
(Pn)

=1

(4)

Ans. (1) (5)

n
5 3 1 2p0 p 2p0 5p 5 2p0 3p 1 3 1 2p0 3p 2p0 p |Pn| 2p0 p 2p0 3p 5 3 1 1 3 2p0 5p 5 3 5 2p0 5p 1 3 5

(Pn)

Figure 1

Various spectra for the square wave of Example 7.1.

7.2 Response to Periodic Excitation: Complex Fourier Series

193

7.2.2

Complex Frequency Response The topic of complex frequency response was introduced in Section 4.3. Here we extend that discussion to cover the complex representation for steady-state response of an SDOF system to periodic excitation. From Eqs. 4.30 and 4.33, the steady-state response can be written in complex form as u(t) = U ( )ei
t

= H ( )p0 ei

(7.12)

where the frequency-response function H is given by2 H ( ) H u/p ( ) = 1/k [1 ( /n ) ] + i [2 ( /n )]


2

(7.13)

where is the forcing frequency and n is the undamped natural frequency of the SDOF system. When the excitation is periodic, we can use the complex Fourier series representation of Eq. 7.6, repeated here: p(t) =
n=

P n ei(n

1 t)

(7.6)

Then the steady-state response can be written as u(t) =


n=

U n ei(n

1 t)

(7.14)

Noting from Eq. 7.12 that for harmonic excitation U = H p0 , we see that the corresponding expression for periodic response is U n = H n P n = |H n ||P n | ei(Hn +Pn ) where for a viscous-damped SDOF system,3 H n H (n
1

(7.15)

)=

1/k [1 (n 1 /n ) ] + i [2 (n
2

/n )]

(7.16)

Example 7.5 illustrates the use of complex Fourier series in determining the steadystate response of a SDOF system subjected to periodic excitation. The method would be even more benecial if the system were a damped system. Example 7.5 (a) Repeat Example 7.2 by determining an expression for the Fourier coefcients U n for the undamped SDOF system subjected to square-wave excitation with n = 6 1 . (b) Sketch magnitude and phase spectra, |U n | and Un .
Here we use the dimensional form of H rather than the nondimensional form given in Eq. 4.33. The subscript n of the undamped natural frequency n should not be confused with the Fourier series index n.
3 2

194

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

SOLUTION (a) From Eq. 7.15, U n = H n P n = |H n ||P n | ei(Hn +Pn ) and from Eq. 7.16, with = 0, Hn = 1/k 1/k = 1 (n 1 /n )2 1 (n/6)2 (1)

(2)

From Eq. 5 of Example 7.4, the Fourier coefcients of the square wave are 0 n = even P n = 2ip0 n = odd n Hence, the nth term of the frequency response is 0 U n = H nP n = i(2p0 ) nk [1 (n/6)2 ] |U n | = n = even n = odd

(3)

Ans. (a) (4)

(b) From Eq. 4 we can evaluate expressions for the magnitude and phase angle. 2p0 /k |n [1 (n/6)2 ]| (5)

Because the nonzero terms in Eq. 4 are pure imaginary, the phase angles will all be /2. Hence, Un = /2 /2 n = +1, +3, +5, 7, 9, . . . n = 1, 3, 5, +7, +9, . . .
1

(6) , that

Note that sign changes occur as the resonance frequency is passed at n = 6 is, at n = 6.
mn = 1 pk |Un| zp0

n
9 7 5 3 1 1 an p/2 3 5 7 9

n
p/2 wn = 61

wn = 61

Figure 1 Response spectrum (magnitude and phase).

7.3

Response to Nonperiodic Excitation: Fourier Integral

195

For sketching purposes, evaluate the nondimensionalized magnitude n ( /2) |U n | |1/n | = , p0 /k |[1 (n/6)2 ]| 3 = 3 = 9 = 9 n = 1, 3, . . . (7)

The values to be plotted are 1 = 1 = 7 = 7 36 = 1.029, 35 36 = = 0.396, 91

4 = 0.444, 9 4 = = 0.089 45

5 = 5 =

36 = 0.655 55

The results are shown in Fig. 1. Compare the sketch of n in Example 7.5 with Fig. 7.2b and note that the complex coefcients n in Example 7.5 have an amplitude that is half that of the corresponding real coefcients, which are plotted in Fig. 7.2b. The contribution of the n terms in the complex Fourier series accounts for this difference. It is convenient to think of problems such as Example 7.5 in terms of transformations from the time domain to the frequency domain (spectrum), and from the frequency domain to the time domain. Figure 7.3 illustrates this.

7.3 RESPONSE TO NONPERIODIC EXCITATION: FOURIER INTEGRAL


In previous sections you have seen that a periodic function can be represented by a Fourier series, as in Eq. 7.2 or 7.6. When the function to be represented is not periodic, it can be represented by a Fourier integral. In developing expressions for the Fourier integral transform pair, it will be convenient to employ the complex Fourier series, letting the period T1 approach innity. 7.3.1 Fourier Integral Transforms Equation 7.6, which denes the complex Fourier series, is repeated here: p(t) =
Time domain
n=

P n ei(n

1 t)

(7.6)

Frequency domain Eq. 7.8

p (t )

Pn ()
Eq. 7.15

u (t )

Eq. 7.14

Un ()

Figure 7.3

Solution of a periodic response problem by transformation to the frequency domain.

196

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

where, as given by Eq. 7.8, the Fourier coefcients P n are related to p(t) by Pn = 1 T1
+T1

p(t)ei(n

1 t)

dt,

n = 0, 1, . . .

(7.8)

provided that the integral exists. In letting T1 , it will be convenient to introduce the following notation4 :
1

, 2

=n

(7.17) (7.18)

P(

) = T1 P n = 1 2
n= T1 /2

Pn

Then Eq. 7.6 can be written in the form p(t) = P(


n

)ei(

n t)

(7.19)

where, from Eqs. 7.8 and Eq. 7.18, P(


n

)=

T1 /2

p(t)ei(

n t)

dt

(7.20)

The limits of integration on Eq. 7.20 have been taken as shown so that when T1 , the entire time history of p(t) will be included regardless of the specic form of p(t). becomes the differAs T1 , n becomes the continuous variable , and ential d . Then Eqs. 7.20 and 7.19, respectively, can be written as P( ) = p(t) =

p(t)ei

dt
t

(7.21) d (7.22)

1 2

P ( )ei

Equations 7.21 and 7.22 are called a Fourier transform pair. P ( ) is known as the Fourier transform of p(t); and p(t) is called the inverse Fourier transform of P ( ). The representation of p(t) by its Fourier transform requires the existence of the integral in Eq. 7.21. Conditions that must be satised for the Fourier transform integral to exist are discussed in texts on integral transforms (e.g., Ref. [7.1]). These conditions are met by most physically realizable functions representing forces, displacements, and so on. Finally, the Fourier transform pair can be written in a more symmetric form if written in terms of the frequency f = /2 . Then P (f ) F [p(t)] = p(t) F1 [P (f )] =
4 Note

p(t)ei(2f t) dt

(7.23)

P (f )ei(2f t) df

(7.24)

that Eq. 7.18 introduces a scaling factor, T1 .

7.3

Response to Nonperiodic Excitation: Fourier Integral

197

Example 7.6 illustrates the use of straightforward time-domain integration to determine the Fourier transform of a rectangular pulse that is symmetric about t = 0. Note that the resulting Fourier transform is a real function of frequency. Example 7.6 Let p(t) be the rectangular pulse dened by t < T 0 T t T p(t) = p0 t >T 0

(a) Determine the Fourier transform of this rectangular pulse. Express the transform as a function of the frequency variable . (b) Plot the Fourier transform. SOLUTION (a) From Eq. 7.21, P( ) = Therefore, P( ) =

p(t)ei

T t

dt =
T

p0 ei

dt

(1)

which can also be written in terms of the sinc function (sin )/ . P ( ) = 2 p0 T sin T T Ans. (a) (3)

p0 i (e i

ei

(2)

(b) The Fourier transform P ( ) is therefore a real function. It can be plotted versus the frequency variable (Fig. 1) and compared with the discrete Fourier series of Example 7.4.
P ( )
2p0T

4p/T

2p/T

2p/T

4p/T

Figure 1 Fourier transform of a symmetric rectangular pulse.

Reference [7.1] contains a table of a number of Fourier transform pairs.

198 7.3.2

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

Frequency-Response Functions In Eq. 7.14 we found that the response of an SDOF system to periodic excitation can be expressed in the form u(t) = where, from Eq. 7.15,
n=

U n ei(n

1 t)

(7.14)

Following the procedure of Eqs. 7.17 through 7.24, we obtain the following Fourier transform pair for the response of an SDOF system: U (f ) = u(t) = where

U n = H nP n

(7.15)

u(t)ei(2f t) dt U (f )ei(2f t) df

(7.25) (7.26) (7.27)

U (f ) = H (f )P (f )

which is the product of the system frequency-response function, H (f ), and the Fourier transform of the excitation, P (f ). Therefore, the response can be expressed by the following inverse Fourier transform: u(t) =

H (f )P (f )ei(2f t) df

(7.28)

In some cases a table of Fourier transform pairs can be used to evaluate this inverse transform.[7.1,7.2] However, evaluation of this denite integral generally involves contour integration in the complex plane, which is beyond the scope of this book. 7.3.3 Parameter Identication Of great importance (as demonstrated in Chapter 18) is the fact that Eq. 7.27 can be written symbolically in the form H (f ) = U (f ) P (f ) (7.29)

The system frequency-response function, H (f ), can thus be obtained from Fourier transforms of the measured time histories of excitation p(t) and response u(t). Important system parameters (e.g., the undamped natural frequency n and damping factor of the system) can then be extracted from this system frequency-response function. For example, for a viscous-damped SDOF system, H (f ) is given by (Eq. 7.13) 1/k H (f ) = (7.30) [1 (f/fn )2 ] + i(2f/fn ) Such parameter identication procedures are discussed in Chapter 18 and in modal analysis references such as Refs. [7.4] and [7.5].

7.4 Relationship Between Complex Frequency Response and Unit Impulse Response

199

In Section 7.5 we describe how the Fourier integral can be approximated by the discrete Fourier transform (DFT), which, in turn, can be evaluated numerically by use of the fast Fourier transform (FFT) algorithm.

7.4 RELATIONSHIP BETWEEN COMPLEX FREQUENCY RESPONSE AND UNIT IMPULSE RESPONSE
The complex frequency response, H ( ) or H (f ), of a linear system describes its response characteristics in the frequency domain, and the unit impulse response h(t) describes the systems response in the time domain. We now show that the unit impulse function and the system frequency-response function form a Fourier transform pair. From Eq. 7.23, the Fourier transform of the unit impulse excitation is P (f ) =

p(t)ei(2f t) dt = 1

(7.31)

Therefore, the response to this unit impulse is, from Eq. 7.28, h(t) =

H (f )ei(2f t) df

(7.32)

But from Eq. 7.24, the equation that denes the inverse Fourier transform, this unit impulse response function is just the expression for the inverse Fourier transform of the system frequency-response function H (f ). Conversely, it follows that the system frequency-response function H (f ) is the Fourier transform of the unit impulse response function h(t), that is, H (f ) F [h(t)] =

h(t)ei(2f t) dt

(7.33)

This Fourier transform pair relationship between a systems impulse-response function in the time domain and its frequency-response function in the frequency domain is illustrated in Fig. 7.4. For example, for a viscous-damped SDOF system, H (f ) is given by Eq. 7.30 and h(t) by Eq. 5.30, both repeated here. H (f ) = h(t) = 1/k [1 (f/fn )2 ] + i(2f/fn ) 1 n t e sin d t, m d t >0 (7.30) (5.30)

Time Domain h(t) Impulse Response


F F 1

Frequency Domain H (f ) Frequency -Response Function

Figure 7.4 Relationship between impulse response and frequency response.

200

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

It is left as an exercise for the reader to show that these SDOF system functions satisfy Eq. 7.33. In Chapter 18 it will be noted that some parameter-estimation algorithms work directly with the frequency-response function H (f ); these are called frequency-domain algorithms. Other parameter-estimation algorithms make use of the impulse-response function h(t); these are called time-domain algorithms.

7.5 DISCRETE FOURIER TRANSFORM AND FAST FOURIER TRANSFORM


Although the Fourier integral techniques discussed in Section 7.3 provide a means for determining the transient response of a system, numerical implementation of the Fourier integral became a practical reality only with the publication of the CooleyTukey algorithm for the fast Fourier transform in 1965.[7.3] Since that date, the FFT has virtually led to a revolution in many areas of technology, including the area of vibration testing (e.g., see Chapter 18 and Refs. [7.4] and [7.5]). Two steps are involved in the numerical evaluation of Fourier transforms.[7.1] First, discrete Fourier transforms (DFTs), which correspond to Eqs. 7.23 and 7.24, are derived. Then an efcient numerical algorithm, the fast Fourier transform (FFT), is used to the compute the DFTs. 7.5.1 Discrete Fourier Transform Pair For numerical treatment of the Fourier transform, it is necessary rst to dene a discrete Fourier transform pair corresponding to the continuous Fourier transform pair of Eqs. 7.23 and 7.24. To be transformed, a continuous function must rst be sampled at discrete time intervals t . Second, due to computer memory and execution-time limitations, only a nite number N of these sampled values can be utilized. Figure 7.5a illustrates a sampled waveform with N = 16 samples taken at t = 0.25-sec intervals.
1.5 1 0.5 0 0.5 5 Mag(P ) 5

p(t )

2 t (sec) (a)

8 n (b)

12

16

Figure 7.5 Sampled waveform (et with frequency representation.

t = 0.25 sec, N = 16): (a ) discrete-time representation; (b ) discrete-

7.5

Discrete Fourier Transform and Fast Fourier Transform

201

The effects of this sampling and truncation are to approximate the continuous signal by a periodic signal of period T1 = N t , sampled at times tm = m t, m = 0, 1, . . . , (N 1). The total sample time is T1 , so the fundamental-frequency sinusoid that ts within this sample time has a period T1 . Therefore, the frequency interval of the discrete Fourier transform is f = 1 1 = T1 N t (7.34)

The DFT consists of N samples extending up to a maximum frequency of N f . Specic features of sampling and truncation that are illustrated in Fig. 7.5 are discussed following Example 7.7. Sampling and truncation are discussed in greater detail in Section 18.4. Since a period T1 consists of N samples, the integral of Eq. 7.23 is replaced by the following nite sum: P (fn ) =
N 1 m=0

p(tm )ei 2 (m

t)(n f )

(7.35)

Finally, the discrete Fourier transform (DFT) can be written P (fn ) = t


N 1 m=0

p(tm )ei(2 m(n/N)) ,

n = 0, 1, . . . , N 1

(7.36)

The inverse DFT can be obtained from Eq. 7.24 in a similar manner. Thus, p(tm ) =
N 1 n=0

P (fn )ei 2 (m

t)(n f )

(7.37)

This expression for the inverse Fourier transform (IFT) can be written as p(tm ) = 1 N t
N 1 n=0

P (fn )ei(2 m(n/N)) ,

m = 0, 1, . . . , N 1

(7.38)

Equations 7.36 and 7.38 dene a discrete Fourier transform pair that is consistent with the continuous Fourier transform. The discrete Fourier transform approximates the continuous Fourier transform at discrete frequencies fn . The accuracy of a DFT representation depends on the sampling interval t and the number of samples, or block size, N . In Section 18.4 we discuss these effects in much greater detail. Reference [7.1] presents a graphical derivation and a theoretical derivation of the DFT pair. The resulting discrete Fourier transform (DFT), written in present notation, is P (fn ) =
N 1 m=0

p(tm )ei(2 m(n/N)) ,

n = 0, 1, . . . , N 1

(7.39)

202

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

where fn = n f . The corresponding inverse DFT is p(tm ) = 1 N


N 1 n=0

P (fn )ei(2 m(n/N)) ,

m = 0, 1, . . . , N 1

(7.40)

This form is the one that is utilized in computing FFTs.[7.6] However, a scale factor t is required to produce an equivalence between this DFT form and the continuous Fourier transform. 7.5.2 Fast Fourier Transform Algorithm The fast Fourier transform (FFT) is not a new type of transform but rather, an efcient numerical algorithm for evaluating the DFT. Its importance lies in the fact that by eliminating most of the repetition in the calculation of a DFT, it permits much more rapid computation of the DFT. Either Eq. 7.39 or 7.40 can be cast in the form Am = where WN = ei(2 /N ) (7.42)
N 1 n=0 mn Bn W N ,

m = 0, 1, . . . , N 1

(7.41)

A measure of the amount of computation involved in Eq. 7.41 is the number of complex products implied by the form of the equation and the range of m. It is clear that there are N sums, each of which requires N complex products, or there are N 2 products required for computing all of the Am s. By taking advantage of the cyclical nature of powers of WN , the total computational effort can be drastically reduced. Figure 7.6 shows the repetition cycle for W8mn . The number of complex products for the FFT algorithm is given by (N/2) log2 N . For example, if N = 512, the number of FFT operations is less than 1% of the corresponding number of DFT operations. Signal-processing software products invariably provide for computation of the FFT.[7.6]
14 W6 8 = W8 = 13 W5 8 = W8 = 15 W7 8 = W8 =

12 W4 8 = W8 =

8 W0 8 = W8 =

11 W3 8 = W8 = 10 W2 8 = W8 =

9 W1 8 = W8 =

mn Figure 7.6 Cyclical nature of WN for N = 8.

7.5

Discrete Fourier Transform and Fast Fourier Transform

203

7.5.3

FFT Computations In Example 7.7 the FFT command in the Matlab computer program is used to compute the Fourier transform of a square wave, similar to the one treated analytically in Example 7.4 in Section 7.2. Computation of FFTs of nonperiodic signals is discussed in Section 18.4. Example 7.7 Let p(t) be the square wave dened over one period by the function p(t) = 2 0 0.0 t < 0.5 sec

0.5 sec t < 1.0 sec

represented by 16 samples over the nite interval 0 sec t < 1 sec. Use the FFT command in Matlab to determine the Fourier transform of this square wave, and plot the real and imaginary parts of the resulting Fourier transform. SOLUTION Relative to an offset average value of 1.0, the square wave is antisymmetric in the time window 0.5 sec t 0.5 sec. The 16 discrete-time sample points are shown in Fig. 1a. These 16 data points constitute the input to the FFT algorithm. (See the Comments following this example.)
1.5 1 (P ) 2 0.5 0 0.5

p (t )

1 0 1 0.5 (P ) 0 0.5 1

f (Hz)

0.5 t (sec) (a )

f (Hz) (b)

Figure 1 (a ) Time- and (b ) frequency-domain representations of a square wave.

204

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis

In Fig. 1b the results of a 16-point FFT are plotted versus the discrete frequency fn for 0 fn fN/2 . The real part (top right) and the imaginary part(lower right) can be compared with the plots in Fig. 1 of Example 7.4, noting that the square wave in Example 7.4 is an antisymmetric function with an average value of zero, whereas the square wave in this example is an antisymmetric function relative to an average value of 1.0. Other differences are explained in the Comments that follow. Comments Regarding Matlab FFT Input/Output 1. The FFT algorithm is executed with the command y = fft (x, N ) where N is the block size and x is the input sequence, that is, the vector of discrete-time samples of the input function. For structural dynamics applications, x will be a vector of real numbers. It is desirable to let N be a power of 2. 2. The FFT treats the rst N numbers in the input sequence as one period of a periodic function. For example, the rectangular pulse in Fig. 1a of Example 7.7 will correspond to a square wave that is represented by a Fourier series whose fundamental frequency is 1.0 sec, with the sampled value at t = 1 sec repeating the sampled value at t = 0 sec. This topic is treated in greater detail in Section 18.4. 3. Where there is a step discontinuity in the input function, the sampled value is taken as the average of the value prior to the jump and the value after the jump, as shown in Fig. 1a of Example 7.7 and in Fig. 7.5a. 4. Because P (fn ) and P (fn ) are complex conjugates of each other, the second half of the Fourier coefcients are usually not plotted (e.g., as in Fig. 1b of Example 7.7). Thus, the complex values in the output vector are sequenced by Matlab as follows: y(1) = P (f0 ) = average value of input (real) y(2) = P (f+1 ) . . . y(N/2 + 1) = P (f+N/2 ) y(N/2 + 2) = P (fN/2+1 ) . . . y(N ) = P (f1 ) 5. To treat the FFT output values as approximations to the complex Fourier coefcients given by Eq. 7.8, it is necessary to divide the output values y(n) by the block size N .5
5 This scaling is necessitated by the scaling factor T1 introduced in Eq. 7.18, together with the additional scaling factor of t between Eqs. 7.36 and 7.39.

Problems

205

6. To convert the input sequence number m to input sample time tm in seconds, it is necessary to use tm = m t . Similarly, to convert the frequency scale of the output from coefcient number n to frequency fn in hertz, one must use fn = n f = n/N t .

REFERENCES
[7.1] E. O. Brigham, The Fast Fourier Transform, Prentice-Hall, Englewood Cliffs, NJ, 1974. [7.2] R. A. Gabel and R. A. Roberts, Signals and Systems, 3rd ed., Wiley, New York, 1987. [7.3] J. W. Cooley and J. W. Tukey, An Algorithm for Machine Calculation of Complex Fourier Series, Math Computation, Vol. 19, 1965, pp. 297301. [7.4] D. J. Ewins, Modal Testing: Theory, Practice and Application, 2nd ed., Research Studies Press, Baldock, Hertfordshire, England, 2000. [7.5] N. M. M. Maia and J. M. M. Silva, ed., Theoretical and Experimental Modal Analysis, Wiley, New York, 1997. [7.6] Using MATLAB, Version 6, The MathWorks, Natick, MA, 2002, pp. 12-41 to 12-48.

PROBLEMS
For problems whose number is preceded by a C, you are to write a computer program and use it to produce the plot(s) requested. Note: Matlab .m-les for many of the plots in this book may be found on the books website.
p (t ) p0
Half-sine waves

t T1/2 T1

Problem Set 7.1


7.1 Determine the real Fourier series for the periodic excitation function in Fig. P7.1.
p (t ) p0 t
T1/4 p0 3T1/4

Figure P7.2 C 7.3 (a) Determine the real Fourier series for the square wave shown in Fig. P7.3. (b) By comparing your result from part (a) with the answer in Eq. 10 of Example 7.1, what do you observe to be the effect(s) of the phase shift of the square wave? (c) Run the Matlab .m-le sd2hw7 3.m, and print out the plots produced. Modify this .m-le to produce the input signal of Example 7.1, and print out the plots produced.
p (t ) p0 T1/4
3T1/4 p0 5T1/4

Figure P7.1 7.2 Determine the real Fourier series for the periodic excitation function in Fig. P7.2.

Figure P7.3

206

Response of SDOF Systems to Periodic Excitation: Frequency-Domain Analysis 7.8 (a) Determine the coefcients of the complex Fourier series that corresponds to the excitation p(t) in Fig. P7.3. (b) Sketch the real and imaginary parts and the magnitude of the complex coefcients as in Example 7.4. 7.9 (1) Determine the coefcients of the complex Fourier series that corresponds to the excitation p(t) in Fig. P7.4. (2) Sketch the real and imaginary parts and the magnitude of the complex coefcients as in Example 7.4. 7.10 The undamped SDOF system of Fig. P7.10a is subjected to the sawtooth base motion z(t) illustrated in Fig. 7.10b. Let z(t) =
n=

7.4 (a) Determine the real Fourier series for the periodic excitation function in Fig. P7.4. (b) By comparing your result from part (a) with the answer in Eq. 10 of Example 7.1, what do you observe to be the effect(s) of the upward shift of the square wave?

p(t)
2p0

t T0/2 T0/2

Z n ei(n

1 t)

Figure P7.4 7.5 The undamped SDOF system shown in Fig. P7.5 is subjected to the excitation p(t) given in Problem 7.1. (a) Determine a Fourier series expression for the steadystate response of the system if n = 4 1 . (b) Sketch the spectra for Pn and for Un , similar to those shown in Fig. 7.2.

w(t) =

n=

W n ei(n

1 t)

where W n = H n Z n . (a) Determine H n . (b) Determine Z n . (These will have the same form as P n of Problem 7.1.) (c) Determine W n , and sketch |W n |/Z versus frequency order, as in Example 7.4.

z (t )

u (t )

k
k m p (t )

w=uz

Figure P7.5
z (t )

( a)

7.6 The undamped SDOF system shown in Fig. P7.5 is subjected to the excitation p(t) given in Fig. P7.4. (a) Determine a Fourier series expression for the steadystate response of the system if n = 6 1 . (b) Sketch the spectra for Pn and for Un similar to those shown in Fig. 7.2.

Z t
Z (b)

T1

Problem Set 7.2


7.7 (a) Determine the coefcients of the complex Fourier series that corresponds to the excitation p(t) given in Fig. P7.1. (b) Sketch the real and imaginary parts and the magnitude of the complex coefcients as in Example 7.4.

Figure P7.10

Problem Set 7.3


7.11 Determine the continuous Fourier transform for the rectangular pulse in Fig. P7.11. (Note that this involves a time shifting of the pulse in Example 7.6.)

Problems
p (t ) p0

207

t
2T

Figure P7.11 7.12 Determine the real and imaginary parts of the continuous Fourier transform of each of the following functions: Note: Absolute value of time t. (a) p(t) = p0 e|t | 0, t <0 1 0t (b) p(t) = p0 sin(2f0 t), 2 f0 1 0, t> 2f0

compute a 16-point Fourier transform to verify the (real and imaginary) results shown in Figs. 1b. (Note: You can nd the Matlab .m-le for Example 7.7 as sd2ex7 7.m on the books website.) (b) What is the resulting value of the coefcient (P 1 )16pt ? Compare this answer with the value given in Eq. 5 of Example 7.4. (c) Repeat part (a) to calculate a 32-point transform and a 64point transform. Are the values of (P 1 )16pt , (P 1 )32pt , and (P 1 )64pt converging to the value given in Eq. 5 of Example 7.4? C 7.15 Let p(t) be the periodic function dened by the 16-point discrete-time sawtooth wave shown in Fig. P7.15. (a) Use the FFT command in Matlab to determine the 16-point discrete Fourier transform (DFT) of this sawtooth wave. (b) Plot the real and imaginary parts of this DFT transform.
1 0.5

Problem Set 7.4


7.13 Using the unit impulse response function h(t) of Eq. 5.30 and the denition in Eq. 7.33 of the continuous Fourier transform H (f ), show that the Fourier transform of the unit impulse response function is the frequency response function H (f ) given by Eq. 7.30. That is, using Eq. 7.33, show that h(t) and H (f ) form a Fourier transform pair, as illustrated in Fig. 7.4.
p (t )
0 0.5 1

0.25

0.5 Time

0.75

Problem Set 7.5


C 7.14 (a) Using the input sequence given in Fig. 1a of Example 7.7, use the Matlab FFT command to

Figure P7.15

Você também pode gostar