ESE 531: Digital Signal Processing

Similar documents
! Circular Convolution. " Linear convolution with circular convolution. ! Discrete Fourier Transform. " Linear convolution through circular

Today. ESE 531: Digital Signal Processing. IIR Filter Design. Impulse Invariance. Impulse Invariance. Impulse Invariance. ω < π.

! Review: Discrete Fourier Transform (DFT) ! DFT Properties. " Duality. " Circular Shift. ! Circular Convolution. ! Fast Convolution Methods

ESE 531: Digital Signal Processing

( ) John A. Quinn Lecture. ESE 531: Digital Signal Processing. Lecture Outline. Frequency Response of LTI System. Example: Zero on Real Axis

EEO 401 Digital Signal Processing Prof. Mark Fowler

DFT-Based FIR Filtering. See Porat s Book: 4.7, 5.6

ESE 531: Digital Signal Processing

ESE 531: Digital Signal Processing

Module 3. Convolution. Aim

ESE 531: Digital Signal Processing

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

ESE 531: Digital Signal Processing

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

Adaptive Filtering Part II

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

! z-transform. " Tie up loose ends. " Regions of convergence properties. ! Inverse z-transform. " Inspection. " Partial fraction

LTI H. the system H when xn [ ] is the input.

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

! Spectral Analysis with DFT. ! Windowing. ! Effect of zero-padding. ! Time-dependent Fourier transform. " Aka short-time Fourier transform

Lecture 11 FIR Filters

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin

EE482: Digital Signal Processing Applications

EE123 Digital Signal Processing

EE123 Digital Signal Processing

! Downsampling/Upsampling. ! Practical Interpolation. ! Non-integer Resampling. ! Multi-Rate Processing. " Interchanging Operations

EE123 Digital Signal Processing. M. Lustig, EECS UC Berkeley

Chapter 8 The Discrete Fourier Transform

Digital Signal Processing I Final Exam Fall 2008 ECE Dec Cover Sheet

Discrete Fourier transform (DFT)

EE123 Digital Signal Processing

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

VU Signal and Image Processing. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

EE482: Digital Signal Processing Applications

8 The Discrete Fourier Transform (DFT)

Linear Convolution Using FFT

Digital Signal Processing Lecture 4

Fall 2011, EE123 Digital Signal Processing

ECE 413 Digital Signal Processing Midterm Exam, Spring Instructions:

ELEG 305: Digital Signal Processing

ELEG 305: Digital Signal Processing

Contents. Digital Signal Processing, Part II: Power Spectrum Estimation

Lecture 19: Discrete Fourier Series

Adaptive Filters. un [ ] yn [ ] w. yn n wun k. - Adaptive filter (FIR): yn n n w nun k. (1) Identification. Unknown System + (2) Inverse modeling

INTRODUCTION TO THE DFS AND THE DFT

Lecture 10. Digital Signal Processing. Chapter 7. Discrete Fourier transform DFT. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev.

Examination with solution suggestions SSY130 Applied Signal Processing

E : Lecture 1 Introduction

Digital Signal Processing. Midterm 2 Solutions

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2

University Question Paper Solution

EE-210. Signals and Systems Homework 7 Solutions

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 2 Solutions

Each problem is worth 25 points, and you may solve the problems in any order.

EE482: Digital Signal Processing Applications

Adaptive Filter Theory

ECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December Cover Sheet

APPLIED SIGNAL PROCESSING

EE123 Digital Signal Processing

Review of Fundamentals of Digital Signal Processing

Discrete-time signals and systems

Chap 2. Discrete-Time Signals and Systems

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

NAME: 11 December 2013 Digital Signal Processing I Final Exam Fall Cover Sheet

Review of Discrete-Time System

2.161 Signal Processing: Continuous and Discrete Fall 2008

DFT & Fast Fourier Transform PART-A. 7. Calculate the number of multiplications needed in the calculation of DFT and FFT with 64 point sequence.

EE123 Digital Signal Processing

Discrete Fourier Transform

Digital Signal Processing

z-transform Chapter 6

EEL3135: Homework #4

Digital Signal Processing

Roll No. :... Invigilator s Signature :.. CS/B.Tech (EE-N)/SEM-6/EC-611/ DIGITAL SIGNAL PROCESSING. Time Allotted : 3 Hours Full Marks : 70

R13 SET - 1

LAB 2: DTFT, DFT, and DFT Spectral Analysis Summer 2011

Discrete-Time Fourier Transform (DTFT)

ELEN 4810 Midterm Exam

Your solutions for time-domain waveforms should all be expressed as real-valued functions.

Lecture 19 IIR Filters

HW13 Solutions. Pr (a) The DTFT of c[n] is. C(e jω ) = 0.5 m e jωm e jω + 1

Advanced Digital Signal Processing -Introduction

The Z-Transform. Fall 2012, EE123 Digital Signal Processing. Eigen Functions of LTI System. Eigen Functions of LTI System

ECGR4124 Digital Signal Processing Midterm Spring 2010

Lecture 3 January 23

Definition. A signal is a sequence of numbers. sequence is also referred to as being in l 1 (Z), or just in l 1. A sequence {x(n)} satisfying

Lecture 14: Windowing

Topics: Discrete transforms; 1 and 2D Filters, sampling, and scanning

ECGR4124 Digital Signal Processing Final Spring 2009

Fourier Analysis of Signals Using the DFT

EE538 Final Exam Fall 2007 Mon, Dec 10, 8-10 am RHPH 127 Dec. 10, Cover Sheet

HST.582J / 6.555J / J Biomedical Signal and Image Processing Spring 2007

Test 2 Electrical Engineering Bachelor Module 8 Signal Processing and Communications

Digital Signal Processing. Midterm 1 Solution

Discrete-Time Systems

z-transforms Definition of the z-transform Chapter

Flash File. Module 3 : Sampling and Reconstruction Lecture 28 : Discrete time Fourier transform and its Properties. Objectives: Scope of this Lecture:

Discrete-Time Signals and Systems

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

EE123 Digital Signal Processing

Transcription:

ESE 531: Digital Signal Processing Lec 22: April 10, 2018 Adaptive Filters Penn ESE 531 Spring 2018 Khanna

Lecture Outline! Circular convolution as linear convolution with aliasing! Adaptive Filters Penn ESE 531 Spring 2018 Khanna 2

Circular Convolution! Circular Convolution: For two signals of length N Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 3

Compute Circular Convolution Sum Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 4

Compute Circular Convolution Sum Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 5

Compute Circular Convolution Sum Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 6

Compute Circular Convolution Sum y[0]=2 Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 7

Compute Circular Convolution Sum y[0]=2 y[1]=2 Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 8

Compute Circular Convolution Sum y[0]=2 y[1]=2 y[2]=3 Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 9

Compute Circular Convolution Sum y[0]=2 y[1]=2 y[2]=3 y[3]=4 Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 10

Result y[0]=2 y[1]=2 y[2]=3 y[3]=4 Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 11

Linear Convolution! We start with two non-periodic sequences: " E.g. x[n] is a signal and h[n] a filter s impulse response! We want to compute the linear convolution: " y[n] is nonzero for 0 n L+P-2 with length M=L+P-1 Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley Requires LP multiplications 12

Linear Convolution via Circular Convolution! Zero-pad x[n] by P-1 zeros! Zero-pad h[n] by L-1 zeros! Now, both sequences are length M=L+P-1 Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 13

Circular Conv. via Linear Conv. w/ Aliasing! If the DTFT X(e jω ) of a sequence x[n] is sampled at N frequencies ω k =2πk/N, then the resulting sequence X[k] corresponds to the periodic sequence! And is the DFT of one period given as 14

Circular Conv. via Linear Conv. w/ Aliasing! If x[n] has length less than or equal to N, then x p [n]=x[n]! However if the length of x[n] is greater than N, this might not be true and we get aliasing in time " N-point convolution results in N-point sequence 15

Circular Conv. via Linear Conv. w/ Aliasing! Given two N-point sequences (x 1 [n] and x 2 [n]) and their N-point DFTs (X 1 [k] and X 2 [k])! The N-point DFT of x 3 [n]=x 1 [n]*x 2 [n] is defined as X 3 [k] = X 3 (e j(2πk/n ) ) 16

