FIR Project

Statement of the Problem:

The objective of this project is to use three different design methods to design a low-pass filter that meets specifications given, and then compare these three different methods through different parameters. In this project, seven filters should be designed using Matlab. And we compare them on worst case gain, largest tap weight coefficient, maximal passband and stopband error, magnitude frequency response, impulse response, group delay and zeros/poles location. Finally, use these filters to do filtering, and then compare their responses to the predicted one.

Discussion of Results:

  • Part 1: Window Method

(a) Use fir1 function to synthesize an FIR that meets specifications using a boxcar window.

Worst gain = 1.8372                                  Largest tap weight coefficient = 0.3694

Maximal passband error = 0.1678                        Maximal stopband error = 0.0795

     

(b) Use Hann window to synthesize an FIR that meets specifications.

Worst gain = 1.4154                               Largest tap weight coefficient = 0.3496

Maximal passband error = 0.0052                     Maximal stopband error = 0.2385

   

**Filter #1 is the unwindowed design, and Filter #2 is the windowed design.

From the comparison above, we can see that the unwindowed design has a more critical passband and stopband edge, but the windowed one has a smaller maximal passband error as we expected. Also, the windowed one has a larger attenuation on stopband than the unwindowed one. The group delay responses of two designs are the same.

(c) Use Kaiser window to synthesize an FIR that meets specifications

Worst gain = 1.6900      Largest tap weight coefficient = 0.3500     N = 21 (which is in 20 in matlab)

Join now!

Maximal passband error = 0.0706                      Maximal stopband error = 0.0852

 

** Filter #1 is the unwindowed design, and Filter #2 is the kaiser design.

From the comparison above, we can see that both designs have critical passband and stopband edges, but the kaiser one has a smaller maximal passband error as we expected. Also, the kaiser one has a smaller attenuation on stopband compare with the unwindowed one. The group delay responses of two designs are different, the Kaiser one only has 20th order, so the group ...

This is a preview of the whole essay