Lecture 14 Outline: Windowing in FIR Filter Design

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

Image Enhancement in the Frequency Domain Part III
Windowing Purpose: process pieces of a signal and minimize impact to the frequency domain Using a window – First Create the window: Use the window formula.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Digital Signal Processing
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
LINEAR-PHASE FIR FILTERS DESIGN
Chapter 8 FIR Filter Design
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
Practical Signal Processing Concepts and Algorithms using MATLAB
Discrete-Time and System (A Review)
Presentation Image Filters
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
Filter Design Techniques
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Biomedical Signal processing Chapter 7 Filter Design Techniques Zhongguo Liu Biomedical.
Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain.
UNIT-5 Filter Designing. INTRODUCTION The Digital filters are discrete time systems used mainly for filtering of arrays. The array or sequence are obtained.
IIR Filter design (cf. Shenoi, 2006) The transfer function of the IIR filter is given by Its frequency responses are (where w is the normalized frequency.
Digital Signal Processing FIR Filter Design
1 BIEN425 – Lecture 10 By the end of the lecture, you should be able to: –Describe the reason and remedy of DFT leakage –Design and implement FIR filters.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR 1.Windowed Impulse Response 2.Window Shapes 3.Design by Iterative.
Chapter 7 Finite Impulse Response(FIR) Filter Design
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Summary of Widowed Fourier Series Method for Calculating FIR Filter Coefficients Step 1: Specify ‘ideal’ or desired frequency response of filter Step 2:
Filtering x y.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: FIR Filters Design of Ideal Lowpass Filters Filter Design Example.
The IIR FILTERs These are highly sensitive to coefficients,
Computer Graphics & Image Processing Chapter # 4 Image Enhancement in Frequency Domain 2/26/20161.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Chapter 6. Digital Filter Structures and Designs Section
Lecture 13 Outline: FIR Filter Design: Freq. Response Matching, Causal Design, Windowing Announcements: Reading: “4: FIR Discrete-Time Filters” pp
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
Lecture 16 Outline: Discrete Fourier Series and Transforms Announcements: Reading: “5: The Discrete Fourier Transform” pp HW 5 posted, short HW (2.
Lecture 27 Outline: Systems Analysis w/ Z Transforms, Course Review
Review of Fourier Transform for Continuous-time aperiodic signals.
IIR Filter design (cf. Shenoi, 2006)
Lecture 25 Outline: LTI Systems: Causality, Stability, Feedback
FIR Filter Design Using Neural Network
In summary If x[n] is a finite-length sequence (n0 only when |n|
Linear Constant-coefficient Difference Equations
J McClellan School of Electrical and Computer Engineering
Fourier Series FIR About Digital Filter Design
Lecture 12 Outline: Quadrature Modulation FIR Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
Filter Design by Windowing
Quick Review of LTI Systems
Lecture 13 Outline: Windowing in FIR Filter Design
Lecture 14 Outline: Discrete Fourier Series and Transforms
EE 102b: Signal Processing and Linear Systems II
MMSE Optimal Design: The Least Squares method
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Z TRANSFORM AND DFT Z Transform
Chapter 6 Discrete-Time System
Chapter 7 FIR Digital Filter Design
Lecture 15 Outline: DFT Properties and Circular Convolution
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.
Lecture 25 Outline: Z Transforms, Discrete-time Systems Analysis
Chapter 7 Finite Impulse Response(FIR) Filter Design
Lecture #8 (Second half) FREQUENCY RESPONSE OF LSI SYSTEMS
ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
INTRODUCTION TO THE SHORT-TIME FOURIER TRANSFORM (STFT)
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

Lecture 14 Outline: Windowing in FIR Filter Design Lecture 14 Outline: Windowing in FIR Filter Design. Design Summary and Examples Announcements: Reading: “4: FIR Discrete-Time Filters” pp. 14-24 (i.e. read all of 1-24 except 13-13.5, i.e. skip Stability: read Direct Form Realization on pg. 12) Midterm May 6 9:20am-11:20am. Academic conflicts will be accommodated (let us know of any by this Friday). Will cover through FIR Filter Design. More details on MT, review sessions, and extra OHs on Monday HW 5 posted today, short HW, extra credit for practice MT (posted shortly) Guest lecture Friday by Gordon Wetzstein on Virtual/Augmented Reality I will not have OHs Friday, extra OHs next week Review of Last Lecture The Art and Science of Windowing Summary of FIR Filter Design FIR Realization: Direct Form Examples: LPF and Differentiator

Review of Last Lecture Freq. response matching minimizes the frequency domain error e between desired filter and its FIR approximation By Parseval’s, same as time-domain error; so filter same as IR matching Sharp windowing causes “Gibbs” phenomenon (wiggles) Causal Design Can make ha[n] causal by adding delay of M/2 Group delay defined as Often constant (1 delay) or piecewise constant (1 delay per freq. group) Group delay that is not constant can introduce distortion

Art and Science of Windowing Window design is created as an alternative to the sharp time-windowing in ha[n] Used to mitigate Gibbs phenomenon Window function (w[n]=0, |n|>M/2) given by Windowed noncausal FIR design: Frequency response smooths Gibbs in Ha(ejW) Design often trades “wiggles” in main vs. sidelobes

Typical Window Designs 0.5 1 1.5 2 2.5 3 -0.2 0.2 0.4 0.6 0.8 W ( e j ) M = 16 Boxcar Triangular Hamming Hanning

Summary of FIR Design We are given a desired response hd[n] which is generally noncausal and IIR Examples are ideal low-pass, bandpass, highpass filters May be derived from a continuous-time filter Choose a filter duration M+1 for M even Larger M entails more complexity/delay, less approximation error e Design a length M+1 window function w[n], real and even, to mitigate Gibbs while keeping good approximation to hd[n] Calculate the noncausal FIR approximation ha[n] Calculate the noncausal windowed FIR approximation hw[n] Add delay of M/2 to hw[n] to get h[n]

FIR Realization: Direct Form Consists of M delay elements and M+1 multipliers Can introduce different delays at different freq. components of x[n] Will discuss more when we cover z transforms Efficient implementation using Discrete-Fourier Transform (DFT) Next class topic

Example: Lowpass Filter Ideal LPF with cutoff Wc:

Example: Differentiator Ideal Differentiator: imaginary and odd hd[n] obtained via integration by parts

Main Points FIR design entails choice of window function to mitigate Gibbs Goal is to approximated desired filter without Gibbs/wiggles Design tradeoffs involve main lobe vs. sidelobe sizes Typical windows: rectangle (boxcar), triangle, Hanning, and Hamming FIR design for desired hd[n] entails picking a length M, setting ha[n]=hd[n], |n|M/2, choosing window w[n] with hw[n]=h[n]w[n]to mitigate Gibbs, and setting h[n]=hw[n-M/2] to make design causal FIR implemented directly using M delay elements and M+1 multipliers Can introduce group delay Efficiently implemented with DFT Example designs for LFP and Differentiator Hamming smooths out wiggles from rectangular window Introduces more distortion at transition frequencies than rectangular window