FFT-based filtering and the Short-Time Fourier Transform (STFT) R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.

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.
Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
Digital Signal Processing
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,
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems Spring 2005 Shreekanth Mandayam ECE Department Rowan University.
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Introduction to Fast Fourier Transform (FFT) Algorithms R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
Effects in frequency domain Stefania Serafin Music Informatics Fall 2004.
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.
Discrete Fourier Transform(2) Prof. Siripong Potisuk.
Image (and Video) Coding and Processing Lecture 2: Basic Filtering Wade Trappe.
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
The Nyquist–Shannon Sampling Theorem. Impulse Train  Impulse Train (also known as "Dirac comb") is an infinite series of delta functions with a period.
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)
Numerical Analysis – Digital Signal Processing Hanyang University Jong-Il Park.
GCT731 Fall 2014 Topics in Music Technology - Music Information Retrieval Overview of MIR Systems Audio and Music Representations (Part 1) 1.
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.
Finite-Length Discrete Transform
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.
Chapter 6 Spectrum Estimation § 6.1 Time and Frequency Domain Analysis § 6.2 Fourier Transform in Discrete Form § 6.3 Spectrum Estimator § 6.4 Practical.
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez Garbino.
Fourier Analysis of Discrete Time Signals
Pre-Class Music Paul Lansky Six Fantasies on a Poem by Thomas Campion.
Z TRANSFORM AND DFT Z Transform
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
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.
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
Linear filtering based on the DFT
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.
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.
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.)
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.
FFT-based filtering and the
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
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)
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 Short-Time Fourier Transform (STFT) R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher2 Using the FFT for DSP Because the FFT provides the means to reduce the computational complexity of the DFT from order (N 2 ) to order (N log 2 (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

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher4 Convolution FIR digital filter computes the linear convolution of the unit sample response with the input signal A filter of length P requires P 2 complexity Recall that convolution in time domain is multiplication in frequency domain So, consider multiplying signal and filter transforms in the frequency domain

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher5 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)

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher6 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

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher7 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

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher8 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.

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher9 Overlap-Add Process x[n] 0L2L3L4L y 0 [n]=h[n]*x 0 [n] h[n] y 1 [n]=h[n]*x 1 [n] y 2 [n]=h[n]*x 2 [n] y 3 [n]=h[n]*x 3 [n]

Short-Time Fourier Transform

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher11 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

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher12 STFT (cont.) Consider calculating a spectral “snapshot” by calculating Fourier transform of a short interval of the input signal x[n] w[n-m]

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher13 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

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher14 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 -j  n –Transform of w[n] is a low pass function –x[n]e -j  n is modulation: shifts spectrum of x[n] by , where it can be filtered by low pass function

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher15 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

ECEN4002 Spring 2003Fast Convolution and the STFT R. C. Maher16 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