FFT-based filtering and the

Slides:



Advertisements
Similar presentations
DFT & FFT Computation.
Advertisements

Michael Phipps Vallary S. Bhopatkar
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.
Block Convolution: overlap-save method  Input Signal x[n]: arbitrary length  Impulse response of the filter h[n]: lenght P  Block Size: N  we take.
Digital Signal Processing
Chapter 8: The Discrete Fourier Transform
FFT-based filtering and the Short-Time Fourier Transform (STFT) R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Effects in frequency domain Stefania Serafin Music Informatics Fall 2004.
Chapter 12 Fourier Transforms of Discrete Signals.
Discrete Fourier Transform(2) Prof. Siripong Potisuk.
Image (and Video) Coding and Processing Lecture 2: Basic Filtering Wade Trappe.
Signals and Systems Discrete Time Fourier Series.
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
CELLULAR COMMUNICATIONS DSP Intro. Signals: quantization and sampling.
The Nyquist–Shannon Sampling Theorem. Impulse Train  Impulse Train (also known as "Dirac comb") is an infinite series of delta functions with a period.
Systems: Definition Filter
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
… Representation of a CT Signal Using Impulse Functions
Discrete-Time and System (A Review)
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.
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.
README Lecture notes will be animated by clicks. Each click will indicate pause for audience to observe slide. On further click, the lecturer will explain.
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.
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez Garbino.
Fourier Analysis of Discrete Time Signals
Lecture 6: DFT XILIANG LUO 2014/10. Periodic Sequence  Discrete Fourier Series For a sequence with period N, we only need N DFS coefs.
LIST OF EXPERIMENTS USING TMS320C5X Study of various addressing modes of DSP using simple programming examples Sampling of input signal and display Implementation.
Chapter 5 Finite-Length Discrete Transform
revision Transfer function. Frequency Response
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 FOURIER TRANSFORMATION.
Digital Signal Processing. Discrete Fourier Transform Inverse Discrete Fourier Transform.
Digital Signal Processing
Linear filtering based on the DFT
DEPARTMENTT OF ECE TECHNICAL QUIZ-1 AY Sub Code/Name: EC6502/Principles of digital Signal Processing Topic: Unit 1 & Unit 3 Sem/year: V/III.
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.
EE345S Real-Time Digital Signal Processing Lab Fall 2006 Lecture 17 Fast Fourier Transform Prof. Brian L. Evans Dept. of Electrical and Computer Engineering.
Husheng Li, UTK-EECS, Fall The specification of filter is usually given by the tolerance scheme.  Discrete Fourier Transform (DFT) has both discrete.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
1 Chapter 8 The Discrete Fourier Transform (cont.)
DSP First, 2/e Lecture 18 DFS: Discrete Fourier Series, and Windowing.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Chapter 4 Discrete-Time Signals and transform
DIGITAL SIGNAL PROCESSING ELECTRONICS
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
3.1 Introduction Why do we need also a frequency domain analysis (also we need time domain convolution):- 1) Sinusoidal and exponential signals occur.
Lab 4 Application of RTOS
(C) 2002 University of Wisconsin, CS 559
The Discrete Fourier Transform
EE Audio Signals and Systems
Fast Fourier Transform
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
APPLICATION of the DFT: Convolution of Finite Sequences.
Z TRANSFORM AND DFT Z Transform
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Lecture 17 DFT: 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.
Chapter 8 The Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
INTRODUCTION TO THE SHORT-TIME FOURIER TRANSFORM (STFT)
Chapter 3 Sampling.
Lec.6:Discrete Fourier Transform and Signal Spectrum
Fast Fourier Transform
CE Digital Signal Processing Fall Discrete Fourier Transform (DFT)
Fourier Transforms of Discrete Signals By Dr. Varsha Shah
Presentation transcript:

FFT-based filtering and the

Using the FFT for DSP Because the FFT provides the means to reduce the computational complexity of the DFT from order (N2) to order (N log2(N)), it is often desirable to do FFT-based processing for DSP systems Even the computational cost of doing both FFT and IFFT may be less than conventional methods

Linear Convolution via FFT

Convolution FIR digital filter computes the linear convolution of the unit sample response with the input signal A filter of length P requires P2 complexity Recall that convolution in time domain is multiplication in frequency domain So, consider multiplying signal and filter transforms in the frequency domain

Circular Convolution The DFT is a sampled version of the Fourier transform, so multiplying DFTs corresponds to circular convolution Circular convolution can be thought of as “time-domain aliasing” If we want linear convolution, we must ensure time-limited input signals to avoid time-domain aliasing (like bandlimiting to avoid frequency-domain aliasing)

Linear convolution with the DFT Consider a unit sample response h[n] with finite length P, and a signal x[n] of length L Linear convolution h*x has length L+P-1 To avoid time-domain aliasing, we zero pad both sequences to at least length L+P-1, do FFT, multiply the transforms, then IFFT to get L+P-1 result

Overlap Processing Now consider filter response of length P, but assume input signal is of arbitrarily long length: need to run filter “on the fly” as blocks of input data become available Plan: break signal into consecutive blocks of length L, pad each with zeros to length L+P-1, and do FFT/multiply/IFFT

Overlap algorithm Note that the last P-1 output samples will overlap the start of the next block, and the overlapping points must be added to get the proper response. This is known as the overlap-add algorithm.

Overlap-Add Process x[n] h[n] y0[n]=h[n]*x0[n] y1[n]=h[n]*x1[n] L 2L 3L 4L x[n] h[n] y0[n]=h[n]*x0[n] y1[n]=h[n]*x1[n] y2[n]=h[n]*x2[n] y3[n]=h[n]*x3[n]

Short-Time Fourier Transform

Short-Time Fourier Transform It is often desirable to have an estimate of the input signal spectrum for a “short” interval, especially for non-stationary signals. Want to see changes in spectrum with time. The Fourier transform gives the frequency response, but it has infinite summation

STFT (cont.) Consider calculating a spectral “snapshot” by calculating Fourier transform of a short interval of the input signal w[n-m] x[n]

STFT (cont.) Express the short-time Fourier transform as a 2-dimensional signal Multiplying signal by a short time function causes smeared spectrum: convolution of the transforms

STFT viewpoints Fourier transform viewpoint: group x[]·w[] Take a sequence of DFTs as the window w[n-m] slides along the signal Filter bank viewpoint: group x[n]e-jwn Transform of w[n] is a low pass function x[n]e-jwn is modulation: shifts spectrum of x[n] by w, where it can be filtered by low pass function

STFT Reconstruction With some restrictions, it is possible to do perfect reconstruction. STFT and inverse STFT are a transform pair. Typically use overlapping window functions during analysis, then overlap-add during synthesis

DSP Analysis/Process/Synthesis Read in then next overlapping block of input samples Apply analysis window Perform FFT Do frequency domain processing Perform IFFT Overlap-add into the output buffer