Chapter 8: The Discrete Fourier Transform

Slides:



Advertisements
Similar presentations
DFT & FFT Computation.
Advertisements

DFT properties Note: it is important to ensure that the DFTs are the same length If x1(n) and x2(n) have different lengths, the shorter sequence must be.
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
EECS 20 Chapter 10 Part 11 Fourier Transform In the last several chapters we Viewed periodic functions in terms of frequency components (Fourier series)
FFT-based filtering and the Short-Time Fourier Transform (STFT) R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
Lecture 8: Fourier Series and Fourier Transform
EE-2027 SaS, L11 1/13 Lecture 11: Discrete Fourier Transform 4 Sampling Discrete-time systems (2 lectures): Sampling theorem, discrete Fourier transform.
Signals and Systems Discrete Time Fourier Series.
The Discrete Fourier Series
Systems: Definition Filter
Fast Fourier Transforms
Discrete-Time Fourier Series
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.
Discrete-Time and System (A Review)
ELEN 5346/4304 DSP and Filter Design Fall Lecture 4: Frequency domain representation, DTFT, IDTFT, DFT, IDFT Instructor: Dr. Gleb V. Tcheslavski.
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.
Chapter 2: Discrete time signals and systems
CHAPTER 3 Discrete-Time Signals in the Transform-Domain
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
Finite-Length Discrete Transform
Signal and Systems Prof. H. Sameti Chapter 5: The Discrete Time Fourier Transform Examples of the DT Fourier Transform Properties of the DT Fourier 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.
Department of Computer Eng. Sharif University of Technology Discrete-time signal processing Chapter 3: THE Z-TRANSFORM Content and Figures are from Discrete-Time.
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.
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 17: The Discrete Fourier Series Instructor: Dr. Ghazi Al Sukkar Dept. of Electrical Engineering The University of Jordan
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
Fourier Analysis of Signals and Systems
ES97H Biomedical Signal Processing
Digital Signal Processing
Linear filtering based on the DFT
Sampling of Continuous-Time Signals Quote of the Day Optimist: "The glass is half full." Pessimist: "The glass is half empty." Engineer: "That glass is.
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.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
ENEE 322: Continuous-Time Fourier Transform (Chapter 4)
Lecture 18: The Discrete Fourier Transform Instructor: Dr. Ghazi Al Sukkar Dept. of Electrical Engineering The University of Jordan
Dr. Michael Nasief Digital Signal Processing Lec 7 1.
Husheng Li, UTK-EECS, Fall The specification of filter is usually given by the tolerance scheme.  Discrete Fourier Transform (DFT) has both discrete.
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.
Review of DSP.
بسم الله الرحمن الرحيم 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.
1 Chapter 8 The Discrete Fourier Transform (cont.)
Review of DSP.
CE Digital Signal Processing Fall Discrete-time Fourier Transform
FFT-based filtering and the
The Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Sampling the Fourier Transform
Discrete-Time Fourier Transform
Lecture 17 DFT: Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Signals and Systems Lecture 15
Fast Fourier Transform (FFT) Algorithms
Review of DSP.
CE Digital Signal Processing Fall Discrete Fourier Transform (DFT)
Presentation transcript:

Chapter 8: THE DESCRETE FOURIER TRANSFORM Department of Computer Eng. Sharif University of Technology Discrete-time signal processing Chapter 8: THE DESCRETE FOURIER TRANSFORM Content and Figures are from Discrete-Time Signal Processing, 2e by Oppenheim, Shafer and Buck, ©1999-2000 Prentice Hall Inc.

Chapter 8: The Discrete Fourier Transform 8.0 Introduction DSP For finite-duration sequences, it is possible to develop an alternative Fourier representation referred to as the discrete Fourier transform(DFT). It is a sequence rather than a continuous variable. It corresponds to samples, equally spaced in frequency, of the Fourier transform of the signal. The importance of DFT is because efficient algorithms exists for the computation of the DFT (FFT). Chapter 8: The Discrete Fourier Transform 1

8.1 Discrete Fourier Series DSP Given a periodic sequence with period N so that The Fourier series representation of continuous-time periodic signals require infinite complex exponentials. But for discrete-time periodic signals we have Due to the periodicity of the complex exponential we only need N exponentials for discrete time Fourier series Chapter 8: The Discrete Fourier Transform 2

Discrete Fourier Series Pair DSP A periodic sequence in terms of Fourier series coefficients The Fourier series coefficients can be obtained via For convenience we sometimes use Analysis equation Synthesis equation Chapter 8: The Discrete Fourier Transform 3

