Chapter 9 Computation of the Discrete Fourier Transform

Slides:



Advertisements
Similar presentations
DFT & FFT Computation.
Advertisements

Michael Phipps Vallary S. Bhopatkar
David Hansen and James Michelussi
Signal Processing in the Discrete Time Domain Microprocessor Applications (MEE4033) Sogang University Department of Mechanical Engineering.
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.
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.
Lecture #18 FAST FOURIER TRANSFORM INVERSES AND ALTERNATE IMPLEMENTATIONS Department of Electrical and Computer Engineering Carnegie Mellon University.
Chapter 19 Fast Fourier Transform (FFT) (Theory and Implementation)
Discrete-Time Signal processing Chapter 3 the Z-transform
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.
Fast Fourier Transforms
Discrete-Time and System (A Review)
Numerical Analysis – Digital Signal Processing Hanyang University Jong-Il Park.
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.
Chapter 5 Finite-Length Discrete Transform
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.
Discrete Fourier Transform
1 Chapter 8 The Discrete Fourier Transform (cont.)
Chapter 4 Discrete-Time Signals and transform
DIGITAL SIGNAL PROCESSING ELECTRONICS
Biomedical Signal processing Chapter 1 Introduction
Chapter 9 Computation of the Discrete Fourier Transform
Zhongguo Liu Biomedical Engineering
Fast Fourier Transforms Dr. Vinu Thomas
Fast Fourier Transform
Real-time double buffer For hard real-time
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM
Biomedical Signal processing Chapter 1 Introduction
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)
Discrete-Time Signal processing Chapter 3 the Z-transform
Z TRANSFORM AND DFT Z Transform
Lecture 17 DFT: Discrete Fourier Transform
LECTURE 18: FAST FOURIER TRANSFORM
Discrete-Time Signal processing Chapter 3 the Z-transform
Chapter 19 Fast Fourier Transform
Chapter 8 The Discrete Fourier Transform
Biomedical Signal processing Chapter 1 Introduction
Discrete-Time Signal processing Chapter 3 the Z-transform
Zhongguo Liu Biomedical Engineering
The Report of Monographic Study
Chapter 8 The Discrete Fourier Transform
Lecture #18 FAST FOURIER TRANSFORM ALTERNATE IMPLEMENTATIONS
Zhongguo Liu Biomedical Engineering
Fast Fourier Transform (FFT) Algorithms
Speaker: Chris Chen Advisor: Prof. An-Yeu Wu Date: 2014/10/28
Biomedical Signal processing Chapter 1 Introduction
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:

Chapter 9 Computation of the Discrete Fourier Transform Biomedical Signal processing Chapter 9 Computation of the Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control Science and Engineering, Shandong University 2019/1/11 1 Zhongguo Liu_Biomedical Engineering_Shandong Univ.

Chapter 9 Computation of the Discrete Fourier Transform 9.0 Introduction 9.1 Efficient Computation of Discrete Fourier Transform 9.2 The Goertzel Algorithm 9.3 decimation-in-time FFT Algorithms 9.4 decimation-in-frequency FFT Algorithms 9.5 practical considerations(software realization)

9.0 Introduction Implement a convolution of two sequences by the following procedure: 1. Compute the N-point DFT and of the two sequence and 2. Compute for 3. Compute as the inverse DFT of Why not convolve the two sequences directly? There are efficient algorithms called Fast Fourier Transform (FFT) that can be orders of magnitude more efficient than others.

9.1 Efficient Computation of Discrete Fourier Transform 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 4 4

9.1 Efficient Computation of Discrete Fourier Transform Complexity in terms of real operations 4N2 real multiplications 2N(N-1) real additions (approximate 2N2) 5 5

9.1 Efficient Computation of Discrete Fourier Transform Most fast methods are based on Periodicity properties Periodicity in n and k; Conjugate symmetry 6 6

9.2 The Goertzel Algorithm Makes use of the periodicity Multiply DFT equation with this factor Define 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 7 7

