Professional Documents
Culture Documents
n=0
h(n) z
n
, (1)
can be written in form
H(z) = z
M
_
h(M) + 2
M
m=1
h(M m)
1
2
_
z
m
+z
m
_
_
.
(2)
Introducing into (2) Chebyshev polynomials of the rst kind
T
m
(w) and substituting
a(0) = h(M) a(m) = 2h(M m) (3)
we obtain
H(z) = z
M
_
a(0) +
M
m=1
a(m) T
m
(w)
_
= z
M
Q(w) .
(4)
In equation (4) Q(w) represents the pseudoamplitude which
for w =
1
2
(z +z
1
)
z=e
jT
= cos T reduces to a real
valued frequency response of the zero-phase FIR lter. For
convenience in notation we often refer to a(m) as the impulse
response coefcients understanding that true causal impulse
response coefcients are obtained through a time shift. For
1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1
0.5
0
0.5
1
1.5
2
2.5
3
3.5
w
Fig. 1. Q
m=1
a(m) T
m
(w) (5)
has alternating local minima and maxima distributed over the
stopband ( 1, w
p
) and passband ( w
p
, 1), respectively.
It means that the rst derivative of the quantity Q(w) as
shown in Fig. 1
d
dw
Q(w) =
M
m=1
m a(m) U
m1
(w) (6)
IEEE TRANSACTIONS ON SIGNAL PROCESSING, VOL. 48, NO. 9, SEPTEMBER 2000 2706
has real zeros within these two disjoint intervals only and it is
expressed by a sum of Chebyshev polynomials of the second
kind U
m
(w) because the following identity holds
d
dw
T
m
(w) = m U
m1
(w) . (7)
The equiripple approximation has the natural limit when the
distribution of all zeros w
0
from Fig. 1 is simplied to the
set of zeros which are either conuent at 1 or at -1. Then the
above equation (6) reduces to
d
dw
Q(w)
d
dw
C
p,q
(w) = (8)
= 2
(p+q+1)
(p +q + 1)
_
p +q
p
_
(1 w)
p
(1 +w)
q
and it represents the rst derivative of a maximally at
frequency response which can be found in form of Bernstein
polynomials [2], [5] as
C
p,q
(w) =
_
1 +w
2
_
q+1 p
m=0
_
m+q
m
_ _
1 w
2
_
m
.
(9)
We will call the rst derivative of the pseudoamplitude Q(w)
a normalized generating function. For a maximally at FIR
lters it has the form of (8) in which p and q represent the
order of atness at = 0 and = , respectively. They dene
the degree of a lter
M = p +q + 1 . (10)
III. DIFFERENTIAL EQUATION AND THE RECURSIVE
EVALUATION OF THE IMPULSE RESPONSE COEFFICIENTS
By differentiating (8) we get the differential equation
(1 w
2
)
d
2
dw
2
C
p,q
(w) + [p q + (p +q)w]
d
dw
C
p,q
(w) = 0
(11)
which is the central result in our design procedure. As the
general identity (6) holds we obtain the expression
d
dw
Q(w)
d
dw
C
p,q
(w) =
M
m=1
m a(m) U
m1
(w) , (12)
which can be substituted into the differential equation (11)
in order to nd relations among the unknown values of
the impulse response coefcients a(m). By introducing the
substitution
(k) = ka(k) (13)
we obtain
(1 w
2
)
d
2
dw
2
C
p,q
(w) = (14)
=
M
m=1
(m)(1 w
2
)
d
dw
U
m1
(w)
=
M
m=1
m1
2
(m) U
m
(w)
+
M
m=1
m+ 1
2
(m) U
m2
(w) .
Substituting expression (14) into the differential equation (11)
we can write it as
M
m=1
p +q + 1 m
2
(m) U
m
(w)
+
M
m=1
(p q)(m) U
m1
(w) (15)
+
M
m=1
p +q + 1 +m
2
(m) U
m2
(w) = 0 .
It should be satised for any power of the variable w. Since
(0) = 0 and U
1
(w) = 0 we can rearrange the equation (15)
into the form
M+1
m=1
p +q + 2 m
2
(m1) U
m1
(w)
+
M
m=1
(p q)(m) U
m1
(w) (16)
+
M1
m=1
p +q + 2 +m
2
(m+ 1) U
m1
(w) = 0 .
Then the identity (16) provides a backward recursive evalua-
tion of the impulse response coefcients. If m = M + 1, the
rst sum in (16) produces
p +q + 1 M
2
(M) U
M
(w) = 0 (17)
which can be satised by equation (10) only. Value m = M
provides
_
p +q + 2 M
2
(M 1) + (p q)(M)
_
U
M1
(w) = 0
(18)
or
(M 1) = 2(p q)(M) , (19)
which is the initial condition for the backward recursion.
Comparing the expression (6) with (8) we conclude that
the highest power of w
p+q
is accompanied by a coefcient
(1)
p
Ma(M)2
p+q
. The factor 2
p+q
appears here due to the
Chebyshev polynomial expansion. It consequently gives the
initial value of coefcient (M) needed in (18) as
(M) =
1
2
(1)
p
2
2(p+q)
M
_
p +q
p
_
. (20)
The general backward recursion is based on a general identity
following from (16) which is concisely expressed by the
algorithm summarized in the Tab. I.
From the algorithm we are able to evaluate all the impulse
response coefcients except the a(0). This coefcient is ob-
tained from the unit value of Q(w = 1) 1,
C
p,q
(1) = a(0) +
M
m=1
a(m) = 1 . (21)
So that
a(0) = 1
M
m=1
a(m) . (22)
IEEE TRANSACTIONS ON SIGNAL PROCESSING, VOL. 48, NO. 9, SEPTEMBER 2000 2707
TABLE I
BACKWARD RECURSION FOR THE IMPULSE RESPONSE COEFFICIENTS.
given p, q
initialization (M) =
1
2
(1)
p
2
2(p+q)
M
_
p +q
p
_
(M 1) = 2(p q)(M)
body
(for k = M 1 to 2)
M + 1 k
2
(k 1) = (q p)(k)
M + 1 +k
2
(k + 1)
(end loop on k)
integration
(for k = M to 1)
a(k) =
(k)
k
(end loop on k)
This recursion completes the analytic procedure of direct
design of FIR maximally at lters. Note that the whole design
process is a recursive one and it does not require any DFT
algorithm nor we need any iterative technique.
The main disadvantage of these lters is that the estimated
lter order is approximately inversely proportional to the
square of the transition bandwidth [7]. The design procedure
usually leads to lters of much higher order than those
with equiripple frequency response. The economization of
Chebyshev polynomial expansion of the transfer function is
equivalent to the square windowing of a nite but large extent
impulse response [8]. For the maximally at pseudoamplitude
we can write
Q(w) = a(0) +
L
m=1
a(m) T
m
(w) +
M
m=L+1
a(m) T
m
(w)
= Q
r
(w) +
M
m=L+1
a(m) T
m
(w) . (23)
Since |T
m
(w)| 1, the reduced pseudoamplitude Q
r
(w)
satises the required lter specications within the accuracy
p
,
s
e
=
M
m=L+1
|a(m)| . (24)
IV. FILTER DESIGN, ABRIDGING
Despite of the fact that the degree equation is not available,
the parameters of the abridged lters w
p
, w
s
,
p
and
s
can be
estimated as a function of M, L, p and q. From the differential
equation (11) the maximum of generating function (8) is found
w
m
=
q p
q +p
. (25)
From (8) and (9) follows
C
p,q
(w
m
) = (26)
= 2
(p+q+1)
(p +q + 1)
_
p +q
p
__
2p
q +p
_
p
_
2q
q +p
_
q
and
C
p,q
(w
m
) =
_
q
q +p
_
q+1 p
m=0
_
q +m
m
__
p
q +p
_
m
.
(27)
The estimated passband and stopband edges in the w-domain
are given by
w
p
w
ep
=
1 C
p,q
(w
m
) +w
m
C
p,q
(w
m
)
C
p,q
(w
m
)
(28)
w
es
=
C
p,q
(w
m
) w
m
C
p,q
(w
m
)
C
p,q
(w
m
)
w
s
(29)
which are related to the frequency domain by relations
w
ep
= cos
ep
T , w
es
= cos
es
T . (30)
The ripple estimation
e
is given by (24). We deal with the
abridging of the impulse response of the maximally at FIR
lters leading to the maximum ripple lters only. This require-
ment reduces substantially the number of available abridged
lters. The standard abridging leads to a feasible FIR lter
with more general distribution of zeroes of Q
p
es
ep
T/
Fig. 2. Amplitude frequency responses |H(e
jT
)| and |Ha(e
jT
)| .
maximum ripple lters the derivation of the pseudoamplitude
Q
e
= 0.0274. By abridging of the impulse response to the
length 2L+1 = 19 and consecutive normalizing (h
a
(n) in the
Tab. IV), the frequency response |H
a
(e
jT
)| becomes rippled.
The actual edges are
p
T = 0.5452 and
s
T = 0.7038
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
70
60
50
40
30
20
10
0
10
T/
Fig. 3. Comparison of frequency responses 20log|Ha(e
jT
)| and
20log|Hopt(e
jT
)| .
and ripples
p
= 0.0116,
s
= 0.0099. The logarithmic
frequency response 20log(|H
a
(e
jT
)|) of the abridged lter
is compared in Fig. 3 to the logarithmic frequency response
20log(|H
opt
(e
jT
)|) of the optimal equiripple lter with the
same specications 2L + 1,
p
,
s
and ratio
p
/
s
.
TABLE IV
THE IMPULSE RESPONSE COEFFICIENTS ha(n) - EXAMPLE 2.
n ha(n) hopt(n)
0 24 -0.008575 -0.010018
1 23 0.004643 0.004415
2 22 0.009936 0.009484
3 21 -0.017589 -0.017461
4 20 0.000785 0.000953
5 19 0.028308 0.028408
6 18 -0.029114 -0.029325
7 17 -0.018917 -0.019107
8 16 0.070311 0.070692
9 15 -0.039266 -0.039268
10 14 -0.108107 -0.108273
11 13 0.292790 0.292453
12 0.624213 0.623603
ACKNOWLEDGMENT
The authors highly appreciate the generous support of the
Alexander von Humboldt Foundation, Bonn, Federal Republic
of Germany.
IEEE TRANSACTIONS ON SIGNAL PROCESSING, VOL. 48, NO. 9, SEPTEMBER 2000 2709
REFERENCES
[1] T. Cooklev, A. Nishihara, Maximally at FIR Filters, Proc. of IEEE
International Symposium on Circuits and Systems ISCAS93 , New York
1993, pp. 96-99.
[2] D. Herrmann, On the Approximation Problem in Nonrecursive Digital
Filter Design, IEEE Trans. Circuit Theory, Vol. CT - 18, May 1971, pp.
411 - 413.
[3] J.H. McClellan, T. W. Parks, L. R. Rabiner, A Computer Program for
Designing Optimum FIR Linear Phase Digital Filters, IEEE Trans. Audio
Electroacoust., Vol. AU - 21, Dec. 1973, pp. 506 - 526.
[4] L. R. Rabiner, B. Gold, Theory and Application of Digital Signal
Processing, Englewood Cliffs, New York Prentice-Hall 1975.
[5] L. R. Rajagopal, S. C. Dutta Roy, Design of Maximally-Flat FIR Filters
Using the Bernstein Polynomials, IEEE Trans. Circuits, Syst., Vol. CAS
- 34, Dec. 1987, pp. 1587 - 1590.
[6] P. Zahradnk, M. Vl cek, R. Unbehauen, Allmost Equiripple FIR Half-
Band Filters, IEEE Trans. Circuits, Syst. I Vol. CAS - 46, June 1999,
pp. 744 - 748.
[7] P. P. Vaidyanathan, Efcient and Multiplierless Design of FIR Filter with
Very Sharp Cutoff via Maximally Flat Building Blocks, IEEE Trans.
Circuits, Syst., Vol. CAS - 32, March 1985, pp. 236 - 244.
[8] M. Vl cek, L. Jire s, Fast Design Algorithms for FIR Notch Filters, Proc.
of IEEE International Symposium on Circuits and Systems ISCAS94,
London 1994, Vol.2 - Digital Signal Processing, pp. 297 - 300.