AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

Nonrecursive Digital Filters
Signal and System IIR Filter Filbert H. Juwono
CHAPTER 7 Digital Filter Design Wang Weilian School of Information Science and Technology Yunnan University.
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
AMI 4622 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
Parks-McClellan FIR Filter Design
5.1 the frequency response of LTI system 5.2 system function 5.3 frequency response for rational system function 5.4 relationship between magnitude and.
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:
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
Unit III FIR Filter Design
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.
Chapter 7 IIR Filter Design
Filter Design Techniques
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.
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.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR 1.Windowed Impulse Response 2.Window Shapes 3.Design by Iterative.
System Function of discrete-time systems
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.
Professor A G Constantinides 1 Interpolation & Decimation Sampling period T, at the output Interpolation by m: Let the OUTPUT be [i.e. Samples exist at.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time 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.
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
1 Conditions for Distortionless Transmission Transmission is said to be distortion less if the input and output have identical wave shapes within a multiplicative.
Lecture 5 BME452 Biomedical Signal Processing 2013 (copyright Ali Işın, 2013)1 BME 452 Biomedical Signal Processing Lecture 5  Digital filtering.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Transform Analysis of LTI Systems Quote of the Day Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Content and Figures.
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,
The IIR FILTERs These are highly sensitive to coefficients which may affect stability. The magnitude-frequency response of these filters is established.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Chapter 6. Digital Filter Structures and Designs Section
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Chapter 5. Transform Analysis of LTI Systems Section
EEE4176 Application of Digital Signal Processing
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)
UNIT - 5 IIR FILTER DESIGN.
Lecture: IIR Filter Design
EEE422 Signals and Systems Laboratory
IIR Filters FIR vs. IIR IIR filter design procedure
Infinite Impulse Response (IIR) Filters
J McClellan School of Electrical and Computer Engineering
Fourier Series FIR About Digital Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
Quick Review of LTI Systems
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
Finite Wordlength Effects
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.
Finite Impulse Response Filters
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters with magnitude responses as shown below (Piecewise flat)

AGC DSP AGC DSP Professor A G Constantinides 2 Digital Filter Specifications These filters are unealisable because (one of the following is sufficient) their impulse responses infinitely long non- causal Their amplitude responses cannot be equal to a constant over a band of frequencies Another perspective that provides some understanding can be obtained by looking at the ideal amplitude squared.

AGC DSP AGC DSP Professor A G Constantinides 3 Digital Filter Specifications Consider the ideal LP response squared (same as actual LP response)

AGC DSP AGC DSP Professor A G Constantinides 4 Digital Filter Specifications The realisable squared amplitude response transfer function (and its differential) is continuous in Such functions if IIR can be infinite at point but around that point cannot be zero. if FIR cannot be infinite anywhere. Hence previous defferential of ideal response is unrealisable

AGC DSP AGC DSP Professor A G Constantinides 5 Digital Filter Specifications A realisable response would effectively need to have an approximation of the delta functions in the differential This is a necessary condition

AGC DSP AGC DSP Professor A G Constantinides 6 Digital Filter Specifications For example the magnitude response of a digital lowpass filter may be given as indicated below

AGC DSP AGC DSP Professor A G Constantinides 7 Digital Filter Specifications In the passband we require that with a deviation In the stopband we require that with a deviation

AGC DSP AGC DSP Professor A G Constantinides 8 Digital Filter Specifications Filter specification parameters - passband edge frequency - stopband edge frequency - peak ripple value in the passband - peak ripple value in the stopband

AGC DSP AGC DSP Professor A G Constantinides 9 Digital Filter Specifications Practical specifications are often given in terms of loss function (in dB) Peak passband ripple dB Minimum stopband attenuation dB

AGC DSP AGC DSP Professor A G Constantinides 10 Digital Filter Specifications In practice, passband edge frequency and stopband edge frequency are specified in Hz For digital filter design, normalized bandedge frequencies need to be computed from specifications in Hz using

AGC DSP AGC DSP Professor A G Constantinides 11 Digital Filter Specifications Example - Let kHz, kHz, and kHz Then

AGC DSP AGC DSP Professor A G Constantinides 12 The transfer function H(z) meeting the specifications must be a causal transfer function For IIR real digital filter the transfer function is a real rational function of H(z) must be stable and of lowest order N or M for reduced computational complexity Selection of Filter Type

AGC DSP AGC DSP Professor A G Constantinides 13 Selection of Filter Type FIR real digital filter transfer function is a polynomial in (order N) with real coefficients For reduced computational complexity, degree N of H(z) must be as small as possible If a linear phase is desired then we must have: (More on this later)

AGC DSP AGC DSP Professor A G Constantinides 14 Selection of Filter Type Advantages in using an FIR filter - (1) Can be designed with exact linear phase (2) Filter structure always stable with quantised coefficients Disadvantages in using an FIR filter - Order of an FIR filter is considerably higher than that of an equivalent IIR filter meeting the same specifications; this leads to higher computational complexity for FIR

AGC DSP AGC DSP Professor A G Constantinides 15 FIR Design FIR Digital Filter Design Three commonly used approaches to FIR filter design - (1) Windowed Fourier series approach (2) Frequency sampling approach (3) Computer-based optimization methods

AGC DSP AGC DSP Professor A G Constantinides 16 Finite Impulse Response Filters The transfer function is given by The length of Impulse Response is N All poles are at. Zeros can be placed anywhere on the z- plane

AGC DSP AGC DSP Professor A G Constantinides 17 FIR: Linear phase For phase linearity the FIR transfer function must have zeros outside the unit circle

AGC DSP AGC DSP Professor A G Constantinides 18 FIR: Linear phase To develop expression for phase response set transfer function (order n) In factored form Where, is real & zeros occur in conjugates

AGC DSP AGC DSP Professor A G Constantinides 19 FIR: Linear phase Let where Thus

AGC DSP AGC DSP Professor A G Constantinides 20 FIR: Linear phase Expand in a Laurent Series convergent within the unit circle To do so modify the second sum as

AGC DSP AGC DSP Professor A G Constantinides 21 FIR: Linear phase So that Thus where

AGC DSP AGC DSP Professor A G Constantinides 22 FIR: Linear phase are the root moments of the minimum phase component are the inverse root moments of the maximum phase component Now on the unit circle we have and

AGC DSP AGC DSP Professor A G Constantinides 23 Fundamental Relationships hence (note Fourier form)

AGC DSP AGC DSP Professor A G Constantinides 24 FIR: Linear phase Thus for linear phase the second term in the fundamental phase relationship must be identically zero for all index values. Hence 1) the maximum phase factor has zeros which are the inverses of the those of the minimum phase factor 2) the phase response is linear with group delay (normalised) equal to the number of zeros outside the unit circle

AGC DSP AGC DSP Professor A G Constantinides 25 FIR: Linear phase It follows that zeros of linear phase FIR trasfer functions not on the circumference of the unit circle occur in the form

AGC DSP AGC DSP Professor A G Constantinides 26 FIR: Linear phase For Linear Phase t.f. (order N-1) so that for N even:

AGC DSP AGC DSP Professor A G Constantinides 27 FIR: Linear phase for N odd: I) On we have for N even, and +ve sign

AGC DSP AGC DSP Professor A G Constantinides 28 FIR: Linear phase II) While for –ve sign [Note: antisymmetric case adds rads to phase, with discontinuity at ] III) For N odd with +ve sign

AGC DSP AGC DSP Professor A G Constantinides 29 FIR: Linear phase IV) While with a –ve sign [Notice that for the antisymmetric case to have linear phase we require The phase discontinuity is as for N even]

AGC DSP AGC DSP Professor A G Constantinides 30 FIR: Linear phase The cases most commonly used in filter design are (I) and (III), for which the amplitude characteristic can be written as a polynomial in

AGC DSP AGC DSP Professor A G Constantinides 31 Design of FIR filters: Windows (i) Start with ideal infinite duration (ii) Truncate to finite length. (This produces unwanted ripples increasing in height near discontinuity.) (iii) Modify to Weight w(n) is the window

AGC DSP AGC DSP Professor A G Constantinides 32 Windows Commonly used windows Rectangular Bartlett Hann Hamming Blackman Kaiser

AGC DSP AGC DSP Professor A G Constantinides 33 Kaiser window βTransition width (Hz) Min. stop attn dB /N /N /N /N90

AGC DSP AGC DSP Professor A G Constantinides 34 Example Lowpass filter of length 51 and

AGC DSP AGC DSP Professor A G Constantinides 35 Frequency Sampling Method In this approach we are given and need to find This is an interpolation problem and the solution is given in the DFT part of the course It has similar problems to the windowing approach

AGC DSP AGC DSP Professor A G Constantinides 36 Linear-Phase FIR Filter Design by Optimisation Amplitude response for all 4 types of linear-phase FIR filters can be expressed as where

AGC DSP AGC DSP Professor A G Constantinides 37 Linear-Phase FIR Filter Design by Optimisation Modified form of weighted error function where

AGC DSP AGC DSP Professor A G Constantinides 38 Linear-Phase FIR Filter Design by Optimisation Optimisation Problem - Determine which minimise the peak absolute value of over the specified frequency bands After has been determined, construct the original and hence h[n]

AGC DSP AGC DSP Professor A G Constantinides 39 Linear-Phase FIR Filter Design by Optimisation Solution is obtained via the Alternation Theorem The optimal solution has equiripple behaviour consistent with the total number of available parameters. Parks and McClellan used the Remez algorithm to develop a procedure for designing linear FIR digital filters.

AGC DSP AGC DSP Professor A G Constantinides 40 FIR Digital Filter Order Estimation Kaiser’s Formula: ie N is inversely proportional to transition band width and not on transition band location

AGC DSP AGC DSP Professor A G Constantinides 41 FIR Digital Filter Order Estimation Hermann-Rabiner-Chan’s Formula: where with

AGC DSP AGC DSP Professor A G Constantinides 42 FIR Digital Filter Order Estimation Formula valid for For, formula to be used is obtained by interchanging and Both formulae provide only an estimate of the required filter order N If specifications are not met, increase filter order until they are met

AGC DSP AGC DSP Professor A G Constantinides 43 FIR Digital Filter Order Estimation Fred Harris’ guide: where A is the attenuation in dB Then add about 10% to it