EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

Size: px
Start display at page:

Download "EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design"

Transcription

1 EEM478-DSPHARDWARE WEEK12:FIR & IIR Filter Design

2 PART-I : Filter Design/Realization Step-1 : define filter specs (pass-band, stop-band, optimization criterion, ) Step-2 : derive optimal transfer function FIR or IIR design Step-3 : filter realization (block scheme/flow graph) direct form realizations, lattice realizations, Step-4 : filter implementation (software/hardware) accuracy issues, question: implemented filter = designed filter?

3 Lecture-2 : FIR & IIR Filter Design FIR filters Linear-phase FIR filters FIR design by optimization Weighted least-squares design, Minimax design FIR design in practice `Windows, Equiripple design, Software (Matlab, ) IIR filters Poles and Zeros IIR design by optimization Weighted least-squares design, Minimax design IIR design in practice Analog IIR design : Butterworth/Chebyshev/elliptic Analog->digital : impulse invariant, bilinear transform, Software (Matlab)

4 FIR Filters FIR filter = finite impulse response filter Also known as `moving average filters (MA) N poles at the origin z=0 (hence guaranteed stability) N zeros (zeros of B(z)), `all zero filters corresponds to difference equation impulse response

5 Linear Phase FIR Filters Non-causal zero-phase filters : example: symmetric impulse response h[-l],.h[-1],h[0],h[1],...,h[l] h[k]=h[-k], k=1..l frequency response is L k i.e. real-valued (=zero-phase) transfer function

6 Linear Phase FIR Filters Causal linear-phase filters = non-causal zero-phase + delay example: symmetric impulse response & N even h[0],h[1],.,h[n] N=2L (even) h[k]=h[n-k], k=0..l frequency response is 0 N k = i.e. causal implementation of zero-phase filter, by introducing (group) delay

7 Linear Phase FIR Filters Type-1 Type-2 Type-3 Type-4 N=2L=even N=2L+1=odd N=2L=even N=2L+1=odd symmetric symmetric anti-symmetric anti-symmetric h[k]=h[n-k] h[k]=h[n-k] h[k]=-h[n-k] h[k]=-h[n-k] zero at zero at zero at LP/HP/BP LP/BP BP HP PS: `modulating Type-2 with 1,-1,1,-1,.. gives Type-4 (LP->HP) PS: `modulating Type-4 with 1,-1,1,-1,.. gives Type-2 (HP->LP) PS: `modulating Type-1 with 1,-1,1,-1,.. gives Type-1 (LP<->HP) PS: `modulating Type-3 with 1,-1,1,-1,.. gives Type-3 (BP<->BP) PS: IIR filters can NEVER have linear-phase property! (proof see literature)

8 Filter Specification Ex: Low-pass

9 FIR Filter Design by Optimization (I) Weighted Least Squares Design : select one of the basic forms that yield linear phase e.g. Type-1 specify desired frequency response (LP,HP,BP, ) optimization criterion is where is a weighting function

10 FIR Filter Design by Optimization this is equivalent to = `Quadratic Optimization problem

11 FIR Filter Design by Optimization Example: Low-pass design optimization function is i.e.

