0% found this document useful (0 votes)
148 views41 pages

Unit Ii Infinite Impulse Response Filters

1. The document discusses analog and digital filters, describing how analog filters use electronic components like resistors and capacitors while digital filters use digital processors and numerical calculations on sampled signal values. 2. It also summarizes the main types of filters - lowpass, highpass, bandpass, and bandstop - describing their frequency response characteristics and how they pass or attenuate different frequency ranges of an input signal. 3. Ideal filters are described as having constant gain in the passband, zero gain in the stopband, and linear phase response in the passband.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
148 views41 pages

Unit Ii Infinite Impulse Response Filters

1. The document discusses analog and digital filters, describing how analog filters use electronic components like resistors and capacitors while digital filters use digital processors and numerical calculations on sampled signal values. 2. It also summarizes the main types of filters - lowpass, highpass, bandpass, and bandstop - describing their frequency response characteristics and how they pass or attenuate different frequency ranges of an input signal. 3. Ideal filters are described as having constant gain in the passband, zero gain in the stopband, and linear phase response in the passband.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

www.padeepz.

net

UNIT II INFINITE IMPULSE RESPONSE FILTERS


INTRODUCTION

t
To remove or to reduce strength of unwanted signal like noise and to improve the

ne
quality of required signal filtering process is used. To use the channel full bandwidth
we mix up two or more signals on transmission side and on receiver side we would
like to separate it out in efficient way.

.
Hence filters are used. Thus the digital filters are mostly used in

pz
1. Removal of undesirable noise from the desired signals

2.
ee
Equalization of communication channels

3. Signal detection in radar, sonar and communication


ad

4. Performing spectral analysis of signals.


.p

Analog and digital filters


w
w

In signal processing, the function of a filter is to remove unwanted parts of the signal,
w

such as random noise, or to extract useful parts of the signal, such as the components
lying within a certain frequency range.

The following block diagram illustrates the basic idea.

www.padeepz.net
www.padeepz.net

t
ne
There are two main kinds of filter, analog and digital. They are quite different in
their physical makeup and in how they work.

.
An analog filter uses analog electronic circuits made up from components such as

pz
resistors, capacitors and op amps to produce the required filtering effect. Such filter
circuits are widely used in such applications as noise reduction, video signal
enhancement, graphic equalizers in hi-fi systems, and many other areas.
ee
In analog filters the signal being filtered is an electrical voltage or current which is
the direct analogue of the physical quantity (e.g. a sound or video signal or
transducer output) involved.
ad
A digital filter uses a digital processor to perform numerical calculations on sampled
values of the signal. The processor may be a general-purpose computer such as a
PC, or a specialized DSP (Digital Signal Processor) chip.
.p

The analog input signal must first be sampled and digitized using an ADC (analog
to digital converter). The resulting binary numbers, representing successive sampled
values of the input signal, are transferred to the processor, which carries out
numerical calculations on them. These calculations typically involve multiplying the
w

input values by constants and adding the products together. If necessary, the results
of these calculations, which now represent sampled values of the filtered signal, are
output through a DAC (digital to analog converter) to convert the signal back to
w

analog form.
w

In a digital filter, the signal is represented by a sequence of numbers, rather than a


voltage or current.

www.padeepz.net
www.padeepz.net

The following diagram shows the basic setup of such a system.

t
. ne
pz
BASIC BLOCK DIAGRAM OF DIGITAL FILTERS
ee
ad

a. Samplers are used for converting continuous time signal into a discrete time
.p

signal by taking samples of the continuous time signal at discrete time instants.
w

b. The Quantizer are used for converting a discrete time continuous amplitude
signal into a digital signal by expressing each sample value as a finite number of
digits.
w

c. In the encoding operation, the quantization sample value is converted to the


binary equivalent of that quantization level.
w

d. The digital filters are the discrete time systems used for filtering of sequences.

www.padeepz.net
www.padeepz.net

e. These digital filters performs the frequency related operations such as low pass,

t
high pass, band pass and band reject etc. These digital Filters are designed with

ne
digital hardware and software and are represented by difference equation.

DIFFERENCE BETWEEN ANALOG FILTER AND DIGITAL FILTER

.
pz
ee
ad
.p
w
w

