DSP Report
DSP Report
DSP Report
I.
a.
b.
Project Understanding
INTRODUCTION
Project Background
c.
Objectives
d.
Scope of Project
In our project, it was design for two filters with cutoff
frequency given. For FIR Bandstop filter were given fc1 =
14 Hz and fc2 = 36 Hz. Then, for IIR Lowpass filter with
cutoff frequency fc3 = 25 Hz. Beside this filter, a discrete
2
input signal also created that will as input signal that will
be analyze. The input signal will be filtered for each filter
and also combine of both filters. That means, there are
two designs of digital filter of this project and will be
using Matlab Simulink as design algorithm of this digital
filter.
II.
a.
f.
g.
Software Design
b.
c.
Discrete
Random
Input
Signal
Digital
Filter
Filtered
Output
Signal
b.
Software Structure.
Figure 3: First Design of Digital Filter that analyze of each Digital Filter
Output
d.
e.
3
Figures 5 and Figures 6 was show the parameter of the
FIR Bandstop filter and IIR Lowpass filter inserted at
FDATool Block.
Figure 6(b): Time Domain and Frequency Domain for FIR Digital Filter using
Hamming Windows
Figure 7: Design IIR Lowpass filter and the cut off frequency fixed at -3dB.
Figure 5 FIR Bandstop Parameters was inserted at FDATool Block.
III.
a)
RESULT ANALYSIS
Software Analysis
In this chapter will explain how the design of the digital filter
that have created working at the all the input and the output
signal was analyze to make sure the specification of the digital
filter same as the given . For the input signal, we were used a
sin wave block and the random block to create a discrete input
signal. The summing block is used to sum the two signals
together and become as input signal. A Digital Filter was
filtered the input signal either used FIR Bandstop filter and
IIR Lowpass filter. The Figure 6 and Figure 7 was show the
design specification for FIR Bandstop filter and IIR Lowpass
filter and it will compare to the output result.
The below show the step and calculation to find the impulse
response of FIR Bandstop digital filter:
Figure 6 (a): Design specification of FIR Bandstop filter and the cut off
frequency was fixed at -6dB using window Hamming
Fo =0.5 ( F 2+ F 3 )=0.25
F c=0.5 ( F 3 + F 4 )F o =0.06
F p =0.5 ( F p 1 + F p 2 )=0. 11
F s=0.5 ( F s 1+ F s2 ) =0. 01
FT =FpFs=0. 10
N=
C
FpFs
From the result at Figure 9 (a), the signal after filtered is more
smoothly compare before filtered.
Finally for the second design of the digital filter, we had
combine the both filter and the output result was show analyze
and show at Figure 11.
The Figure 9(a) and Figure 9(b) show the magnitude and the
phase of design digital filter
Figure 11: Combination of FIR Bandstop filter and IIR Lowpass filter.
From the Figure 11, the output signal was really smoothly
signal and almost same as sinusoidal form. The signal was
better than the previous result that just used a separately
digital filter. The ripple almost of this signal almost gone and
show that the noise is less.
IV.
Figure 9 (a): The magnitude and the phase of the Digital IIR Low Pass Filter
using Butterworth
CONCLUSION
Figure 9(b): The magnitude and the phase of the Digital FIR Bandstop Filter
using Hamming Windows
5
http://www.gobookee.net/analog-and-digital-signalprocessing-ashok-ambardar/
[4] Samir V. Ginde & Joseph A.N. Noronha, DESIGN OF IIR
FILTERS.
http://www.mikroe.com/chapters/view/73/chapter-3-iir-filter
[5] FIR Filter Design
http://www.mathworks.com/help/signal/ug/fir-filterdesign.html?requestedDomain=www.mathworks.com