Documente Academic
Documente Profesional
Documente Cultură
• Under certain conditions, a lowpass filter • These filters, called the Nyquist filters or
can be designed to have a number of zero- Lth-band filters, are often used in single-rate
valued coefficients and multi-rate signal processing
• When used as interpolation filters these • Consider the factor-of-L interpolator shown
filters preserve the nonzero samples of the below
up-sampler output at the interpolator output xu [n]
x[n ] L H (z ) y[n ]
• Moreover, due to the presence of these
zero-valued coefficients, these filters are • The input-output relation of the interpolator
computationally more efficient than other in the z-domain is given by
lowpass filters of same order Y ( z) = H ( z) X ( z L )
1 2
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra
1
Lth-Band Filters Half-Band Filters
• If the 0-th polyphase component of H(z) is a
constant, i.e., E0 ( z ) = α then it can be shown • An Lth-band filter for L = 2 is called a half-
that band filter
L −1
∑k =0 H ( zWLk ) = Lα = 1 (assuming α = 1/L) • The transfer function of a half-band filter is
• Since the frequency response of H ( zWLk ) is thus given by
the shifted version H (e j (ω− 2 πk / L ) ) of H (e jω) , H ( z ) = α + z −1E1 ( z 2 )
the sum of all of these L uniformly shifted
with its impulse response satisfying
versions of H (e jω) add up to a constant
α, n=0
H(z) H(zWL) H(zWL2)
_
H(zWL L 1) H(z)
h[2n] = ⎧⎨
ω
⎩ 0, otherwise
7 0 2π 8
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra
1+ δ
• For example, if N = 101, an arbitrary Type 1
1_ δ
FIR transfer function requires about 50
multipliers, whereas, a Type 1 half-band
filter requires only about 25 multipliers
δ ω
ωp π/2 ωs
11 π 12
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra
2
Half-Band Filters Half-Band Filters
• An FIR half-band filter can be designed • Then R is odd as a result of the condition
α, n=0
h[2n] = ⎧⎨
with linear phase
• However, there is a constraint on its length ⎩ 0, otherwise
• Consider a zero-phase half-band FIR filter • Therefore R = 2K+1 for some integer K
for which h[ n] = α * h[ − n] , with | α | = 1 • Thus the length of h[n] is restricted to be of
• Let the highest nonzero coefficient be h[R] the form 2R+1 = 4K+3 [unless H(z) is a
constant]
13 14
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra
3
Design of Linear-Phase Design of Linear-Phase
Lth-Band Filters Lth-Band Filters
• Figure below shows the gain response of a • The filter coefficients are given by
half-band filter of length-23 designed using h[ −11] = h[11] = − 0.002315; h[ −10] = h[10] = 0;
Program 13_8 h[ −9] = h[9] = 0.005412; h[ −8] = h[8] = 0;
0
h[ −7 ] = h[ 7 ] = − 0.001586; h[ −6] = h[ 6] = 0;
-20 h[ −5] = h[5] = 0.003584; h[ −4] = h[ 4] = 0;
Gain, dB
-40
h[ −3] = h[3] = − 0.089258; h[ −2] = h[ 2] = 0;
-60
h[ −1] = h[1] = 0.3122379; h[ 0] = 0.5;
-80
0 0.2 0.4 0.6 0.8 1 • As expected, h[n] = 0 for
n = ± 2, ± 4, ± 6, ± 8, ±10
ω/π
19 20
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra
-40
• An inverse transformation of the wideband
-60
-80
0 0.2 0.4 0.6 0.8 1
filter then yields the half-band FIR filter
ω/π
21 22
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra
4
Design of Linear-Phase Design of Linear-Phase
Half-Band Filters Half-Band Filters
• Define • The plots below the magnitude response of an
G ( z ) = 1 [ z − N / 2 + F ( z 2 )] wide-band lowpass filter of degree 13 with a
2 passband from 0 to 0.85π and a transition band
• G(z) can be seen to be the transfer function from 0.9π to π and the magnitude response of the
of a causal half-band lowpass FIR filter derived half-band filter
with an impulse response Wide-Band Lowpass Filter Half-Band Lowpass Filter
⎧1 f [n / 2], n even 1 1
Magnitude
Magnitude
0.6 0.6
2
⎪ 1
0.2 0.2
= N 0 0
5
Design of Half-Band IIR Filters Design of Half-Band IIR Filters
tan(ω p / 2)
• Design Steps: • Define r=
tan(ωs / 2)
• Since ω p + ωs = π, δ2s = 4δ p (1 − δ p ) , only
one of the bandedges and one of the ripples r' = 1 − r2
(1 − r ')
can be specified q0 =
• Let the specified stopband edge and 2(1 + r ')
and compute
stopband ripple be ωs and δs , respectively
q = q0 + 2 q05 + 15q09 + 150 q13
0
• Then ωp and δ p are determined using the 2
⎛ 1 − δ2s ⎞
equations at the top of the slide D = ⎜⎜ 2 ⎟⎟
31
Copyright © 2010, S. K. Mitra
32 ⎝ δs ⎠ Copyright © 2010, S. K. Mitra
35 36 α k −1 = (2 − ck ) /(2 + ck )
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra
6
Design of Half-Band IIR Filters Design of Half-Band IIR Filters
• In general, the two infinite sums in the • Using the pole-interlacing property, then
expression for converge after the poles of A0 (z ) and A1 (z ) are selected
addition of 5 or 6 terms • Their corresponding zeros are at the mirror-
• The poles of the two allpass filters are on image locations
the imaginary axis at z = ± j α k and are • Example
inside the unit circle, as the parameters α k • We consider the design of an elliptic half-
are distinct with magnitudes less than 1 band lowpass filter
37 38
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra
1
using Program 13_9 are given by 0.5
Imaginary Part
0.8
Magnitude
0 0.6
−1 −1
0.23647 + z 0.71454 + z 0.4
A0 ( z ) = , A1 ( z ) =
-0.5
1 + 0.23647 z −1 1 + 0.71454 z −1
0.2
-1
0
-1.5 -1 -0.5 0 0.5 1 1.5 0 0.2 0.4 0.6 0.8 1
Real Part ω/ π
39 40
Copyright © 2010, S. K. Mitra Copyright © 2010, S. K. Mitra