0% found this document useful (0 votes)
221 views

Digital Signal Processing

This document discusses digital filter design techniques, specifically focusing on FIR and IIR filters. It provides details on the design of FIR filters, including the difference equation and features such as finite memory requirements and guaranteed linear phase response. For IIR filter design, it covers techniques like impulse invariance and bilinear transformation. It also gives examples of converting analog filters to digital filters using the bilinear transformation and standard relations. Overall, the document provides an overview of key aspects of FIR and IIR filter design.

Uploaded by

Vivek jha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
221 views

Digital Signal Processing

This document discusses digital filter design techniques, specifically focusing on FIR and IIR filters. It provides details on the design of FIR filters, including the difference equation and features such as finite memory requirements and guaranteed linear phase response. For IIR filter design, it covers techniques like impulse invariance and bilinear transformation. It also gives examples of converting analog filters to digital filters using the bilinear transformation and standard relations. Overall, the document provides an overview of key aspects of FIR and IIR filter design.

Uploaded by

Vivek jha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Subject Name: Digital signal Processing

Subject Code: EC-6002


Semester: 6th
Downloaded from be.rgpvnotes.in

UNIT V
Digital filters Design Techniques
Design of IIR and FIR digital filters, Impulse invariant and bilinear transformation, windowing techniques
rectangular and other windows, examples of FIR filters, design using windowing.

DIGITAL FILTERS DESIGN TECHNIQUES

FIR FILTER
FIR system has finite duration unit sample response. i.e. h = for < a d M. Thus the unit sample
response exists for the duration from 0 to M-1. FIR systems are non recursive. Thus output of FIR filter
depends upon present and past inputs.
Difference equation of the LSI system for FIR filters becomes
M
y(n)= ∑ bk x(n–k)
k=0

FIR systems has limited or finite memory requirements. FIR filters are always stable FIR filters can have an
exactly linear phase response so that no phase distortion is introduced in the signal by the filter. The effect of
using finite word length to implement filter, noise and quantization errors are less severe in FIR than in IIR.
FIR filters can have an exactly linear phase response so that no phase distortion is introduced in the signal by
the filter.
The effect of using finite word length to implement filter, noise and quantization errors are less severe in FIR
than in IIR. FIR filters are generally used if no phase distortion is desired.

IIR FILTER:
IIR system has infinite duration unit sample response. i. e h(n) = 0 for n<0 Thus the unit sample response exists
for the duratio fro to ∞. IIR systems are recursive. Thus they use feedback. Thus output of IIR filter
depends upon present and past inputs as well as past outputs
Difference equation of the LSI system for IIR filters becomes

N M
y(n)= -∑ ak y(n–k + ∑ bk x(n–k)
k=1 k=0

IIR system requires infinite memory.

Page no: 1 Follow us on facebook to get real-time updates from RGPV


Downloaded from be.rgpvnotes.in

IIR filter is usually more efficient design in terms of computation time and memory requirements. IIR systems
usually require less processing time and storage as compared with FIR.
IIR filter is usually more efficient design in terms of computation time and memory requirements. IIR systems
usually require less processing time and storage as compared with FIR.
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. IIR filters are generally used if sharp cutoff and high
throughput is required.

IIR FILTER DESIGN


1. IMPULSE INVARIANCE
2. BILINEAR TRANSFORMATION
3. BUTTERWORTH APPROXIMATION

IIR FILTER DESIGN - IMPULSE INVARIANCE METHOD


Impulse Invariance Method is simplest method used for designing IIR Filters.

Important Features of this Method are

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.………….

where h(n) is the unit sample response of digital filter and T is sampling interval.

But the main disadvantage of this method is that it does not correspond to simple 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- ∏/T Ω k+ ∏/T of jΩ a is are all apped o the u it ir le ∏ ω ∏. This takes pla e
because of sampling.

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.

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

Page no: 2 Follow us on facebook to get real-time updates from RGPV


Downloaded from be.rgpvnotes.in

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=e ST where s=
σ + j Ω.

Z= eST (Relationship Between Z plane and S plane)

Z= e (σ + j Ω) T

= eσT . ejΩT

Comparing Z value with the polar form we have.

r= e σ T and ω = Ω T

Here we have three conditions

1) If σ = the r=

2) If σ < the <r<

3) If σ > the r>

STANDARD RELATIONS IN IIR DESIGN

Sr No Analog System Function Digital System function

1 1
1
s-a 1- eaT z-1

2 s+a 1- e-aT (cos bT) z-1


(s+a)2 + b2 1-2e-aT (cos bT)z-1+ e-2aTz-2

3 b e-aT (sin bT) z-1


(s+a)2 + b2 1-2e-aT (cos bT)z-1+ e-2aTz-2

Page no: 3 Follow us on facebook to get real-time updates from RGPV


Downloaded from be.rgpvnotes.in

IIR FILTER DESIGN - BILINEAR TRANSFORMATION METHOD:


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 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:

 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 digital zeros. Thus all poles and zeros
are mapped.
 This transformation is basically based on a numerical integration techniques used to simulate an
integrator of analog filter.
 There is one to one correspondence between continuous time and discrete time frequency points.
E tire ra ge i Ω is apped o l o e i to the ra ge -∏ ω ∏.
 Frequency relationship is non-linear. Frequency warping or frequency compression is due to non-
