-Digital Signal Processing- FIR Filter Design. Lecture May-16

Similar documents
(Refer Slide Time: 01:28 03:51 min)

Filter Design Problem

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Basic Design Approaches

LAB 6: FIR Filter Design Summer 2011

Filter structures ELEC-E5410

Filter Analysis and Design

EE 521: Instrumentation and Measurements

UNIT - 7: FIR Filter Design

Signal Processing. Lecture 10: FIR Filter Design. Ahmet Taha Koru, Ph. D. Yildiz Technical University Fall

Lecture 7 Discrete Systems

Digital Signal Processing

ELEG 305: Digital Signal Processing

Lecture 3 - Design of Digital Filters

DSP. Chapter-3 : Filter Design. Marc Moonen. Dept. E.E./ESAT-STADIUS, KU Leuven

2.161 Signal Processing: Continuous and Discrete Fall 2008

Lecture 14: Windowing

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

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

Stability Condition in Terms of the Pole Locations

Chirp Transform for FFT

Discrete-time Fourier transform (DTFT) representation of DT aperiodic signals Section The (DT) Fourier transform (or spectrum) of x[n] is

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2

LINEAR-PHASE FIR FILTERS DESIGN

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters

1. FIR Filter Design

Chapter 7: Filter Design 7.1 Practical Filter Terminology

Review of Fundamentals of Digital Signal Processing

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

Review of Fundamentals of Digital Signal Processing

ECE 8440 Unit 17. Parks- McClellan Algorithm

EECE 301 Signals & Systems Prof. Mark Fowler

2.161 Signal Processing: Continuous and Discrete Fall 2008

DSP-CIS. Chapter-4: FIR & IIR Filter Design. Marc Moonen

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

Optimum Design of Frequency-Response-Masking Filters Using Convex-Concave Procedure. Haiying Chen

Digital Signal Processing

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

Signals & Systems. Lecture 5 Continuous-Time Fourier Transform. Alp Ertürk

DIGITAL SIGNAL PROCESSING. Chapter 6 IIR Filter Design

Filters and Tuned Amplifiers

EE482: Digital Signal Processing Applications

Discrete Fourier Transform

Exercises in Digital Signal Processing

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

Computer-Aided Design of Digital Filters. Digital Filters. Digital Filters. Digital Filters. Design of Equiripple Linear-Phase FIR Filters

Vel Tech High Tech Dr.Ranagarajan Dr.Sakunthala Engineering College Department of ECE

Digital Signal Processing Lecture 8 - Filter Design - IIR

ECE 410 DIGITAL SIGNAL PROCESSING D. Munson University of Illinois Chapter 12

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

The Discrete-Time Fourier

Digital Filters Ying Sun

LABORATORY 3 FINITE IMPULSE RESPONSE FILTERS

Chap 2. Discrete-Time Signals and Systems

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year

Chap 4. Sampling of Continuous-Time Signals

Bridge between continuous time and discrete time signals

Cast of Characters. Some Symbols, Functions, and Variables Used in the Book

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

Multirate Digital Signal Processing

Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

Optimal Design of Real and Complex Minimum Phase Digital FIR Filters

Digital Control & Digital Filters. Lectures 21 & 22

