Discrete Fourier Transform

Slides:



Advertisements
Similar presentations
Chapter 19 Fast Fourier Transform
Advertisements

DFT & FFT Computation.
David Hansen and James Michelussi
Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
DFT and FFT FFT is an algorithm to convert a time domain signal to DFT efficiently. FFT is not unique. Many algorithms are available. Each algorithm has.
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Use of Frequency Domain Telecommunication Channel |A| f fcfc Frequency.
Chapter 8: The Discrete Fourier Transform
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM Department of Electrical and Computer Engineering Carnegie Mellon University Pittsburgh,
Introduction to Fast Fourier Transform (FFT) Algorithms R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
Chapter 12 Fourier Transforms of Discrete Signals.
Lecture #18 FAST FOURIER TRANSFORM INVERSES AND ALTERNATE IMPLEMENTATIONS Department of Electrical and Computer Engineering Carnegie Mellon University.
Unit 7 Fourier, DFT, and FFT 1. Time and Frequency Representation The most common representation of signals and waveforms is in the time domain Most signal.
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
Fast Fourier Transforms
Integral Transform Dongsup Kim Department of Biosystems, KAIST Fall, 2004.
Discrete-Time and System (A Review)
DTFT And Fourier Transform
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.
Processor Architecture Needed to handle FFT algoarithm M. Smith.
DISCRETE FOURIER TRANSFORM
CHAPTER 8 DSP Algorithm Implementation Wang Weilian School of Information Science and Technology Yunnan University.
FFT USING OPEN-MP Done by: HUSSEIN SALIM QASIM & Tiba Zaki Abdulhameed
Chapter 6 Digital Filter Structures
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
Digital Signal Processing Chapter 3 Discrete transforms.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Under-Graduate Project Case Study: Single-path Delay Feedback FFT Speaker: Yu-Min.
Chapter 5 Finite-Length Discrete Transform
Speaker: Darcy Tsai Advisor: Prof. An-Yeu Wu Date: 2013/10/31
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.
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Professor A G Constantinides 1 Discrete Fourier Transforms Consider finite duration signal Its z-tranform is Evaluate at points on z-plane as We can evaluate.
Fast Fourier Transforms. 2 Discrete Fourier Transform The DFT pair was given as Baseline for computational complexity: –Each DFT coefficient requires.
The Discrete Fourier Transform
EE345S Real-Time Digital Signal Processing Lab Fall 2006 Lecture 17 Fast Fourier Transform Prof. Brian L. Evans Dept. of Electrical and Computer Engineering.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
Chapter 9. Computation of Discrete Fourier Transform 9.1 Introduction 9.2 Decimation-in-Time Factorization 9.3 Decimation-in-Frequency Factorization 9.4.
1 Chapter 8 The Discrete Fourier Transform (cont.)
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Chapter 4 Discrete-Time Signals and transform
The content of lecture This lecture will cover: Fourier Transform
DIGITAL SIGNAL PROCESSING ELECTRONICS
3.1 Introduction Why do we need also a frequency domain analysis (also we need time domain convolution):- 1) Sinusoidal and exponential signals occur.
Chapter 9 Computation of the Discrete Fourier Transform
Fast Fourier Transforms Dr. Vinu Thomas
Fast Fourier Transform
FAST FOURIER TRANSFORM ALGORITHMS
Real-time double buffer For hard real-time
Discrete Cosine Transform (DCT)
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM
Real-time 1-input 1-output DSP systems
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
Fast Fourier Transformation (FFT)
Z TRANSFORM AND DFT Z Transform
Chapter 9 Computation of the Discrete Fourier Transform
LECTURE 18: FAST FOURIER TRANSFORM
Chapter 19 Fast Fourier Transform
Chapter 8 The Discrete Fourier Transform
The Report of Monographic Study
The Cooley-Tukey decimation-in-time algorithm
Lecture #18 FAST FOURIER TRANSFORM ALTERNATE IMPLEMENTATIONS
Fast Fourier Transform (FFT) Algorithms
Speaker: Chris Chen Advisor: Prof. An-Yeu Wu Date: 2014/10/28
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM
Fast Fourier Transform
LECTURE 18: FAST FOURIER TRANSFORM
Fourier Transforms of Discrete Signals By Dr. Varsha Shah
Presentation transcript:

COMPUTATION OF THE DISCRETE FOURIER TRANSFORM

Discrete Fourier Transform DSP The DFT pair was given as Baseline for computational complexity: Each DFT coefficient requires N complex multiplications N-1 complex additions All N DFT coefficients require N2 complex multiplications N(N-1) complex additions Complexity in terms of real operations 4N2 real multiplications 2N(N-1) real additions

Discrete Fourier Transform DSP Most fast methods are based on symmetry properties Conjugate symmetry Periodicity in n and k

The Goertzel Algorithm DSP Makes use of the periodicity Multiply DFT equation with this factor Define With this definition and using x[n]=0 for n<0 and n>N-1 X[k] can be viewed as the output of a filter to the input x[n] Impulse response of filter: X[k] is the output of the filter at time n=N

DSP The Goertzel Filter Goertzel Filter Computational complexity 4N real multiplications 2N real additions Slightly less efficient than the direct method Multiply both numerator and denominator

