The electrical engineering handbook CH014

68 64 0
The electrical engineering handbook CH014

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

The electrical engineering handbook

Jenkins, W.K., Poularikas, A.D., Bomar, B.W., Smith, L.M., Cadzow, J.A. “Digital Signal Processing” The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000 © 2000 by CRC Press LLC 14 Digital Signal Processing 14.1 Fourier Transforms Introduction • The Classical Fourier Transform for CT Signals • Fourier Series Representation of CT Periodic Signals • Generalized Complex Fourier Transform • DT Fourier Transform • Relationship between the CT and DT Spectra • Discrete Fourier Transform 14.2 Fourier Transforms and the Fast Fourier Transform The Discrete Time Fourier Transform (DTFT) • Relationship to the Z-Transform • Properties • Fourier Transforms of Finite Time Sequences • Frequency Response of LTI Discrete Systems • The Discrete Fourier Transform • Properties of the DFT • Relation between DFT and Fourier Transform • Power, Amplitude, and Phase Spectra • Observations • Data Windowing • Fast Fourier Transform • Computation of the Inverse DFT 14.3 Design and Implementation of Digital Filters Finite Impulse Response Filter Design • Infinite Impulse Response Filter Design • Finite Impulse Response Filter Implementation • Infinite Impulse Response Filter Implementation 14.4 Signal Restoration Introduction • Attribute Sets: Closed Subspaces • Attribute Sets: Closed Convex Sets • Closed Projection Operators • Algebraic Properties of Matrices • Structural Properties of Matrices • Nonnegative Sequence Approximation • Exponential Signals and the Data Matrix • Recursive Modeling of Data 14.1 Fourier Transforms W. Kenneth Jenkins Introduction The Fourier transform is a mathematical tool that is used to expand signals into a spectrum of sinusoidal components to facilitate signal analysis and system performance. In certain applications the Fourier transform is used for spectral analysis, or for spectrum shaping that adjusts the relative contributions of different frequency components in the filtered result. In other applications the Fourier transform is important for its ability to decompose the input signal into uncorrelated components, so that signal processing can be more effectively implemented on the individual spectral components. Decorrelating properties of the Fourier transform are important in frequency domain adaptive filtering, subband coding, image compression, and transform coding. Classical Fourier methods such as the Fourier series and the Fourier integral are used for continuous-time (CT) signals and systems, i.e., systems in which the signals are defined at all values of t on the continuum – ¥ < t < ¥ . A more recently developed set of discrete Fourier methods, including the discrete-time (DT) Fourier transform and the discrete Fourier transform (DFT), are extensions of basic Fourier concepts for DT signals and systems. A DT signal is defined only for integer values of n in the range – ¥ < n < ¥ . The class of DT W. Kenneth Jenkins University of Illinois Alexander D. Poularikas University of Alabama in Huntsville Bruce W. Bomar University of Tennessee Space Institute L. Montgomery Smith University of Tennessee Space Institute James A. Cadzow Vanderbilt University © 2000 by CRC Press LLC Fourier methods is particularly useful as a basis for digital signal processing (DSP) because it extends the theory of classical Fourier analysis to DT signals and leads to many effective algorithms that can be directly implemented on general computers or special-purpose DSP devices. The Classical Fourier Transform for CT Signals A CT signal s ( t ) and its Fourier transform S ( j w ) form a transform pair that are related by Eqs. (14.1) for any s ( t ) for which the integral (14.1a) converges: (14.1a) (14.1b) In most literature Eq. (14.1a) is simply called the Fourier transform, whereas Eq. (14.1b) is called the Fourier integral . The relationship S ( j w ) = F { s ( t )} denotes the Fourier transformation of s ( t ), where F { . } is a symbolic notation for the integral operator and where w is the continuous frequency variable expressed in radians per second. A transform pair s ( t ) « S ( j w ) represents a one-to-one invertible mapping as long as s ( t ) satisfies conditions which guarantee that the Fourier integral converges. In the following discussion the symbol d ( t ) is used to denote a CT impulse function that is defined to be zero for all t ¹ 0, undefined for t = 0, and has unit area when integrated over the range – ¥ < t < ¥ . From Eq. (14.1a) it is found that F { d ( t – t o )} = e – j w t o due to the well-known sifting property of d ( t ). Similarly, from Eq. (14.1b) we find that F –1 {2 p d ( w – w o )} = e j w o t , so that d ( t – t o ) « e – j w t o and e j w o t « 2 p d ( w – w o ) are Fourier transform pairs. By using these relationships, it is easy to establish the Fourier transforms of cos( w o t ) and sin( w o t ), as well as many other useful waveforms, many of which are listed in Table 14.1. The CT Fourier transform is useful in the analysis and design of CT systems, i.e., systems that process CT signals. Fourier analysis is particularly applicable to the design of CT filters which are characterized by Fourier magnitude and phase spectra, i.e., by | H ( j w )| and arg H ( j w ), where H ( j w ) is commonly called the frequency response of the filter. Properties of the CT Fourier Transform The CT Fourier transform has many properties that make it useful for the analysis and design of linear CT systems. Some of the more useful properties are summarized in this section, while a more complete list of the CT Fourier transform properties is given in Table 14.2. Proofs of these properties are found in Oppenheim et al. [1983] and Bracewell [1986]. Note that F { . } denotes the Fourier transform operation, F –1 { . } denotes the inverse Fourier transform operation, and “*” denotes the convolution operation defined as 1. Linearity ( superposition ): F { af 1 ( t ) + bf 2 ( t )} = aF { f 1 ( t )} + bF { f 2 ( t )} ( a and b, complex constants) 2. Time Shifting: F { f ( t – t o )} = e –jwt o F{f(t)} 3.Frequency Shifting: e jw o t f(t) = F –1 {F(j(w – w o) )} 4.Time-Domain Convolution: F{f 1 (t) * f 2 (t)} = F {f 1 (t)}F {f 2 (t)} 5.Frequency-Domain Convolution: F{f 1 (t)f 2 (t)} = (1/2p)F {f 1 (t)} * F{f 2 (t)} 6.Time Differentiation: –jwF(jw) = F{d(f(t))/dt} 7.Time Integration: Sj stedt j t w w ( ) = ( ) - -¥ ¥ ò st Sjed j t ( ) = ( ) ( ) -¥ ¥ ò 12pww w ft ft fttftdt 12 12 ( ) * ( ) =- ( ) ( ) -¥ ¥ ò Fftdt jFjF t () ì í î ü ý þ = ()() + ()() ¥ ò – 10wwpdw © 2000 by CRC Press LLC The above properties are particularly useful in CT system analysis and design, especially when the system characteristics are easily specified in the frequency domain, as in linear filtering. Note that Properties 1, 6, and 7 are useful for solving differential or integral equations. Property 4 (time-domain convolution) provides the TABLE 14.1CT Fourier Transform Pairs Signal Fourier Transform Fourier Series Coefficients (if periodic) — — 1 — — — — — — ae k k jk t =¥ +¥ å – w 0 2 0 pdwwak k k - () =-¥ +¥ å a k e jtw 0 2 0 pdw w- () a a k 1 1 0 = =, otherwise cosw 0 t pdw w dw w- () ++ () [] 00 aa a k 11 12 0 == = - , otherwise sinw 0 t p dw w dw w j - () -+ () [] 00 aa j a k 11 12 0 =- = = - , otherwise xt () =1 2pdw () aak k0 100 0 ==¹ > ,, ( ) has this Forier series representation for any choice of T 0 Periodic square wave and xt tT Tt T xt T xt () = < <£ ì í ï î ï + () = () 1 0 2 1 1 0 0 , , 2 01 0 sinkT k k k w dw w- () =-¥ +¥ å w p w p w p 01 01 01 TkT kT k sinc æ è ç ö ø ÷ = sin dtnT n - () =-¥ +¥ å 22p dw p T k T k - æ è ç ö ø ÷ =-¥ +¥ å a T k k = 1 for all xt tT tT () = < > ì í ï î ï 1 0 1 1 , , 2 2 1 1 T T sinc T 1 w p w w æ è ç ö ø ÷ = sin WWt Wt tppp sinc æ è ç ö ø ÷ = sin X W W w w w () = < > ì í ï î ï 1 0 , , dt () ut () 1 jw pdw+ () dtt- () 0 e jt-w 0 eut a at- () {} >,᏾e 0 1 aj+w teut a at- () {} >,᏾e 0 1 2 aj+ () w t n eut a n at - - - () () {} > 1 1 0 ! ,᏾e 1 aj n + () w â 2000 by CRC Press LLC basis for many signal-processing algorithms, since many systems can be specied directly by their impulse or frequency response. Property 3 (frequency shifting) is useful for analyzing the performance of communication systems where different modulation formats are commonly used to shift spectral energy among different frequency bands. Fourier Spectrum of a CT Sampled Signal The operation of uniformly sampling a CT signal s(t) at every T seconds is characterized by Eq. (14.2), where d(t) is the CT impulse function defined earlier: (14.2) TABLE 14.2Properties of the CT Fourier Transform Name If F f(t) = F(jw), then: Denition Superposition Simplication if: (a) f (t) is even (b) f (t) is odd Negative t Scaling: (a) Time (b) Magnitude Differentiation Integration Time shifting Modulation Time convolution Frequency convolution Fj ftedt ft Fjed tbftaFjbFj jt jt w p ww ww w w () = () () = () () + () [] = () + () - -Ơ Ơ -Ơ Ơ ũ ũ 1 2 121 2 Faf Fj ft tdt Fj jft tdt ww ww () = () () = () Ơ Ơ ũ ũ 2 2 0 0 cos sin FftFj- () =* () w F F fat a F j a aft aFj () = ổ ố ỗ ử ứ ữ () = () 1 w w F d dt ft jFj n n n () ộ ở ờ ờ ự ỷ ỳ ỳ = ()() ww F fxdx j Fj F t () ộ ở ờ ự ỷ ỳ = () + ()() -Ơ ũ 1 0 w wpdw Ffta Fje ja - () = () - w w F F F fte Fj ft t Fj Fj ft t jFj Fj jt () =- () [] () =- () [] ++ () [] {} () =- () [] -+ () [] {} w ww wwwww wwwww 0 0 000 000 1 2 1 2 cos sin F - Ơ Ơ ()() [] = () - () ũ 1 12 12 FjFj fft dww t tt Ff 1 tft FjFj d ()() [] = () - () [] Ơ Ơ ũ 212 1 2p lwll st sttnT snTtnT aa n a n ( ) = ( ) - ( ) = ( ) - ( ) =-Ơ Ơ =-Ơ Ơ ồồ dd â 2000 by CRC Press LLC Since s a (t) is a CT signal, it is appropriate to apply the CT Fourier transform to obtain an expression for the spectrum of the sampled signal: (14.3) Since the expression on the right-hand side of Eq. (14.3) is a function of e jwT , it is customary to express the transform as F(e jwT ) = F{s a (t)}. It will be shown later that if w is replaced with a normalized frequency w = w/T, so that p < w < p, then the right side of Eq. (14.3) becomes identical to the DT Fourier transform that is dened directly for the sequence s[n] = s a (nT). Fourier Series Representation of CT Periodic Signals The classical Fourier series representation of a periodic time domain signal s(t) involves an expansion of s(t) into an innite series of terms that consist of sinusoidal basis functions, each weighted by a complex constant (Fourier coefcient) that provides the proper contribution of that frequency component to the complete waveform. The conditions under which a periodic signal s(t) can be expanded in a Fourier series are known as the Dirichlet conditions. They require that in each period s(t) has a nite number of discontinuities, a nite number of maxima and minima, and that s(t) satises the absolute convergence criterion of Eq. (14.4) [Van Valkenburg, 1974]: (14.4) It is assumed throughout the following discussion that the Dirichlet conditions are satised by all functions that will be represented by a Fourier series. The Exponential Fourier Series If s(t) is a CT periodic signal with period T, then the exponential Fourier series expansion of s(t) is given by (14.5a) where w o = 2p/T and where the a n terms are the complex Fourier coefcients given by (14.5b) For every value of t where s(t) is continuous the right side of Eq. (14.5a) converges to s(t). At values of t where s(t) has a nite jump discontinuity, the right side of Eq. (14.5a) converges to the average of s(t ) and s(t + ), where For example, the Fourier series expansion of the sawtooth waveform illustrated in Fig. 14.1 is characterized by T = 2p, w o = 1, a 0 = 0, and a n = a n = A cos(np)/(jnp) for n = 1, 2, . The coefcients of the exponential Fourier series given by Eq. (14.5b) can be interpreted as a spectral representation of s(t), since the a n th coefcient represents the contribution of the (nw o )th frequency component to the complete waveform. Since the a n terms are complex valued, the Fourier domain (spectral) representation has both magnitude and phase spectra. For example, the magnitude of the a n values is plotted in Fig. 14.2 for the sawtooth waveform of Fig. 14.1. The fact that the a n terms constitute a discrete set is consistent with the fact that a periodic signal has a line spectrum; Fst F snTtnT snTe aa n a jT n n ( ) {} = ( ) - ( ) ỡ ớ ù ợ ù ỹ ý ù ỵ ù = ( ) [] =-Ơ Ơ - =-Ơ Ơ ồồ d w stdt T T ( ) <Ơ - ũ 2 2 st ae n jn t n o ( ) = =-Ơ Ơ ồ w aTstedt n n jn t T T o = ( ) ( ) -Ơ< <Ơ - - ũ 1 2 2 w st st st st - đ + đ ( ) =- ( ) ( ) =+ ( ) lim lim ee ee 00 and © 2000 by CRC Press LLC i.e., the spectrum contains only integer multiples of the fundamental frequency w o . Therefore, the equation pair given by Eq. (14.5a) and (14.5b) can be interpreted as a transform pair that is similar to the CT Fourier transform for periodic signals. This leads to the observation that the classical Fourier series can be interpreted as a special transform that provides a one-to-one invertible mapping between the discrete-spectral domain and the CT domain. Trigonometric Fourier Series Although the complex form of the Fourier series expansion is useful for complex periodic signals, the Fourier series can be more easily expressed in terms of real-valued sine and cosine functions for real-valued periodic signals. In the following discussion it will be assumed that the signal s(t) is real valued for the sake of simplifying the discussion. When s(t) is periodic and real valued it is convenient to replace the complex exponential form of the Fourier series with a trigonometric expansion that contains sin(w o t) and cos(w o t) terms with corre- sponding real-valued coefficients [Van Valkenburg, 1974]. The trigonometric form of the Fourier series for a real-valued signal s(t) is given by (14.6a) where w o = 2p/T. The b n and c n terms are real-valued Fourier coefficients determined by and (14.6b) FIGURE 14.1Periodic CT signal used in Fourier series example. FIGURE 14.2Magnitude of the Fourier coefficients for the example in Fig. 14.3. st b n c n n n n n ( ) = ( ) + ( ) = ¥ = ¥ åå 0 00 1 cos sinww bTstdt T T 0 2 2 1= ( ) ( ) - ò b T st n tdt n n T T = ( ) ( ) ( ) =¼ - ò 212 0 2 2 cos , ,,w c T st n tdt n n T T = ( ) ( ) ( ) =¼ - ò 212 0 2 2 sin , ,,w © 2000 by CRC Press LLC An arbitrary real-valued signal s(t) can be expressed as a sum of even and odd components, s(t) = s even (t) + s odd (t), where s even (t) = s even (–t) and s odd (t) = –s odd (–t), and where s even (t) = [s(t) + s(–t)]/2 and s odd (t) = [s(t) – s(–t)]/2 . For the trigonometric Fourier series, it can be shown that s even (t) is represented by the (even) cosine terms in the infinite series, s odd (t) is represented by the (odd) sine terms, and b 0 is the dc level of the signal. Therefore, if it can be determined by inspection that a signal has a dc level, or if it is even or odd, then the correct form of the trigonometric series can be chosen to simplify the analysis. For example, it is easily seen that the signal shown in Fig. 14.3 is an even signal with a zero dc level. Therefore, it can be accurately represented by the cosine series with b n = 2A sin(pn/2)/(pn/2), n = 1, 2, …, as illustrated in Fig. 14.4. In contrast, note that the sawtooth waveform used in the previous example is an odd signal with zero dc level, so that it can be completely specified by the sine terms of the trigonometric series. This result can be demonstrated by pairing each positive frequency component from the exponential series with its conjugate partner; i.e., c n = sin(nw o t) = a n e jnw o t + a –n e –jnw o t , whereby it is found that c n = 2A cos(np)/(np) for this example. In general, it is found that a n = (b n – jc n )/2 for n = 1, 2, …, a 0 = b 0 , and a –n = a n * .The trigonometric Fourier series is common in the signal processing literature because it replaces complex coefficients with real ones and often results in a simpler and more intuitive interpretation of the results. Convergence of the Fourier Series The Fourier series representation of a periodic signal is an approximation that exhibits mean-squared conver- gence to the true signal. If s(t) is a periodic signal of period T and s¢(t) denotes the Fourier series approximation of s(t), then s(t) and s¢(t) are equal in the mean-squared sense if (14.7) Even when Eq. (14.7) is satisfied, mean-squared error (mse) convergence does not guarantee that s(t) = s¢(t) at every value of t. In particular, it is known that at values of t where s(t) is discontinuous the Fourier series converges to the average of the limiting values to the left and right of the discontinuity. For example, if t 0 is a point of discontinuity, then s¢(t 0 ) = [s(t 0 – )+ s(t 0 + )]/2,where s(t 0 – )and s(t 0 + )were defined previously (note that at points of continuity, this condition is also satisfied by the very definition of continuity). Since the Dirichlet conditions require that s(t) have at most a finite number of points of discontinuity in one period, the set S t such that s(t) ¹ s¢(t) within one period contains a finite number of points, and S t is a set of measure zero in the formal mathematical sense. Therefore, s(t) and its Fourier series expansion s¢(t) are equal almost everywhere, and s(t) can be considered identical to s¢(t) for analysis in most practical engineering problems. FIGURE 14.3Periodic CT signal used in Fourier series example 2. FIGURE 14.4Fourier coefficients for example of Fig. 14.3. mse= ( ) - ¢ ( ) = - ò st stdt T T 2 2 2 0 © 2000 by CRC Press LLC The condition described above of convergence almost everywhere is satisfied only in the limit as an infinite number of terms are included in the Fourier series expansion. If the infinite series expansion of the Fourier series is truncated to a finite number of terms, as it must always be in practical applications, then the approximation will exhibit an oscilla- tory behavior around the discontinuity, known as the Gibbs phenomenon [Van Valkenburg, 1974]. Let s N ¢(t)denote a truncated Fourier series approximation of s(t), where only the terms in Eq. (14.5a) from n = –N to n = N are included if the complex Fourier series representation is used or where only the terms in Eq. (14.6a) from n = 0 to n = N are included if the trigonometric form of the Fourier series is used. It is well known that in the vicinity of a discontinuity at t 0 the Gibbs phenomenon causes s N ¢(t)to be a poor approximation to s(t). The peak magnitude of the Gibbs oscillation is 13% of the size of the jump discontinuity s(t 0 – ) –s(t 0 + ) regardless of the number of terms used in the approximation. As N increases, the region which contains the oscillation becomes more concentrated in the neighborhood of the discontinuity, until, in the limit as N approaches infinity, the Gibbs oscillation is squeezed into a single point of mismatch at t 0 . The Gibbs phenom- enon is illustrated in Fig. 14.5, where an ideal low-pass frequency response is approximated by an impulse response function that has been limited to having only N nonzero coefficients, and hence the Fourier series expansion contains only a finite number of terms. If s¢(t) in Eq. (14.7) is replaced by s N ¢(t)it is important to understand the behavior of the error mse N as a function of N, where (14.8) An important property of the Fourier series is that the exponential basis functions e jnw o t (or sin(nw o t) and cos(nw o t) for the trigonometric form) for n = 0, ±1, ±2, … (or n = 0, 1, 2, … for the trigonometric form) constitute an orthonormal set; i.e., t nk = 1 for n = k, and t nk = 0 for n ¹ k, where (14.9) As terms are added to the Fourier series expansion, the orthogonality of the basis functions guarantees that the error decreases monotonically in the mean-squared sense, i.e., that mse N monotonically decreases as N is increased. Therefore, when applying Fourier series analysis, including more terms always improves the accuracy of the signal representation. Fourier Transform of Periodic CT Signals For a periodic signal s(t) the CT Fourier transform can then be applied to the Fourier series expansion of s(t) to produce a mathematical expression for the “line spectrum” that is characteristic of periodic signals: (14.10) The spectrum is shown in Fig. 14.6. Note the similarity between the spectral representation of Fig. 14.6 and the plot of the Fourier coefficients in Fig. 14.2, which was heuristically interpreted as a line spectrum. Figures 14.2 and FIGURE 14.5 Gibbs phenomenon in a low-pass digital filter caused by truncating the impulse response to N terms. mse N = ( ) - ¢ ( ) - ò st stdt N T T 2 2 2 tTeedt nk jn t jn t T T oo = ( ) ( ) ( ) - - ò 1 2 2 ww Fst F ae a n n jn t n no n o ( ) {} = ì í ï î ï ü ý ï þ ï =- ( ) =¥ ¥ =-¥ ¥ åå w pdww2 © 2000 by CRC Press LLC 14.6 are different, but equivalent, representations of the Fourier line spectrum that is characteristic of periodic signals. Generalized Complex Fourier Transform The CT Fourier transform characterized by Eqs. (14.11a) and (14.11b) can be generalized by considering the variable jw to be the special case of u = s + jw with s = 0, writing Eqs. (14.11) in terms of u, and interpreting u as a complex frequency variable. The resulting complex Fourier transform pair is given by Eqs. (14.11a) and (14.11b): (14.11a) (14.11b) The set of all values of u for which the integral of Eq. (14.11b) converges is called the region of convergence, denoted ROC. Since the transform S(u) is defined only for values of u within the ROC, the path of integration in Eq. (14.11a) must be defined by s so the entire path lies within the ROC. In some literature this transform pair is called the bilateral Laplace transform because it is the same result obtained by including both the negative and positive portions of the time axis in the classical Laplace transform integral. The complex Fourier transform (bilateral Laplace transform) is not often used in solving practical problems, but its significance lies in the fact that it is the most general form that represents the place where Fourier and Laplace transform concepts merge. Identifying this connection reinforces the observation that Fourier and Laplace transform concepts share common properties because they are derived by placing different constraints on the same parent form. DT Fourier Transform The DT Fourier transform (DTFT) is obtained directly in terms of the sequence samples s[n] by taking the relationship obtained in Eq. (14.3) to be the definition of the DTFT. By letting T = 1 so that the sampling period is removed from the equations and the frequency variable is replaced with a normalized frequency w¢ = wT, the DTFT pair is defined by Eqs. (14.12). In order to simplify notation it is not customary to distinguish between w and w¢, but rather to rely on the context of the discussion to determine whether w refers to the normalized (T = 1) or to the unnormalized (T ¹ 1) frequency variable. (14.12a) (14.12b) FIGURE 14.6 Spectrum of the Fourier representation of a periodic signal. st j Sue du jut j j ( ) = ( ) ( ) -¥ +¥ ò 12p s s su ste dt jut ( ) = ( ) - ¥ ¥ ò – Se sne jjn n ¢ - ¢ =-¥ ¥ ( ) = [] å ww sn Se e d jjn [] = ( ) ( ) ¢ ¢¢ - ò 12pw ww p p

Ngày đăng: 31/12/2013, 21:26

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan