F I R Filter (Finite Impulse Response)

Similar documents
DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

4. Design of Discrete-Time Filters

Experiment 4- Finite Impulse Response Filters


Infinite Impulse Response (IIR) Filter. Ikhwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jakarta

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

Design of FIR Filters

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

Digital Filters FIR and IIR Systems

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

Signals and Systems Lecture 6: Fourier Applications

EEM478-WEEK8 Finite Impulse Response (FIR) Filters

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1

Simulation Based Design Analysis of an Adjustable Window Function

Frequency-Response Masking FIR Filters

Final Exam Practice Questions for Music 421, with Solutions

Filters. Phani Chavali

CS3291: Digital Signal Processing

EE 470 Signals and Systems

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

1. Find the magnitude and phase response of an FIR filter represented by the difference equation y(n)= 0.5 x(n) x(n-1)

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

A comparative study on main lobe and side lobe of frequency response curve for FIR Filter using Window Techniques

Signals and Systems Lecture 6: Fourier Applications

Multirate DSP, part 1: Upsampling and downsampling

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Design of a Sharp Linear-Phase FIR Filter Using the α-scaled Sampling Kernel

Narrow-Band Low-Pass Digital Differentiator Design. Ivan Selesnick Polytechnic University Brooklyn, New York

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

Advanced Digital Signal Processing Part 5: Digital Filters

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

Flatten DAC frequency response EQUALIZING TECHNIQUES CAN COPE WITH THE NONFLAT FREQUENCY RESPONSE OF A DAC.

Signals and Filtering

FIR window method: A comparative Analysis

Final Exam. EE313 Signals and Systems. Fall 1999, Prof. Brian L. Evans, Unique No

FIR Filters in Matlab

Performance Analysis of FIR Digital Filter Design Technique and Implementation

ELEC3104: Digital Signal Processing Session 1, 2013

ECE 421 Introduction to Signal Processing

FIR Filters Digital Filters Without Feedback

Gibb s Phenomenon Analysis on FIR Filter using Window Techniques

NOVEMBER 13, 1996 EE 4773/6773: LECTURE NO. 37 PAGE 1 of 5

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

Analog Lowpass Filter Specifications

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

Final Exam Solutions June 14, 2006

Design Digital Non-Recursive FIR Filter by Using Exponential Window

FIR Filter Design using Different Window Techniques

Digital Processing of Continuous-Time Signals

Digital Filtering: Realization

UNIT-II MYcsvtu Notes agk

A Lower Transition Width FIR Filter & its Noise Removal Performance on an ECG Signal

Digital Processing of

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 14 FIR Filter

Keywords FIR lowpass filter, transition bandwidth, sampling frequency, window length, filter order, and stopband attenuation.

UNIVERSITY OF SWAZILAND

LECTURER NOTE SMJE3163 DSP

An Improved Window Based On Cosine Hyperbolic Function

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

The Design of Experimental Teaching System for Digital Signal Processing Based on GUI

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Performance Analysis of FIR Filter Design Using Reconfigurable Mac Unit

Copyright S. K. Mitra

EE 230 Lecture 39. Data Converters. Time and Amplitude Quantization

Signal Processing. Naureen Ghani. December 9, 2017

Continuous-Time Analog Filters

ASN Filter Designer Professional/Lite Getting Started Guide

Electrical & Computer Engineering Technology

Brief Introduction to Signals & Systems. Phani Chavali

Lecture XII: Ideal filters

Multirate Digital Signal Processing

FIR FILTER DESIGN USING A NEW WINDOW FUNCTION

AN2182 Application note

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

FINITE IMPULSE RESPONSE (FIR) FILTERS

APPLIED SIGNAL PROCESSING

ECE 5650/4650 Exam II November 20, 2018 Name:

ELEC Dr Reji Mathew Electrical Engineering UNSW

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003

Experiment 2 Effects of Filtering

Week 1 Introduction of Digital Signal Processing with the review of SMJE 2053 Circuits & Signals for Filter Design

Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit

Wireless PHY: Modulation and Demodulation

Signal processing preliminaries

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

Noise removal example. Today s topic. Digital Signal Processing. Lecture 3. Application Specific Integrated Circuits for

Suggested Solutions to Examination SSY130 Applied Signal Processing

Department of Electrical and Electronics Engineering Institute of Technology, Korba Chhattisgarh, India

DSP Filter Design for Flexible Alternating Current Transmission Systems

International Journal of Digital Application & Contemporary research Website: (Volume 2, Issue 6, January 2014)

Design and Simulation of Two Channel QMF Filter Bank using Equiripple Technique.

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Improving Signal Quality 3 24 Filter Bank Design 4 24 Potpourri Total 100

Transcription:

F I R Filter (Finite Impulse Response) Ir. Dadang Gunawan, Ph.D Electrical Engineering University of Indonesia

The Outline 7.1 State-of-the-art 7.2 Type of Linear Phase Filter 7.3 Summary of 4 Types FIR Filter 7.4 Comparison of the impulse of the 4 types Filters 7.5 FIR Coefficient Calculation Method 7.5.1 Window Method 7.5.2 The Optimal Method 7.5.3 Frequency Sampling Method 7.6 FIR Implementation 7.7 Review

