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.

Slides:



Advertisements
Similar presentations
For more ppt’s, visit Fourier Series For more ppt’s, visit
Advertisements

DFT & FFT Computation.
DCSP-13 Jianfeng Feng Department of Computer Science Warwick Univ., UK
The Fast Fourier Transform (and DCT too…)
David Hansen and James Michelussi
Parallel Fast Fourier Transform Ryan Liu. Introduction The Discrete Fourier Transform could be applied in science and engineering. Examples: ◦ Voice recognition.
Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
The Discrete Fourier Transform. The spectrum of a sampled function is given by where –  or 0 .
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Use of Frequency Domain Telecommunication Channel |A| f fcfc Frequency.
Fourier Series 主講者:虞台文.
Engineering Mathematics Class #15 Fourier Series, Integrals, and Transforms (Part 3) Sheng-Fang Huang.
Frequency Domain The frequency domain
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
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.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2007 Shreekanth Mandayam ECE Department Rowan University.
Chapter 12 Fourier Transforms of Discrete Signals.
CHAPTER 16 Fourier Series.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems Spring 2005 Shreekanth Mandayam ECE Department Rowan University.
Orthogonal Transforms
Time and Frequency Representation
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.
CH#3 Fourier Series and Transform
Chapter 15 Fourier Series and Fourier Transform
Fast Fourier Transforms
Numerical algorithms for power system protection Prof. dr. sc. Ante Marušić, doc. dr. sc. Juraj Havelka University of Zagreb Faculty of Electrical Engineering.
Integral Transform Dongsup Kim Department of Biosystems, KAIST Fall, 2004.
Where we’re going Speed, Storage Issues Frequency Space.
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.
Motivation Music as a combination of sounds at different frequencies
Fourier series. The frequency domain It is sometimes preferable to work in the frequency domain rather than time –Some mathematical operations are easier.
Fundamentals of Electric Circuits Chapter 17
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 19.
Two-Sided or Complex Exponential Form of the Fourier Series
Digital Signal Processing – Chapter 10
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
Jeff Wang Kay-Won Chang March 18, DEMO Harmonic Product Spectrum (HPS) pitch detection: obtain fundamental frequency from FFT Fast Fourier Transform.
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
Fourier series: Eigenfunction Approach
Digital Signal Processing Chapter 3 Discrete transforms.
Fourier Series Fourier Transform Discrete Fourier Transform ISAT 300 Instrumentation and Measurement Spring 2000.
Inverse DFT. Frequency to time domain Sometimes calculations are easier in the frequency domain then later convert the results back to the time domain.
CH#3 Fourier Series and Transform
7- 1 Chapter 7: Fourier Analysis Fourier analysis = Series + Transform ◎ Fourier Series -- A periodic (T) function f(x) can be written as the sum of sines.
Fourier series, Discrete Time Fourier Transform and Characteristic functions.
Fast Fourier Transform (FFT) Problem: we need an efficient way to compute the DFT. The answer is the FFT. Consider a data sequence and its DFT: We can.
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
Fourier Analyses Time series Sampling interval Total period Question: How perturbations with different frequencies contribute to the turbulent kinetic.
Chapter 2. Characteristics of Signal ※ Signal : transmission of information The quality of the information depends on proper selection of a measurement.
ELECTRIC CIRCUITS EIGHTH EDITION JAMES W. NILSSON & SUSAN A. RIEDEL.
CH#3 Fourier Series and Transform 1 st semester King Saud University College of Applied studies and Community Service 1301CT By: Nour Alhariqi.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
Discrete Fourier Transform
Signal Fndamentals Analogue, Discrete and Digital Signals
DIGITAL SIGNAL PROCESSING ELECTRONICS
MECH 373 Instrumentation and Measurements
Fast Fourier Transforms Dr. Vinu Thomas
UNIT II Analysis of Continuous Time signal
Periodic Functions and Fourier Series
Sinusoids: continuous time
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM
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)
Fourier Analyses Time series Sampling interval Total period
Chapter 8 The Discrete Fourier Transform
Discrete Fourier Transform
Lec.6:Discrete Fourier Transform and Signal Spectrum
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM
Presentation transcript:

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 analysis techniques only work in the frequency domain This can be a difficult concept when first introduced to it The frequency domain is just another way of representing a signal First consider a simple sinusoid The time-amplitude axes on which the sinusoid is shown define the time plane. If an extra axis is added to represent frequency then the sinusoid would illustrated as …… 2

