0% found this document useful (0 votes)
11 views

DSP Practice Problem 4

The document outlines practice problems for a Digital Signal Processing course, focusing on the design and analysis of FIR filters. It includes tasks such as calculating filter coefficients, determining transfer functions, and plotting magnitude and phase responses for various filter specifications. Additionally, it discusses the application of window methods and provides requirements for linear phase FIR filters.

Uploaded by

noorelahibajwa2
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

DSP Practice Problem 4

The document outlines practice problems for a Digital Signal Processing course, focusing on the design and analysis of FIR filters. It includes tasks such as calculating filter coefficients, determining transfer functions, and plotting magnitude and phase responses for various filter specifications. Additionally, it discusses the application of window methods and provides requirements for linear phase FIR filters.

Uploaded by

noorelahibajwa2
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

SIR SYED UNIVERSITY OF ENGINEERING & TECHNOLOGY

DEPARTMENT OF ELECTRONIC ENGINEERING

TE321 DIGITAL SIGNAL PROCESSING


PRACTICE PROBLEM 4

1. A 3‐tap FIR lowpass filter has cutoff frequency of 800 Hz and a sampling rate of
8,000 Hz.
a. Calculate the filter coefficients using the Fourier transform method.
b. Determine the transfer function and difference equation of the designed
FIR system.
c. Compute and plot magnitude and phase response for Ω = 0, π/4, π/2, 3π/4
and π radians.

2. For a 5‐tap bandpass filter with a lower cutoff frequency of 2,000 Hz and sampling
rate of 8,000 Hz.
a. Calculate the filter coefficients.
b. Determine the transfer function.
c. Plot magnitude and phase response for Ω = 0, π/4, π/2, 3π/4 and π radians.

3. Obtain the coefficients of an FIR lowpass filter to meet the specifications given
below using the window method.
Passband edge frequency 1.5 kHz
Transition band 0.5 kHz
Stopband attenuation >50 dB
Sampling frequency 8 kHz

4. A requirement exists for an FIR filter to meet the following specifications:


Passband 150 – 250 Hz
Transition width 50 Hz
Passband ripple 0.1 dB
Stopband attenuation 60 dB
Sampling frequency 1 kHz
Obtain the coefficients and spectrum using window method. In case of Kaiser
window, obtain values for β and N only.

5. Estimate the values of coefficients only for linear phase FIR filter using Kasier
window to satisfy the following amplitude response specifications.
Stopband attenuation 40 dB
Passband ripple 0.01 dB
Transition width 500 Hz
Sampling frequency 10 kHz
Ideal cutoff frequency 1200 Hz
6. Given the calculated FIR filter coefficients
h0(0) = 0.25, h0(1) = h0(‐1) = 0.22508, h0(2) = h0(‐2) = 0.15915, h0(3) = h0(‐3) =
0.07503.
a. Apply Hamming window function to obtain window coefficients h(n).
b. Plot the impulse response h0(n) and windowed impulse response h(n).

7. A 3‐tap FIR filter has cutoff frequency 800 Hz and sampling frequency 8,000 Hz.
a. Design the filter using Hamming window function.
b. Determine the transfer function and difference equation of the designed
FIR system.
Some Common Window Functions

Main lobe Stopband


Name of Transition width
Passband ripple relative to attenuation
window (Hz) Window function w(n)
(dB) side lobe (dB)
function (normalized)
(dB) (maximum)
Rectangular 0.9/N 0.7416 13 21 1

Hanning 3.1/N 0.0546 31 44 . + . ( )

Hamming 3.3/N 0.0194 41 53 . + . ( )

Blackman 5.5/N 0.0017 57 75 . + . + . ( )


− −
2.93/N (β=4.54) 0.0274 50
Kaiser ( { −[ ⁄ − ] } )
4.32/N (β=6.76) 0.00275 70
5.71/N (β=8.96) 0.000275 90
IDEAL IMPULS
SE RESPONSE
ES FOR STAND
DARD FIIR FILTE
ERS
PRACTICE PROBLEM 4 ‐ SOLUTION

You might also like