Analog Filter
1 Analog filters are used for filtering analog signals.
w

2 Analog filters are designed with various components like resistor, inductor and
capacitor
3 Analog filters less accurate & because of component tolerance of active
components & more sensitive to environmental changes.

www.padeepz.net
www.padeepz.net

4 Less flexible
5 Filter representation is in terms of system components.
6 An analog filter can only be changed by redesigning the filter circuit.

t
ne
Digital Filter
1 Digital filters are used for filtering digital sequences.
2 Digital Filters are designed with digital hardware like FF, counters shift registers,
ALU and software s like C or assembly language.

.
3 Digital filters are less sensitive to the environmental changes, noise and

pz
disturbances. Thus periodic calibration can be avoided. Also they are extremely
stable.
4 These are most flexible as software programs & control programs can be easily
modified. Several input signals can be filtered by one digital filter.
ee
5 Digital filters are represented by the difference equation.
6 A digital filter is programmable, i.e. its operation is determined by a program
stored in the processor's memory. This means the digital filter can easily be changed
without affecting the circuitry (hardware).
ad

FILTER TYPES AND IDEAL FILTER CHARACTERISTIC


.p

Filters are usually classified according to their frequency-domain characteristic as


lowpass, highpass, bandpass and bandstop filters.
w

Lowpass Filter
A lowpass filter is made up of a passband and a stopband, where the lower
w

frequencies Of the input signal are passed through while the higher frequencies are
attenuated.
w

www.padeepz.net
www.padeepz.net

t
. ne
Highpass Filter

pz
A highpass filter is made up of a stopband and a passband where the lower
frequencies of the input signal are attenuated while the higher frequencies are
passed. ee
ad
.p

Bandpass Filter
w

A bandpass filter is made up of two stopbands and one passband so that the lower
and higher frequencies of the input signal are attenuated while the intervening
w

frequencies are passed.


w

www.padeepz.net
www.padeepz.net

t
. ne
pz
Bandstop Filter
A bandstop filter is made up of two passbands and one stopband so that the lower
and higher frequencies of the input signal are passed while the intervening
frequencies are attenuated. An idealized bandstop filter frequency response has the
following ee
ad
.p

Multipass Filter
w

A multipass filter begins with a stopband followed by more than one passband. By
w

default, a multipass filter in Digital Filter Designer consists of three passbands and
w

four stopbands. The frequencies of the input signal at the stopbands are attenuated
while those at the passbands are passed.

www.padeepz.net
www.padeepz.net

Multistop Filter
A multistop filter begins with a passband followed by more than one stopband. By
default, a multistop filter in Digital Filter Designer consists of three passbands and
two stopbands.

t
ne
All Pass Filter

An all pass filter is defined as a system that has a constant magnitude response for

.
all frequencies.

pz
|H(ω)| = 1 for 0 ≤ ω < ∏
The simplest example of an all pass filter is a pure delay system with system function
H(z) = Z-k. This is a low pass filter that has a linear phase characteristic.
ee
All Pass filters find application as phase equalizers. When placed in cascade with a
system that has an undesired phase response, a phase equalizers is designed to

compensate for the poor phase characteristic of the system and therefore to produce
ad
an overall linear phase response.

IDEAL FILTER CHARACTERISTIC


.p

1. Ideal filters have a constant gain (usually taken as unity gain) passband
characteristic and zero gain in their stop band.
w

2. Ideal filters have a linear phase characteristic within their passband.


3. Ideal filters also have constant magnitude characteristic.
w

4. Ideal filters are physically unrealizable.


TYPES OF DIGITAL FILTER
w

Digital filters are of two types. Finite Impulse Response Digital Filter & Infinite
Impulse Response Digital Filter

www.padeepz.net
www.padeepz.net

DIFFERENCE BETWEEN FIR FILTER AND IIR FILTER

t
. ne
pz
ee
ad
.p
w
w

FIR Digital Filter


1. FIR system has finite duration unit sample response. i.e h(n) = 0 for n<0 and n ≥
w

M Thus the unit sample response exists for the duration from 0 to M-1.
2. FIR systems are non recursive. Thus output of FIR filter depends upon present
and past inputs.

www.padeepz.net
www.padeepz.net

