Block-by Block Convolution, FFT/IFFT, Digital Spectral Analysis

Similar documents
EE123 Digital Signal Processing

Fall 2011, EE123 Digital Signal Processing

Practical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement

A. Basics of Discrete Fourier Transform

2D DSP Basics: 2D Systems

The Discrete Fourier Transform

Chapter 8. DFT : The Discrete Fourier Transform

Finite-length Discrete Transforms. Chapter 5, Sections

EE422G Homework #13 (12 points)

Vibratory Motion. Prof. Zheng-yi Feng NCHU SWC. National CHung Hsing University, Department of Soil and Water Conservation

Advanced Training Course on FPGA Design and VHDL for Hardware Simulation and Synthesis

Spring 2014, EE123 Digital Signal Processing

x[0] x[1] x[2] Figure 2.1 Graphical representation of a discrete-time signal.

Lecture 12: Spiral: Domain Specific HLS. James C. Hoe Department of ECE Carnegie Mellon University

Frequency Domain Filtering

Linear time invariant systems

UNIT-I. 2. A real valued sequence x(n) is anti symmetric if a) X(n)=x(-n) b) X(n)=-x(-n) c) A) and b) d) None Ans: b)

Ch3 Discrete Time Fourier Transform

Chapter 9 Computation of the Discrete. Fourier Transform

Spring 2014, EE123 Digital Signal Processing

Warped, Chirp Z-Transform: Radar Signal Processing

Question1 Multiple choices (circle the most appropriate one):

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

Lecture 3: Divide and Conquer: Fast Fourier Transform

M2.The Z-Transform and its Properties

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science. BACKGROUND EXAM September 30, 2004.

Polynomial Multiplication and Fast Fourier Transform

ELEG3503 Introduction to Digital Signal Processing

The z-transform. 7.1 Introduction. 7.2 The z-transform Derivation of the z-transform: x[n] = z n LTI system, h[n] z = re j

The Discrete Fourier Transform

EE123 Digital Signal Processing

Run-length & Entropy Coding. Redundancy Removal. Sampling. Quantization. Perform inverse operations at the receiver EEE

FIR Filter Design: Part II

FFTs in Graphics and Vision. The Fast Fourier Transform

ADVANCED DIGITAL SIGNAL PROCESSING

Filter banks. Separately, the lowpass and highpass filters are not invertible. removes the highest frequency 1/ 2and

Signal Processing in Mechatronics. Lecture 3, Convolution, Fourier Series and Fourier Transform

Frequency Response of FIR Filters

Spectral Analysis. This week in lab. Next classes: 3/26 and 3/28. Your next experiment Homework is to prepare

Optimum LMSE Discrete Transform

ECE4270 Fundamentals of DSP. Lecture 2 Discrete-Time Signals and Systems & Difference Equations. Overview of Lecture 2. More Discrete-Time Systems

Written exam Digital Signal Processing for BMT (8E070). Tuesday November 1, 2011, 09:00 12:00.