The frequency-amplitude axes define the frequency plane in the same way as the time-amplitude axes defines the time plane The frequency-plane is orthogonal to the time-plane and intersect with it a line on the amplitude axis. The actual sinusoid can be considered to be existing some distance along the frequency domain 3

Sampling and Aliasing Review 4 Before any DSP algorithm can be performed, the signal must be in digital form. That is we need to first sample the signal. Sampling is the acquisition of a continuous (for example analogue) signal at discrete time intervals and is a fundamental concept in real time signal processing. The sampling process has its problems. One is called aliasing. Consider two signals one having a frequency of 2Hz and another at a frequency of 18Hz. Lets sample these signals at a rate of 16 samples per second. Aliasing.m

Fourier Series Any periodic function f(t), with period T, may be represented by an infinite series of the form: where the coefficients are calculated from: 5

Provides a means of expanding a function into its major sine / cosine or complex exponential components These individual terms represent various frequency components which make up the original waveform Example: Square wave 6

Complex Fourier Series Using Eulers formula to derive the complex expressions for, and substituting these into the Fourier series it can be shown that the complex form of the Fourier series is: where 7

Fourier Transform The Fourier Series has to be modified when the waveform is not periodic See notes: The Fourier Transform DFTExpanded.m DFT.m 8

The DFT is given by: Example: Find the DFT of the sequence {1, 0, 0, 1} Solution…….. 9 Discrete Fourier Transform

Example: Find the DFT of the sequence {1, 0, 0, 1} Solution: { 2, 1+j, 0, 1-j } 10

Computational Complexity of the DFT Consider an 8-point DFT Letting Each term consists of a multiplication of an exponential term by another term which is either real or complex. Each of the product terms are added together. There are also eight harmonic components (k = 0, …,7) Therefore for an 8-point DFT there are 8 2 = 64 multiplications and 8 x 7 additions. For an N-point DFT - N 2 multiplications and N(N-1) additions 11

Computational Complexity of the DFT For an N-point DFT - N 2 multiplications and N(N-1) additions Therefore for a 1024-point DFT (N=1024) Multiplications: N 2 = Additions: N(N-1) = Clearly some means of reducing these numbers is desirable 12

Computational Complexity of the DFT where X(k)x(0)x(1)x(2)x(3)x(4)x(5)x(6)x(7) π/4π/23π/4π5π/43π/27π/4 20π/2π3π/22π5π/23π7π/2 303π/43π/29π/43π15π/49π/221π/4 40π2π3π4π5π6π7π 505π/45π/215π/45π25π/415π/235π/4 603π/23π9π/26π15π/29π21π/2 707π/47π/221π/47π35π/421π/249π/4 13

The Fast Fourier Transform - FFT Firstly lets make some notation changes: Now lets examine some relationships involving Proof 14

To exploit the computational redundancy expressed by: we will divide the data sequence into two equal sequences, one even and one odd: using which we can represent as: This process can be repeated for and so on…….. 15

The decimation can continue……. …….until the number of data elements in the DFT becomes two i.e. 16

Lets consider the structure of an 8-point FFT Remember we break down each stage into even and odd data sequences 17

Stage 1 – N/2 2-point DFTs Butterfly 1 – multiplication 2 – additions (pseudo code) This process can be repeated for……… 18

Stage 1 – N/2 2-point DFTsButterflies 19

Stage 2 – N/4 4-point DFTs 20

Stage 2 – N/4 4-point DFTs 21

Stage 3 – 1 off 8-point DFTs 22

Butterflies for an 8-point FFT 23

Example: Evaluate the DFT of the sequence {1, 0, 0, 1} using the decimation in time FFT. This is a four point DFT with: and The re-ordered sequence is Utilising the top left hand corner of the earlier butterfly diagram: 24

Example: Evaluate the DFT of the sequence {1, 0, 0, 1} using the decimation in time FFT. The DFT of the sequence {1, 0, 0, 1} is {2, 1+j, 0, 1-j} 25

By inspecting the butterflies for the 8-point FFT it can be seen that to execute the FFT the program must re-order the input data to perform the butterfly computations butterfly butterfly butterfly butterfly Re-ordering the input data At first it may seem that there is no way to program the re-ordering of the input data The trick is to think binary…….. FFT Algorithmic Development 26

Sequence re-ordering by bit reversal Some example bit-reversal algorithms…….BitReversalAlgorithms.c 27 Original data sequence xBinary addressesBit reversed addressesRe-ordered data sequence x

Computational Savings 28