Elec 9305: Digital Signal Processing
[pic 1]ELEC 9305: Digital Signal Processing Lab#2 Report Design and Testing of FIR Low-Pass FilterTailin Wang 460071145B.DesignProcedureNT.W. = 3.0 kHz-2.5 kHz = 0.5 kHzRectangular: 109.2 (0.91*fs/T.W.)Hamming: 412.8 (3.44*fs/T.W.)Cutoff frequency: 2.75 kHz = (fs1+fp1)/24. [pic 2]Figure 15. 100Hz[pic 3][pic 4] Hamming Rectangular1000Hz[pic 5][pic 6]Hamming Rectangular2000Hz[pic 7][pic 8]Hamming Rectangular2500Hz[pic 9][pic 10]Hamming Rectangular2700Hz[pic 11][pic 12]Hamming Rectangular2800Hz[pic 13][pic 14]Hamming Rectangular
3000Hz[pic 15][pic 16]Hamming RectangularC. Real time testingDemonstration Exercise 1: when frequency is from 1 kHz to 15 kHz, tones are getting shaper and shaper; when frequency is over 15 kHz, we cannot hear the tones.FIR Filter Measurement:Measurement for FIR low pass filter designed with Rectangular windowInput FrequencyInput MagnitudeOutput MagnitudeFilter Gain in dBRelative Gain in dB100Hz640mV672mV0.4237860.286781000Hz640mV680mV0.5265790.345822000Hz640mV688mV0.6281690.387842500Hz640mV592mV-0.677165-0.93032700Hz640mV400mV-4.082399-4.79312800Hz640mV280mV-7.180439-8.16793000Hz640mV96mV-16.47817-21.041