Chapter 8: The Discrete Fourier Transform Example 1 1 DSP DFS of a periodic impulse train Since the period of the signal is N We can represent the signal with the DFS coefficients as Chapter 8: The Discrete Fourier Transform 4

Example 2: Duality in the DFT DSP Here let the Fourier series coefficients be the periodic impulse train Y[k] , and given by this equation: Substituting Y[k] in to DFS equation gives Comparing this result with the results for example1 we see that Y[k]=Nx[k] and y[n]=X[n]. Chapter 8: The Discrete Fourier Transform 5

Chapter 8: The Discrete Fourier Transform Example 3 DSP DFS of an periodic rectangular pulse train The DFS coefficients Chapter 8: The Discrete Fourier Transform 6

Chapter 8: The Discrete Fourier Transform 8.2 Properties of DFS DSP Linearity (all signals have the same period) Shift of a Sequence Duality Chapter 8: The Discrete Fourier Transform 7

Chapter 8: The Discrete Fourier Transform Periodic Convolution DSP Take two periodic sequences Let’s form the product The periodic sequence with given DFS can be written as Periodic convolution is commutative Chapter 8: The Discrete Fourier Transform 8

Periodic Convolution Cont’d DSP Substitute periodic convolution into the DFS equation Interchange summations The inner sum is the DFS of shifted sequence Substituting Chapter 8: The Discrete Fourier Transform 9

Graphical Periodic Convolution DSP Chapter 8: The Discrete Fourier Transform 10

Chapter 8: The Discrete Fourier Transform Symmetry Properties DSP Chapter 8: The Discrete Fourier Transform 11

Symmetry Properties Cont’d DSP Chapter 8: The Discrete Fourier Transform 12

8.3 The Fourier Transform of Periodic Signals DSP Periodic sequences are not absolute or square summable Hence they don’t have a Fourier Transform We can represent them as sums of complex exponentials: DFS We can combine DFS and Fourier transform Fourier transform of periodic sequences Periodic impulse train with values proportional to DFS coefficients This is periodic with 2 since DFS is periodic The inverse transform can be written as Chapter 8: The Discrete Fourier Transform 13

Chapter 8: The Discrete Fourier Transform Example DSP Consider the periodic impulse train The DFS was calculated previously to be Therefore the Fourier transform is Chapter 8: The Discrete Fourier Transform 14

Relation between Finite-length and Periodic Signals DSP Consider finite length signal x[n] spanning from 0 to N-1 Convolve with periodic impulse train The Fourier transform of the periodic sequence is This implies that DFS coefficients of a periodic signal can be thought as equally spaced samples of the Fourier transform of one period 15

Chapter 8: The Discrete Fourier Transform Example DSP Consider the following sequence The Fourier transform The DFS coefficients Chapter 8: The Discrete Fourier Transform 16

8.4 Sampling the Fourier Transform DSP Consider an aperiodic sequence with a Fourier transform Assume that a sequence is obtained by sampling the DTFT Since the DTFT is periodic resulting sequence is also periodic We can also write it in terms of the z-transform The sampling points are shown in figure could be the DFS of a sequence Write the corresponding sequence Chapter 8: The Discrete Fourier Transform 17

Sampling the Fourier Transform Cont’d DSP The only assumption made on the sequence is that DTFT exist Combine equation to get Term in the parenthesis is So we get Chapter 8: The Discrete Fourier Transform 18

Sampling the Fourier Transform Cont’d DSP Chapter 8: The Discrete Fourier Transform 19

Sampling the Fourier Transform Cont’d DSP Samples of the DTFT of an aperiodic sequence can be thought of as DFS coefficients of a periodic sequence obtained through summing periodic replicas of original sequence. If the original sequence is of finite length and we take sufficient number of samples of its DTFT the original sequence can be recovered by It is not necessary to know the DTFT at all frequencies To recover the discrete-time sequence in time domain Discrete Fourier Transform representing a finite length sequence by samples of DTFT Chapter 8: The Discrete Fourier Transform 20

8.5 The Discrete Fourier Transform DSP Consider a finite length sequence x[n] of length N For given length-N sequence associate a periodic sequence The DFS coefficients of the periodic sequence are samples of the DTFT of x[n] Since x[n] is of length N there is no overlap between terms of x[n-rN] and we can write the periodic sequence as To maintain duality between time and frequency We choose one period of as the Fourier transform of x[n] Chapter 8: The Discrete Fourier Transform 21

The Discrete Fourier Transform Cont’d DSP The DFS pair The equations involve only on period so we can write Chapter 8: The Discrete Fourier Transform 22