MAS160: Signals, Systems & Information for Media Technology. Problem Set 5. DUE: November 3, (a) Plot of u[n] (b) Plot of x[n]=(0.

DIGITAL SIGNAL PROCESSING LECTURE 3

Chapter 7: The z-transform. Chih-Wei Liu

The Discrete Fourier Transform

Solutions. Number of Problems: 4. None. Use only the prepared sheets for your solutions. Additional paper is available from the supervisors.

Digital signal processing: Lecture 5. z-transformation - I. Produced by Qiangfu Zhao (Since 1995), All rights reserved

Review of Discrete-time Signals. ELEC 635 Prof. Siripong Potisuk

FIR Filter Design: Part I

Wavelet Transform and its relation to multirate filter banks

Digital Signal Processing

I. Review of 1D continuous and discrete convolution. A. Continuous form: B. Discrete form: C. Example interface and review:

Signals & Systems Chapter3

Lecture 2 Linear and Time Invariant Systems

Lecture 3. Digital Signal Processing. Chapter 3. z-transforms. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev. 2016

Chapter 2 Systems and Signals

Let A(x) and B(x) be two polynomials of degree n 1:

6.003 Homework #3 Solutions

from definition we note that for sequences which are zero for n < 0, X[z] involves only negative powers of z.

(, ) (, ) (, ) ( ) ( )

6.003 Homework #12 Solutions

EECE 301 Signals & Systems

Machine Learning Regression I Hamid R. Rabiee [Slides are based on Bishop Book] Spring

Exam. Notes: A single A4 sheet of paper (double sided; hand-written or computer typed)

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING

6.003 Homework #12 Solutions

Digital Signal Processing, Fall 2006

Inverse Matrix. A meaning that matrix B is an inverse of matrix A.

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,

EE Midterm Test 1 - Solutions

Chapter 7 z-transform

EEO 401 Digital Signal Processing Prof. Mark Fowler

2(25) Mean / average / expected value of a stochastic variable X: Variance of a stochastic variable X: 1(25)

Applications of Distributed Arithmetic to Digital Signal Processing: A Tutorial Review

BIOINF 585: Machine Learning for Systems Biology & Clinical Informatics

MAXIMALLY FLAT FIR FILTERS

Web Appendix O - Derivations of the Properties of the z Transform

Chapter If n is odd, the median is the exact middle number If n is even, the median is the average of the two middle numbers

Digital Signal Processing, Fall 2010

COMM 602: Digital Signal Processing

11. What are energy and power signals? (April/may 2011, Nov/Dec 2012) Energy signal: The energy of a discrete time signal x(n) is defined as

Introduction to Computational Biology Homework 2 Solution

Pipelined and Parallel Recursive and Adaptive Filters

Discrete-Time Signals and Systems. Discrete-Time Signals and Systems. Signal Symmetry. Elementary Discrete-Time Signals.

Parallel Vector Algorithms David A. Padua

Analog and Digital Signals. Introduction to Digital Signal Processing. Discrete-time Sinusoids. Analog and Digital Signals

Applications of Distributed Arithmetic to Digital Signal Processing: A Tutorial Review

Olli Simula T / Chapter 1 3. Olli Simula T / Chapter 1 5

Module 11: Applications : Linear prediction, Speech Analysis and Speech Enhancement Prof. Eliathamby Ambikairajah Dr. Tharmarajah Thiruvaran School

Introduction to Digital Signal Processing

CEMTool Tutorial. Fourier Analysis

Math E-21b Spring 2018 Homework #2

CALCULUS BASIC SUMMER REVIEW

Complex Algorithms for Lattice Adaptive IIR Notch Filter

Exponential Moving Average Pieter P

EE / EEE SAMPLE STUDY MATERIAL. GATE, IES & PSUs Signal System. Electrical Engineering. Postal Correspondence Course

CS 179: GPU Programming. Lecture 9 / Homework 3

Digital Signal Processing

Transcription:

Lecture 9 Outlie: Block-by Block Covolutio, FFT/IFFT, Digital Spectral Aalysis Aoucemets: Readig: 5: The Discrete Fourier Trasform pp. 3-5, 8, 9+block diagram at top of pg, pp. 7. HW 6 due today with free etesio to Thurs. 5pm Graded midterms ready for pickup (with TAs after class or from Julia) Eample of Liear Covolutio from Circular Block-by-block covolutio: Overlap/Add FFT/IFFT ad its Compleity Digital Spectral Aalysis

Midterm Postmortem Graded midterms/sols available (from TAs/Julia) Gradig Histogram?? Media: 65.5 Mea: 67.77 Std. Dev: 4.46 Low: 4 High: 98 Regrade requests must be submitted i writig Describe gradig error that occurred; partial credit fied Course grade from all coursework: B+ class average Before etra credit; etra credit poits added to HW grade

Review of Last Lecture Computig circular covolutio: Liearly covolve ~ ad ~ Place sequeces o circle i opposite directios, sum up all pairs, rotate outer sequece clockwise each time icremet N N m ~ m~ m N otherwise Liear Covolutio usig Circular Covolutio zp Zero pad [] by appedig P- zeros: Zero pad h[] by appedig L- zeros: Both sequeces are of legth M=L+P-, same as y[] Take circular covolutio of zero padded sequeces This yields the liear covolutio: y h zp h M zp hzp * h L L L P P P L P M otherwise

Eample: Liear from Circular Liear Covolutio 3 3 4 5 [ ] L=4 P=6 3 4 4 5 6 3 4 4 3 [] * [] 7 8 4 4 6 3 4 5 Liear from Circular with Zero Paddig M=L+P-=9, zp 9, zp 3, zp 3 4 5 4 5 6 7 8, zp [ 6 7 8 ] = =

Block Covolutio usig Overlap Methods Wat block-by-block liear covolutio for log sequeces Uses fied hardware. Has fied delay/compleity Goal: compute liear covolutio of [] ad y[] [] very log, h[] has legth P Wat to break [] ito shorter blocks ad compute portios of y[] block-by-block. Overlap-Add Method y * h mh m mhm m Breaks [] ito o-overlappig segmets of legth L: rl r L r Covolve each segmet with h[] ad sum: These covolutios computed usig DFT: r zp otherwise P m h N h FFT FFT * r,zp y r r * h * h FFTh r,zp zp r r

Overlap-Save (Not resposible for this topic; pp. 5-6) Breaks [] ito segmets of legth L>P, each segmet overlappig with previous oe at P- poits Perform L-poit circular covolutio of each segmet with zero-padded filter h[] (usig DFT): y L r p r hzp, Idetify portio of each circular covolutio that correspods to a liear covolutio, ad save it. First P poits are uusable, while the remaiig L P + poits correspod to a liear covolutio. Thus, we save L P + poits from each circular covolutio. yr, p P L y r otherwise Because first P poits are uusable, the iput segmets must overlap at P poits. y y rl P P r r

Blocklegth Choice I overlap methods, several factors affect the choice of the block legth L a shorter block legth miimizes latecy. a shorter block legth miimizes memory required for performig the FFTs, multiplicatio, ad iverse FFT. Give P (legth of h[]), there is a optimal block legth L that miimizes compleity. L too short, compleity icreased by overhead of adjacet block overlap L too log, compleity icreased because FFT compleity icreases with the block legth I practice, set block legth so that FFT blocklegth is a iteger power of (required for FFTs)

FFT ad IFFT Algorithms FFT computes the DFT of a sequece, IFFT N N k computes the iverse DFT: X k W N X k DFT as matri operatio: N comple multiplies (lect. 6) Compleity of FFT ad IFFT same: FFT/IFFT breaks dow a DFT with N comple multiplies ito may smaller DFTs with N multiplies Reduces compleity of computig N-poit DFT or IDFT from N comple multiplies to.5nlog N N N N log N N N log N 6 56 3 8. 8 6,384 448 36.6,4,48,576 5, 4.8 8,9 67,8,864 53,48 6.3 N k DFT k W * X k DFT X k - I 994 Strag described the FFT as "the most importat umerical algorithm of our lifetime - Icluded i Top Algorithms of th Cetury by IEEE Joural of Computig i Sciece ad Egieerig N N *

Digital Spectral Aalysis (ppt slide oly) Ati-Aliasig Origial CT Sigal ct X c j t, tt Lowpass Filter sct Sc j j H aa Filtered CT Sigal Sampled Sigal t T A B Form Block of Legth L Block of L Sigal Samples, L C...... Widow of Legth L, L w Sampled, Widowed Sigal v w Aalog spectrum aalysis: D Zero-Pad To Legth N L Aalog sigal iput to a arrow BPF with tuable ceter frequecy. The ceter frequecy is swept over some rage Sigal recorded (amplitude ad phase) to obtai CTFT estimate Ca be used at ay frequecy rage: audio, radio ad microwave, optical, Digital spectrum aalysis is as show i the block diagram Sampler (ADC) techology limited to ~ GHz; sigals with BW>5 GHz distorted Widowig reduces distortio of FIR approimatio to IIR sigal Digital spectrum aalysis is cheaper, smaller, ad cosumes less power tha aalog Used by all small electroic devices that must do spectrum aalysis (e.g. WiFi) v L L N E N-Poit Block of N Spectral Samples V k, k N F DFT

Mai Poits For liear covolutio of log sequeces, computatio is doe i L-legth blocks usig overlap-add or overlap-save Methods are very similar, differ i where overlap is itroduced Choice of L optimizes tradeoff i latecy, memory, ad compleity The FFT ad IFFT drastically reduce the compleity of the DFT/IDFT computatio These algorithms are resposible for the widespread use of digital sigal processig i today s electroic devices Usig low-compleity FFTs ad IFFTs, spectral aalysis ca be doe with low-cost, low-power, small devices