12 FIR Filter Design by Optimization a simpler problem is obtained by replacing the F(..) by where the wi s are a set of (n) selected sample frequencies This leads to an equivalent (`discretized ) quadratic optimization problem: +++ : simple : unpredictable behavior in between sample freqs. Compare to p.27

13 FIR Filter Design by Optimization then all this is often supplemented with additional constraints Example: Low-pass (LP) design (continued) pass-band ripple control : stop-band ripple control :

14 FIR Filter Design by Optimization Example: Low-pass (LP) design (continued) a realistic way to implement these constraints, is to impose the constraints (only) on a set of sample frequencies, e.g. in the pass-band and in the stop-band The resulting optimization problem is : minimize : subject to (pass-band constraints) (stop-band constraints) = `Quadratic Programming problem (see HG94)

15 FIR Filter Design by Optimization (II) `Minimax Design : select one of the basic forms that yield linear phase e.g. Type-1 specify desired frequency response (LP,HP,BP, ) optimization criterion is where is a weighting function

16 FIR Filter Design by Optimization this is equivalent to the constraint is equivalent to a so-called `semi-definiteness constraint where D>=0 denotes that the matrix is positive semi-definite

17 Filter Design by Optimization a realistic way to implement these constraints, is to impose the constraints (only) on a set of sample frequencies : i.e. a `Semi-Definite Programming (SDP) problem, for which efficient interior-point algorithms and software are available.

18 FIR Filter Design by Optimization Conclusion: (I) weighted least squares design (II) minimax design provide general `framework, procedures to translate filter design problems into standard optimization problems In practice (and in textbooks): emphasis on specific (ad-hoc) procedures : - filter design based on `windows - equiripple design

19 FIR Filter Design using `Windows Example : Low-pass filter design ideal low-pass filter is hence ideal time-domain impulse response is truncate hd[k] to N+1 samples : add (group) delay to turn into causal filter

20 FIR Filter Design using `Windows Example : Low-pass filter design (continued) ps : it can be shown that time-domain truncation corresponds to solving a weighted least-squares optimization problem with the given Hd, and weighting function truncation corresponds to applying a `rectangular window : +++: simple procedure (also for HP,BP, ) : truncation in the time-domain results in `Gibbs effect in the frequency domain, i.e. large ripple in pass-band and stop-band (at band edge (=discontinuity)), which cannot be reduced by increasing the filter order N.

21 FIR Filter Design using `Windows Remedy : apply windows other than rectangular window: time-domain multiplication with a window function w[k] corresponds to frequency domain convolution with W(z) : candidate windows : Han, Hamming, Blackman, Kaiser,. window choice/design = trade-off between side-lobe levels (define peak pass-/stop-band ripple) and width main-lobe (defines transition bandwidth)

22 FIR Equiripple Design Starting point is minimax criterion, e.g. Based on theory of Chebyshev approximation and the `alternation theorem, which (roughly) states that the optimal d s are such that the `max (maximum weighted approximation error) is obtained at L+2 extremal frequencies that hence will exhibit the same maximum ripple (`equiripple ) Iterative procedure for computing extremal frequencies, etc. (Remez exchange algorithm, Parks-McClellan algorithm) Very flexible, etc., available in many software packages Details omitted here (see textbooks)

23 FIR Filter Design Software FIR Filter design abundantly available in commercial software Matlab: b=fir1(n,wn,type,window), windowed linear-phase FIR design, n is filter order, Wn defines band-edges, type is `high,`stop, b=fir2(n,f,m,window), windowed FIR design based on inverse Fourier transform with frequency points f and corresponding magnitude response m b=remez(n,f,m), equiripple linear-phase FIR design with Parks-McClellan (Remez exchange) algorithm

24 IIR filters Rational transfer function : N poles (zeros of A(z)), N zeros (zeros of B(z)) infinitely long impulse response stable iff poles lie inside the unit circle corresponds to difference equation = also known as `ARMA (autoregressive-moving average)

25 IIR filters Frequency response versus pole-zero location : (cfr. frequency response is z-transform evaluated on the unit circle) Example-1 : Low-pass filter pole pole poles at Nyquist freq (z=-1) Im DC (z=1) Re

26 IIR filters Frequency response versus pole-zero location : Example-2 : Low-pass filter pole pole poles at Nyquist freq zeros at zero DC

27 IIR filters Frequency response versus pole-zero location : Example-3 : Band-pass filter pole poles at zeros at zero zero DC

28 IIR filters Frequency response versus pole-zero location : * pole near unit-circle introduces `peak in frequency response hence pass-band can be set by pole placement * zero near unit-circle introduces `dip in frequency response zero on unit-circle introduces `transmission zero in frequency response hence stop-band can be emphasized by zero placement

29 IIR Filter Design +++ low-order filters can produce sharp frequency response low computational cost --- design more difficult stability should be checked/guaranteed phase response not easily controlled (e.g. no linear-phase IIR filters) coefficient sensitivity, quantization noise, etc. can be a problem

30 IIR Filter Design by Optimization (I) Weighted Least Squares Design : IIR filter transfer function is specify desired frequency response (LP,HP,BP, ) optimization criterion is where is a weighting function stability constraint :

31 IIR Filter Design by Optimization (II) `Minimax Design : IIR filter transfer function is specify desired frequency response (LP,HP,BP, ) optimization criterion is where is a weighting function stability constraint :

32 IIR Filter Design by Optimization These optimization problems are significantly more complex than those for the FIR design case : Problem-1: presence of denominator polynomial leads to rational approximation, and hence to highly non-linear optimization (instead of - for instance- quadratic optimization in the FIR design case) A possible procedure (`Steiglitz-McBride ) consists in iteratively (k=1,2, ) minimizing which leads to iterative Quadratic Programming, etc.. (similar for minimax)

33 IIR Filter Design by Optimization Problem-2: stability constraint (zeros of a high-order polynomial are related to the polynomial s coefficients in a highly non-linear manner) Solutions based on alternative stability constraints, that e.g. are affine functions of the filter coefficients, etc Topic of ongoing research, details omitted here

34 IIR Filter Design by Optimization Conclusion: (I) weighted least squares design (II) minimax design provide general `framework, procedures to translate filter design problems into ``standard optimization problems In practice (and in textbooks): emphasis on specific (ad-hoc) procedures : - IIR filter design based analog filter design (s-domain design) and analog->digital conversion - IIR filter design by modeling = direct z-domain design (Pade approximation, Prony, etc., not addressed here)

35 Analog IIR Filter Design Commonly used analog filters : Lowpass Butterworth filters all-pole filters characterized by magnitude response. (N=filter order) Poles of H(s)H(-s) are equally spaced points on a circle of radius in s-plane poles of H(-s) poles of H(s) N=4

36 Analog IIR Filter Design Commonly used analog filters : Lowpass Butterworth filters monotonic in pass-band & stop-band N `maximum flat response : (2N-1) derivatives are zero at and

37 Analog IIR Filter Design Commonly used analog filters : Lowpass Chebyshev filters (type-i) all-pole filters characterized by magnitude response (N=filter order) is related to passband ripple are Chebyshev polynomials:

38 Analog IIR Filter Design Commonly used analog filters : Lowpass Chebyshev filters (type-i) All-pole filters, poles of H(s)H(-s) are on ellipse in s-plane Equiripple in the pass-band Monotone in the stop-band Lowpass Chebyshev filters (type-ii) Pole-zero filters based on Chebyshev polynomials Monotone in the pass-band Equiripple in the stop-band Lowpass Elliptic (Cauer) filters Pole-zero filters based on Jacobian elliptic functions Equiripple in the pass-band and stop-band (hence) yield smallest-order for given set of specs

39 Analog IIR Filter Design Frequency Transformations : Principle : prototype low-pass filter (e.g. cut-off frequency = 1 rad/sec) is transformed to properly scaled low-pass, high-pass, band-pass, bandstop, filter example: replacing s by moves cut-off frequency to example: replacing s by turns LP into HP, with cut-off frequency example: replacing s by turns LP into BP etc...

40 Analog -> Digital Principle : design analog filter (LP/HP/BP/ ), and then convert it to a digital filter. Conversion methods: - convert differential equation into difference equation - convert continuous-time impulse response into discrete-time impulse response - convert transfer function H(s) into transfer function H(z) Requirement: the left-half plane of the s-plane should map into the inside of the unit circle in the z-plane, so that a stable analog filter is converted into a stable digital filter.

41 Analog -> Digital Conversion methods: (I) convert differential equation into difference equation : -in a difference equation, a derivative dy/dt is replaced by a `backward difference (y(kt)-y(kt-t))/t=(y[k]-y[k-1])/t, where T=sampling interval. -similarly, a second derivative, etc -eventually (details omitted), this corresponds to replacing s by (1-1/z)/T in Ha(s) (=analog transfer function) : s-plane jw z-plane j 1 -stable analog filters are mapped into stable digital filters, but pole location for digital filter confined to only a small region (o.k. only for LP or BP)

42 Analog -> Digital Conversion methods: (II) convert continuous-time impulse response into discrete-time impulse response : -given continuous-time impulse response ha(t), discrete-time impulse response is where T=sampling interval. -eventually (details omitted) this corresponds to a (many-to-one) mapping s-plane jw z-plane j 1 -aliasing (!) if continuous-time response has significant frequency content above the Nyquist frequency

43 Analog -> Digital Conversion methods: (III) convert continuous-time system transfer function into discrete-time system transfer function : Bilinear Transform -mapping that transforms (whole!) jw-axis of the s-plane into unit circle in the z-plane only once, i.e. that avoids aliasing of the frequency components. s-plane jw z-plane j -for low-frequencies, this is an approximation of -for high frequencies : significant frequency compression (`warping ) (sometimes pre-compensated by `pre-warping ) 1

44 IIR Filter Design Software IIR filter design considerably more complicated than FIR design (stability, phase response, etc..) (Fortunately) IIR Filter design abundantly available in commercial software Matlab: [b,a]=butter/cheby1/cheby2/ellip(n,,wn), IIR LP/HP/BP/BS design based on analog prototypes, pre-warping, bilinear transform, immediately gives H(z) (oef!) analog prototypes, transforms, can also be called individually filter order estimation tool etc...

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

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP DIGITAL FILTERS!! Finite Impulse Response (FIR)!! Infinite Impulse Response (IIR)!! Background!! Matlab functions 1!! Only the magnitude approximation problem!! Four basic types of ideal filters with magnitude

More information

UNIT IV FIR FILTER DESIGN 1. How phase distortion and delay distortion are introduced? The phase distortion is introduced when the phase characteristics of a filter is nonlinear within the desired frequency

More information

(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 FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

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

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3 NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3 IIR FILTER DESIGN Structure of IIR System design of Discrete time

More information

(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 FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

4. Design of Discrete-Time Filters

4. Design of Discrete-Time Filters 4. Design of Discrete-Time Filters 4.1. Introduction (7.0) 4.2. Frame of Design of IIR Filters (7.1) 4.3. Design of IIR Filters by Impulse Invariance (7.1) 4.4. Design of IIR Filters by Bilinear Transformation

More information

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet Lecture 10: Summary Taneli Riihonen 16.05.2016 Lecture 10 in Course Book Sanjit K. Mitra, Digital Signal Processing: A Computer-Based Approach, 4th

More information

Advanced Digital Signal Processing Part 5: Digital Filters

Advanced Digital Signal Processing Part 5: Digital Filters Advanced Digital Signal Processing Part 5: Digital Filters Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical and Information Engineering Digital Signal

More information

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

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters Islamic University of Gaza OBJECTIVES: Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters To demonstrate the concept

More information

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

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 2017 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date

More information

EE 470 Signals and Systems

EE 470 Signals and Systems EE 470 Signals and Systems 9. Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah Textbook Luis Chapparo, Signals and Systems Using Matlab, 2 nd ed., Academic Press, 2015. Filters

More information

Digital Filtering: Realization

Digital Filtering: Realization Digital Filtering: Realization Digital Filtering: Matlab Implementation: 3-tap (2 nd order) IIR filter 1 Transfer Function Differential Equation: z- Transform: Transfer Function: 2 Example: Transfer Function

More information

3 Analog filters. 3.1 Analog filter characteristics

3 Analog filters. 3.1 Analog filter characteristics Chapter 3, page 1 of 11 3 Analog filters This chapter deals with analog filters and the filter approximations of an ideal filter. The filter approximations that are considered are the classical analog

More information

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

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters (ii) Ability to design lowpass IIR filters according to predefined specifications based on analog

More information

Design of FIR Filters

Design of FIR Filters Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 1 FIR as a

More information

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

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS. Lecture 8 Today: Announcements: References: FIR filter design IIR filter design Filter roundoff and overflow sensitivity Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations

More information

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

NOVEMBER 13, 1996 EE 4773/6773: LECTURE NO. 37 PAGE 1 of 5 NOVEMBER 3, 996 EE 4773/6773: LECTURE NO. 37 PAGE of 5 Characteristics of Commonly Used Analog Filters - Butterworth Butterworth filters are maimally flat in the passband and stopband, giving monotonicity

More information

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING 1. State the properties of DFT? UNIT-I DISCRETE FOURIER TRANSFORM 1) Periodicity 2) Linearity and symmetry 3) Multiplication of two DFTs 4) Circular convolution 5) Time reversal 6) Circular time shift

