Infinite Impulse Response Filter Design
Infinite Impulse Response Filter Design
Infinite Impulse Response Filter Design
Specifications 1: phone number can be written as 484 8496. Stopband attenuation Rs=40dB
Passband ripple Rp=1dB.
the center frequency of your bandpass filter as 8496Hz.
The basic structure of passband filter has been shown in figure
the bandwidth of your bandpass filter as 484Hz. 1, where
Fstop1=8496-484=8012
Specifications 2: stop band attenuation equal to 40dB.
passband ripple less than or equal to 10dB. stop band Fpass1=8496-484/2=8254
frequencies is selected as 8990(=8496 +484)Hz and 8012 Fpass2=8496+484/2=8738
(=8496 -484) Hz Fstop1=8496+484=8999
Following figure shows the magnitude of Chebychev I filter Following figure shows the magnitude of Elliptical filter
separately. It shows the filter can meet the specification well. separately. It shows the filter can meet the specification well.
The Elliptical filter was also designed with 4th order according
to ellipord() and its magnitude, phase and group delay have Figure 5 Elliptical Filter Magnitude
been shown in the following figure.
It can also be seen that group delay exists during the pass band. For the purpose of comparison among different types of IIR
and FIR filter, FIR filter with 500 order was also designed.
The FIR filter was also designed with 500 order according to
and its magnitude, phase and group delay have been shown in
the following figure.
It can be seen that group delay was a fixed value of 250, half of
the filter order and it exits along the frequency axis.
The follow figure shows the 1 st sinusoidal signal with 8300Hz
passes through three different type filter. All three filters have
delay than original input signal. And the magnitude of signal
from FIR attenuated most. The elliptical filter reduced the
signal magnitude less than FIR filter does. And the magnitude
of signal from Chebychev 1 filter attenuated less and is most
closed to the original output.
In the stop band band, FIR takes about 0.01s, Elliptical takes
about 0.005s, Chebychev I takes about 0.009s.
The pulse response of IIR is shown in following two figures. One is
Chebychev, the other is Elliptical. Both of their length are infinite. The
magnitude is 0.03. This magnitude is same as FIR filter’s.
The following figures show that the noise filtering performance of three filter.
Only the noise whose frequency within the passband of the filter can be output.
Figure 14 Impulse response of Chebychev Filter Or the other noise whose frequency in the stop band is eliminated by these
filers. So the filters have good performance.
F
igure 15 Impulse response of Elliptical Filter
Conclusion
Through the Matlab code program three different filters were analyzed. The
performance of filters and design process of IIR and FIR filter were learned.