3. Difference equation of the LSI system for FIR filters becomes

t
4. FIR systems has limited or finite memory requirements.

ne
5. FIR filters are always stable
6. FIR filters can have an exactly linear phase response so that no phase distortion is
introduced in the signal by the filter.

.
7. The effect of using finite word length to implement filter, noise and quantization

pz
errors are less severe in FIR than in IIR.
8. All zero filters
9. FIR filters are generally used if no phasedistortion is desired.
Example:
ee
System described by
Y(n) = 0.5 x(n) + 0.5 x(n-1) is FIR filter.
h(n)={0.5,0.5}
ad

IIR Digital Filter


.p

1. IIR system has infinite duration unit sample response. i. e h(n) = 0 for n<0 Thus
the unit sample response exists for the duration from 0 to ∞.
w

2. IIR systems are recursive. Thus they use feedback. Thus output of IIR filter
depends upon present and past inputs as well as past outputs
3. Difference equation of the LSI system for IIR filters becomes
w
w

4. IIR system requires infinite memory.


5. Stability cannot be always guaranteed.

www.padeepz.net
www.padeepz.net

6. IIR filter is usually more efficient design in terms of computation time and
memory requirements. IIR systems usually requires less processing time and storage
as compared with FIR.
7. Analogue filters can be easily and readily transformed into equivalent IIR digital
filter. But same is not possible in FIR because that have no analogue counterpart.

t
ne
8. Poles as well as zeros are present.
9. IIR filters are generally used if sharp cutoff and high throughput is required.
Example:
System described by

.
pz
Y(n) = y(n-1) + x(n) is IIR filter.
h(n)=an u(n) for n≥0

ee
STRUCTURES FOR FIR SYSTEMS

FIR Systems are represented in four different ways


ad

1. Direct Form Structures


2. Cascade Form Structure
.p

3. Frequency-Sampling Structures
4. Lattice structures.
w

DIRECT FORM STRUCTURE OF FIR SYSTEM


w

The convolution of h(n) and x(n) for FIR systems can be written
w

The above equation can be expanded as,


Y(n)= h(0) x(n) + h(1) x(n-1) + h(2) x(n-2) + …………… + h(M-1) x(n-M+1) (2)

www.padeepz.net
www.padeepz.net

Implementation of direct form structure of FIR filter is based upon the above
equation.

t
. ne
pz
1. There are M-1 unit delay blocks. One unit delay block requires one memory
location. ee
Hence direct form structure requires M-1 memory locations.
ad
2. The multiplication of h(k) and x(n-k) is performed for 0 to M-1 terms. Hence M
multiplications and M-1 additions are required.

3. Direct form structure is often called as transversal or tapped delay line filter.
.p

CASCADE FORM STRUCTURE OF FIR SYSTEM


w

In cascade form, stages are cascaded (connected) in series. The output of one system
w

is input to another. Thus total K number of stages are cascaded. The total system
function 'H' is given by
H= H1(z) . H2(z)……………………. Hk(z) (1)
w

H= Y1(z)/X1(z). Y2(z)/X2(z). ……………Yk(z)/Xk(z) (2)

www.padeepz.net
www.padeepz.net

t
Each H1(z), H2(z)… etc is a second order section and it is realized by the direct form

ne
as shown in below figure.
System function for FIR systems

.
pz
Expanding the above terms we have
H(z)= H1(z) . H2(z)……………………. Hk(z)
ee
ad

STRUCTURES FOR IIR SYSTEMS


.p

IIR Systems are represented in four different ways


w

1. Direct Form Structures Form I and Form II


2. Cascade Form Structure
w

3. Parallel Form Structure


4. Lattice and Lattice-Ladder structure.
w

1.
DIRECT FORM STRUCTURE FOR IIR SYSTEMS

www.padeepz.net
www.padeepz.net

IIR systems can be described by a generalized equations as

t
. ne
pz
Overall IIR system can be realized as cascade of two function H1(z) and H2(z). Here
H1(z) represents zeros of H(z) and H2(z) represents all poles of H(z).
ee
ad
.p
w
w
w

FIG - DIRECT FORM I REALIZATION OF IIR SYSTEM

www.padeepz.net
www.padeepz.net

