Digital Filter Structures: K N X B K N y A N y
Digital Filter Structures: K N X B K N y A N y
N M
y n ak y n k bk x n k
k 1 k 0
M
v[n] bk x n k
k 0
N
y n ak y n k v[n]
k 1
1 M
H ( z ) H 2 ( z ) H1 ( z ) ( N
) b z k
k
1 ak z k k 0
k 1
or equivalently
M
V ( z ) H1 ( z ) X ( z )
b z
k 0
k
k
X ( z)
1
Y ( z ) H 2 ( z )V ( z ) ( N
)V ( z )
1 ak z k
k 1
By changing the order of H1 and H2, onsider the equivalence on
the z-domain:
H ( z ) H1 ( z ) H 2 ( z )
1
k
M
where H 2 ( z) (
H1 ( z )
bk z
k 0
N
1 ak z k
)
k 1
Let
1
W ( z) H 2 ( z) X ( z) ( N
) X ( z)
1 ak z k
k 1
Then
M
k
Y ( z ) H1 ( z )W ( z )
k 0
bk z W ( z)
N
In the time domain, w[n] ak w[n k ] x[n]
k 1
M
y[n] bk w[n k ]
k 0
We have the following equivalence for implementation:
We assume M=N
here
Note that the exactly the same signal, w[k], is stored in the two
chains of delay elements in the block diagram. The
implementation can be further simplified as follows:
Example: 1 2 z 1
H ( z)
1 1.5 z 1 0.9 z 2
1 2 z 1 z 2 (1 z 1 )(1 z 1 )
H ( z) 1 2
1 0.75 z 0.125 z (1 0.5 z 1 )(1 0.25 z 1 )
1 2 z 1 z 2 7 8 z 1
H ( z) 1 2
8
1 0.75 z 0.125 z 1 0.75 z 1 0.125 z 2
another alternation of the same system
1 2 z 1 z 2 18 25
H ( z) 1 2
8 1
1 0.75 z 0.125 z 1 0.5 z 1 0.25 z 1
A non-computable system
Computable systems
Circular Convolution (for DFT)
Time-domain convolution implies frequency domain
multiplication. This property is valid for continuous Fourier
transform, Fourier series, and DTFT, but is not exactly true for
DFT.
The DFT pair considered hereafter (following Openheims
book, where the 1/N is put on the inverse-transform side):
N 1
X [k ] x[n]WNkn , k 0,1..., N 1
n 0
N 1
1
x[n]
N
X [ k
k 0
]W kn
N , n 0,1..., N 1
circular convolution
If the DFT of x1[n], x2[n], and x3[n] are X1[k], X2[k], and X3[k],
respectively.
Time domain circular convolution implies frequency domain
multiplication: x [ n] x [ n] x [n] X [ k ] X [ k ] X [ k ]
3 1 2 3 1 2
DFT
Then X [n] Nx[((k )) N ], 0 k N 1
DFT Properties:
Sampling the DTFT spectrum
We have seen that, for an M-point sequence, if we uniformly
sample M points in its DTFT spectrum within [0, 2], we can
equivalently obtain its DFT.
What happen when we sample N points in the frequency domain
[0, 2], instead of M points? Let the samples be
~
X [k ] X ( z ) z e j ( 2 / N ) k X (e j ( 2 / N ) k ), k 0,..., N 1
when the lengths of x1[n] and x2[n] are L and P, respectively the
length of x3[n] is L+P-1.
Thus a useful property is that the circular convolution of two
finite-length sequences (with lengths being L and P respectively)
is equivalent to linear convolution of the two N-point (N L+P1)
sequences obtained by zero padding.
Another useful property is that we can perform circular
convolution and see how many points remain the same as those of
linear convolution. When P < L and an L-point circular convolution is
performed, the first (P1) points are corrupted by circulation, and
the remaining points from n=p1 to n=L1 (ie. The last LP+1
points) are not corrupted (ie., the last LP+1 points remain the
same as the linear convolution result).
Block convolution (for implementing an FIR filter)
Define
y k [ n] x[ r
r
]W k ( nr )
N u[n r ]
1
H k ( z)
1 WN k z 1
X [k ] x[
n even
n ]W N
nk
x[
n odd
n ]W nk
N
or, with the substitution of variable n=2r for n even and n=2r+1
for n odd ( N / 2 ) 1 ( N / 2 ) 1
X [k ] x[
r 0
2 r ]W 2 rk
N x[
r 0
2 r 1]W ( 2 r 1) k
N
( N / 2 ) 1 ( N / 2 ) 1
x[
r 0
2 r ](W 2 rk
N ) W k
N x[
r 0
2 r 1](W 2 rk
N)
Since WN2 e 2 j ( 2 / N ) e j 2 /( N / 2 ) WN / 2
N 1 N 1
1
u[m, n]
N
v[ k ,
k 0 l 0
l ]W mk
N W nl
N