More information

UNIT II IIR FILTER DESIGN

UNIT II IIR FILTER DESIGN UNIT II IIR FILTER DESIGN Structures of IIR Analog filter design Discrete time IIR filter from analog filter IIR filter design by Impulse Invariance, Bilinear transformation Approximation of derivatives

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing System Analysis and Design Paulo S. R. Diniz Eduardo A. B. da Silva and Sergio L. Netto Federal University of Rio de Janeiro CAMBRIDGE UNIVERSITY PRESS Preface page xv Introduction

More information

Digital Signal Processing

Digital Signal Processing COMP ENG 4TL4: Digital Signal Processing Notes for Lecture #25 Wednesday, November 5, 23 Aliasing in the impulse invariance method: The impulse invariance method is only suitable for filters with a bandlimited

More information

Design of IIR Digital Filters with Flat Passband and Equiripple Stopband Responses

Design of IIR Digital Filters with Flat Passband and Equiripple Stopband Responses Electronics and Communications in Japan, Part 3, Vol. 84, No. 11, 2001 Translated from Denshi Joho Tsushin Gakkai Ronbunshi, Vol. J82-A, No. 3, March 1999, pp. 317 324 Design of IIR Digital Filters with

More information

Digital Filters FIR and IIR Systems

Digital Filters FIR and IIR Systems Digital Filters FIR and IIR Systems ELEC 3004: Systems: Signals & Controls Dr. Surya Singh (Some material adapted from courses by Russ Tedrake and Elena Punskaya) Lecture 16 elec3004@itee.uq.edu.au http://robotics.itee.uq.edu.au/~elec3004/

