Lattice-Structure For FIR Filters: Spring 2009
Lattice-Structure For FIR Filters: Spring 2009
FIR filters
Spring 2009
© Ammar Abu-Hudrouss - ١
Islamic University Gaza
Lattice Structures
Which leads to
1 n0
h ( n)
m ( n ) n 1,2,...., m
١
Lattice Structures
x(n) z -1 z -1 z -1 z -1
+ + + + + y(n)
Lattice Structures
٢
Lattice Structures
+ fm(n)
fm-1(n)
Km
Km
z -1 + gm(n)
gm-1(n)
Lattice Structures
y ()n ) x ( n ) 1 (1) x ( n 1)
f0(n
+ f1(n) =y(n)
K1
x(n)
K1
z -1 + g1(n)
g0(n)
٣
Lattice Structures
y ( n ) x ( n ) 2 (1) x ( n 1) 2 ( 2 ) x ( n 2 )
+ + f2(n) =y(n)
f0(n) f1(n)
K1 K2
x(n)
K1 K2
z -1 + z -1 + g2(n)
g0(n) g1(n)
Lattice Structures
2 (1) K1 (1 K 2 ) 2 (2) K 2
2 (1)
K1 K1 2 (2)
1 2 ( 2)
Digital Signal Processing
Slide ٨
٤
Lattice Structures
m ( k ) m (m k ) k 0,1,......, m
Lattice Structures
m
g m (n) m (k ) x (n k ) m (n) * x (n)
k 0
m
f m ( n) m ( k ) x( n k ) m ( k ) * x ( k )
k 0
Convert to z-transform
Gm ( z ) Am ( z ) X ( z ) Fm ( z ) Bm ( z ) X ( z )
Then if we convert the recursive lattice equation to z domain
F0 ( z ) G0 ( z ) X ( z )
Fm ( z ) Fm1 ( z ) K m z 1Gm 1 ( z )
Gm ( z ) K m Fm 1 ( z ) z 1Gm 1 ( z )
٥
Lattice Structures
A0 ( z ) B0 ( z ) 1
Am ( z ) Am 1 ( z ) K m z 1 Bm 1 ( z ) m 1,2,3,....., M 1
Bm ( z ) K m Am1 ( z ) z 1 m 1 ( z ) m 1,2,3,....., M 1
Divide the previous equation by X(z)
Am ( z ) 1 K m Am 1 ( z )
B ( z ) K
1 z 1Bm 1 ( z )
m m
٦
Lattice to Direct Form
A1 ( z ) A0 ( z ) K 1 z 1 B0 ( z )
1 (1 / 4) z 1
By reversing the order of A1(z), we get
B1 ( z ) 1 / 4 z 1
2nd stage
A2 ( z ) A1 ( z ) K 2 z 1 B1 ( z )
1 (3 / 8) z 1 (1 / 2) z 2
B2 ( z ) (1 / 2) (3 / 8) z 1 z 2
Digital Signal Processing
Slide ١٣
A3 ( z ) A2 ( z ) K 3 z 1 B2 ( z )
1 (13 / 24) z 1 5 / 8z 2 (1 / 3) z 2
٧
Direct Form to Lattice
Am ( z ) Am 1 ( z ) K m z 1 Bm 1 ( z )
Am ( z ) Am 1 ( z ) K m Bm ( z ) K m Am1 ( z )
Am ( z ) K m Bm ( z )
Am 1 ( z ) m M 1, M 2,....,1
1 K m2
This is a step-down recursion
K2 1/ 2
Digital Signal Processing
Slide ١٦
٨
Direct Form to Lattice
B2 ( z ) (1 / 2) (3 / 8) z 1 z 2
K1 1 / 4