1 Chapter 8 The Discrete Fourier Transform (cont.)

Slides:



Advertisements
Similar presentations
DFT & FFT Computation.
Advertisements

Chapter 8: The Discrete Fourier Transform
Image (and Video) Coding and Processing Lecture 2: Basic Filtering Wade Trappe.
Signals and Systems Discrete Time Fourier Series.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Chapter 4: Sampling of Continuous-Time Signals
Copyright © Shi Ping CUC Chapter 3 Discrete Fourier Transform Review Features in common We need a numerically computable transform, that is Discrete.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
Discrete-Time and System (A Review)
DTFT And Fourier Transform
1 7.1 Discrete Fourier Transform (DFT) 7.2 DFT Properties 7.3 Cyclic Convolution 7.4 Linear Convolution via DFT Chapter 7 Discrete Fourier Transform Section.
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
1 Signals & Systems Spring 2009 Week 3 Instructor: Mariam Shafqat UET Taxila.
Fourier Series Summary (From Salivahanan et al, 2002)
8.1 representation of periodic sequences:the discrete fourier series 8.2 the fourier transform of periodic signals 8.3 properties of the discrete fourier.
Digital Signal Processing – Chapter 10
Chapter 6 Digital Filter Structures
Finite-Length Discrete Transform
The Discrete Fourier Transform 主講人:虞台文. Content Introduction Representation of Periodic Sequences – DFS (Discrete Fourier Series) Properties of DFS The.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez Garbino.
Digital Signal Processing Chapter 3 Discrete transforms.
Fourier Analysis of Discrete Time Signals
Z TRANSFORM AND DFT Z Transform
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Lecture 6: DFT XILIANG LUO 2014/10. Periodic Sequence  Discrete Fourier Series For a sequence with period N, we only need N DFS coefs.
Chapter 5 Finite-Length Discrete Transform
Digital Signal Processing
Linear filtering based on the DFT
DTFT continue (c.f. Shenoi, 2006)  We have introduced DTFT and showed some of its properties. We will investigate them in more detail by showing the associated.
Signals and Systems Analysis NET 351 Instructor: Dr. Amer El-Khairy د. عامر الخيري.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
What is filter ? A filter is a circuit that passes certain frequencies and rejects all others. The passband is the range of frequencies allowed through.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
بسم الله الرحمن الرحيم Lecture (12) Dr. Iman Abuel Maaly The Discrete Fourier Transform Dr. Iman Abuel Maaly University of Khartoum Department of Electrical.
الفريق الأكاديمي لجنة الهندسة الكهربائية 1 Discrete Fourier Series Given a periodic sequence with period N so that The Fourier series representation can.
 Carrier signal is strong and stable sinusoidal signal x(t) = A cos(  c t +  )  Carrier transports information (audio, video, text, ) across.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Discrete Time Signal Processing Chu-Song Chen (陳祝嵩) Institute of Information Science Academia Sinica 中央研究院 資訊科學研究所.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
DIGITAL SIGNAL PROCESSING ELECTRONICS
CEN352 Dr. Nassim Ammour King Saud University
Linear Constant-coefficient Difference Equations
SAMPLING & ALIASING.
The Discrete Fourier Transform
Description and Analysis of Systems
Fast Fourier Transform
UNIT II Analysis of Continuous Time signal
The sampling of continuous-time signals is an important topic
4.1 DFT In practice the Fourier components of data are obtained by digital computation rather than by analog processing. The analog values have to be.
Chapter 8 The Discrete Fourier Transform
Sampling the Fourier Transform
Z TRANSFORM AND DFT Z Transform
Chapter 9 Computation of the Discrete Fourier Transform
Lecture 16 Outline: Linear Convolution, Block-by Block Convolution, FFT/IFFT Announcements: HW 4 posted, due tomorrow at 4:30pm. No late HWs as solutions.
Discrete-Time Fourier Transform Discrete Fourier Transform z-Transform
Chapter 8 The Discrete Fourier Transform
Lecture #8 (Second half) FREQUENCY RESPONSE OF LSI SYSTEMS
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Discrete-Time Signal processing Chapter 3 the Z-transform
The Report of Monographic Study
Chapter 8 The Discrete Fourier Transform
INTRODUCTION TO THE SHORT-TIME FOURIER TRANSFORM (STFT)
Fast Fourier Transform (FFT) Algorithms
Fast Fourier Transform
CE Digital Signal Processing Fall Discrete Fourier Transform (DFT)
Presentation transcript:

1 Chapter 8 The Discrete Fourier Transform (cont.)

2 Introduction  Last week, we have discussed the following issues:  Periodic sequences can be represented using discrete Fourier series (DFS);  The coefficients of DFS are the same as the Fourier transform at equally spaced frequency samples;  Therefore, for periodic sequences, sampling of frequency response becomes possible;  When the DFS is used to represent finite-length sequence, it becomes discrete Fourier transform (DFT).  Today, we will discuss the properties of DFT, and the linear convolution using the DFT.