More information

Experiment 4- Finite Impulse Response Filters

Experiment 4- Finite Impulse Response Filters Experiment 4- Finite Impulse Response Filters 18 February 2009 Abstract In this experiment we design different Finite Impulse Response filters and study their characteristics. 1 Introduction The transfer

More information

FIR Filter Design using Different Window Techniques

FIR Filter Design using Different Window Techniques FIR Filter Design using Different Window Techniques Kajal, Kanchan Gupta, Ashish Saini Dronacharya College of Engineering Abstract- Digital filter are widely used in the world of communication and computation.

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 422G - Signals and Systems Laboratory Lab 3 FIR Filters Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 19, 2015 Objectives:

More information

Digital Processing of Continuous-Time Signals

Digital Processing of Continuous-Time Signals Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

Digital Processing of

Digital Processing of Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

Brief Introduction to Signals & Systems. Phani Chavali

Brief Introduction to Signals & Systems. Phani Chavali Brief Introduction to Signals & Systems Phani Chavali Outline Signals & Systems Continuous and discrete time signals Properties of Systems Input- Output relation : Convolution Frequency domain representation

More information

Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 2017 ELEC 3004: Systems 1. Week Date Lecture Title

Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 2017 ELEC 3004: Systems 1. Week Date Lecture Title http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 017 ELEC 3004: Systems 1 017 School of Information Technology and Electrical Engineering at The University of Queensland

More information

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

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India International Journal of Computer & Communication Engineering Research (IJCCER) Volume 2 - Issue 3 May 2014 Design Technique of Lowpass FIR filter using Various Function Aparna Tiwari, Vandana Thakre,

More information

Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit

Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit Application Note 097 Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit Introduction The importance of digital filters is well established. Digital filters, and more generally digital

More information

Continuous-Time Analog Filters

Continuous-Time Analog Filters ENGR 4333/5333: Digital Signal Processing Continuous-Time Analog Filters Chapter 2 Dr. Mohamed Bingabr University of Central Oklahoma Outline Frequency Response of an LTIC System Signal Transmission through

More information

LECTURER NOTE SMJE3163 DSP