linearity. Frequency warping means amplitude response of digital filter is expanded at the lower
frequencies and compressed at the higher frequencies in comparison of the analog filter.

 But the main disadvantage of frequency warping is that it does change the shape of the desired filter
frequency response. In particular, it changes the shape of the transition bands.
DIFFERENCE BETWEEN IMPULSE INVARIANCE BILINEAR TRANSFORMATION

IMPULSE INVARIANCE BILINEAR TRANSFORMATION

In this method IIR filters are designed having a This method of IIR filters design is based on the
unit sample response h(n) that is sampled trapezoidal formula for numerical integration.
version of the impulse response of the analog
filter.

In this method small value of T is selected to The bilinear transformation is a conformal mapping
minimize the effect of aliasing. that tra sfor s the j Ω a is i to the unit circle in the z
plane only once, thus avoiding aliasing of frequency
components.

They are generally used for low frequencies For designing of LPF, HPF and almost all types of Band

Page no: 4 Follow us on facebook to get real-time updates from RGPV


Downloaded from be.rgpvnotes.in

like design of IIR LPF and a limited class of pass and band stop filters this method is used.
band pass filter

Frequency relationship is linear. Frequency relationship is non-linear. Frequency


warping or frequency compression is due to non-
linearity.

All poles are mapped from the s plane to the z All poles and zeros are mapped.
plane by the relationship

EXAMPLE:
Using bilinear transformation obtain H(z) if

H(s) = 1___
(s+1)2
And T = 0.1s.
SOLUTION:
For Bilinear transformation
H(z) = H(s) where s = 2 (z-1)___
T (z+1)

H(z) = 1_________
2 (z-1) + 1 2
T (z+1)

Substituting T = 0.1 s

H(z) = 1________ = (z+1)2__


2 (z-1) + 1 2 (21z-19)2
(z+1)

Further simplifying

H(z) = 0.0476 (z-1+1)2


(1-0.9048z-1)2

FIR FILTER DESIGN

Page no: 5 Follow us on facebook to get real-time updates from RGPV


Downloaded from be.rgpvnotes.in

Features of FIR Filter


FIR filter always provides linear phase response. This specifies that the signals in the pass band will suffer no
dispersion. Hence when the user wants no phase distortion, then FIR filters are preferable over IIR. Phase
distortion always degrades the system performance. In various applications like speech processing, data
transmission over long distance FIR filters are more preferable due to this characteristic.
FIR filters are most stable as compared with IIR filters due to its non feedback nature.
Quantization Noise can be made negligible in FIR filters. Due to this sharp cutoff FIR filters can be easily
designed.
Disadvantage of FIR filters is that they need higher ordered for similar magnitude response of IIR filters.
Difference equation of FIR filter of length M is given as
M-1
y(n)= ∑ bk x(n–k)
k=0
And the coefficient bk are related to unit sample response as
H (n) = bn for 0 M-1
= 0 otherwise.
We can expand this equation as
Y(n)= b0 x(n) + b1 x(n- + …….. + M-1 x(n-M+1)

System is stable only if system produces bounded output for every bounded input. This is stability definition
for any system.
Here h (n) = {b0, b1, b2,} of the FIR filter are stable. Thus y (n) is bounded if input x (n) is bounded. This means
FIR system produces bounded output for every bounded input. Hence FIR systems are always stable.

FIR Filter Design Methods


The various method used for FIR Filer design are as follows
1. Fourier Series method
2. Windowing Method W (n)

Windowing Technique
Various window functions are used for filter design.
Following are the types of window functions:

Page no: 6 Follow us on facebook to get real-time updates from RGPV


Downloaded from be.rgpvnotes.in

Rectangular Window:

The weighting function for the rectangular window is given by

1 for |n| M - 1
WR = 2
0 otherwise

Hamming Window:

The causal Hamming window function is expressed by

0.54-0.46 cos 2π for 0 n M - 1


WH(n) = M-1
0 otherwise

The non-causal Hamming window function is expressed by

0.54+0.46 cos 2π for 0 n M - 1


WH(n) = M-1 2
0 otherwise

Hanning Window:

The window function of a casual Hanning window is given by

0.5 - 0.5 cos 2π for 0 n M - 1


WHann(n)= M-1
0 otherwise

The window function of a non-casual Hanning window is given by

0.5+ 0.5 cos 2π for 0 n M - 1


WH(n) = M-1 2
0 otherwise

The width of the main lobe is approximately 8π/M a d the peak of the first side lo e is at- 32dB.

Blackman Window function:

Page no: 7 Follow us on facebook to get real-time updates from RGPV


Downloaded from be.rgpvnotes.in

The window function of a casual blackman window is expressed by

0.42 - 0.5 cos 2π + .08 cos 4π for 0 n M - 1


WB(n)= M-1 M-1 2
0 otherwise

The window function of a casual blackman window is expressed by

0.42 + 0.5 cos 2π + .08 cos 4π for n M-1


WB(n)= M-1 M-1 2
0 otherwise

Page no: 8 Follow us on facebook to get real-time updates from RGPV


We hope you find these notes useful.
You can get previous year question papers at
https://qp.rgpvnotes.in .

If you have any queries or you want to submit your


study notes please write us at
rgpvnotes.in@gmail.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy