1 / 8

Lab 8 Window based FIR filter

Lab 8 Window based FIR filter. Using SystemView. Window based FIR filter. Lab objective Use SystemView to simulate/analyze the window based filter we implemented with Matlab in Lab 7.

gurit
Download Presentation

Lab 8 Window based FIR filter

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lab 8 Window based FIR filter Using SystemView

  2. Window based FIR filter Lab objective Use SystemView to simulate/analyze the window based filter we implemented with Matlab in Lab 7. If all goes well, next week we’ll do a realtime implementation of this filter using the Analog Devices EZ-Kits.

  3. Window based FIR filter Launch SystemView. Construct a system using an operator, a source and a sink. Make the sample rate 8000 Hz Make the operator one of the “Filters / Systems” type. Select “Linear Sys. Filter” Set its parameters as follows: Set “No. Numerator Coeffs” to 29 (for a 29 tap FIR filter) and set “No. Denominator Coeffs” to 1 (no feedback terms in an FIR filter). Make the single denominator coefficient 1.0

  4. Window based FIR filter Download the file coeffs.txt import it into the simulation by clicking on FileOpen Coefficient File (in the parameter dialog). Select “Text” for the data format, then click on “Select File”. Choose the file you downloaded. Click OK, then OK again. The coefficients should appear in the parameter dialog. Press the “Time” button, and you’ll see the impulse response. The dialog should now look like this:

  5. Window based FIR filter You can now look at the filter’s frequency response by pressing “Gain”, and you can try the other buttons. Turn in a screen shot of the gain plot. Edit the source token. Make it a sinusoid, amplitude = 1, frequency = 1500 Hz. Make the sink token a Systemview graphic token. Run the simulation. The result should look like this: (note that 1500 Hz is in the passband) Turn in a screen shot.

  6. Window based FIR filter Run it again, but make the input frequency 3 KHz. (in the stopband. Turn in a screen shot.

More Related