LECTURER NOTE SMJE3163 DSP LECTURER NOTE SMJE363 DSP (04/05-) ------------------------------------------------------------------------- Week3 IIR Filter Design -------------------------------------------------------------------------

More information

8: IIR Filter Transformations

8: IIR Filter Transformations DSP and Digital (5-677) IIR : 8 / Classical continuous-time filters optimize tradeoff: passband ripple v stopband ripple v transition width There are explicit formulae for pole/zero positions. Butterworth:

More information

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

Narrow-Band Low-Pass Digital Differentiator Design. Ivan Selesnick Polytechnic University Brooklyn, New York Narrow-Band Low-Pass Digital Differentiator Design Ivan Selesnick Polytechnic University Brooklyn, New York selesi@poly.edu http://taco.poly.edu/selesi 1 Ideal Lowpass Digital Differentiator The frequency

More information

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives Objectives DSP Exercise The objective of this exercise is to provide hands-on experiences on ijdsp. It consists of three parts covering frequency response of LTI systems, pole/zero locations with the frequency

More information

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

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 1 Introduction

More information

Rahman Jamal, et. al.. "Filters." Copyright 2000 CRC Press LLC. <

Rahman Jamal, et. al.. Filters. Copyright 2000 CRC Press LLC. < Rahman Jamal, et. al.. "Filters." Copyright 000 CRC Press LLC. . Filters Rahman Jamal National Instruments Germany Robert Steer Frequency Devices 8. Introduction 8. Filter Classification

More information

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

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam Date: December 18, 2017 Course: EE 313 Evans Name: Last, First The exam is scheduled to last three hours. Open

More information

UNIT-II MYcsvtu Notes agk

UNIT-II   MYcsvtu Notes agk UNIT-II agk UNIT II Infinite Impulse Response Filter design (IIR): Analog & Digital Frequency transformation. Designing by impulse invariance & Bilinear method. Butterworth and Chebyshev Design Method.

More information

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

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE) Code: 13A04602 R13 B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 (Common to ECE and EIE) PART A (Compulsory Question) 1 Answer the following: (10 X 02 = 20 Marks)

More information

CS3291: Digital Signal Processing

CS3291: Digital Signal Processing CS39 Exam Jan 005 //08 /BMGC University of Manchester Department of Computer Science First Semester Year 3 Examination Paper CS39: Digital Signal Processing Date of Examination: January 005 Answer THREE

More information

Digital Signal Processing for Audio Applications

Digital Signal Processing for Audio Applications Digital Signal Processing for Audio Applications Volime 1 - Formulae Third Edition Anton Kamenov Digital Signal Processing for Audio Applications Third Edition Volume 1 Formulae Anton Kamenov 2011 Anton

More information

3F3 Digital Signal Processing (DSP)

3F3 Digital Signal Processing (DSP) 3F3 Digital Signal Processing (DSP) Simon Godsill www-sigproc.eng.cam.ac.uk/~sjg/teaching Course Overview 12 Lectures Topics: Digital Signal Processing DFT, FFT Digital Filters Filter Design Filter Implementation

More information

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

Infinite Impulse Response (IIR) Filter. Ikhwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jakarta Infinite Impulse Response (IIR) Filter Ihwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jaarta The Outline 8.1 State-of-the-art 8.2 Coefficient Calculation Method for IIR Filter 8.2.1 Pole-Zero Placement

More information

Design of IIR Half-Band Filters with Arbitrary Flatness and Its Application to Filter Banks

Design of IIR Half-Band Filters with Arbitrary Flatness and Its Application to Filter Banks Electronics and Communications in Japan, Part 3, Vol. 87, No. 1, 2004 Translated from Denshi Joho Tsushin Gakkai Ronbunshi, Vol. J86-A, No. 2, February 2003, pp. 134 141 Design of IIR Half-Band Filters

More information

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

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3 IJSRD - International Journal for Scientific Research & Development Vol. 3, Issue 03, 2015 ISSN (online): 2321-0613 Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz.

More information

Filters. Phani Chavali

Filters. Phani Chavali Filters Phani Chavali Filters Filtering is the most common signal processing procedure. Used as echo cancellers, equalizers, front end processing in RF receivers Used for modifying input signals by passing

More information

CHAPTER -2 NOTCH FILTER DESIGN TECHNIQUES

CHAPTER -2 NOTCH FILTER DESIGN TECHNIQUES CHAPTER -2 NOTCH FILTER DESIGN TECHNIQUES Digital Signal Processing (DSP) techniques are integral parts of almost all electronic systems. These techniques are rapidly developing day by day due to tremendous

More information

FIR FILTER DESIGN USING A NEW WINDOW FUNCTION

FIR FILTER DESIGN USING A NEW WINDOW FUNCTION FIR FILTER DESIGN USING A NEW WINDOW FUNCTION Mahroh G. Shayesteh and Mahdi Mottaghi-Kashtiban, Department of Electrical Engineering, Urmia University, Urmia, Iran Sonar Seraj System Cor., Urmia, Iran

More information

SKP Engineering College

