Professional Documents
Culture Documents
IIR اوس و يحيى رحاب
IIR اوس و يحيى رحاب
(IIR) filter
3
Stability in S-domain compared to Z-domain
➢ The system conceded to be stable in s-domain if the poles are
mapped in the left half of s-plane, while in z-domain the
system conceded to be stable if poles are located inside the
unity circle (casual).
➢ The system conceded to be marginally stable in s-domain if the
poles are located on the imaginary axis of s-plane, while in z-
domain the system conceded to be marginally stable if poles
are located on the rim of unity circle (semi-casual).
➢ The system conceded to be unstable in s-domain if the poles
are mapped in the right half of s-plane, while in z-domain the
system conceded to be unstable if poles are located outside
the unity circle (anti-casual).
IIR DSP-PhD 23-24
4
Stability in S-domain compared to Z-domain
The figure explain stability relation between s-domain and z-
domain
S-plane Z-plane
IIR DSP-PhD 23-24
IIR Design 6
Bilinear Transformation Method
𝟏 + 𝒔𝑻ൗ𝟐
𝒛=
𝟏 − 𝒔𝑻ൗ𝟐
𝟐𝒛−𝟏
𝒔=
𝑻𝒛+ 𝟏
IIR DSP-PhD 23-24
IIR Design 7
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.
For Low and High Pass Filters:
𝟐 𝝎𝒅 𝑇 𝝎𝒂 analog frequency
𝝎𝒂 = tan 𝝎𝒅 digital frequency
𝑻 2
For Pass and Stop Band Filters:
𝟐 𝝎𝒍 𝑇 𝟐 𝝎𝒉 𝑇
𝝎𝒂𝒍 = tan ; 𝝎𝒂𝒉 = tan
𝑻 2 𝑻 2
Center frequency 𝝎𝟎 = 𝝎𝒂𝒍 𝝎𝒂𝒉
Bandwidth 𝑾 = 𝝎𝒂𝒉 − 𝝎𝒂𝒍
IIR DSP-PhD 23-24
IIR Design 8
To Convert from Lowpass prototype into desired analog type
From low pass To low pass Filter:
𝑯(𝒔) = 𝑯𝒑 (𝒔)ቚ 𝒔
𝒔=𝝎
𝒂
From low pass To high pass Filter:
𝑯(𝒔) = 𝑯𝒑 (𝒔)ቚ 𝝎
𝒔= 𝒔𝒂
From low pass To band pass Filter:
𝑯(𝒔) = 𝑯𝒑 (𝒔)ቚ 𝒔𝟐 +𝝎𝟎 𝟐
𝒔=
𝒔𝑾
From low pass To band stop Filter:
𝑯(𝒔) = 𝑯𝒑 (𝒔)ቚ 𝒔𝑾
𝒔= 𝟐
𝒔 +𝝎𝟎 𝟐
Finally, Applying Bilinear Transformation to convert to a digital
form. 𝑯(𝒁) = 𝑯(𝒔)ቚ 𝟐𝒛−𝟏
𝒔=
𝑻𝒛+𝟏
IIR DSP-PhD 23-24
IIR Design 9
From low pass To low pass Filter:
IIR Design 10
From low pass To band pass Filter:
13
𝟎. 𝟓𝟕𝟕𝟑
=
𝒛−𝟏
𝒛 + 𝟏 + 𝟎. 𝟓𝟕𝟕𝟑
𝟎. 𝟓𝟕𝟕𝟑(𝒛 + 𝟏)
=
𝒛−𝟏
𝒛 + 𝟏 + 𝟎. 𝟓𝟕𝟕𝟑 (𝒛 + 𝟏)
𝟎. 𝟓𝟕𝟕𝟑𝒛 + 𝟎. 𝟓𝟕𝟕𝟑
=
𝒛 − 𝟏 + 𝟎. 𝟓𝟕𝟕𝟑(𝒛 + 𝟏)
𝟎. 𝟓𝟕𝟕𝟑𝒛 + 𝟎. 𝟓𝟕𝟕𝟑
=
𝟏. 𝟓𝟕𝟕𝟑𝒛 − 𝟎. 𝟒𝟐𝟐𝟕
IIR DSP-PhD 23-24
𝒔
𝑯(𝒔) =
𝒔 + 𝟏. 𝟗𝟔𝟖𝟑 × 𝟏𝟎𝟒
𝟐 𝒛−𝟏
➢ Apply BLT, 𝒔 = 𝑻 𝒛+𝟏 yield
𝒛−𝟏
𝟏𝟔𝟎𝟎𝟎 𝒛 + 𝟏 𝟎. 𝟒𝟒𝟖𝟒 − 𝟎. 𝟒𝟒𝟖𝟒𝒁−𝟏
𝑯(𝒁) = =
𝒛−𝟏 𝟒 𝟏 + 𝟎. 𝟏𝟎𝟑𝟐𝒁−𝟏
𝟏𝟔𝟎𝟎𝟎 𝒛 + 𝟏 + 𝟏. 𝟗𝟔𝟖𝟑 × 𝟏𝟎
IIR DSP-PhD 23-24
𝝎𝒍 = 𝟐𝝅𝒇𝒍 = 𝟐𝝅 × 𝟐𝟒𝟎𝟎
= 𝟒𝟖𝟎𝟎𝝅
𝝎𝒉 = 𝟐𝝅𝒇𝒉 = 𝟐𝝅 × 𝟐𝟔𝟎𝟎
= 𝟓𝟐𝟎𝟎𝝅
𝟐 𝝎𝒍 𝑇 𝟒𝟖𝟎𝟎𝜋ൗ
𝝎𝒂𝒍 = tan = 𝟏𝟔𝟎𝟎𝟎 tan 𝟖𝟎𝟎𝟎
𝑻 2 2
= 𝟐. 𝟐𝟎𝟐𝟐 × 𝟏𝟎𝟒
𝟐 𝝎𝒉 𝑇 𝟓𝟐𝟎𝟎𝜋ൗ
𝝎𝒂𝒉 = tan = 𝟏𝟔𝟎𝟎𝟎 tan 𝟖𝟎𝟎𝟎
𝑻 2 2
= 𝟐. 𝟔𝟏𝟏𝟎 × 𝟏𝟎𝟒
𝝎𝒍 = 𝟐𝝅𝒇𝒍 = 𝟐𝝅 × 𝟐𝟒𝟎𝟎
= 𝟒𝟖𝟎𝟎𝝅
𝝎𝒉 = 𝟐𝝅𝒇𝒉 = 𝟐𝝅 × 𝟐𝟔𝟎𝟎
= 𝟓𝟐𝟎𝟎𝝅
𝟐 𝝎𝒍 𝑇 𝟒𝟖𝟎𝟎𝜋ൗ
𝝎𝒂𝒍 = tan = 𝟏𝟔𝟎𝟎𝟎 tan 𝟖𝟎𝟎𝟎
𝑻 2 2
= 𝟐. 𝟐𝟎𝟐𝟐 × 𝟏𝟎𝟒
𝟐 𝝎𝒉 𝑇 𝟓𝟐𝟎𝟎𝜋ൗ
𝝎𝒂𝒉 = tan = 𝟏𝟔𝟎𝟎𝟎 tan 𝟖𝟎𝟎𝟎
𝑻 2 2
= 𝟐. 𝟔𝟏𝟏𝟎 × 𝟏𝟎𝟒
𝒔𝟐 + 𝟓. 𝟕𝟒𝟗𝟗 × 𝟏𝟎𝟖
𝑯(𝒔) = 𝟐
𝒔 + 𝟒𝟎𝟖𝟖𝒔 + 𝟓. 𝟕𝟒𝟗𝟗 × 𝟏𝟎𝟖
𝟐 𝒛−𝟏
➢ Apply BLT, 𝒔 = yield
𝑻 𝒛+𝟏 𝒛−𝟏 𝟐
(𝟏𝟔𝟎𝟎𝟎 × ) +𝟓. 𝟕𝟒𝟗𝟗 × 𝟏𝟎𝟖
𝒛+𝟏
𝑯(𝒁) =
𝒛−𝟏 𝟐 𝒛−𝟏
(𝟏𝟔𝟎𝟎𝟎 × ) +𝟒𝟎𝟖𝟖 × 𝟏𝟔𝟎𝟎𝟎 × + 𝟓. 𝟕𝟒𝟗𝟗 × 𝟏𝟎𝟖
𝒛+𝟏 𝒛+𝟏