OCW DSP Chapter 8
OCW DSP Chapter 8
Chapter 8
IIR Filter Structure
OER Digital Signal Processing by Dr. Norizam Sulaiman work is under licensed
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
License.
IIR Filter Structure
• Aims
– To explain type of II filter structure, components and methods to
realize the IIR filter structure.
• Expected Outcomes
z-1
a
1. DIRECT FORM I
2. DIRECT FORM II (CANONIC)
3. CASCADE FORM
4. PARALLEL FORM
IIR Filter Structure : Direct Form I
z-1 z-1
b1 -a1
+ +
z-1 z-1
b2 -a2
+ +
z-1 z-1
bM -aN
IIR Filter Structure : Direct Form I
• Example:
Determine the Direct Form I structure of the IIR Filter
described by the following difference equation;
y(n) = 0.5y(n-1) – 0.76y(n-2) + 0.63y(n-3) + x(n) + 0.875x(n-1)
Solution:
1. Compute the Transfer Function, H(z).
Y(z) = 0.5z-1Y(z) – 0.76z-2Y(z) + 0.63z-3Y(z) + X(z) + 0.875z-1 X(z)
H(z) = Y(z) / X(z) = (1 + 0.875z-1) / (1 - 0.5z-1 + 0.76z-2 - 0.63z-3)
2. Now, draw Direct Form I structure based on the
Transfer Function, H(z).
IIR Filter Structure : Direct Form I
• Example:
3. The Direct Form I IIR Filter Structure is shown below:
1
x(n) + + y(n)
z-1 z-1
0.5
0.875 +
z-1
-0.76
+
z-1
0.63
IIR Filter Structure : Direct Form II (Canonic)
z-1 z-1
w(n) = -a1 w(n-1) + x(n)
-a1 b1 Thus, the output, y(n) = b0 w(n) + b1 w(n-1)
w(n-1) w(n-1)
b0
x(n) + + y(n)
z-1
-a1 b1
w(n-1)
IIR Filter Structure : Direct Form II (Canonic)
• Example:
Determine the Direct Form II (Canonic) structure of the IIR Filter described by
the following difference equation;
y(n) = 0.5y(n-1) – 0.76y(n-2) + 0.63y(n-3) + x(n) + 0.875x(n-1)
Solution:
Draw the structure based on the transfer function obtain from previous example.
1
x(n) + + y(n)
z-1
0.5 0.875
+
-0.76
z-1
+
z-1
0.63
IIR Filter Structure : Cascade Form
• Example:
Determine the Cascade Form structure of the IIR Filter described by the
following difference equation;
y(n) = -¼ y(n-1) + 3/8y(n-2) + x(n) + 2x(n-1) + x(n-2)
Solution:
1. Obtain the transfer function as below;
Y(z) = -¼ z-1Y(z) + 3/8 z-2Y(z) + X(z) + 2z-1X(z)+ z-2X(z)
H(z) = Y(z) / X(z) = (1 + 2z-1+ z-2) / (1 + ¼ z-1 - 3/8z-2)
2. Factorize the transfer function as below;
H(z) = [(1 + z-1)(1 + z-1) / [(1 - ¾ z-1)(1 + ½ z-1)]
3. Split the transfer function to become;
H(z) = H1(z).H2(z) = [(1 + z-1) / (1 - ¾ z-1)].[(1 + z-1) / (1 + ½ z-1)]
IIR Filter Structure : Cascade Form
• Solution:
4. Construct the Cascade structure based on the transfer function;
H(z) = H1(z).H2(z) = [(1 + z-1) / (1 - ¾ z-1)].[(1 + z-1) / (1 + ½ z-1)]
1 1
x(n) + + + + y(n)
z-1 z-1
¾ 1 -½ 1
H1(z) H2(z)
IIR Filter Structure : Parallel Form
• Example:
Determine the Parallel Form structure of the IIR Filter described by the
following difference equation;
y(n) = -¼ y(n-1) + 3/8y(n-2) + x(n) + 2x(n-1) + x(n-2)
Solution:
1. Obtain the transfer function as below;
Y(z) = -¼ z-1Y(z) + 3/8 z-2Y(z) + X(z) + 2z-1X(z)+ z-2X(z)
H(z) = Y(z) / X(z) = (1 + 2z-1+ z-2) / (1 + ¼ z-1 - 3/8z-2)
2. Factorize the transfer function as below;
H(z) = [(1 + z-1)(1 + z-1) / [(1 - ¾ z-1)(1 + ½ z-1)]
3. Split the transfer function using PFE technique to obtain;
H(z) = H1(z) + H2(z) = 8/3 + [(2/30) / (1 - ¾ z-1)] + [(18/5) / (1 + ½ z-1)]
IIR Filter Structure : Parallel Form
• Solution:
4. Construct the structure according to the transfer function below;
H(z) = H1(z) + H2(z) = 8/3 + [(2/30) / (1 - ¾ z-1)] + [(8/5) / (1 + ½ z-1)]
2/30
+
z-1
8/3 ¾
x(n) + + + y(n)
8/5
+
z-1
-½
IIR FILTER STRUCTURE
To construct IIR filter structure
5
To construct the
4 1 To identify
block diagram of difference
the filter. equation of the
x(n) + y(n)
system, y(n)
Z-1
3
-a
2
To identify the To convert the
structure components difference equation
into Transfer
Function, H(z)
Conclusion