EEE4176 Application of Digital Signal Processing

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Equiripple Filters A filter which has the Smallest Maximum Approximation Error among all filters over the frequencies of interest: Define: where.
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
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
Parks-McClellan FIR Filter Design
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters Last time we Revisited the impulse function and impulse response Defined the impulse (Dirac.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
ELEN 5346/4304 DSP and Filter Design Fall Lecture 11: LTI FIR filter design Instructor: Dr. Gleb V. Tcheslavski Contact:
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
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
1 Lecture 5: March 20, 2007 Topics: 1. Design of Equiripple Linear-Phase FIR Digital Filters (cont.) 2. Comparison of Design Methods for Linear- Phase.
Filter Design Techniques
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.
1 BIEN425 – Lecture 11 By the end of the lecture, you should be able to: –Design and implement FIR filters using frequency-sampling method –Compare the.
Digital Signal Processing FIR Filter Design
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
1 Chapter 7 Filter Design Techniques (cont.). 2 Optimum Approximation Criterion (1)  We have discussed design of FIR filters by windowing, which is straightforward.
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.
1 Lecture 3: March 6, 2007 Topic: 1. Frequency-Sampling Methods (Part I)
1 Chapter 7 FIR Filter Design Techniques. 2 Design of FIR Filters by Windowing (1)  We have discussed techniques for the design of discrete-time IIR.
EE513 Audio Signals and Systems
Fundamentals of Digital Signal Processing. Fourier Transform of continuous time signals with t in sec and F in Hz (1/sec). Examples:
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.
FIR Filter Design & Implementation
Lecture 5 BME452 Biomedical Signal Processing 2013 (copyright Ali Işın, 2013)1 BME 452 Biomedical Signal Processing Lecture 5  Digital filtering.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Design of FIR Filters. 3.1 Design with Least Squared Error Error Criterion.
Summary of Widowed Fourier Series Method for Calculating FIR Filter Coefficients Step 1: Specify ‘ideal’ or desired frequency response of filter Step 2:
The IIR FILTERs These are highly sensitive to coefficients,
Optimum Approximation of FIR Filters Quote of the Day There are three kinds of lies: lies, damned lies, and statistics. Benjamin Disraeli Content and Figures.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
What is filter ? A filter is a circuit that passes certain frequencies and rejects all others. The passband is the range of frequencies allowed through.
Lecture 09b Finite Impulse Response (FIR) Filters
Generalized Linear Phase Quote of the Day The mathematical sciences particularly exhibit order, symmetry, and limitation; and these are the greatest forms.
Lecture 14: Generalized Linear Phase Instructor: Dr. Ghazi Al Sukkar Dept. of Electrical Engineering The University of Jordan
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
1 BIEN425 – Lecture 9 By the end of the lecture, you should be able to: –Describe the properties of ideal filters –Describe the linear / logarithm design.
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
IIR Filter design (cf. Shenoi, 2006)
EEE4176 Applications of Digital Signal Processing
Lecture: IIR Filter Design
EEE4176 Applications of Digital Signal Processing
EEE422 Signals and Systems Laboratory
IIR Filters FIR vs. IIR IIR filter design procedure
J McClellan School of Electrical and Computer Engineering
Fourier Series FIR About Digital Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
Filter Design by Windowing
لجنة الهندسة الكهربائية
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.
Lecture 16a FIR Filter Design via Windowing
Chapter 7 FIR Digital Filter Design
Chapter 7 Finite Impulse Response(FIR) Filter Design
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.
Chapter 7 Finite Impulse Response(FIR) Filter Design
Chapter 5: Active Filters
Presentation transcript:

EEE4176 Application of Digital Signal Processing Lecture: FIR Filter Design Assistant Prof. Yangmo Yoo Dept. of Electronic Engineering SOGANG UNIVERSITY 2011.9 EEE4176 Application of Digital Signal Processing

EEE4176 Application of Digital Signal Processing FIR Filters Linear Phase FIR Filters Generally, both the constant phase and constant group delay filters are referred to as LINEAR PHASE FILTER. Impulse response of FIR filter Order of the filter = N Length of the filter = N+1 Cf) 2011.9 EEE4176 Application of Digital Signal Processing

Linear Phase FIR Filters Type-I , : even order / odd length; : Even Symmetric Frequency Response Amplitude function: : even symmetric, period 2011.9 EEE4176 Application of Digital Signal Processing

Linear Phase FIR Filters Type-II , : odd order / even length; : Even Symmetric Frequency Response Amplitude function: : even symmetric, period ※ : Not suitable for HPF and BRF 2011.9 EEE4176 Application of Digital Signal Processing

Linear Phase FIR Filters Type-III , : even order / odd length; : Odd Symmetric Frequency Response Amplitude function: : off symmetric, period ※ : Not suitable for LPF, HPF and BRF ※ Used for differentiators and Hilbert transformers. 2011.9 EEE4176 Application of Digital Signal Processing

Linear Phase FIR Filters Type-IV , : odd order / even length; : Odd Symmetric Frequency Response Amplitude function: : off symmetric, period ※ : Not suitable for LPF, and BRF ※ Used for differentiators and Hilbert transformers. 2011.9 EEE4176 Application of Digital Signal Processing