3 Properties of DFT (1)  Note the analogy and difference between the properties of DFT and properties of DFS. Linearity  If two finite-duration sequences x 1 [n] and x 2 [n] are linearly combined, i.e., if then its DFT is  Clearly, when x 1 [n] has length N 1, and x 2 [n] has length N 2, the maximum length of x 3 [n] is N 3 =max[N 1, N 2 ]. For the above DFT to be meaningful, both DFTs must be computed with the same length N ≥ N 3. [In DFS, two sequences should have the same periods.]

4 Properties of DFT (2) Circular Shift of a Sequence  If, we want to find x 1 [n] such that Since both x[n] and x 1 [n] must be zero outside the interval 0 ≤ n ≤ N – 1, x 1 [n] cannot result from a simple time shift of x[n].  The correct result follows directly from the result of DFS and the interpretation of DFT.

5 Properties of DFT (3) Circular Shift of a Sequence - Example

6 Properties of DFT (4) Duality  Consider x[n] and its DFT X[k]. Let From the duality property of DFS  If we define the periodic sequence, one period of which is the finite-length x 1 [n] = X[n], then the DFS coefficients of are. Therefore, the DFT of x 1 [n] = X[n] is  The sequence Nx[((–k )) N ] is Nx[k] index reversed, modulo N.

7 Properties of DFT (5) Duality - Example

8 Properties of DFT (6) Symmetric Properties  Define periodic conjugate-symmetric (periodic even if real) periodic conjugate-antisymmetric (periodic odd if real)  It can be shown that x ep [n] and x op [n] can be generated by aliasing x e [n] and x o [n] into the interval 0 ≤ n ≤ N – 1.

9 Compare: DFS  If, then Properties of DFT (7) Symmetric Properties (cont.)  If, then

10 Properties of DFT (8) Symmetric Properties (cont.)  When x[n] is real, then Compare: DFS  When is real, then

11 Properties of DFT (9) Circular Convolution (compare: Periodic Convolution in DFS)  Consider two finite-duration sequences x 1 [n] and x 2 [n], both of length N, with DFTs X 1 [k] and X 2 [k], respectively. We wish to determine the sequence x 3 [n] whose DFT is X 3 [k]=X 1 [k] X 2 [k].  Use the result of DFS, we have

12 Properties of DFT (10) Circular Convolution (cont.)  For the convolution defined here, the second sequence is circularly time reversed and circularly shifted with respect to the first. For this reason, we call this operation circular convolution, or more specifically, N-point circular convolution, explicitly identifying the fact that both sequences have length N (or less) and that the sequences are shifted modulo N.  The operation of forming a sequence x 3 [n] as the N-point circular convolution of x 1 [n] and x 2 [n] are denoted as x 3 [n] = x 1 [n] x 2 [n] = x 2 [n] x 1 [n]  In view of the duality of the DFT relations, it is not surprising to see that x 1 [n]x 2 [n]

13 Properties of DFT (11) Circular Convolution - Example [Circular Convolution with a Delayed Impulse]

14 Properties of DFT (12) Circular Convolution - Example [Circular Convolution of Two Rectangular Impulses] (N=L=6)

15 Properties of DFT (13) Circular Convolution - Example [Circular Convolution of Two Rectangular Impulses] (N=2L=12)

16 Linear Convolution using DFT (1)  Because efficient algorithms of calculating DFT are available (Chapter 9), it is computationally efficient to implement a convolution of two sequences by the following procedure.  Compute the N-point DFTs X 1 [k] and X 2 [k] of the two sequences x 1 [n] and x 2 [n], respectively.  Compute the product X 3 [k]=X 1 [k] X 2 [k] for 0 ≤ n ≤ N – 1.  Compute the sequence x 3 [n] = x 1 [n] x 2 [n] as the inverse DFT of X 3 [k].  Consider two sequences x 1 [n] (of length L) and x 2 [n] (of length P), then the product x 1 [m]x 2 [n–m] is zero for all m whenever n L+P–2. That is, x 3 [n] ≠0 for 0 ≤ n ≤ L+P–2. Therefore, (L+P–1) is the maximum length of the sequence obtained from their linear convolution.

17 Linear Convolution using DFT (2)

18 Circular Convolution as Linear Convolution with Aliasing (1)  We have seen from the previous two examples that, whether a circular convolution is the same as the linear convolution of the corresponding finite-length sequence depends on the length of the DFT in relation to the length of the finite-length sequence.  A very useful interpretation of the relationship between them is in terms of time aliasing.  We have observed that if the Fourier transform X(e j  ) of a sequence x[n] is sampled at frequencies  k =2  k/N, then the resulting sequence corresponds to the DFS coefficients of the periodic sequence (r is an integer)

19 Circular Convolution as Linear Convolution with Aliasing (2)  From our discussion of the DFT, we know that is the DFT of one period of ; i.e., the subscript p is used to denote that a sequence is one period of a periodic sequence resulting from an inverse DFT of a sampled Fourier transform.  If x[n] has length less than or equal to N, no time aliasing occurs and x p [n] = x[n]. However, if the length of x[n] is greater than N, x p [n] may not equal to x[n] for some or all values of n.