/ (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

Design of Stable IIR filters with prescribed flatness and approximately linear phase

UNIVERSITI SAINS MALAYSIA. EEE 512/4 Advanced Digital Signal and Image Processing

Systems & Signals 315

Sinc Functions. Continuous-Time Rectangular Pulse

PS403 - Digital Signal processing

EFFICIENT REMEZ ALGORITHMS FOR THE DESIGN OF NONRECURSIVE FILTERS

ON THE ULTRASPHERICAL FAMILY WINDOW FUNCTIONS. Stuart W. A. Bergen and Andreas Antoniou University of Victoria October 2003

There are two main classes of digital lter FIR (Finite impulse response) and IIR (innite impulse reponse).

School of Information Technology and Electrical Engineering EXAMINATION. ELEC3004 Signals, Systems & Control

School of Information Technology and Electrical Engineering EXAMINATION. ELEC3004 Signals, Systems & Control

Electronic Circuits EE359A

Transform Analysis of Linear Time-Invariant Systems

Discrete Time Fourier Transform (DTFT)

Discrete-Time David Johns and Ken Martin University of Toronto

EE 311 February 22, 2019 Lecture 13

EA2.3 - Electronics 2 1

w n = c k v n k (1.226) w n = c k v n k + d k w n k (1.227) Clearly non-recursive filters are a special case of recursive filters where M=0.

ECE-700 Review. Phil Schniter. January 5, x c (t)e jωt dt, x[n]z n, Denoting a transform pair by x[n] X(z), some useful properties are

Digital Signal Processing

Time Series Analysis: 4. Linear filters. P. F. Góra

SPEECH ANALYSIS AND SYNTHESIS

Multirate signal processing

IIR digital filter design for low pass filter based on impulse invariance and bilinear transformation methods using butterworth analog filter

Problem Set 9 Solutions

Fourier Analysis of Signals Using the DFT

Digital Signal Processing Lecture 3 - Discrete-Time Systems

Question Bank. UNIT 1 Part-A

Design of IIR filters

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

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

Digital Signal Processing

Lecture 27 Frequency Response 2

Discrete Time Systems

APPLIED SIGNAL PROCESSING

Design of Digital Filters

Transcription:

-Digital Signal Processing- FIR Filter Design Lecture-17 24-May-16

FIR Filter Design! FIR filters can also be designed from a frequency response specification.! The equivalent sampled impulse response which determines the coefficients of the FIR filter can then be found by inverse Discrete Fourier transformation.! The frequency response of an Nth-order causal FIR filter is: ( ) = h n H e jω ( )e jnω! The design of an FIR filter involves finding the coefficients h(n) that result in a frequency response that satisfies a given set of filter specifications. N n=0

FIR Filter Design (cont.)! FIR filter have two important advantages over IIR filters:! They are guaranteed to be stable, even after the filter coefficients have been quantized.! They may be easily constrained to have linear phase.

Basic Design Methods! Windows! Frequency Sampling! Equiripple Design

Filter Design by Windowing! Simplest way of designing FIR filters! Method is all discrete-time no continuous-time involved! Start with ideal frequency response j ( ) ω jωn jω jωn H e = h [ n] e hd[ n] Hd( e ) e dω d n=! Choose ideal frequency response as desired response! Most ideal impulse responses are of infinite length d π 1 = 2π π! The easiest way to obtain a causal FIR filter from ideal is! More generally h [ ] hn = h d 0 [ n] 0 n M else [ n] = h [ n] w[ n] where w[ n] d = 1 0 0 n else M

Windowing in Frequency Domain! Windowed frequency response: π jω 1 jω j( ω θ) ( ) = H ( e ) W( e ) dθ H e 2π π d! Thus, the ideal frequency response is smoothed by the discrete time Fourier transform of the window, W(e jω ).

Windowing in Frequency Domain (cont.)! There are many different types of windows that may be used in the window design method, a few of which are listed below: Rectangular w( n) = 1 0 n N 0 else Hanning or Hann window Hamming Blackman w( n) = w( n) = w( n) = 0.5 0.5cos 2πn N 0 n N 0 else 0.54 0.46cos 2πn N 0 n N 0 else 0.42 0.5cos 2πn + 0.08cos 4πn N N 0 n N 0 else

Windowing in Frequency Domain (cont.)! Magnitude of the Fourier transform for an eight point rectangular window:

Windowing in Frequency Domain (cont.)! The windowed version is smeared version of desired response.! If w[n]=1 for all n, then W(e jω ) is pulse train with 2π period.

Windowing in Frequency Domain (cont.)! There are two methods with which we can determine the desired frequency response :! The width of the main lobe of W(e jω ).! Ideally the main lobe should be narrow and the side lobe amplitude should be small.! However for fixed length window these cannot be minimized independently.! General properties of windows are as follows:! As the length N of the window increases, the width of the main lobe decreases, which results in a decrease in the transition width between pass bands and stop bands. This relationship is given approximately by NΔf=c.! The peak side lobe amplitude of the window is determined by the shape of the window and it is essentially independent of the window length.! If the window shape is changed to decrease the side lobe amplitude, the width of the main lobe will generally increase.

Properties of Windows! Prefer windows that concentrate around DC in frequency! Less smearing, closer approximation! Prefer window that has minimal span in time! Less coefficient in designed filter, computationally efficient! So we want concentration in time and in frequency! Contradictory requirements! Example: Rectangular window jω ( ) W e = M n= 0 e jωn 1 = 1 j e e ω ( M+ 1) jωm / 2 sin[ ω( M + 1) /2] = e jω sin[ ω /2]

Rectangular Window! Narrowest main lobe! 4π/(M+1)! Sharpest transitions at discontinuities in frequency! Large side lobes! -13 db! Large oscillation around discontinuities! Simplest window possible: [ ] w n = 1 0 0 n else M

Rectangular Window (cont.)

Hanning Window! Medium main lobe! 8π/M! Side lobes! -31 db! Hamming window performs better! Same complexity as Hamming [ ] w n = 1 2 1 2πn cos M 0 0 n else M

Hanning Window (cont.)

! Medium main lobe! 8π/M! Good side lobes! -41 db Hamming Window! Simpler than Blackman [ ] w n = 0.54 2πn 0.46cos M 0 0 n else M

Hamming Window (cont.)

! Large main lobe! 12π/M! Very good side lobes! -57 db! Complex equation: Blackman Window [ ] w n = 0.42 2πn 0.5 cos M 0 + 4πn 0.08cos M 0 n else M

Blackman Window (cont.)

Example # 1! Suppose that we would like to design an FIR linear phase low pass filter according to the following specifications: 0.99 H e jω ( ) 1.01 0 ω 0.19π H ( e jω ) 0.01 0.21π ω π! For a stop band attenuation of 20 log (0.01)= -40dB, we may use the Hamming window.! Because the specification calls for a transition width of: Δω = ω s ω p = 0.02π or Δf = 0.01 with NΔf = 3.3! For a hamming window an estimate of the required filter order is:

Example # 1 (cont.) N = 3.3 Δf = 330! Now find the unit sample response of the ideal low pass filter that is to be windowed.! With a cutoff frequency of and a delay of α = N / 2 =165! The unit sample response is: h d ( n) = ( ) / 2 = 0.2π ω c = ω s +ω p ( ) sin 0.2π n 165 ( n 165)π

Kaiser Windows! Kaiser developed a family of windows that are defined by: w( n) = 2 I 0 β 1 ( n α) /α I 0 β ( ) 1/2! Where α=n/2 and I 0 is a zeroth-order modified Bessel function of the first kind, which is: I 0 ( x) =1+ ( x / 2) k k!! Where βdetermines the shape of the window., 0 n M! A kaiser window is nearly optimum in the sense of having the most energy in its main lobe for a given side-lobe amplitude. k=1 2

Kaiser Windows (cont.)! Characteristics of the Kaiser Window as a function of β: Parameter β Side Lobe (db) Transition Width (NΔf) Stopband Attenuation (db) 2.0-19 1.5-29 3.0-24 2.0-37 4.0-30 2.6-45 5.0-37 3.2-54 6.0-44 3.8-63 7.0-51 4.5-72 8.0-59 5.1-81 9.0-67 5.7-90 10.0-74 6.4-99

Kaiser Windows (cont.)! There are two empirically derived relationships for the Kaiser window that facilitate the use of these windows to design FIR filters.! The first relates the stop band ripple of a low-pass filter α s =-20log(δ s ) to the parameter β: β = ( ) α s > 50 0.1102 α s 8.7 0.5842( α s 21) 0.4 + 0.07886( α s 21) 21 α s 50 0.0 α s < 21! The second relates N to the transition width Δf and the stop band attenuation α s, N = α s 7.95 14.36Δf,α s 21! Note that if α s <21 db a rectangular window may be used.

Example #2! Suppose that we would like to design a low-pass filter with a cutoff frequency ω c =π/4, a transition width Δω=0.02 π and a stop band ripple δ s =0.01. Because α s =-20 log (0.01)=-40, the Kaiser window parameter is :! With Δf = Δω / 2π = 0.01 we have: 40 7.95 N = 14.36. 0.01! Therefore, β = 0.5842 40 21 ( ) 0.4 + 0.07886( 40 21) = 3.4 h( n) = h d n h d ( n) = ( ) = 224 ( )w( n) sin ( n 112)π / 4 ( n 112)π! Is the unit sample response of the ideal low-pass filter.