DSP Filters
DSP Filters
Course Instructor
Dr. Deepa Sharma
ECE Department
IIIT Bhopal
INTRODUCTION
Filters are LTI systems.
any system that modifies certain frequencies relative to others is also called
a filter.
Discrete-time systems implemented with difference equations fall into two basic
categories: infinite impulse response (IIR) systems and finite impulse response (FIR)
systems.
When discrete-time filters first came into common use, their designs were based on
mapping well-formulated and well-understood continuous-time filter designs to
discrete-time designs through techniques such as impulse invariance and the
bilinear transformation, These resulted in IIR filters and remain at the core of the
design of frequency selective discrete-time IIR filters.
The most prevalent approaches to designing FIR filters are the use of windowing,
The design of filters involves the following stages: the specification of the desired
properties of the system, the approximation of the specifications using a causal
discrete time system, and the realization of the system.
Although these three steps are certainly not independent, we focus our attention
primarily on the second step, the first being highly dependent on the application
and the third dependent on the technology to be used for the implementation.
FIR filters are employed in filtering problems where there is a requirement for a
linear-phase characteristic within the passband of the filter.
However, as a general rule, an IIR filter has lower sidelobes in the stopband than
an FIR filter having the same number of parameters. For this reason, if some
phase distortion is either tolerable or unimportant, an IIR filter is preferable,
primarily because its implementation involves fewer parameters, requires less
memory and has lower computational complexity.
FILTER SPECIFICATIONS
In the design of frequency-selective filters, the desired filter characteristics are
specified in the frequency domain in terms of the desired magnitude and phase
response of the filter.
Figure depicts the typical representation of the tolerance limits associated with
approximating a discrete-time lowpass filter that ideally has unity gain in the
passband and zero gain in the stopband.
The IIR system has an infinite number of non-zero terms, i.e. its impulse
response sequence is of infinite duration
IIR filters are usually implemented using structures having feedback (recursive
structures – poles and zeros).
FIR filters are usually implemented using structures with no feedback (non-
recursive structures – all zeros).
STRUCTURES FOR DISCRETE-TIME
SYSTEMS
The block diagram representation give a pictorial representation of a
computational algorithm for implementing the system.
Unit delay.
Consider a generalized difference equations,
Or,
Draw the Direct Form I and Direct Form II Implementation of the given System.
Solution:
Draw the Direct Form I and Direct Form II Implementation of the given IIR System.
5. The system function of the causal discrete-time filter H (z) is derived from
h[n].
Bilinear transformation
An algebraic transformation between the variables s and z that maps the entire j-axis
in the s-plane to one revolution of the unit circle in the z-plane. Since with this
approach, −∞ ≤ Ω ≤ ∞ maps onto −π ≤ ω ≤ π, the transformation between the
continuous-time and discrete-time frequency variables is necessarily nonlinear.
Therefore, the use of this technique is restricted to situations in which the
corresponding nonlinear warping of the frequency axis is acceptable.
With Hc(s) denoting the continuous-time system function and H (z) the
discrete time system function, the bilinear transformation corresponds to
replacing s by
DESIGN OF FIR FILTERS BY WINDOWING
the design of IIR filters have evolved from applying transformations of continuous-
time IIR systems into discrete time IIR systems.
the design techniques for FIR filters are based on directly approximating the desired
frequency response or impulse response of the discrete-time system.
The simplest method of FIR filter design is called the window method. This method
generally begins with an ideal desired frequency response.
FIR approximation is obtain by truncating the ideal impulse response through the
process referred to as windowing.
DESIGN OF FIR FILTERS BY WINDOWING
FIR Filter Design using the Window Method -
YouTube
Thank You