SKP Engineering College SKP Engineering College Tiruvannamalai 606611 A Course Material on Principles Of Digital Signal Processing By R.Rajesh Assistant Professor Electronics and Communication Engineering Department Electronics

More information

Octave Functions for Filters. Young Won Lim 2/19/18

Octave Functions for Filters. Young Won Lim 2/19/18 Copyright (c) 2016 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published

More information

DESIGN OF FIR AND IIR FILTERS

DESIGN OF FIR AND IIR FILTERS DESIGN OF FIR AND IIR FILTERS Ankit Saxena 1, Nidhi Sharma 2 1 Department of ECE, MPCT College, Gwalior, India 2 Professor, Dept of Electronics & Communication, MPCT College, Gwalior, India Abstract This

More information

4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1

4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1 4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1 % Example 2pole butter tlh % Analog Butterworth filter design % design an 2-pole filter with a bandwidth of 10 rad/sec % Prototype H(s)

More information

ELEC3104: Digital Signal Processing Session 1, 2013

ELEC3104: Digital Signal Processing Session 1, 2013 ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 4: DIGITAL FILTERS INTRODUCTION In this laboratory,

More information

F I R Filter (Finite Impulse Response)

F I R Filter (Finite Impulse Response) 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

More information

ECE503: Digital Filter Design Lecture 9

ECE503: Digital Filter Design Lecture 9 ECE503: Digital Filter Design Lecture 9 D. Richard Brown III WPI 26-March-2012 WPI D. Richard Brown III 26-March-2012 1 / 33 Lecture 9 Topics Within the broad topic of digital filter design, we are going

More information

EEM478-WEEK8 Finite Impulse Response (FIR) Filters

EEM478-WEEK8 Finite Impulse Response (FIR) Filters EEM478-WEEK8 Finite Impulse Response (FIR) Filters Learning Objectives Introduction to the theory behind FIR filters: Properties (including aliasing). Coefficient calculation. Structure selection. Implementation

More information

1 PeZ: Introduction. 1.1 Controls for PeZ using pezdemo. Lab 15b: FIR Filter Design and PeZ: The z, n, and O! Domains

1 PeZ: Introduction. 1.1 Controls for PeZ using pezdemo. Lab 15b: FIR Filter Design and PeZ: The z, n, and O! Domains DSP First, 2e Signal Processing First Lab 5b: FIR Filter Design and PeZ: The z, n, and O! Domains The lab report/verification will be done by filling in the last page of this handout which addresses a

More information

ECE 4213/5213 Homework 10

ECE 4213/5213 Homework 10 Fall 2017 ECE 4213/5213 Homework 10 Dr. Havlicek Work the Projects and Questions in Chapter 7 of the course laboratory manual. For your report, use the file LABEX7.doc from the course web site. Work these

More information

Design of infinite impulse response (IIR) bandpass filter structure using particle swarm optimization

Design of infinite impulse response (IIR) bandpass filter structure using particle swarm optimization Standard Scientific Research and Essays Vol1 (1): 1-8, February 13 http://www.standresjournals.org/journals/ssre Research Article Design of infinite impulse response (IIR) bandpass filter structure using

More information

Signal Processing Toolbox

Signal Processing Toolbox Signal Processing Toolbox Perform signal processing, analysis, and algorithm development Signal Processing Toolbox provides industry-standard algorithms for analog and digital signal processing (DSP).

More information

DSP Filter Design for Flexible Alternating Current Transmission Systems

DSP Filter Design for Flexible Alternating Current Transmission Systems DSP Filter Design for Flexible Alternating Current Transmission Systems O. Abarrategui Ranero 1, M.Gómez Perez 1, D.M. Larruskain Eskobal 1 1 Department of Electrical Engineering E.U.I.T.I.M.O.P., University

More information

Chapter 7 Filter Design Techniques. Filter Design Techniques

Chapter 7 Filter Design Techniques. Filter Design Techniques Chapter 7 Filter Design Techniques Page 1 Outline 7.0 Introduction 7.1 Design of Discrete Time IIR Filters 7.2 Design of FIR Filters Page 2 7.0 Introduction Definition of Filter Filter is a system that

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 4 Digital Signal Processing Prof. Mark Fowler Note Set #34 IIR Design Characteristics of Common Analog Filters Reading: Sect..3.4 &.3.5 of Proakis & Manolakis /6 Motivation We ve seenthat the Bilinear

More information

Introduction to Digital Signal Processing Using MATLAB

Introduction to Digital Signal Processing Using MATLAB Introduction to Digital Signal Processing Using MATLAB Second Edition Robert J. Schilling and Sandra L. Harris Clarkson University Potsdam, NY... CENGAGE l.earning: Australia Brazil Japan Korea Mexico

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing Fourth Edition John G. Proakis Department of Electrical and Computer Engineering Northeastern University Boston, Massachusetts Dimitris G. Manolakis MIT Lincoln Laboratory Lexington,

More information

Using the isppac 80 Programmable Lowpass Filter IC

Using the isppac 80 Programmable Lowpass Filter IC Using the isppac Programmable Lowpass Filter IC Introduction This application note describes the isppac, an In- System Programmable (ISP ) Analog Circuit from Lattice Semiconductor, and the filters that