State of the art The basic FIR filter is characterized by the follo-wing two equations : FIR filter can have an exactly linear phase response = = = 1 1 0 ) ( ) ( ) ( ) ( ) ( N N k k h z H k n x k h n y 7.1

7.1 State of the art (cont d) One of the most important properties of FIR filters is the ability to have an exactly linear phase res-ponse The phase delay or group delay of the filter pro-vides a useful measure of how the filter modifies the phase characteristic of the signal T p θ ( ω) = ω T g = dθ ( ω) dω PHASE DELAY GROUP DELAY

7.1 State of the art (cont d) The distortion in many applications (e.g. in music, video, biomedicine) is undesirable signal. It can be avoided by using filters with linear phase characteristic over the frequency band of interest The filter having a linear phase response, satisfies one of the following relationships. θ ( ω) θ ( ω) = αω = β αω α and β are constant

7.2 Type of Linear Phase Filters There are 4 types of linear phase FIR filters It depends on whether N is even or odd and whether h(n) has positive or negative symmetry θ ( ω) = αω Positive symmetry θ ( ω) = β αω Negative symmetry

7.3 Summary of 4 types FIR Filters Table 7.1

7.4 Comparison of the impulse of the 4 types FIR filters Figure 7.1

7.5 FIR Coefficient calculation method There are some methods to calculate FIR coefficient but only 3 are the most commonly used FIR coefficient calculation has an objective to obtain values of h(n) such that resulting filter meets the design specifications, amplitude-frequency response and throughput requirements Remember again the two equations that show FIR characteristic! (in 1 st page)

7.5.1 Window Method The main key is : the frequency response of a filter, H D (ω), and the corresponding impulse response, h D (n), are related by the inverse Fourier transform : 1 h n = H ω D ( ) D ( ) 2π π π e jωn dω Note that the subscript D means ideal function

7.5.1 Window Method (cont d) The subscript D is used to distinguish between the ideal and practical impulse responses A practical approach is to multiply the ideal impulse response, h D (n) by a suitable window function w(n), whose duration is finite So that, the resulting impulse response decays smoothly towards zero Look at the figure 7.2 below Effects on the frequency response

7.5.1 Effects on the frequency response of truncating the ideal impulse response to 13, 25, and infinite number coefficients 13 coefficients 25 coefficients Figure 7.2 Infinite number

7.5.1 Window Method (cont d) Here are 4 steps to obtain FIR coefficients by Window Method STEP 1 : Specify the ideal frequency response H D (ω) STEP 2 : Obtain the impulse response h D (n) by using Inverse Fourier Transform STEP 3 : Select a window function w(n) STEP 4 : Obtain values of actual FIR coefficients h(n) by multiplying h D (n) and w(n)

7.5.1 Window Method (cont d) Look at Figure 7.3 on next slide. It is an illustra-tion of the process how the filter coefficients, h(n) are determined by the window method Figure 1a shows the ideal frequency response and the corresponding ideal impulse response Figure 1b shows the finite duration window function and its spectrum Figure 1c shows h(n) which is obtained by multiplying figure 1a and 1b.

7.5.1 The Window Method Illustration a b c Figure 7.3

7.5.1 Window Method (cont d) There are 3 common window method functions Rectangular, Hamming, and Blackman The parameters for choosing the method are summarized on the table Note the parameters : - transition width (Hz) next 4 pages - passband ripple and stopband attenuation (db) - mainlobe relative to side lobe (db)

7.5.1 Window Method (cont d) Here is the comparison of the time and frequency domain characteristics of Rectangular Window functions Figure 7.4

7.5.1 Window Method (cont d) Here is the comparison of the time and frequency domain characteristics of Hamming Window functions Figure 7.5

7.5.1 Window Method (cont d) Here is the comparison of the time and frequency domain characteristics of Blackman Window functions Figure 7.6

7.5.1 Table of Window Method Parameters Table 7.2 Session 7

7.5.2 The Optimal Method This method is very powerful, flexible and very easy to apply This method is based on the concept of equiripple passband and stopband Remember these following parameters : 1. N : the number of filter coefficients, that is filter length. The value of N, can be obtained by some pattern, e.g. lowpass, bandpass 2. Jtype : the type of filter, e.g. multiple passband or stopband filters on lowpass, highpass.

7.5.2 The Optimal Method (cont d) 3. W(ω) : the weighting function. This specifies the relative importance of each band 4. Ngrid : grid density. This is the number of frequency points at which, during the process of finding the external frequencies. The default for Ngrid value is 16. 5. Edge : the bandedge frequencies, the lower and upper bandedge freq. for filter. All value must be entered in normalized form.

7.5.2 The Optimal Method (cont d) Here are the 7 steps to obtain filter coefficient : STEP 1 : Specify the bandedge frequencies, passband ripple and stopband attenuation and sampling freq. STEP 2 : Normalize each bandedge frequency by dividing it by the sampling frequency STEP 3 : Use the passband ripple and stopband attenuation expressed in ordinary units, to estimate N

7.5.2 The Optimal Method (cont d) STEP 4 : Obtain the weights for each band from the ratio of the passband to stopband ripples, expressed in ordinary units STEP 5 : Input the parameters to the optimal design program to obtain the coefficients: N bandedge frequencies and weights, grid density STEP 6 : Check the passband ripple and stopband attenuation produced by the program

7.5.2 The Optimal Method (cont d) STEP 7 : If the specifications are not satisfied, increase the value of N and repeat steps 5 and 6 until they are; then obtain and check the frequency response to ensure that it satisfies the specifications USE THE COMPUTER PROGRAM

7.5.3 Frequency Sampling Method Refer to your text books Make resume about this topic

7.6 FIR implementation Here is a simplified block diagram of real-time digital filter with analog input/output signals Input filter B-bit ADC with sample and hold Digital processor B-bit DAC Output filter x(t) x(n) y(n) y(t) Figure 7.7

7.7 Preparation to Review END of THIS SESSION ARE YOU READY TO REVIEW? Before the review, you have to consider yourself. If you feel you don t understand yet.. Please ask.

7.7 Review 1. Why does the FIR filter coefficients is very important? 2. Give the advantages and disadvantages of Window Method. 3. Find out several applications of FIR filter in our daily life. Refer to internet, magazine, journal. Learn IIR Filter For next session