1. Direct form I realization of H(z) can be obtained by cascading the


realization of H1(z) which is all zero system first and then H2(z) which is
all pole system.

t
2. There are M+N-1 unit delay blocks. One unit delay block requires one

ne
memory location. Hence direct form structure requires M+N-1 memory
locations.

3. Direct Form I realization requires M+N+1 number of multiplications and

.
M+N number of additions and M+N+1 number of memory locations.

pz
DIRECT FORM - II

ee
1. Direct form realization of H(z) can be obtained by cascading the realization of
H1(z) which is all pole system and H2(z) which is all zero system.

2. Two delay elements of all pole and all zero system can be merged into single
ad
delay element.

3. Direct Form II structure has reduced memory requirement compared to Direct


.p

form I structure. Hence it is called canonic form.

4. The direct form II requires same number of multiplications(M+N+1) and


w

additions (M+N) as that of direct form I.


w
w

www.padeepz.net
www.padeepz.net

t
. ne
pz
ee
ad
.p

CASCADE FORM STRUCTURE FOR IIR SYSTEMS


In cascade form, stages are cascaded (connected) in series. The output of one system
w

is input to another. Thus total K number of stages are cascaded. The total system
function 'H' is given by
w

H= H1(z) . H2(z)……………………. Hk(z) (1)


w

H= Y1(z)/X1(z). Y2(z)/X2(z). ……………Yk(z)/Xk(z) (2)

www.padeepz.net
www.padeepz.net

t
. ne
Each H1(z), H2(z)… etc is a second order section and it is realized by the direct form

pz
as shown in below figure.
System function for IIR systems
ee
ad

Thus Direct form of second order IIR system is shown as


.p
w
w
w

www.padeepz.net
www.padeepz.net

PARALLEL FORM STRUCTURE FOR IIR SYSTEMS

System function for IIR systems is given as

t
ne
The above system function can be expanded in partial fraction as follows

.
H(z) = C + H1(z) + H2(z)…………………….+ Hk(z) (3)

pz
Where C is constant and Hk(z) is given as

ee
ad
.p
w
w
w

IIR FILTER DESIGN

www.padeepz.net
www.padeepz.net

IMPULSE INVARIANCE

BILINEAR TRANSFORMATION

t
ne
BUTTERWORTH APPROXIMATION

IIR FILTER DESIGN - IMPULSE INVARIANCE METHOD

.
pz
Impulse Invariance Method is simplest method used for designing IIR Filters.
Important Features of this Method are
ee
1. In impulse variance method, Analog filters are converted into digital filter just by
replacing unit sample response of the digital filter by the sampled version of impulse
response of analog filter. Sampled signal is obtained by putting t=nT hence
h(n) = ha(nT) n=0,1,2. ………….
ad
where h(n) is the unit sample response of digital filter and T is sampling interval.

2. But the main disadvantage of this method is that it does not correspond to simple
.p

algebraic mapping of S plane to the Z plane. Thus the mapping from


analog frequency to digital frequency is many to one. The segments
(2k-1)∏/T ≤ Ω ≤ (2k+1) ∏/T of j Ω axis are all mapped on the unit circle ∏≤ω≤∏.
w

This takes place because of sampling.


w

3. Frequency aliasing is second disadvantage in this method. Because of frequency


aliasing, the frequency response of the resulting digital filter will not be identical to
the original analog frequency response.
w

4. Because of these factors, its application is limited to design low frequency filters
like LPF or a limited class of band pass filters.

www.padeepz.net
www.padeepz.net

RELATIONSHIP BETWEEN Z PLANE AND S PLANE


Z is represented as rejω in polar form and relationship between Z plane and S plane
is given as Z=eST where s= σ + j Ω.

t
ne
Here we have three condition
1. If σ = 0 then r=1

.
pz
2. If σ < 0 then 0 < r < 1
3. If σ > 0 then r> 1

Thus
1.
ee
Left side of s-plane is mapped inside the unit circle.
2. Right side of s-plane is mapped outside the unit circle.
3. jΩ axis is in s-plane is mapped on the unit circle.
ad
.p
w
w
w

www.padeepz.net
www.padeepz.net