More information

Gibb s Phenomenon Analysis on FIR Filter using Window Techniques

Gibb s Phenomenon Analysis on FIR Filter using Window Techniques 86 Gibb s Phenomenon Analysis on FIR Filter using Window Techniques 1 Praveen Kumar Chakravarti, 2 Rajesh Mehra 1 M.E Scholar, ECE Department, NITTTR, Chandigarh 2 Associate Professor, ECE Department,

More information

Analog Lowpass Filter Specifications

Analog Lowpass Filter Specifications Analog Lowpass Filter Specifications Typical magnitude response analog lowpass filter may be given as indicated below H a ( j of an Copyright 005, S. K. Mitra Analog Lowpass Filter Specifications In the

More information

ECE 421 Introduction to Signal Processing

ECE 421 Introduction to Signal Processing ECE 421 Introduction to Signal Processing Dror Baron Assistant Professor Dept. of Electrical and Computer Engr. North Carolina State University, NC, USA Digital Filter Design [Reading material: Chapter

More information

Digital Filter Design

Digital Filter Design Chapter9 Digital Filter Design Contents 9.1 Overview of Approximation Techniques........ 9-3 9.1.1 Approximation Approaches........... 9-3 9.1.2 FIR Approximation Approaches......... 9-3 9.2 Continuous-Time

More information

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values? Signals Continuous time or discrete time Is the signal continuous or sampled in time? Continuous valued or discrete valued Can the signal take any value or only discrete values? Deterministic versus random

More information

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

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 SMS045 - DSP Systems in Practice Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 Lab Purpose This lab will introduce MATLAB as a tool for designing and evaluating digital

More information

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

Keywords FIR lowpass filter, transition bandwidth, sampling frequency, window length, filter order, and stopband attenuation. Volume 7, Issue, February 7 ISSN: 77 8X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Estimation and Tuning

More information

FINITE IMPULSE RESPONSE (FIR) FILTERS

FINITE IMPULSE RESPONSE (FIR) FILTERS CHAPTER 5 FINITE IMPULSE RESPONSE (FIR) FILTERS This chapter introduces finite impulse response (FIR) digital filters. Several methods for designing FIR filters are covered. The Filter Design and Analysis

More information

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)

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) Lecture 5 1.8.1 FIR Filters FIR filters have impulse responses of finite lengths. In FIR filters the present output depends only on the past and present values of the input sequence but not on the previous

More information

Computing Tools in an Advanced Filter Theory Course

Computing Tools in an Advanced Filter Theory Course Paper ID #8728 Computing Tools in an Advanced Filter Theory Course Dr. S. Hossein Mousavinezhad, Idaho State University Dr. Mousavinezhad is an active member of IEEE and ASEE having chaired sessions in

More information

Discretization of Continuous Controllers

Discretization of Continuous Controllers Discretization of Continuous Controllers Thao Dang VERIMAG, CNRS (France) Discretization of Continuous Controllers One way to design a computer-controlled control system is to make a continuous-time design

More information

Optimal FIR filters Analysis using Matlab

Optimal FIR filters Analysis using Matlab International Journal of Computer Engineering and Information Technology VOL. 4, NO. 1, SEPTEMBER 2015, 82 86 Available online at: www.ijceit.org E-ISSN 2412-8856 (Online) Optimal FIR filters Analysis

More information

Signal Processing Summary

Signal Processing Summary Signal Processing Summary Jan Černocký, Valentina Hubeika {cernocky,ihubeika}@fit.vutbr.cz DCGM FIT BUT Brno, ihubeika@fit.vutbr.cz FIT BUT Brno Signal Processing Summary Jan Černocký, Valentina Hubeika,

More information

EELE 4310: Digital Signal Processing (DSP)

EELE 4310: Digital Signal Processing (DSP) EELE 4310: Digital Signal Processing (DSP) Chapter # 10 : Digital Filter Design (Part One) Spring, 2012/2013 EELE 4310: Digital Signal Processing (DSP) - Ch.10 Dr. Musbah Shaat 1 / 19 Outline 1 Introduction

More information

IIR Ultra-Wideband Pulse Shaper Design

IIR Ultra-Wideband Pulse Shaper Design IIR Ultra-Wideband Pulse Shaper esign Chun-Yang Chen and P. P. Vaidyanathan ept. of Electrical Engineering, MC 36-93 California Institute of Technology, Pasadena, CA 95, USA E-mail: cyc@caltech.edu, ppvnath@systems.caltech.edu

More information

Analysis The IIR Filter Design Using Particle Swarm Optimization Method

Analysis The IIR Filter Design Using Particle Swarm Optimization Method Xxxxxxx IJSRRS: International I Journal of Scientific Research in Recent Sciences Research Paper Vol-1, Issue-1 ISSN: XXXX-XXXX Analysis The IIR Filter Design Using Particle Swarm Optimization Method Neha

More information

Electrical and Telecommunication Engineering Technology NEW YORK CITY COLLEGE OF TECHNOLOGY THE CITY UNIVERSITY OF NEW YORK