9.2 The Goertzel Algorithm Goertzel Filter: Computational complexity 4N real multiplications; 4N real additions Slightly less efficient than the direct method But it avoids computation and storage of 8 8

Second Order Goertzel Filter Multiply both numerator and denominator 9 9

Second Order Goertzel Filter Complexity for one DFT coefficient ( x(n) is complex sequence). 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 10 10

Second Order Goertzel Filter If 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 11 11

9.3 decimation-in-time FFT Algorithms Makes use of both periodicity and symmetry 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 12 12

9.3 decimation-in-time FFT Algorithms 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 13 13

9.3 decimation-in-time FFT Algorithms G[k] and H[k] are the N/2-point DFT’s of each subsequence 14 14

8-point DFT using decimation-in-time Figure 9.3

computational complexity 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 16 16

9.3 decimation-in-time FFT Algorithms Repeat same process , Divide N/2-point DFTs into Two N/4-point DFTs Combine outputs N=8 17 17

9.3 decimation-in-time FFT Algorithms After two steps of decimation in time Repeat until we’re left with two-point DFT’s 18 18

9.3 decimation-in-time FFT Algorithms flow graph for 8-point decimation in time Complexity: Nlog2N complex multiplications and additions 19 19

Butterfly Computation 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 20 20

9.3 decimation-in-time FFT Algorithms Final flow graph for 8-point decimation in time Complexity: (Nlog2N)/2 complex multiplications and Nlog2N additions 21 21

9.3.1 In-Place Computation同址运算 Decimation-in-time flow graphs require two sets of registers Input and output for each stage 22 22

9.3.1 In-Place Computation同址运算 Note the arrangement of the input indices Bit reversed indexing(码位倒置) 23 23

cause of bit-reversed order binary coding for position: 000 001 010 011 100 101 110 111 must padding 0 to Figure 9.13

9.3.2 Alternative forms Bit reversed indexing(码位倒置) Note the arrangement of the input indices Bit reversed indexing(码位倒置) 25 25

9.3.2 Alternative forms Figure 9.14 strongpoint:in-place computations shortcoming:non-sequential access of data Figure 9.14

Figure 9.15 shortcoming:not in-place computation non-sequential access of data

Figure 9.16 shortcoming:not in-place computation strongpoint: sequential access of data

9.3 decimation-in-time FFT Algorithms Substitute variables n=2r for n even and n=2r+1 for odd Review G[k] and H[k] are the N/2-point DFT’s of each subsequence 29 29

9.3.1 In-Place Computation同址运算 Bit reversed indexing(码位倒置) 30 30

9.3.2 Alternative forms Figure 9.14 strongpoint:in-place computations shortcoming:non-sequential access of data Figure 9.14

9.4 Decimation-In-Frequency FFT Algorithm The DFT equation Split the DFT equation into even and odd frequency indexes Substitute variables 32 32

9.4 Decimation-In-Frequency FFT Algorithm The DFT equation 33 33

decimation-in-frequency decomposition of an N-point DFT to N/2-point DFT 34 34

decimation-in-frequency decomposition of an 8-point DFT to four 2-point DFT 35 35

2-point DFT 36 36

Final flow graph for 8-point DFT decimation in frequency 41 41

9.4.1 In-Place Computation同址运算 DIF FFT DIT FFT 42 42

9.4.1 In-Place Computation同址运算 DIF FFT DIT FFT 43 43

9.4.2 Alternative forms decimation-in-frequecy Butterfly Computation decimation-in-time Butterfly Computation 44 44

The DIF FFT is the transpose of the DIT FFT 45 45

9.4.2 Alternative forms DIF FFT DIT FFT

9.4.2 Alternative forms DIF FFT DIT FFT

Figure 9.24 erratum

9.4.2 Alternative forms DIF FFT DIT FFT

Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 9 HW 9.1, 9.2, 9.3, Zhongguo Liu_Biomedical Engineering_Shandong Univ. 50 2019/1/11 返 回 上一页 下一页