t
. ne
pz
ee
CONVERSION OF ANALOG FILTER INTO DIGITAL FILTER

Let the system function of analog filter is n


ad

Ha(s)= ΣK+1 Ck / s-pk (1) k=1


.p

where pk are the poles of the analog filter and ck are the coefficients of partial
fraction expansion. The impulse response of the analog filter ha(t) is obtained by
w

inverse Laplace transform and given as


w
w

The unit sample response of the digital filter is obtained by uniform sampling of
ha(t). h(n) = ha(nT)
n=0,1,2. ………….

www.padeepz.net
www.padeepz.net

System function of digital filter H(z) is obtained by Z transform of h(n).

t
. ne
Using the standard relation and comparing equation (1) and (4) system function of

pz
digital filter is given as

ee
STANDARD RELATIONS IN IIR DESIGN
ad
.p
w
w

EXAMPLES - IMPULSE INVARIANCE METHOD


w

www.padeepz.net
www.padeepz.net

t
ne
IIR FILTER DESIGN - BILINEAR TRANSFORMATION METHOD (BZT)

.
pz
The method of filter design by impulse invariance suffers from aliasing. Hence in
order to overcome this drawback Bilinear transformation method is designed. In
analogue domain frequency axis is an infinitely long straight line while sampled data
ee
z plane it is unit circle radius. The bilinear transformation is the method of squashing
the infinite straight analog frequency axis so that it becomes finite.

Important Features of Bilinear Transform Method are


ad

1. Bilinear transformation method (BZT) is a mapping from analog S plane to digital


Z plane. This conversion maps analog poles to digital poles and analog zeros to
.p

digital zeros. Thus all poles and zeros are mapped.


w

2. This transformation is basically based on a numerical integration techniques used


to simulate an integrator of analog filter.
w

3. There is one to one correspondence between continuous time and discrete time
frequency points. Entire range in Ω is mapped only once into the range -∏≤ω≤∏.
w

4. Frequency relationship is non-linear. Frequency warping or


frequency compression is due to non-linearity. Frequency warping means amplitude

www.padeepz.net
www.padeepz.net

response of digital filter is expanded at the lower frequencies and compressed at the
higher frequencies in comparison of the analog filter.

5. But the main disadvantage of frequency warping is that it does change the shape

t
of the desired filter frequency response. In particular, it changes the shape of the

ne
transition bands.

CONVERSION OF ANALOG FILTER INTO DIGITAL FILTER

.
Z is represented as rejω in polar form and relationship between Z plane and S plane

pz
in BZT method is given as

ee
ad
.p

Comparing the above equation with S= σ + j Ω. We have


w
w

Here we have three condition


w

1. If σ < 0 then 0 < r < 1


2. If σ > 0 then r > 1
3. If σ = 0 then r=1

www.padeepz.net
www.padeepz.net

When r =1

t
. ne
The above equations shows that in BZT frequency relationship is non-linear. The

pz
frequency relationship is plotted as

ee
ad
.p

FIG - MAPPING BETWEEN FREQUENCY VARIABLE ω AND Ω IN BZT


w

METHOD.
w

DIFFERENCE - IMPULSE INVARIANCE Vs BILINEAR


TRANSFORMATION
w

www.padeepz.net
www.padeepz.net

t
. ne
pz
ee
Impulse Invariance
1. In this method IIR filters are designed having a unit sample response h(n) that is
sampled version of the impulse response of the analog filter.
2. In this method small value of T is selected to minimize the effect of aliasing.
ad
3. They are generally used for low frequencies like design of IIR LPF and a limited
class of bandpass filter
4. Frequency relationship is linear.
5. All poles are mapped from the s plane to the z plane by the relationship Zk= epkT.
.p

But the zeros in two domain does not satisfy the same relationship.
w

Bilinear Transformation
1. This method of IIR filters design is based on the trapezoidal formula for numerical
integration.
w

2. The bilinear transformation is a conformal mapping that transforms the j Ω axis


into the unit circle in the z plane only once, thus avoiding aliasing of frequency
w

components.
3. For designing of LPF, HPF and almost all types of Band pass and band stop filters
this method is used.

www.padeepz.net
www.padeepz.net

4. Frequency relationship is non-linear. Frequency warping or frequency


