IIR Filter design (cf. Shenoi, 2006)

Similar documents
Transition Bandwidth Analysis of Infinite Impulse Response Filters

Digital Signal Processing IIR Filter Design via Impulse Invariance

First, we show how to use known design specifications to determine filter order and 3dB cut-off

ELEN E4810: Digital Signal Processing Topic 8: Filter Design: IIR

Design of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek

Design of FIR Filters

Laboratory #5: RF Filter Design

24 Butterworth Filters

Filter Comparison. Match #1: Analog vs. Digital Filters

NAPIER University School of Engineering. Electronic Systems Module : SE32102 Analogue Filters Design And Simulation. 4 th order Butterworth response

How to Design 10 khz filter. (Using Butterworth filter design) Application notes. By Vadim Kim

CHAPTER 8 ANALOG FILTERS

SECTION 6 DIGITAL FILTERS

Analog IIR Filter Design

ROUTH S STABILITY CRITERION

Clutter Filter Design for Ultrasound Color Flow Imaging

Em bedded DSP : I ntroduction to Digital Filters

DSP-I DSP-I DSP-I DSP-I

Frequency Response of FIR Filters

Digital Signal Processing Complete Bandpass Filter Design Example

2.161 Signal Processing: Continuous and Discrete Fall 2008

Infinite Impulse Response Filter Structures in Xilinx FPGAs

HYBRID FIR-IIR FILTERS By John F. Ehlers

Lecture 9. Poles, Zeros & Filters (Lathi 4.10) Effects of Poles & Zeros on Frequency Response (1) Effects of Poles & Zeros on Frequency Response (3)

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Lecture 6 - Design of Digital Filters

Designing a Linear FIR filter

LM833,LMF100,MF10. Application Note 779 A Basic Introduction to Filters - Active, Passive,and. Switched Capacitor. Literature Number: SNOA224A

SAMPLE SOLUTIONS DIGITAL SIGNAL PROCESSING: Signals, Systems, and Filters Andreas Antoniou

Discrete-Time Signals and Systems

A Basic Introduction to Filters Active Passive and Switched-Capacitor

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2010 Linear Systems Fundamentals

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2009 Linear Systems Fundamentals

Chapter 16. Active Filter Design Techniques. Excerpted from Op Amps for Everyone. Literature Number SLOA088. Literature Number: SLOD006A

Frequency Response of Filters

Time series analysis Matlab tutorial. Joachim Gross

Implementation of the LMS Algorithm for Noise Cancellation on Speech Using the ARM LPC2378 Processor.

EE 508 Lecture 11. The Approximation Problem. Classical Approximations the Chebyschev and Elliptic Approximations

Introduction to Digital Filters

Chapter 8 - Power Density Spectrum

Frequency response. Chapter Introduction

Lecture 14. Point Spread Function (PSF)

SWISS ARMY KNIFE INDICATOR John F. Ehlers

1995 Mixed-Signal Products SLAA013

PIEZO FILTERS INTRODUCTION

Introduction to IQ-demodulation of RF-data

Impedance 50 (75 connectors via adapters)

CTCSS REJECT HIGH PASS FILTERS IN FM RADIO COMMUNICATIONS AN EVALUATION. Virgil Leenerts WØINK 8 June 2008

Sophomore Physics Laboratory (PH005/105)

Understanding CIC Compensation Filters

Short-time FFT, Multi-taper analysis & Filtering in SPM12

Digital filter design for electrophysiological data a practical approach

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

ELECTRONIC FILTER DESIGN HANDBOOK

Motorola Digital Signal Processors

SGN-1158 Introduction to Signal Processing Test. Solutions

Analog Filters. A common instrumentation filter application is the attenuation of high frequencies to avoid frequency aliasing in the sampled data.

EE 508 Lecture 11. The Approximation Problem. Classical Approximations the Chebyschev and Elliptic Approximations

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

DESIGN AND SIMULATION OF TWO CHANNEL QMF FILTER BANK FOR ALMOST PERFECT RECONSTRUCTION

IIR Half-band Filter Design with TMS320VC33 DSP

A FIR FILTER DESIGN TOOL USING GENETIC ALGORITHMS

(Refer Slide Time: 01:11-01:27)

Application Report SLOA024B

AN-837 APPLICATION NOTE

9 Fourier Transform Properties

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

Correlation and Convolution Class Notes for CMSC 426, Fall 2005 David Jacobs

