Lecture 13 Outline: Windowing in FIR Filter Design

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

HILBERT TRANSFORM Fourier, Laplace, and z-transforms change from the time-domain representation of a signal to the frequency-domain representation of the.
Image Enhancement in the Frequency Domain (2)
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)
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 6: Filters - Introduction 1.Simple Filters 2.Ideal Filters 3.Linear Phase and FIR filter.
1 Lecture 2: February 27, 2007 Topics: 2. Linear Phase FIR Digital Filter. Introduction 3. Linear-Phase FIR Digital Filter Design: Window (Windowing)
Practical Signal Processing Concepts and Algorithms using MATLAB
Discrete-Time Fourier Series
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.
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:
Linear filtering based on the DFT
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,
Lecture 13 Outline: FIR Filter Design: Freq. Response Matching, Causal Design, Windowing Announcements: Reading: “4: FIR Discrete-Time Filters” pp
EEE4176 Application of Digital Signal Processing
Lecture 17 Outline: DFT Properties and Circular Convolution
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 14 Outline: Windowing in FIR Filter Design
FIR Filter Design Using Neural Network
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 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 13 Outline: Windowing in FIR Filter Design Lecture 13 Outline: Windowing in FIR Filter Design. Design Summary and Examples Announcements: Midterm May 11 in class. Will cover through FIR Filter Design. More details on Wednesday HW 4 posted, 50% longer than usual, 4 extra days to complete (due May 8) There will be no additional HW during the week of the MT Extra credit for practice MT (posted shortly) My Ohs Wednesday will be before class (12:30-1:30 outside classroom) Review of Last Lecture The Art and Science of Windowing Summary of FIR Filter Design FIR Realization: Direct Form Examples: LPF, Differentiator, Hilbert

Review of Last Lecture Impluse and freq. response matching minimizes the time/freq. domain error e between desired filter and its FIR approximation By Parseval’s, errors are the same; IR matching yields 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 IR Match: FR Match:

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 (ppt only, see reader for details) Ideal Differentiator: imaginary and odd hd[n] obtained via integration by parts

Example: Hilbert Transform (ppt only, see reader for details) Ideal Hilbert Transform (cts time): Translate to discrete time: Imaginary and odd in W Use IDFT to get IR Integrate negative/positive halves real and odd in n.

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 (next topic) Example designs for LPF, Differentiator, and Hilbert Transformer Hamming smooths out wiggles from rectangular window Introduces more distortion at transition frequencies than rectangular window Homework covers differentiator in more detail, and a high pass filter