Circular Conv. via Linear Conv. w/ Aliasing! Given two N-point sequences (x 1 [n] and x 2 [n]) and their N-point DFTs (X 1 [k] and X 2 [k])! The N-point DFT of x 3 [n]=x 1 [n]*x 2 [n] is defined as X 3 [k] = X 3 (e j(2πk/n ) )! And X 3 [k]=x 1 [k]x 2 [k], where the inverse DFT of X 3 [k] is 17

Circular Conv. as Linear Conv. w/ Aliasing! Thus x 3 p [n] = x 1 [n] N x 2 [n] 18

Circular Conv. as Linear Conv. w/ Aliasing! Thus x 3 p [n] = x 1 [n] N x 2 [n]! The N-point circular convolution is the sum of linear convolutions shifted in time by N 19

Example 1:! Let! The N=L=6-point circular convolution results in 20

Example 1:! Let! The N=L=6-point circular convolution results in 21

Example 1:! Let! The linear convolution results in 22

Example 1:! Let! The linear convolution results in 23

Example 1:! The sum of N-shifted linear convolutions equals the N-point circular convolution 24

Example 1:! The sum of N-shifted linear convolutions equals the N-point circular convolution 25

Example 1:! The sum of N-shifted linear convolutions equals the N-point circular convolution 26

Example 1:! If I want the circular convolution and linear convolution to be the same, what do I do? 27

Example 1:! If I want the circular convolution and linear convolution to be the same, what do I do? " Take the N=2L-point circular convolution 28

Example 1:! The sum of N-shifted linear convolutions equals the N-point circular convolution 29

Example 2:! Let 30

Example 2:! Let Linear convolution! What does the L-point circular convolution look like? 31

Example 2:! Let Linear convolution! What does the L-point circular convolution look like? 32

Example 2:! The L-shifted linear convolutions 33

Example 2:! The L-shifted linear convolutions 34

Adaptive Filters 35

Adaptive Filters! An adaptive filter is an adjustable filter that processes in time " It adapts x[n] Adaptive Filter y[n] _ d[n] + e[n]=d[n]-y[n] Update Coefficients 36

Adaptive Filter Applications! System Identification 37

Adaptive Filter Applications! Identification of inverse system 38

Adaptive Filter Applications! Adaptive Interference Cancellation 39

Adaptive Filter Applications! Adaptive Prediction 40

Stochastic Gradient Approach! Most commonly used type of Adaptive Filters! Define cost function as mean-squared error " Difference between filter output and desired response! Based on the method of steepest descent " Move towards the minimum on the error surface to get to minimum " Requires the gradient of the error surface to be known 41

Least-Mean-Square (LMS) Algorithm! The LMS Algorithm consists of two basic processes " Filtering process " Calculate the output of FIR filter by convolving input and taps " Calculate estimation error by comparing the output to desired signal " Adaptation process " Adjust tap weights based on the estimation error 42

Adaptive FIR Filter: LMS 43

Adaptive FIR Filter: LMS 44

Adaptive FIR Filter: LMS 45

Adaptive FIR Filter: LMS 46

Adaptive Filter Applications! Adaptive Interference Cancellation 47

Adaptive Interference Cancellation 48

Adaptive Interference Cancellation 49

Adaptive Interference Cancellation 50

Stability of LMS! The LMS algorithm is convergent in the mean square if and only if the step-size parameter satisfy! Here λ max is the largest eigenvalue of the correlation matrix of the input data! More practical test for stability is! Larger values for step size 2 λ max " Increases adaptation rate (faster adaptation) " Increases residual mean-squared error 0 < 0 < µ < µ < input 2 signal power 51

Big Ideas! Linear vs. Circular Convolution " Use circular convolution (i.e DFT) to perform fast linear convolution " Overlap-Add, Overlap-Save " Circular convolution is linear convolution with aliasing! Adaptive Filters " Use LMS algorithm to update filter coefficients " applications like system ID, channel equalization, and signal prediction Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 52

Admin! Reminder: " Tania office hours cancelled tomorrow! Project " Due 4/24 Penn ESE 531 Spring 2018 Khanna Adapted from M. Lustig, EECS Berkeley 53