Linear Phase FIR Filters Summary of Linear-Phase filter types 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Impulse Response Truncation Method IRT filter design procedure Write the desired (or ideal) amplitude response Phase: either 0(symmetric) or (anti-symmetric) : Symmetric about n=0 Choose the filter's phase characteristics integer or fractional group delay initial phase 0 or Choose the filter order N, then the Ideal desired filter is described as\ Compute the impulse response of the ideal filter response using the IDFT: In most cases, can be expressed in a closed form. Truncate the impulse response to get 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Impulse Response Truncation Method Differentiators : Type III or IV ※ Odd N is preferred !! (See Fig. 9.9), Type IV ※ T = 1 => Frequency range limited due to the finite sampling rate 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Impulse Response Truncation Method Hilbert Transformers Note: 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Impulse Response Truncation Method Digital Hilbert transformer Ideal Hilbert transformer Causal filter design 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Impulse Response Truncation Method Digital Hilbert transformer N: Even vs. Odd ? ※ Type III is preferred. Ideal noncausal impulse response: h(n) = 0 for n = 0 for even n h(n) = -h(n) (h(n) = -h(N-n) 2011.9 EEE4176 Application of Digital Signal Processing

Hilbert Transformer Applications: PW Doppler 2011.9 EEE4176 Application of Digital Signal Processing

Hilbert Transformer Applications: PW Doppler 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Window Method Design procedure Determine the spec Design the ideal impulse response using IRT method. Band edge freq of ideal filter = N ? Windowing The length of is Window selection Select a Window with properties meeting your requirements. Depends also on Filter spec: Limitations in length, ripple, attenuation, etc. => How to determine N ? 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Window Method Filter Length For sharper transition and/or lower attenuation and ripple, use longer window Choose N -> design and check response -> change N and repeat the design 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Window Method Kaiser windows Empirical formulas for design parameters Matlab approach to FIR filter design using a Kaiser window: See pp. 298 FIR filter design examples  Read text (pp. 298 - 303) 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Window Method Advantages of window method Simple, robust, good performance Disadvantages of window method Not optimum in the sense that often over-spec ripples are not uniform • Filter length N is not optimum, i.e., minimum 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Least-Squares Design Formulation Define a weight function and the weighted freq-domain error as Define the integral of weighted square freq-domain error as Find 's for minimum (D) (F) (E) 2011.9 EEE4176 Application of Digital Signal Processing

FIR filter design: Least-Squares Design Formulation Substituting (D) and (F) in (E) gives Solve for 2011.9 EEE4176 Application of Digital Signal Processing

Least-Squares Linear-Phase FIR Filter Design 1/3 FIR Filter with length of L+1 Even symmetry in the impulse response  sum of cosines: Matrix form 2011.9 EEE4176 Application of Digital Signal Processing

Least-Squares Linear-Phase FIR Filter Design 2/3 Design problem can be written as Desired frequency response at the specific frequencies 2011.9 EEE4176 Application of Digital Signal Processing

Least-Squares Linear-Phase FIR Filter Design 3/3 Least Squares Optimization 2011.9 EEE4176 Application of Digital Signal Processing

EEE4176 Application of Digital Signal Processing OPTIMAL FIR FILTERS Chebyshev approximation Optimum design criterion in the sense that the weighted approximation error between the desired freq response and the actual freq response is spread evenly across the passband and evenly across the stopband of the filter minimizing the maximum error. Equi-ripple FIR filter Optimal filter in the sense stated above Minimize maximum error. Same error in pass and stop bands. Sharpest FIR filter or Smallest length filter for a given spec. Precise control of the critical filter frequencies Frequency sampling method You specify the frequency response for a set of frequencies Computer gives the impulse response for that freq. response 2011.9 EEE4176 Application of Digital Signal Processing

EEE4176 Application of Digital Signal Processing OPTIMAL FIR FILTERS Mathematical background 1. Define the desired amplitude response and the weighting function on a compact subset of , i.e., the set (union of passbands and stopbands). 2. Define the weighted error function as 3. Choose that minimizes 2011.9 EEE4176 Application of Digital Signal Processing

EEE4176 Application of Digital Signal Processing OPTIMAL FIR FILTERS Parks-McClellan algorithm Minmax solution : are fixed. are variable. Use Remez exchange algorithm as a computational procedure based on the alteration theorem Used to design Multi-band filters (LPF, HPF, BPF, BRF), differentiator, Hilbert Inputs : Filter length , filter type, # of bands, edge frequencies, Desired filter response, weighting factors Alteration theorem The function is optimal in the minimax sense if and only if there exist at least K+2 frequencies in such that At least K + 2 extrema in sign. 2011.9 EEE4176 Application of Digital Signal Processing

EEE4176 Application of Digital Signal Processing OPTIMAL FIR FILTERS Parks-McClellan algorithm Example) K = 7 case 2011.9 EEE4176 Application of Digital Signal Processing

Practical FIR Filter Design with MATLAB From Practical FIR Filter Design in MATLAB by Ricardo A. Losada (Mathworks)

Practical FIR Filter Design with MATLAB 2011.9 EEE4176 Application of Digital Signal Processing

Practical FIR Filter Design with MATLAB 2011.9 EEE4176 Application of Digital Signal Processing

Practical FIR Filter Design with MATLAB 2011.9 EEE4176 Application of Digital Signal Processing

Practical FIR Filter Design with MATLAB 2011.9 EEE4176 Application of Digital Signal Processing

Practical FIR Filter Design with MATLAB 2011.9 EEE4176 Application of Digital Signal Processing

Practical FIR Filter Design with MATLAB 2011.9 EEE4176 Application of Digital Signal Processing