20 Circular Convolution as Linear Convolution with Aliasing (3)  Consider two sequences x 1 [n] and x 2 [n], with Fourier transforms are X 1 (e j  ) and X 2 (e j  ), respectively. The sequence x 3 [n] = x 1 [n]*x 2 [n] has the Fourier transform X 3 (e j  ) = X 1 (e j  ) X 2 (e j  ).  If we define a DFT Therefore,  The sequence resulting as the inverse DFT of X 3 [k] is

21 Circular Convolution as Linear Convolution with Aliasing (4)  Therefore, the circular convolution of two finite-length sequences is equivalent to linear convolution of the two sequences, followed by time aliasing.  Note that if N is greater than or equal to either L or P, X 1 [k] and X 2 [k] represent x 1 [n] and x 2 [n] exactly. But x 3p [n] = x 3 [n] for all n only if N is greater than or equal to the length of the sequence x 3 [n], which is (L+P–1).  Therefore, the circular convolution corresponding to X 1 [k] X 2 [k] is identical to the linear convolution x 1 [n] * x 2 [n] if N, the length of the DFTs, satisfies N ≥ (L+P–1).

22 Circular Convolution - Example [Circular Convolution of Two Rectangular Impulses] Circular Convolution as Linear Convolution with Aliasing (5)

23 Circular Convolution as Linear Convolution with Aliasing (6)  When N=L=P, all of the sequence values of the circular convolution may be different from those of the linear convolution.  If P < L, some of the sequence values in an L-point circular convolution will be equal to the corresponding sequence values of the linear convolution.  Next, we show some graphical illustration.

24 Example of linear convolution of two finite-length sequences Circular Convolution as Linear Convolution with Aliasing (7)

25 Illustration of aliasing for different N Circular Convolution as Linear Convolution with Aliasing (8)

26 Implementing LTI Systems Using the DFT (1)  We consider LTI systems which can be implemented by convolution. This implies that the circular convolution can be used to implement these systems.  First, we consider an L-point input sequence x[n] and a P-point impulse response h[n]. The linear convolution of these two sequence, y[n], has finite duration with length (L+P–1).  The DFTs that we compute must be of at least that length. Therefore, both x[n] and h[n] must be augmented with sequence values of zero magnitude. This process is often referred to as zero-padding.

27 Implementing LTI Systems Using the DFT (2)  In many applications, the input signal is of indefinite duration (speech waveform, communication signals…).  Theoretically, we might be able to store the entire waveform and then implement the DFT procedure, such a DFT is generally impractical to compute. Another consideration is that for this method of filtering, no filtered samples can be computed until all the input samples have been collected.  To avoid the two problems, the solution is to use block convolution, in which the signal can be filtered is segmented into sections of length L. Each section can then be convolved with the finite-length impulse response and the filtered sections fitted together in an appropriate way. The linear filtering of each block can then be implemented using the DFT.

28 Implementing LTI Systems Using the DFT (3)  We assume that x[n]=0 for n<0 and that the length of x[n] is much greater than P. We can represent x[n] as a sum of shifted- length segments of length L; i.e., with

29 Implementing LTI Systems Using the DFT (4)  Because convolution is a LTI operation, we have with  Note that each term of y r [n] has length (L+P–1). Thus, the linear convolution x r [n] * h[n] can be obtained by using N-point DFTs, where N ≥ (L+P–1).  Since the beginning of each input section is separated from its neighbors by L points whereas each filtered section has length (L+P–1), the nonzero points in the filtered sections will overlap by (P–1) points. These overlap samples must be added in carrying put the sum required by the above equations.  This procedure is often referred as the overlap-add method.

30 Implementing LTI Systems Using the DFT (5)

31 Implementing LTI Systems Using the DFT (6)  An alternative block convolution procedure, commonly called the overlap-save method, corresponds to  implementing an L-point circular convolution of a P-point impulse response h[n] with an L-point segment x r [n] and  identifying the part of the circular convolution that corresponds to a linear convolution.  When P < L, the first (P–1) points of the circular convolution result are incorrect, while the remaining points are identical to those of linear convolution.  We divide x[n] into sections of length L so that each input section overlaps the preceding section by (P–1) points. That is,

32 Implementing LTI Systems Using the DFT (7)

33 Implementing LTI Systems Using the DFT (8)  The circular convolution of each section with h[n] is denoted y rp [n], the extra subscript p indicating that y rp [n] is the result of a circular convolution in which time aliasing has occurred. The portion of each output section in the region 0 ≤ n ≤ P – 2 must be discarded.  The remaining samples from successive sections are then abutted to construct the final filtered output. That is with

34 Summary  Properties of DFT  Linearity  Circular shift of a sequence  Duality  Symmetric properties  Circular Convolution  Linear Convolution using DFT  Circular convolution vs. linear convolution  Implementing LTI Systems Using the DFT  Overlap-add method  Overlap-save method

35 Homework Assignments (11)