Professional Documents
Culture Documents
Digital Design
of Filters
(FIR,IIR)
Part 2
Prepared by:
Ayad Saadi Ahmed Natheer Mutlag Mohammed
Supervised by:
Dr. Mohammed Younis
Infinite Impulse Response Filter (IIR)
• IIR can be described by the equation:
2
Bilinear Transformation Method
• To convert between (s-domain) and (z-domain):
3
Steps of the design
procedure
4
• IIR filter design depends on analog lowpass filter prototype method.
• This method converts analog LPF with a certain frequency, called lowpass prototype into
practical analog LPF, HPF, BPF and BSF.
• Finally, Applying Bilinear Transformation to convert to a digital form.
For BPF and BRF: 𝝎𝒅, 𝝎𝒂 ∶ 𝒅𝒊𝒈𝒊𝒕𝒂𝒍 𝒂𝒏𝒅 𝒂𝒏𝒂𝒍𝒐𝒈 𝒇𝒓𝒆𝒒𝒖𝒆𝒏𝒄𝒚 𝒓𝒆𝒔𝒑𝒆𝒄𝒕𝒊𝒗𝒍𝒚
5
• To convert from Lowpass prototype into desired analog type
6
Bilinear Transformation Method
7
Bilinear Transformation Method
8
Example
Solution
9
10
Bilinear Transformation Method
Design a first-order high-pass digital filter (Chebyshev type) with a cut-off
Example
frequency of 3 kHz and 1 dB ripple on the pass-band using a sampling
frequency of 8,000 Hz.
Solution
Digital frequency (rad/s):
Applying BLT:
11
Bilinear Transformation Method
Dividing by 1.9625
Applying BLT:
12
Bilinear Transformation Method
Design a second-order digital band-pass Butterworth filter with the following specifications:
Example
Solution
Digital frequencies:
Applying transformation
LPF to BPF:
Applying BLT:
14
Key Differences Between (FIR) and (IIR)
➢ FIR filter generates an output of a dynamic system using the samples of present
and past input values. While an IIR filter uses present and past input values along
with the past output value to generate the present output.
➢ FIR filters do not use feedback circuitry, while IIR filters make use of feedback
loop in order to provide previous output in conjunction with current input.
➢ The transfer function of the system having an FIR filter contains only zeros.
While in the case of IIR filters the transfer function contains both poles and zeros.
➢ Due to the absence of the feedback loop, the implementation of FIR filters in a
system is quite easy in comparison to IIR filters in which a feedback loop is
present.
➢ FIR filters are more stable as here the present output does not hold any
relationship with the previous output. But IIR filters are less stable as it makes use
of previous output samples as well.
➢ FIR filters need greater processing power in comparison to IIR filters.
15
Application1: 60 –Hz Hum Eliminator
Hum noise : created by poor power supply or electromagnetic interference and
characterized by a frequency of 60 Hz and its harmonics.
16
Application 2: ECG Pulse
The ECG signal is produced by the electrical activity of the human heart, it is characterized
by five peaks and valleys P, Q, R, S, and T.
17
Application 2: ECG Pulse
18