Structures For Discrete-Time Systems: Block Diagram and Signal Flow Graph
Structures For Discrete-Time Systems: Block Diagram and Signal Flow Graph
Structures For Discrete-Time Systems: Block Diagram and Signal Flow Graph
Given H ( z ) =
Example:
b0 + b1 z 1
1 az 1
z>a
IIR
x1
Scalar (Multiplication by
Adder
x1
x2
x2
x[n 1]
x[n]
z 1
x[n 1]
a constant)
Unit delay
x[n]
NCTU EE
H (z ) =
bk z k
k =0
N
1 a k z k
k =1
k =0
k =1
H ( z ) = H 2 ( z )H 1 ( z ) =
H (z )
Y (z )
= H 2 ( z )V ( z ) 1
X (z )
V (z )
Y ( z ) = H 2 ( z )V ( z ) y[n] ak y (n k ) = v[n]
X ( z ) = V ( z ) H1 ( z )
V ( z ) = H1 ( z ) X ( z ) v[n] = bk x[n k ]
V ( z ) = bk X (k )z k
Y ( z ) akY ( z )z k = V ( z )
Y ( z ) = V ( z ) + akY ( z )z k
NCTU EE
-- Interchange 1st and 2nd segments and merge the delay lines ( z
NCTU EE
Cascade Form
-- Serial connection of 1st order and 2nd order factors
bok + b1k z 1 + b2 k z 2
1
2
k =1 1 a1k z a2 k z
Nx
H (z ) =
1 a
The 5-multiplier sections are commonly used when implemented with fix-point arithmetic.
Parallel Form
-- Parallel connection of 1st order and 2nd order factors
H (z ) =
Np
k =0
NCTU EE
eok + e1k z 1
1
a2 k z 2
k =1 1 a1k z
Ns
Ck z k +
F ( z)
1 + F ( z ) B( z )
-- If a system has poles, a corresponding block diagram or signal flow graph will have
feedback loops.
(BUT neither poles in the system function nor loops in the network are sufficient for
the impulse response to be infinitely long.)
-- A delay element is necessary in the feedback loop; otherwise, it is noncomputable.
(The structure should be modified to eliminate the noncompuable loops.)
H ( z) =
Transpose Forms
-- Transposition of a flow graph is reversing the directions of all branches in the network
while keeping the branch transmittances (as they were) and reversing the roles of the
input and output (so that source nodes become sink nodes and vice versa).
-- Flow Graph Reversal Theorem
For single-input, single-output systems, the transposed flow graph has the same system function as the original graph if the input nodes and output nodes are interchanged.
NCTU EE
y[n] =
bk x[n k ]
-- convolution
k =0
Cascade Form
-- Serial connection of 1st order and 2nd order factors
Ms
H ( z ) = bok + b1k z 1 + b2 k z 2
k =1
NCTU EE
h[M n] = h[n]
y[n] =
h[k ]x[n k ]
k =0
M 1
2
M
M
h[k ]x[n k ] + h 2 x n 2 + h[k ]x[n k ]
k =0
M
1
2
k =0
k=
M
+1
2
M
M
= k ]) + k x n
2
2
M 1
2
k =0
Linear-phase FIR filters can also be implemented as a cascade of 1st-order, 2nd-order, and
4th-order real-coefficient systems. (The 4th-order system is formed by grouping the
conjugate and the conjugate reciprocal zeros together.)
NCTU EE
)
x = X m b0 + bi 2 i
i =1
1442
443
)
x B = bo b1b2 ... bB
(- 1 x) B < 1)
)
Xm x < Xm
= X m 2 B
x = QB [ x] : quantized value of x
Quantization error
(1)
e = QB [ x] x
Overflow: if x > X m . This can be a serious problem if, for example, 01111000,
and we dont check it first. (This is natural overflow.) We first clip the input. It
becomes saturation.
(2)
NCTU EE
<e0
H ( z) =
1
1 az 1
Fig 6.39
NCTU EE
H (z ) =
b z
k =0
N
b z
1 ak z
k =1
142
43
)
H (z ) =
k =0
N
)
1 a k z k
k =1
A( z )
Note: a k = a k + a k ; bk = bk + bk
Effect on pole locations
( affect frequency response and stability)
N
N
Compare A( z ) = 1 a k z k = (1 z j z 1 )
k =1
j =1
)
A) ( z ) = 1 a) z k =
k
1 z j z 1
)
z j = z j + z j , j = 1,..., N
z k
is affected by all {a k } .
N z
z i i
k =1 a k
a k ,
i = 1,2,..., N
a k
and
z k are small.
Note that if z i is large, then a small a k leads to a large z k . If so, this is a sena k
zi
N k
(zi z j )
N
j =1, j i
A( z )
z i A( z )
=
a k z = z
z i z = zi a k
i
(1 zi
i j
zj
z i k
NCTU EE
10
and the parallel form are less sensitive to coefficient quantization (because zeros
are often widely distributed the unit circle).
Example: Bandpass IIR elliptic filter
0.99 H ( e jw ) 1.01
0.3 0.4
H ( e ) 0.01 ( - 40dB )
0.29
H ( e jw ) 0.01 ( - 40dB )
0.41
jw
NCTU EE
11
Second-order Section
(1) Direct form
Poles: (re j , re j )
1
1
=
j 1
1 re z 1 re z
1 2r cos z 1 + r 2 z 2
NCTU EE
)(
12
Y1 = z r sin z 1Y 1 r cos z 1
(r sin )z
Y
=
X 1 2r cos z 1 + r 2 z 2
1
NCTU EE
13
= H ( z ) + H (z )
123
h [n ] z n
M
H ( z ) = h[n]z n
n=0
n =0
H (e
) = h[n]e
M
jn
n =0
h[n ] e jn
n =0
( B +1)
(M4+21)4
2 4
14
3
worst case!
0 0.4
H ( e ) 0.001 ( - 60dB )
0.6
jw
NCTU EE
14
NCTU EE
15
Cascade form
-- less sensitive because it isolate the quantization errors from the other sections.
-- To preserve linear phase each section is linear phase.
(a)
Conjugate 2nd-order sections for conjugate zero pairs on the unit circle.
(b)
(c)
(d)
NCTU EE
(1 + az 1 + z 2 )
Real zero 2nd-order sections for a real zero inside the unit circle and its reciprocal (outside the unit circle).
Zeros at 1.
4th-order sections for conjugate zero pairs inside the unit circle and their associated reciprocals (outside the unit circle).
16