Agilent Time Domain Analysis Using a Network Analyzer

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

FFT Algorithms. Chapter 6. Contents 6.1

The Z transform (3) 1

SIGNAL PROCESSING & SIMULATION NEWSLETTER

Simulation of Frequency Response Masking Approach for FIR Filter design

Lecture 5: Variants of the LMS algorithm

An Introduction to Digital Filters

Introduction to the Z-transform

Understanding Poles and Zeros

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).

1.1 Discrete-Time Fourier Transform

Design of IIR Digital Filters. Ch. 5 - Lecture 18 DSP ECE 623 IIR DIGITAL FILTERS. Andreas Spanias. Chapter 5 IIR Filter Design. spanias@asu.

Review of Fourier series formulas. Representation of nonperiodic functions. ECE 3640 Lecture 5 Fourier Transforms and their properties

PRACTICAL GUIDE TO DATA SMOOTHING AND FILTERING

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

Lectures 6&7: Image Enhancement

Trend and Seasonal Components

University of Rochester Department of Electrical and Computer Engineering ECE113 Lab. #7 Higher-order filter & amplifier designs March, 2012

POLYNOMIAL FUNCTIONS

A DESIGN OF DSPIC BASED SIGNAL MONITORING AND PROCESSING SYSTEM

Use bandpass filters to discriminate against wide ranges of frequencies outside the passband.

Analog and Digital Filters Anthony Garvert November 13, 2015

The Calculation of G rms

Higher Education Math Placement

73M2901CE Programming the Imprecise Call Progress Monitor Filter

Time-series filtering techniques in Stata

Active Low-Pass Filter Design

Probability and Random Variables. Generation of random variables (r.v.)

Analysis/resynthesis with the short time Fourier transform

PHYSICS LAB #2 Passive Low-pass and High-pass Filter Circuits and Integrator and Differentiator Circuits

ADC and DAC. Quantization

Transcription:

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 ranging in [ π, π].

When a and b are real, the magnitude response H(e jw ) is an even function, and the phase response θ(jw) is an odd function. Very often it is convenient to compute and plot the log magnitude of H(e jw ) as measured in db. 10log jw 2 10 H ( e ) Linear phase: Consider the ideal delay system. The impulse response is h id [ n] = δ[ n nd ] and the frequency response is H id [ e jw ] = e jwn d

In this case, the magnitude and phase responses are and H [ e jw id ] = 1 jw H [ e ] = wn w < π id Hence, when time domain is a constant delay, it causes the frequency a linear phase distortion. Sometimes we hope the filter response is linear phase, i.e., the phase response is linear with w. Eg. an ideal lowpass filter with linear phase (i.e., ideal low-pass but the output is delayed by n d samples in the time domain) H lp [ e jw However, linear phase is difficult to achieve by using IIR filters, but it can be easily designed by using FIR filters. d e ] = jwn 0, d, w c w < wc < w < π

Group delay: A convenient measure of the linearity of the phase is the group delay. τ ( w) = grd[ H ( e )] = d { [ H ( e dw For the IIR filter, the group delay is jw jw )]} (unit: samples) where and

Since the state-of-the-arts of analog IIR filter is more advanced, the design of discrete-time IIR filter is usually an approximation of the analog one. Three approximation criteria commonly used: The Butterworth approximation The Chebyshev (minimax) approximation Analog filters represented by Laplace transform H(s). Substituting s=jw, we obtain its frequency response (in terms of continuous Fourier transform).

where H(jw) and φ(jw) can be found by

Maximally Flat and Butterworth Approximation Magnitude response of an ideal low-pass analog filter showing the tolerances: passband: [0, w p ], transition band:[w p, w s ], stopband: [w s, ] passband tolerance: δ p, stopband tolerance: δ s.

Butterworth response (or maximally flat magnitude response): and now we have

Magnitude responses of Butterworth lowpass filters normalized passband

D 2n and n are the parameters of the Butterworth filter, where n is the order of this filter. If, for example, the magnitude at the passband frequency Ω p, is 1/ 2, which means that the log magnitude required is 3dB, then we choose D 2n = 1. If the magnitude at the passband frequency Ω = Ω p = 1 is required to be 1 δ p, then we choose D 2n, normally denoted by ε 2, such that If the magnitude at the bandwith Ω = Ω p = 1 is given as A p db, the values ε 2 is computed by