Second Order Goertzel Filter DSP Second order Goertzel Filter Complexity for one DFT coefficient Poles: 2N real multiplications and 4N real additions Zeros: Need to be implement only once 4 real multiplications and 4 real additions Complexity for all DFT coefficients Each pole is used for two DFT coefficients Approximately N2 real multiplications and 2N2 real additions Do not need to evaluate all N DFT coefficients Goertzel Algorithm is more efficient than FFT if less than M DFT coefficients are needed M < log2N

Decimation-In-Time FFT Algorithms DSP Makes use of both symmetry and periodicity Consider special case of N an integer power of 2 Separate x[n] into two sequence of length N/2 Even indexed samples in the first sequence Odd indexed samples in the other sequence Substitute variables n=2r for n even and n=2r+1 for odd G[k] and H[k] are the N/2-point DFT’s of each subsequence

DSP Decimation In Time 8-point DFT example using decimation-in-time Two N/2-point DFTs 2(N/2)2 complex multiplications 2(N/2)2 complex additions Combining the DFT outputs N complex multiplications N complex additions Total complexity N2/2+N complex multiplications N2/2+N complex additions More efficient than direct DFT Repeat same process Divide N/2-point DFTs into Two N/4-point DFTs Combine outputs

Decimation In Time Cont’d DSP After two steps of decimation in time Repeat until we’re left with two-point DFT’s

Decimation-In-Time FFT Algorithm DSP Final flow graph for 8-point decimation in time Complexity: Nlog2N complex multiplications and additions

Butterfly Computation DSP Flow graph constitutes of butterflies We can implement each butterfly with one multiplication Final complexity for decimation-in-time FFT (N/2)log2N complex multiplications and additions

DSP In-Place Computation Decimation-in-time flow graphs require two sets of registers Input and output for each stage Note the arrangement of the input indices Bit reversed indexing

Decimation-In-Frequency FFT Algorithm DSP The DFT equation Split the DFT equation into even and odd frequency indexes Substitute variables to get Similarly for odd-numbered frequencies

Decimation-In-Frequency FFT Algorithm DSP Final flow graph for 8-point decimation in frequency

Decimation-In-Frequency FFT Algorithm DIT structure with input bit-reversed, output natural

Decimation-In-Frequency FFT Algorithm DIT structure with input natural, output bit-reversed

Decimation-In-Frequency FFT Algorithm DIT structure with both input and output natural

Decimation-In-Frequency FFT Algorithm DIT structure with same structure for each stage

Using FFTs for inverse DFTs We’ve always been talking about forward DFTs in our discussion about FFTs …. what about the inverse FFT? One way to modify FFT algorithm for the inverse DFT computation is: Replace by wherever it appears Multiply final output by This method has the disadvantage that it requires modifying the internal code in the FFT subroutine

A better way to modify FFT code for IDFT Taking the complex conjugate of both sides of the IDFT equation: This suggests that we can modify the FFT algorithm for the inverse DFT computation by the following: Complex conjugate the input DFT coefficients Compute the forward FFT Complex conjugate the output of the FFT and multiply by This method has the advantage that the internal FFT code is undisturbed; it is widely used.

Decimation-In-Frequency FFT Algorithm Introduction: Decimation in frequency is an alternate way of developing the FFT algorithm It is different from decimation in time in its development, although it leads to a very similar structure

Decimation-In-Frequency FFT Algorithm Consider the original DFT equation …. Separate the first half and the second half of time samples: Note that these are not N/2-point DFTs

Decimation-In-Frequency FFT Algorithm For k even, let For k odd, let These expressions are the N/2-point DFTs of

Decimation-In-Frequency FFT Algorithm

Continuing by decomposing the odd and even output points we obtain Decimation-In-Frequency FFT Algorithm Continuing by decomposing the odd and even output points we obtain

… and replacing the N/4-point DFTs by butterflys we obtain Decimation-In-Frequency FFT Algorithm … and replacing the N/4-point DFTs by butterflys we obtain

The DIF FFT is the transpose of the DIT FFT To obtain flowgraph transposes: Reverse direction of flowgraph arrows Interchange input(s) and output(s) DIT butterfly: DIF butterfly: Comment: We will revisit transposed forms again in our discussion of filter implementation

The DIF FFT is the transpose of the DIT FFT Comparing DIT and DIF structures: DIT FFT structure: DIF FFT structure: Alternate forms for DIF FFTs are similar to those of DIT FFTs

Alternate DIF FFT structures DIF structure with input natural, output bit-reversed

Alternate DIF FFT structures DIF structure with input bit-reversed, output natural

Alternate DIF FFT structures DIF structure with both input and output natural

Alternate DIF FFT structures DIF structure with same structure for each stage

FFT structures for other DFT sizes Can we do anything when the DFT size N is not an integer power of 2 (the non-radix 2 case)? Yes! Consider a value of N that is not a power of 2, but that still is highly factorable … Then let

Alternate DIF FFT structures An arbitrary term of the sum on the previous panel is This is, of course, a DFT of size of points spaced by

Alternate DIF FFT structures In general, for the first decomposition we use Comments: This procedure can be repeated for subsequent factors of N The amount of computational savings depends on the extent to which N is “composite”, able to be factored into small integers Generally the smallest factors possible used, with the exception of some use of radix-4 and radix-8 FFTs

Example: the 6-point DIT FFT P1 = 2; P2 = 3;