The Discrete Fourier Transform Cont’d DSP The DFT pair can also be written as The Discrete Fourier Transform Chapter 8: The Discrete Fourier Transform 23

Chapter 8: The Discrete Fourier Transform Example DSP The DFT of a rectangular pulse x[n] is of length 5 We can consider x[n] of any length greater than 5 Let’s pick N=5 Calculate the DFS of the periodic form of x[n] Chapter 8: The Discrete Fourier Transform 24

Chapter 8: The Discrete Fourier Transform Example Cont’d DSP If we consider x[n] of length 10 We get a different set of DFT coefficients Still samples of the DTFT but in different places Chapter 8: The Discrete Fourier Transform 25

Chapter 8: The Discrete Fourier Transform 8.6 Properties of DFT DSP Linearity Duality Circular Shift of a Sequence Chapter 8: The Discrete Fourier Transform 26

Chapter 8: The Discrete Fourier Transform Example: Duality DSP Chapter 8: The Discrete Fourier Transform 27

Chapter 8: The Discrete Fourier Transform Symmetry Properties DSP Chapter 8: The Discrete Fourier Transform 28

Chapter 8: The Discrete Fourier Transform Circular Convolution DSP Circular convolution of two finite length sequences Chapter 8: The Discrete Fourier Transform 29

Chapter 8: The Discrete Fourier Transform Example DSP Circular convolution of two rectangular pulses L=N=6 DFT of each sequence Multiplication of DFTs And the inverse DFT Chapter 8: The Discrete Fourier Transform 30

Chapter 8: The Discrete Fourier Transform Example DSP We can augment zeros to each sequence L=2N=12 The DFT of each sequence Multiplication of DFTs Chapter 8: The Discrete Fourier Transform 31

8.7 Linier convolution using the DFT DSP Efficient algorithms are available for computing the DFT of finite-duration sequence, therefore it is computationally efficient to implement a convolution of two sequences by the following procedure: Compute the N point discrete Fourier transforms X1[k] and X2[k] for the two sequences given. Compute the product X3[k]=X1[k]X2[k]. Compute the inverse DFT of X3[k]. The multiplication of discrete Fourier transforms corresponds to a circular convolution. To obtain a linear convolution, we must ensure that circular convolution has the effect of linear convolution. Chapter 8: The Discrete Fourier Transform 32

Linear convolution of two finite-length sequences DSP Chapter 8: The Discrete Fourier Transform 33

Circular convolution as linear convolution DSP With aliasing Without aliasing Chapter 8: The Discrete Fourier Transform 34

DSP

DSP

DSP

Implementing LTI systems using the DFT DSP Let us consider an L point input sequence x[n] and a p point impulse response h[n]. The linear convolution has finite-duration with length L+P-1. consequently for linear convolution and circular convolution to be identical, the circular convolution must have the length of at least L+p-1 points. i.e. both x[n] and h[n] must be augmented with sequence amplitude with zero amplitude. This process is often referred to as zero-padding. Chapter 8: The Discrete Fourier Transform 38

Implementing LTI systems using the DFT cont’d DSP In many applications the input signal is an indefinite duration. We have to store all the input data. No filtered samples calculated until all the input samples have been collected. Implementing FFT for such large number of points is impractical. The solution is to use block convolution. In this method signal is segmented into sections and each section can then be convolved with the finite length impulse response and the filtered sections fitted together in an appropriate way. Chapter 8: The Discrete Fourier Transform 39

Implementing LTI systems using the DFT cont’d DSP Chapter 8: The Discrete Fourier Transform 40

Chapter 8: The Discrete Fourier Transform Overlap-add method DSP Chapter 8: The Discrete Fourier Transform 41

Chapter 8: The Discrete Fourier Transform Overlap-add method DSP xr[n] has L nonzero points and h[n] is of length P, each of yr[n] has length L+P-1. A method to implement linear convolution is the nonzero points in the filtered sections will overlap by P-1 points and these overlap samples must be added to compute linear convolution. This method is called overlap-add method. Chapter 8: The Discrete Fourier Transform 42

Overlap-Save Method DSP

Chapter 8: The Discrete Fourier Transform Overlap-save method DSP It corresponds to implementing an L-point circular convolution of a P- point impulse response h[n] with an L-point segment xr[n] and identifying the part of singular convolution that corresponds to linear convolution. We showed that if an L-point sequence is circularly convolved with a P-point sequence (P<L) then the first P-1 point of result are incorrect. This method is called overlap-save method. Chapter 8: The Discrete Fourier Transform 44