compression is due to non-linearity.
5. All poles and zeros are mapped.

t
ne
LPF AND HPF ANALOG BUTTERWORTH FILTER TRANSFER
FUNCTION

.
pz
ee
METHOD FOR DESIGNING DIGITAL FILTERS USING BZT
ad

step 1. Find out the value of ωc*,.


.p
w

step 2. Find out the value of frequency scaled analog transfer function
w
w

Normalized analog transfer function is frequency scaled by replacing s by s/ωp *.

step 3. Convert into digital filter

www.padeepz.net
www.padeepz.net

Apply BZT. i.e Replace s by the ((z-1)/(z+1)). And find out the desired transfer
function of digital function.

t
Example:

ne
Q) Design first order high pass butterworth filter whose cutoff frequency is 1 kHz at
sampling frequency of 104 sps. Use BZT Method

.
pz
Step 1. To find out the cutoff frequency

ωc = 2∏f
ee
= 2000 rad/sec

Step 2. To find the prewarp frequency


ad
ωc* = tan (ωc Ts/2) = tan(∏/10)

Step 3. Scaling of the transfer function


.p

For First order HPF transfer function H(s) = s/(s+1) Scaled transfer function H*(s)
= H(s) |s=s/ωc*
w

H*(s)= s/(s + 0.325)


w

Step 4. Find out the digital filter transfer function. Replace s by (z-1)/(z+1)
w

www.padeepz.net
www.padeepz.net

t
Q) Design second order low pass butterworth filter whose cutoff frequency is 1 kHz
at sampling frequency of 104 sps.

ne
Q) First order low pass butterworth filter whose bandwidth is known to be 1 rad/sec
. Use BZT method to design digital filter of 20 Hz bandwidth at sampling frequency

.
60 sps.

pz
Q) Second order low pass butterworth filter whose bandwidth is known to be 1
rad/sec . Use BZT method to obtain transfer function H(z) of digital filter of 3 DB
cutoff frequency of 150 Hz and sampling frequency 1.28 kHz.
ee
Q) The transfer function is given as s2+1 / s 2+s+1 The function is for Notch filter
with frequency 1 rad/sec. Design digital Notch filter with the following specification
ad

(1) Notch Frequency= 60 Hz


.p

(2) Sampling frequency = 960 sps.


BUTTERWORTH FILTER APPROXIMATION
w

The filter passes all frequencies below Ωc. This is called passband of the filter. Also
the filter blocks all the frequencies above Ωc. This is called stopband of the filter.
w

Ωc is called cutoff frequency or critical frequency.


No Practical filters can provide the ideal characteristic. Hence approximation of the
w

ideal characteristic are used. Such approximations are standard and used for filter
design.

www.padeepz.net
www.padeepz.net

Such three approximations are regularly used.


a) Butterworth Filter Approximation
b) Chebyshev Filter Approximation
c) Elliptic Filter Approximation

t
ne
Butterworth filters are defined by the property that the magnitude response is
maximally flat in the passband.

.
pz
ee
ad
.p
w
w
w

www.padeepz.net
www.padeepz.net

t
. ne
pz
ee
ad
.p
w
w
w

This equation gives the pole position of H(s) and H(-s).


FREQUENCY RESPONSE CHARACTERISTIC

www.padeepz.net
www.padeepz.net

The frequency response characteristic of |Ha(Ω)|2 is as shown. As the order of the


filter N increases, the butterworth filter characteristic is more close to the ideal
characteristic. Thus at higher orders like N=16 the butterworth filter characteristic
closely approximate ideal filter characteristic. Thus an infinite order filter (N ∞) is

t
required to get ideal characteristic.

. ne
pz
ee
ad
.p
w
w
w

www.padeepz.net
www.padeepz.net

t
. ne
pz
ee
Ap= attenuation in passband.
As= attenuation in stopband.
ad
Ωp = passband edge frequency
Ωs = stopband edge frequency
.p

Specification for the filter is


w
w

To determine the poles and order of analog filter consider equalities.


w

www.padeepz.net
www.padeepz.net

t
. ne
pz
ee
ad
.p
w
w
w

www.padeepz.net
www.padeepz.net

t
. ne
pz
ee
ad
.p

