Professional Documents
Culture Documents
CPEN 304 L04 - Digital - Filters
CPEN 304 L04 - Digital - Filters
Lecture 4
Digital Filters and properties
October 12, 2021
Dr. Godfrey A. Mills
Email: gmills@ug.edu.gh
Phone: 020-549-6944
Course TA
1 CPEN 304 Lecture 4 Baron Afutu
OUTLINE OF DSP COURSE
Course outline
Digital signal processing
Discrete systems
Z-transforms
Digital filters and properties
IIR digital filter design I (specifications)
IIR digital filter design II (design methods)
FIR digital filter design I
FIR digital filter design II
IIR and FIR digital filter implementation
Number representation
Filter design application
2 CPEN 304 Lecture 4
OUTLINE #4
Digital filtering and characteristics
Time and frequency domain filtering
Digital filter types and characteristics
FIR digital filters
IIR digital filters
Simple FIR digital filters
First order Lowpass and Highpass filters
Higher order Lowpass and Highpass filters
Simple IIR digital filters
First order Lowpass and Highpass filters
Higher order Lowpass and Highpass filters
Second order Bandpass and Bandstop filters
3 CPEN 304 Lecture 4
What is filtering
Filtering refers to process of extracting important features
or components of some data while eliminating or suppressing
the contributions from noise or other unwanted features;
We use term filter to describe any system (device or circuits
or program) that is designed to examine each input
request to ensure meeting certain qualifying criteria
or perform some form of discrimination and process
the input accordingly
We use this kind of filter to either suppress noise in signals or
to separate signals into bandwidth channels
We can design filter circuits capable of selectively filtering
out one frequency or a range of frequencies amongst a range
different frequencies in a circuit
4 CPEN 304 Lecture 4
Characteristics of filters
Any filter (be it analog or digital) is designed to pass signals of
certain frequency contents without any distortion must have:
frequency response with a maximum magnitude value of
ONE at those frequencies of interest >> passband range
frequency response with magnitude value of ZERO at all
other frequencies to totally block the signal components
with those frequencies >> stopband or attenuation range;
Since analog circuit performs filtering on signals that pass
through the circuit >> it is important for the circuit designer
to understand how to design and construct filters to achieve
the best filtering results
Now, suppose we have a simple LTI discrete filter system that
has a length of 3 and impulse response h[n] as h[n] = {a, b, a}.
5 CPEN 304 Lecture 4
Characteristics of filters
Cont’d…..
We can define an expression to describe this filter since we
know the components of the impulse h[n] as
h[0] = a, h[1] = b, and h[2] = a
Using the convolution sum expression, we can determine the
output y[n] of the filter system as :
>> y[n] = h[0]x[n] + h[1]x[n-1] + h[2]x[n-2]
To find the filter transfer function, we perform z-transform
which gives our filter
>> H(z) = h[0] + h[1]z-1 + h[2]z-2
Above filter is non-recursive type of filter (no feedback) and
has coefficients h[0], h[1], and h[2]
6 CPEN 304 Lecture 4
Characteristics of filters
Cont’d…..
We can sketch the filter system block diagram, and find the
magnitude response characteristics
To find the frequency response H(.) of the system, we replace
the complex z with ejw in the transfer function H(z) :
>> H(ejw) = e-jw [b + a(ejw +e-jw )] = e-jw [b + 2acos(w)]
We can find the frequency response of system by finding the
discrete Fourier transform of system impulse response h[n]
It is clear from above that we can evaluate a filter system (how
filter performs) performance in time or the frequency domain
To examine the filter in each of the domains require certain
key parameters that define the filter in that domain
7 CPEN 304 Lecture 4
Time domain filtering concept
To evaluate how a filter is performing in the time domain, we
rely on the key parameters such as impulse response, a step
response, and frequency response
Step response of a filter system is obtained by integrating the
impulse response while the frequency response is obtained by
from the impulse response by using the Fourier transform
We use the step response of a system to measure or evaluate
how well the designed filter performs in the time domain
Three step response parameters important in design of filters :
Rise time or transition speed of the step response
common way to specify this is to quote the number of
samples between 10% and 90% amplitude levels
Overshoot of the response
8 CPEN 304 Lecture 4
Time domain filtering concept
Cont’d…..