Electrical and Telecommunication Engineering Technology NEW YORK CITY COLLEGE OF TECHNOLOGY THE CITY UNIVERSITY OF NEW YORK NEW YORK CITY COLLEGE OF TECHNOLOGY THE CITY UNIVERSITY OF NEW YORK DEPARTMENT: Electrical and Telecommunication Engineering Technology SUBJECT CODE AND TITLE: DESCRIPTION: REQUIRED TCET 4202 Advanced

More information

INTRODUCTION TO DIGITAL SIGNAL PROCESSING AND FILTER DESIGN

INTRODUCTION TO DIGITAL SIGNAL PROCESSING AND FILTER DESIGN INTRODUCTION TO DIGITAL SIGNAL PROCESSING AND FILTER DESIGN INTRODUCTION TO DIGITAL SIGNAL PROCESSING AND FILTER DESIGN B. A. Shenoi A JOHN WILEY & SONS, INC., PUBLICATION Copyright 2006 by John Wiley

More information

Final Exam Practice Questions for Music 421, with Solutions

Final Exam Practice Questions for Music 421, with Solutions Final Exam Practice Questions for Music 4, with Solutions Elementary Fourier Relationships. For the window w = [/,,/ ], what is (a) the dc magnitude of the window transform? + (b) the magnitude at half

More information

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

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window: Window Method We have seen that in the design of FIR filters, Gibbs oscillations are produced in the passband and stopband, which are not desirable features of the FIR filter. To solve this problem, window

More information

Multirate Digital Signal Processing

Multirate Digital Signal Processing Multirate Digital Signal Processing Basic Sampling Rate Alteration Devices Up-sampler - Used to increase the sampling rate by an integer factor Down-sampler - Used to increase the sampling rate by an integer

More information

Design and comparison of butterworth and chebyshev type-1 low pass filter using Matlab

Design and comparison of butterworth and chebyshev type-1 low pass filter using Matlab Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 423 Design and comparison of butterworth and chebyshev type-1 low pass filter using Matlab Tushar

More information

Performance Analysis of FIR Digital Filter Design Technique and Implementation

Performance Analysis of FIR Digital Filter Design Technique and Implementation Performance Analysis of FIR Digital Filter Design Technique and Implementation. ohd. Sayeeduddin Habeeb and Zeeshan Ahmad Department of Electrical Engineering, King Khalid University, Abha, Kingdom of

More information

Figure z1, Direct Programming Method ... Numerator Denominator... Vo/Vi = N(1+D1) Vo(1+D ) = ViN Vo = ViN-VoD

Figure z1, Direct Programming Method ... Numerator Denominator... Vo/Vi = N(1+D1) Vo(1+D ) = ViN Vo = ViN-VoD Z Transform Basics Design and analysis of control systems are usually performed in the frequency domain; where the time domain process of convolution is replaced by a simple process of multiplication of

More information

Part B. Simple Digital Filters. 1. Simple FIR Digital Filters

Part B. Simple Digital Filters. 1. Simple FIR Digital Filters Simple Digital Filters Chapter 7B Part B Simple FIR Digital Filters LTI Discrete-Time Systems in the Transform-Domain Simple Digital Filters Simple IIR Digital Filters Comb Filters 3. Simple FIR Digital

More information

16.30 Learning Objectives and Practice Problems - - Lectures 16 through 20

16.30 Learning Objectives and Practice Problems - - Lectures 16 through 20 16.30 Learning Objectives and Practice Problems - - Lectures 16 through 20 IV. Lectures 16-20 IVA : Sampling, Aliasing, and Reconstruction JVV 9.5, Lecture Notes on Shannon - Understand the mathematical

More information

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

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo Corso di DATI e SEGNALI BIOMEDICI 1 Carmelina Ruggiero Laboratorio MedInfo Digital Filters Function of a Filter In signal processing, the functions of a filter are: to remove unwanted parts of the signal,

More information

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

A comparative study on main lobe and side lobe of frequency response curve for FIR Filter using Window Techniques Proc. of Int. Conf. on Computing, Communication & Manufacturing 4 A comparative study on main lobe and side lobe of frequency response curve for FIR Filter using Window Techniques Sudipto Bhaumik, Sourav

More information

APPLIED SIGNAL PROCESSING

APPLIED SIGNAL PROCESSING APPLIED SIGNAL PROCESSING 2004 Chapter 1 Digital filtering In this section digital filters are discussed, with a focus on IIR (Infinite Impulse Response) filters and their applications. The most important

More information

Lecture 17 z-transforms 2

Lecture 17 z-transforms 2 Lecture 17 z-transforms 2 Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/5/3 1 Factoring z-polynomials We can also factor z-transform polynomials to break down a large system into

More information

Signal Processing for Speech Applications - Part 2-1. Signal Processing For Speech Applications - Part 2

Signal Processing for Speech Applications - Part 2-1. Signal Processing For Speech Applications - Part 2 Signal Processing for Speech Applications - Part 2-1 Signal Processing For Speech Applications - Part 2 May 14, 2013 Signal Processing for Speech Applications - Part 2-2 References Huang et al., Chapter

More information