Q) Design a digital filter using a butterworth approximation by using impulse


invariance.
w
w
w

www.padeepz.net
www.padeepz.net

t
. ne
pz
Filter Type - Low Pass Filter
Ap - 0.89125
As - 0.17783
ee
Ωp - 0.2∏
Ωs - 0.3∏
ad
Step 1) To convert specification to equivalent analog filter.

(In impulse invariance method frequency relationship is given as ω= Ω T while in


.p

Bilinear transformation method frequency relationship is given as Ω= (2/T) tan (ω/2)


If Ts is not specified consider as 1)
w

|Ha(Ω)| ≥ 0.89125 for Ω ≤ 0.2∏/T and |Ha(Ω)| ≤ 0.17783 for Ω ≥ 0.3∏/T.


w

Step 2) To determine the order of the filter.


w

N= 5.88

www.padeepz.net
www.padeepz.net

1. Order of the filter should be integer.

2. Always go to nearest highest integer vale of N.

t
ne
Hence N=6

Step 3) To find out the cutoff frequency (-3DB frequency)

.
pz
cutoff frequency Ωc = 0.7032
ee
Step 4) To find out the poles of analog filter system function.
ad
.p
w
w
w

For stable filter all poles lying on the left side of s plane is selected. Hence

www.padeepz.net
www.padeepz.net

S1 = -0.182 + j 0.679 S1* = -0.182 - j 0.679


S2 = -0.497 + j 0.497 S2* = -0.497 - j 0.497
S3 = -0.679 + j 0.182 S3* = -0.679 - j 0.182

t
ne
Step 5) To determine the system function (Analog Filter)

.
pz
ee
ad
.p

Step 6) To determine the system function (Digital Filter)

(In Bilinear transformation replace s by the term ((z-1)/(z+1)) and find out the
w

transfer function of digital function)


w

Step 7) Represent system function in cascade form or parallel form if asked.


w

Q) Given for low pass butterworth filter

www.padeepz.net
www.padeepz.net

Ap= -1 db at 0.2∏
As= -15 db at 0.3∏

t
ne
a) Calculate N and Pole location

b) Design digital filter using BZT method.

.
pz
Q) Obtain transfer function of a lowpass digital filter meeting specifications
Cutoff 0-60Hz
Stopband > 85Hz
ee
Stopband attenuation > 15 db
Sampling frequency= 256 Hz . use butterworth characteristic.

Q) Design second order low pass butterworth filter whose cutoff frequency is 1 kHz
ad
at sampling frequency of 104 sps. Use BZT and Butterworth approximation.
FREQUENCY TRANSFORMATION
.p

When the cutoff frequency Ωc of the low pass filter is equal to 1 then it is called
normalized filter. Frequency transformation techniques are used to generate High
pass filter, Bandpass and bandstop filter from the lowpass filter system function.
w

FREQUENCY TRANSFORMATION (ANALOG FILTER)


w
w

www.padeepz.net
www.padeepz.net

t
. ne
pz
ee
FREQUENCY TRANSFORMATION ((DIGITAL FILTER)
ad
.p
w
w
w

Example:

www.padeepz.net
www.padeepz.net

Q) Design high pass butterworth filter whose cutoff frequency is 30 Hz at sampling


frequency of 150 Hz. Use BZT and Frequency transformation.
Step 1. To find the prewarp cutoff frequency
ωc* = tan (ωcTs/2) = 0.7265

t
ne
Step 2. LPF to HPF transformation

For First order LPF transfer function H(s) = 1/(s+1) Scaled

.
transfer function H*(s) = H(s) |s=ωc*/s H*(s)= s/(s + 0.7265)

pz
Step 3. Find out the digital filter transfer function. Replace s by (z-1)/(z+1)
ee
Q) Design second order band pass butterworth filter whose passband of 200 Hz and
ad
300 Hz and sampling frequency is 2000 Hz. Use BZT and Frequency transformation.
Q) Design second order band pass butterworth filter which meet following
specification Lower cutoff frequency = 210 Hz
Upper cutoff frequency = 330 Hz Sampling Frequency = 960 sps
.p

Use BZT and Frequency transformation.


w
w
w

www.padeepz.net

You might also like