Professional Documents
Culture Documents
Module:
Digital filters can have characteristics which are not possible with analogue filters, such
as a truly linear phase response.
Unlike analogue filters, the performance of digital filters does not vary with
environmental changes, for example thermal variations. This eliminates the need to
calibrate periodically.
Several input signals or channels can be filtered by one digital filter without the need to
replicate the hardware.
Both filtered and unfiltered data can be saved for further use.
In practice, the precision achievable with analogue filters is restricted; for example,
typically a maximum of only about 60 to 70 dB stopband attenuation is possible with
active filters designed with off-the-shelf components. With digital filters the precision is
limited only by the word length used.
Digital filters can be used at very low frequencies, found in many biomedical applications
for example, where the use of analogue filters is impractical. Also, digital filters can be
made to work over a wide range of frequencies by a mere change to the sampling
frequency.
The following are the main disadvantages of digital filters compared with analogue filters:
Speed limitation. The maximum bandwidth of signals that digital filters can handle, in
real time, is much lower than for analogue filters. In real-time situations, the
analogue/digital- analogue conversion processes introduce a speed constraint on the
digital filter performance. The conversion time of the ADC and the settling time of the
DAC limit the highest frequency that can be processed. Further, the speed of operation of
a digital filter depends on the speed of the digital processor used and on the number of
arithmetic operations that must be performed for the filtering algorithm, which increases
as the filter response is made tighter.
Finite wordlength effects. Digital filters are subject to ADC noise resulting from
quantizing a continuous signal, and to roundoff noise incurred during computation. With
higher order recursive filters, the accumulation of roundoff noise could lead to instability.
Long design and development times. The design and development times for digital filters,
especially hardware development, can be much longer than for analogue filters. However,
once developed the hardware and/or software can be used for other filtering or DSP tasks
with little or no modifications (several examples of this are given in subsequent chapters).
Good computer-aided design (CAD) support can make the design of digital filters an
enjoyable task, but some expertise is required to make full and effective use of such
design aids.
FIR filters can have an exactly linear phase response. The implication of this is that no
phase distortion is introduced into the signal by the filter. This is an important
requirement in many applications, for example data transmission, biomedicine, digital
audio and image processing. The phase responses of IIR filters are non-linear,
especially at the band edges.
(2)
FIR filters realised non recursively (i.e.: they operate only on past input samples), that
is by direct evaluation of the convolutional sum, these filters are always stable. The
stability of IIR filters cannot always be guaranteed.
(3)
The effects of using a limited number of bits to implement filters such as roundoff
noise and coefficient quantisation errors are much less severe in FIR than in IIR.
(4)
FIR requires more coefficients for sharp cut-off filters than IIR. Thus for a given
amplitude response specification, more processing time and storage will be required
for FIR implementation. However, one can readily take advantage of the
computational speed of the FFT and multirate techniques to improve significantly the
efficiency of FIR implementations.
(5)
Analogue filters can be readily transformed into equivalent IIR digital filters meeting
similar specifications. This is not possible with FIR filters as they have no analogue
counterpart. However, with FIR it is easier to synthesise filters of arbitrary frequency
responses.
(6)
From the above, a broad guideline on when to use FIR or IIR would be as follows. Use IIR
when the only important requirements are sharp cut-off filters and high throughput, as IIR
filters, especially those using elliptic characteristics, will give fewer coefficients than FIR.
Use FIR if the number of filter coefficients is not too large and, in particular, if little or no
phase distortion is desired. One might also add that newer DSP processors have architectures
that are tailored to FIR filtering, and indeed some are designed specifically for FIRs.
Part One:
Practical Activities
Part Two:
FIR Filter Design. Using the appropriate design equations design your
own set of FIR filter co-efficients in order to fulfil the given design
criteria. You need to demonstrate for the first two iterations, by hand,
the calculation of the coefficients. Obviously, this can be a rather
repetitive process and if you are not extremely careful you will make
mistakes. It is recommended (essential) that you write a small program
to calculate the co-efficients for you - i.e. write a MATLAB based
program to design your filter. Once the programme is working check
that the hand calculated coefficients much the one obtained using the
Matlab program for the first two iterations.
Part Three:
Part Four:
Filter Simulation. Import your filter design into SPTOOL and using a
suitable test signal file, verify that your filter works correctly.
During the assignment period you should present your FIR filter design
to the subject tutor i.e. using MATLAB demo your calculation
software.
Part Six:
You will write a detailed technical report of approx. 2000 words long
plus diagrams, charts and programs- the content of which will be as
detailed below. You should bring together relevant information
obtained through the research periods of the assignment, collate results
from your practical activities and present your findings in a clearly
written analytical report. The report will demonstrate that you have
undertaken an extensive level of research activity and that you have
understood the subject matter to an appropriate level.
Project details: Name of the project, Course title, Module title, Filter
specification parameters (given individually), Year written, Your name.
General review of FIR design method used: An explanation of how
you designed the FIR filter, the methods, processes and equations used.
If you decided to write a program to help calculate the filter coefficients discuss the use of this program here include a copy of your
Once you have completed your filter design, you need to approach
the tutor to demonstrate your working filter and a mark will be
awarded (need to be done during one of the lab session by Friday 11
December 2015). Do plan accordingly.
Part Eight:
20% Success of FIR filter designs (with/without assistance of tutor) (Part Seven).
Assessment Criteria
In order to pass the module THIS ASSESSED WORK MUST BE ATTEMPTED AND THE
WORK SUBMITTED VIA E-submission
Assessment is based upon the achievement or non-achievement of learning outcomes and the
grade achieved. In evaluating the students performance the assessor compares the students
work with the set of grade descriptors shown in the Assessment Grade table in the
Assessment Regulations handbook or Rights, Responsibilities and Regulations handbook.
The university assessment grading scale and related regulations can be accessed via:
http://www.derby.ac.uk/academic-regulations
Class
Outcome
First
Upper Second
Lower second
Grade Descriptors
Third
40-49%
50-59%
60-69%
70-79%
80-89%
90-100%
Percentage
Level 6
Fail
35-39%
1-34%
NS