Beruflich Dokumente
Kultur Dokumente
=
Ap
Ap
p
o
o
s
= 10
-As/20
(d) Calculate the weight factors of stop band and pass band by finding o
s
/ o
p
.
(e) Calculate the filter length N by using the following formulae by (Mintzer and Liu) referring to
page 371 of your text book,
| |
| |
6 10 5
2
10 4
3 10 2
2
10 1 10
) (log ) (log
) (log ) (log log ) , (
1 ) , (
) , (
b b b
b b b C
where
F g
F
C
N
p p
p p s s p
s p
s p
+ + +
+ + =
+ A +
A
~
o o
o o o o o
o o
o o
and
9 . 16 log 6 . 14 ) , (
10
(
=
s
p
s p
g
o
o
o o
b1 = 0.01201, b2 = 0.09664, b3 = -0.51325;
b4 = 0.00203, b5 = -0.57054,b6 = -0.44314;
AF = transition width normalized to the sampling frequency.
(f) Determine the filter order N1 = N -1.
(g) Draw the filter realization diagram for linear phase structure.
II. MATLAB programming
(a) Write a MATLAB program by applying the calculated design parameters to compute filter
coefficients and to plot magnitude frequency response spectrum.
(b) Verify the designed filter meets the given specifications.
III. Real time filter implementation on DSP chip
(a) Check the hardware status of DSK board by applying DSK diagnostic tools.
(b) Apply CCS - C studio software tools to interface software programs and DSK hardware.
(c) Apply debug tool in CCS - C for the software diagnostics and connection of target DSK
board.
(d) Export filter coefficients generated by your MATLAB program to CCS - C.
(e) Write a CCS - C program in order to implement the digital filter for given specifications by
using calculated filter coefficients.
(f) Create a CCS - C project to include supporting files and necessary information for compiler,
assembler, linker and other interfacing options.
(g) Emulate real time FIR digital filter on DSP chip and obtain the magnitude frequency
response spectrum.
(h) Compare and investigate the filter characteristics obtained from MATLAB and CCS C.
Verify designed filter meets the given specifications.