We get the formula Let us consider the common case of a Butterworth filter with a log magnitude of 3dB at the bandwith of Ω p = 1 to develop the design procedure of Butterworth lowpass filter. In this case, we use the function for the prototype filter, in the form

This satisfies the following properties:

Design theory of Butterworth lowpass filters Let us consider the design of Butterworth lowpass filter for which (1) the frequency Ω p at which the magnitude is 3DB below the maximum value at Ω=0, and (2) the magnitude at another frequency Ω s in the stopband are specified. 2 2n Since we only know that H ( jω) = 1/(1 + Ω ) but want to infer H(e jω ). Let us consider the relationship that H(e jω ) 2 = H(e jω )H( e jω ). We denote Ω = p/j, so

There are n poles satisfying the following equations: This gives us the 2n poles of H(p)H( p), which are and In general, These poles have a magnitude of one, and the angle between adjacent poles is equal to π/n. There are n poles in the left half plane and n poles in the right plane. Note that for a continuous-time linear system, it is stable iff all poles lie in the left half plane.

Note that, for every pole of H(p) at p=p a, that lies in the left half-plane, there is a pole of H( p) at p= p a that lies in the right half-plane. Because of this property, we identify n poles that are in the left half of the p planes as the poles of H(p) so that it is a stable transfer function. The poles that are in the left half of the p plane are given by When we have found these n poles, we construct the denominator polynomial D(p) of the prototype filter from H(p) = 1/D(p) from

Pole locations of Butterworth low-pass filters of orders n=6

The only unknown parameter at this stage of design is the order n of the filter function H(p). This is calculated using the specification that at the stopband frequency Ω s, the log magnitude is required to be no more than A s db. So we choose n as an integer satisfying The pairs of poles from left and right half-planes can be found by the polynomial in the denominator D(p), Their coefficients can be computed recursively from where d 0 =1. The polynomial is referred to as Butterworth polynomials.

Chebyshev 1 Approximation: The Chebyshev 1 approximation for an ideal lowpass filter has equal-valued ripples in the passband. It is known as minimax approximation and also known as the equiripple approximation. The magnitude squared function of Chebyshev approximation: where C n (Ω) is the Chebyshev polynomial of degree n. It is defined by

For n = 2, 3, 4, 5, these polynomials are

Chebyshev II Approximation: (or inverse Chebyshev filters) Maximally flat at w=0; decreases monotonically as the frequency increases and has an equiripple response in the stopband. The magnitude square function of the inverse Chebyshev low pass filter: H(jΩ) 2 =

Chebyshev I Chebyshev II

Discrete-time IIR filter The procedure used for designing discrete-time IIR filters employ different transformations of the form s = f(z) to transform H(s) into H(z). Two methods: Impulse invariance Bilinear Transform Please see the copy of book chapters (Oppenheim 1999, Section 7.1)

General concept on digital filter design (cf. D. Ellis, Columbia University)

Discrete-time FIR filters

Discrete-time FIR filters

Linear Phase Discrete-time FIR filters Now we consider the special types of FIR filters in which the impulse response h[n] are assumed to be symmetric or antisymmetric. Since the order of the polynomial in each of these two types can be either odd or even, we have four types of filters with different properties. Linear phase FIR filters: Type 1: The coefficients are symmetric, i.e., h[n] = h[n n], and the order N is even.

Linear phase response

Linear phase FIR filters: Type II: The coefficients are symmetric, i.e., h[n] = h[n n], and the order N is odd.

Linear phase FIR filters: Type III: The coefficients are antisymmetric, i.e., h[n] = h[n n], and the order N is even.

Linear phase FIR filters: Type IV: The coefficients are antisymmetric, i.e., h[n] = h[n n], and the order N is odd.

Fourier Series Method Modified by Windows Let us consider the magnitude response of the ideal lowpass filter to be H LP (e jw ), in which the cutoff frequency is given as w c. Its inverse Fourier transform (i.e., the impulse response of the ideal low pass filter) is:

We choose the following finite series to approximate H LP (e jw ): Since {e jnw } form an set of orthonormal bases, C LP [n] is the the least squared solution. The approximation error is As M increases, the number of ripples in the passband (and the stopband) increases while the width between the frequencies at which the the maximum error occurs in the passband (0 w w c ) and in the stopband (w c w<π) decreases.

Gibbs phenomenon: as M increases, the maximum deviation from the ideal value decreases except near the point of discontinuity, where the error remains the same, however large the value M we choose. (i.e., as M increases, the maximum amplitude of the oscillation does not approch zero)