Professional Documents
Culture Documents
782
Sec. 10.1 Introduction 783
10.1 INTRODUCTION
£Fx =L
D
w h ere D a n d / a re relativ ely p rim e in teg ers. W e shall show th a t th e lin e a r filter
is c h a ra c te riz e d by a tim e -v a ria n t im pulse re sp o n se , d e n o te d as h ( n , m ) . H e n c e
th e in p u t x ( n ) an d th e o u tp u t v( m) a re re la te d by th e c o n v o lu tio n su m m a tio n fo r
tim e -v a ria n t system s.
T h e sam p lin g ra te co n v ersio n p ro cess can also b e u n d e rsto o d fro m th e p o in t
o f view o f d igital re sam p lin g o f th e sam e an a lo g signal. L et x ( i ) b e th e a n a
log signal th a t is sa m p le d at th e first ra te Fx to g e n e ra te x ( n) . T h e goal o f
ra te co n v ersio n is to o b ta in a n o th e r se q u e n c e y(m ) d ire c tly from jr(n). w hich
is eq u a l to th e sa m p le d v alu es o f x ( t ) at a se co n d ra te Fy. A s is d e p ic te d in
Fig. 10.1(b), y(m ) is a tim e-sh ifted version o f * (n ). S uch a tim e shift can be
(b)
H d (o>) = ( J ’ M * * ! D (10.2.1)
10, o th erw ise
v(n) = Y ^ ^ ) x ( n - k) (10.2.2)
t=o
w hich is th e n d o w n sa m p le d by th e fa c to r D to p ro d u c e y ( m) . T h u s
y(m) = v ( m D )
(10.2.3)
= h ( k ) x { m D — k)
(10.2.5)
H ence
v(n) = v ( n ) p ( n ) ( 10.2 .6 )
an d
y( m) = v (mD) = v ( m D ) p ( m D ) — v( mD) (10.2.7)
n
-6 -5 -4 -3 - 2 (-1 0 1 2 3 4 5
Pin)
n
-6 -3 0 3 6
Figure 1 0 3 Multiplication o f v(n) with a periodic impulse train pin) with period
D = 3.
786 Multirate Digital Signal Processing Chap. 10
N o w th e z -tra n sfo rm o f th e o u tp u t se q u e n c e y ( m ) is
OO
y(z) = £
m=—oc
oo
= J2 v( r nD) z ~m (10.2.8)
ms=—oc
00
Y(z) = ]T v ( m ) z - m/D
m=—oc
1 u ~ l i
Y( z ) = v __ ejlxmk/D | „-m/D
m=—cc <t=0
j D—1 oc
j2nk/D 1/D^-m
*=0 m=-oo
(10.2.9)
"* -0
ti)y = = 2 n F T s. (10.2.10)
Fy
S ince th e sa m p lin g ra te s a re r e la te d by th e ex p ressio n
Fy = ^ (10.2.11)
(10.2.14)
(10.2.15)
(10.3.1)
V( z ) = Y , v^ z ~ m
m = —oc
oc
(10.3.2)
= Xiz')
T h e c o rre sp o n d in g sp e c tru m of v ( m) is o b ta in e d by e v a lu a tin g (10.3.2) o n th e u nit
circle. T h u s
Vicoy) = X { w y I) (10.3.3)
w h e re <uv d e n o te s th e fre q u e n c y v a ria b le re lativ e to th e n ew sa m p lin g ra te F , (i.e.,
o)y = 2 n F / F y ) . N o w th e re la tio n sh ip b e tw e e n sa m p lin g ra te s is F y = 1 Fx an d
h e n c e , th e fre q u e n c y v a ria b le s (oI a n d toy a re re la te d a c c o rd in g to th e fo rm u la
768 Multirate Digital Signal Processing Chap. 10
l* K )l
I Via,)I
l* K )l
(10.3.6)
T h e scale fa c to r C is se le c te d so th a t th e o u tp u t y ( m ) = jc ( m/ 1 ) fo r m = 0,
± / , + 2 1 .........F o r m a th e m a tic a l co n v e n ie n c e , w e select th e p o in t m = 0. T h u s
y( 0) = 2~ /
-
~
£.Jr_n X {(I)vI)d(Dx
(10.3.7)
c i r
v(0) = — — / X ( w x) dwx
I 2n
(10.3.8)
C
= -x (0 )
filter. T h u s
OC
y( m) = Y 2 h( m — k) v( k) (10.3.9)
k = —oc
w h e re cut. = 2x F / F v = 2n F / I Fx = a)x/ / .
Rate = / F t
Rate = — Fx = Fv
D
Rate = IFX = Fv
In th e tim e d o m a in , th e o u tp u t o f th e u p sa m p le r is th e se q u e n c e
( ///) , / = 0, ± / , ± 2 / , . . .
u (0 = ( j ( , (10.4.2)
[ 0. o th erw ise
a n d th e o u tp u t o f th e lin e a r tim e -in v a ria n t filter is
OO
w( l ) = ^ h(! — k) v( k)
k=-oc
(10.4.3)
oc
= h(l — k l ) x ( k )
~ (10.4.4)
= 2_j h ( m D — k l ) x ( k )
k—— oc
It is illu m in a tin g to ex p ress (10.4.4) in a d iffe re n t fo rm by m a k in g a ch an g e
in v ariab le. L e t
mD
k = (10.4.5)
w h e re th e n o ta tio n [ r j d e n o te s th e la rg e st in te g e r c o n ta in e d in r. W ith th is ch an g e
in v ariab le, (10.4.4) b ec o m e s
y( m) = Y j h ( m D — ----- ~ ”1 (10.4.6)
oc V - ^ - / V- ^ _ /
W e n o te th a t
mD
mD — I - mD m o d u lo I
= ( mD) !
C o n s e q u e n tly , (10.4.6) can b e e x p re sse d as
00 / L) \
y(m )- Y j h(~n I + (m D ) i ) x ( —j - ~ n) (10.4.7)
n=- oc VL J /
792 Multirate Digital Signal Processing Chap. 10
It is a p p a r e n t fro m th is fo rm th a t th e o u tp u t y ( m ) is o b ta in e d by p assin g th e
in p u t se q u e n c e x ( n ) th ro u g h a tim e -v a ria n t filter w ith im p u lse re sp o n s e
= g(n,m)
V (a) v) = H( ai v)X(a>vl )
T h e sp e ctru m o f th e o u tp u t se q u e n c e y (m ), o b ta in e d by d e c im a tin g th e se q u e n c e
v(n) by a fa c to r o f D , is
= a o .4 .1 1 )
o th e rw ise
(a)
JT(n)
h(M - 2)
(a) <b)
(O (d)
Figure 10.13 Duality relationships obtainedthroughtransposition.
Rate - Fr - IFX
Pi- i<")
Rate=Fx Rate=F,
Figure 10.14 Interpolation byuse of polyphase filters.
pk((o) = e)wk/I
A tim e sh ift o f an in te g e r n u m b e r o f in p u t sa m p lin g in te rv a ls (e.g., ITX) can b e
g e n e ra te d by sh iftin g th e in p u t d a ta in th e d e la y line by I sa m p le s an d using th e
sa m e su b filters. B y c o m b in in g th e s e tw o m e th o d s, w e c a n g e n e ra te an o u tp u t th a t
is sh ifted fo rw a rd b y an a m o u n t (/ + i / I ) T x re la tiv e to th e p re v io u s o u tp u t.
B y tra n sp o s in g th e in te rp o la to r stru c tu re in Fig. 10.14, w e o b ta in a c o m m u
ta to r stru c tu re fo r a d e c im a to r b a s e d o n th e p a ra lle l b a n k o f p o ly p h a se filters, as
illu stra te d in Fig. 10.15. T h e u n it sa m p le re sp o n s e s o f th e p o ly p h ase filters a re
800 Multirate Digital Signal Processing Chap. 10
n o w d efin ed as
Pk{n) = h( k + n D ) k = 0, 1____ O - l
(10.5.4)
n = 0 , 1 .........K - l
w h e re K = M / D is an in te g e r w h en M is se le c te d to be a m u ltip le o f D. T h e
c o m m u ta to r ro ta te s in a c o u n terclo ck w ise d ire c tio n sta rtin g w ith th e filter po(n) at
m = 0.
A lth o u g h th e tw o c o m m u ta to r s tru c tu re s fo r th e in te r p o la to r a n d th e d e c i
m a to r ju st d escrib ed r o ta te in a c o u n te rc lo c k w ise d ire c tio n , it is also p o ssib le to
d e riv e an e q u iv a le n t p a ir o f c o m m u ta to r s tru c tu re s hav in g a clockw ise ro ta tio n .
In th is a lte rn a tiv e fo rm u la tio n , th e se ts o f p o ly p h a se filters a re d efin ed to h ave
im p u lse resp o n ses
P k ( n ) = h ( n l — k) k = 0 ,1 ,...,/- 1 (10.5.5)
y(m ) = X I# - [_ y j l ) x -n ) (10.5.8)
n—0 \L J /
1 , — 1. T h u s th is c o m p u ta tio n p ro d u c e s / o u tp u ts. It is th e n re p e a te d fo r a
new se t o f D in p u t sam p les, a n d so on.
A n a lte rn a tiv e m e th o d fo r co m p u tin g th e o u tp u t o f th e sa m p le ra te c o n v e rte r,
sp ecified by (10.5.8), is b y m e a n s o f an F IR filter stru c tu re w ith p e rio d ic a lly varying
filter coefficients. Such a stru c tu re is illu stra te d in Fig. 10.17. T h e in p u t sam ples
x{n) a re p a sse d in to a sh ift re g iste r th a t o p e ra te s a t th e sa m p lin g ra te Fx an d is of
le n g th K = M / 1 , w h e re M is th e le n g th o f th e tim e -in v a ria n t F I R filter specified by
th e fre q u e n c y re sp o n s e g iv en by (10.4.1). E a c h sta g e o f th e re g is te r is c o n n e c te d to
a h o ld -a n d -sa m p le dev ice th a t se rv es to co u p le th e in p u t sa m p le ra te Fx to th e o u t
p u t sa m p le r a te Fy = (I / D ) F X. T h e sa m p le at th e in p u t to ea c h h o ld -a n d -sa m p le
d ev ice is h eld u n til th e n e x t in p u t sa m p le arriv es a n d th e n is d isc a rd e d . T h e o u tp u t
sa m p les o f th e h o ld -a n d -sa m p le d ev ice a re ta k e n a t tim es m D / l , m = 0, 1, 2 ........
W h e n b o th th e in p u t a n d o u tp u t sa m p lin g tim e s co in cid e (i.e.. w h en m D / I is an
in te g e r), th e in p u t to th e h o ld -a n d -sa m p le is ch an g e d first a n d th e n th e o u tp u t
sa m p le s th e n ew in p u t. T h e K o u tp u ts fro m th e K h o ld -a n d -s a m p le devices a re
m u ltip lie d by th e p e rio d ic a lly tim e-v a ry in g co effic ie n ts g( n, m - \ m / I \ l ) , fo r n = 0,
1 , . . . , K - 1, an d th e re su ltin g p ro d u c ts a re su m m e d to yield y(m ). T h e c o m p u
ta tio n s a t th e o u tp u t o f th e h o ld -a n d -sa m p le d ev ices are r e p e a te d a t th e o u tp u t
sa m p lin g ra te o f F v = ( I / D ) F X.
F inally, ra te co n v ersio n by a ra tio n a l fa c to r 1 / D can also be p e rfo rm e d by
use o f a p o ly p h ase filter h av in g 1 subfilters. If w e assu m e th a t th e m th sam p le
n(0.l).l = 0. I......./ - I
y ( m ) is com p uted by taking the output o f the imth subfilter with input data x( n ) ,
x ( n - 1 ) , . . . , x ( n — K + 1 ) , in the delay line, the n ext sam p le y ( m + 1) is taken from
the (i« + i)st subfilter after shifting lm+j new sam ples in the d elay lin es w here i m+i =
(i„ + D )mod / and l m+1 is the in teger part o f (im + D ) / I . T h e in teger im+i should be
saved to b e used in determ ining the subfilter from w hich the n ext sam p le is taken.
L et us now dem onstrate the filter design procedure, first in the design o f a
d ecim ator, secon d in th e design o f an interpolator, and finally, in th e design o f a
rational sam ple-rate converter.
Example 10.5.1
Design a decim ator that downsamples an input signal x(n) by a factor D = 2. Use
the Rem ez algorithm to determ ine the coefficients of the F IR filter that has a 0.1-dB
ripple in the passband and is down by at least 30 dB in the stopband. Also determ ine
the polyphase filter structure in a decim ator realization that employs polyphase filters.
Solution A filter of length M = 30 achieves the design specifications given above.
The impulse response of the FIR filter is given in Table 10.1 and the frequency
response is illustrated in Fig. 10.18. Note that the cutoff frequency is wc = jr/2.
The polyphase filters obtained from h{n) have impulse responses
p*(n) = h(2n + k) k = 0,1; n = 0 ,1 , ,.. ,1 4
N ote that po(n) = h(2n) and p\{tt) = h(2n + 1). Hence one filter consists of the even-
num bered samples o f h(n) and the other filter consists of the odd-num bered samples
of h(n).
Example 10.5.2
Design an interpolator that increases the input sampling rate by a factor of I = 5. Use
the R em ez algorithm to determ ine the coefficients of the F IR filter that has 0.1-dB
ripple in the passband and is down by at least 30 dB in the stopband. Also, determ ine
the polyphase filter structure in an interpolator realization based on polyphase filters.
Solution A filter o f length M = 30 achieves the design specifications given above.
The frequency response of the F IR filter is illustrated in Fig. 10.19 and its coefficients
are given in Table 10.2. The cutoff frequency-is wc = n/5.
The polyphase filters obtained from h(n) have impulse responses
pk{n) = h(Sn + jt) * = 0 ,1 ,2 ,3 ,4
Consequently, each filter has length 6.
Example 10.53
Design a sam ple-rate converter that increases the sampling rate by a factor 2.5. Use
the Rem ez algorithm to determ ine the coefficients of the F IR filter that has 0.1-dB
ripple in the passband and is down by at least 30 dB in the stopband. Specify the
sets of time-varying coefficients g( n, m) used in the realization of the sampling-rate
converter according to the structure in Fig. 10.17.
Solution The F IR filter that m eets the specifications of this problem is exactly the
same as the filter designed in Example 10.5.2. Its bandwidth is tt/5.
804 Muttirate Digital Signal Processing Chap. 10
IMPULSE RESPONSE ’
H { 1) = 0 .6 0 2 5 6 1 6 5 E - 0 2 = H ( 30)
H ( 2) = -0 .1 2 8 1 7 1 4 3 E - 0 1 = H ( 29)
H ( 3) -0..2 8 5 8 2 0 6 6 E - 0 2 = HI 28)
H( 4) = 0..1 3 6 6 3 3 4 6 E - 0 1 H ( 27)
H( 5) = -0,,4 6 6 8 8 9 6 1 E - 0 2 = H ( 26)
H( 6) = -0,.1 9 7 0 4 4 1 5 E - 0 1 = H ( 25)
H ( 7) = 0,.1 5 9 8 4 6 2 3 E - 0 1 = H ( 24)
H( 8) = 0 .21384886E-01 = H ( 23)
H( 9) = -0..3 4 9 7 9 4 4 0 E - 0 1 = H( 22)
H (10) = -0 . 1 5 6 1 5 5 2 2 E - 0 1 = H ( 21)
H (11) = 0..6 4 0 0 6 1 1 3 E - 0 1 = H( 20)
H (12 ) = - 0 .7 3 4 5 1 7 7 2 E - 0 2 = H ( 19)
H(13) = -0. 1 1 8 7 3 1 8 5 E + 0 0 H( 18)
H (14) = 0. 9 8 0 4 7 8 4 5 E - 0 1 = H{ 17)
H (15) = 0. 4 9 2 2 5 0 6 8 E + 0 0 = H( 16)
BAND 1 BAND 2
LOWER BAND EDGE 0.0000000 0.. 3 1 0 0 0 0 0
UPPER BAND EDGE 0.2500000 0.. 5 0 0 0 0 0 0
DESIRED VALUE 1.0000000 0.. 0 0 0 0 0 0 0
WEIGHTING 2.0000000 1.. 0 0 0 0 0 0 0
DEVIATION 0.0107151 0.. 0 2 1 4 3 0 2
DEVIA T I O N IN DB 0.0925753 •33. 3 7 9 4 7 4 6
g( n, m) ~ h(rtl + (mD)/)
= h ^ nill + mD — mDA
I
By substituting 1 = 5 and D =
= 2, we obtain
2m \
g(n,
x,m)
m) = h {^5
5n + 2 m - 5
y\)
By evaluating g(n, m) for n = 0, 1 , . . . . 5 and m = 0 , 1 , . . . , 4 we obtain the following
Sec. 10.5 Filter Design and Implementation for Sampling-Rate Conversion 805
F I N I T E I M P U L S E R E S P O N S E (FIR)
LINEAR-PHASE DIGITAL FILTER DESIGN
REMEZ EXCHANGE ALGORITHM
FILTER LENGTH = 3 0
IMPULSE RESPONSE ’
H ( 1) = 0 .6 3 9 8 7 2 1 6 E - 0 2 = H ( 30!
H ( 2) = -0..1 4 7 6 1 3 0 4 E - 0 1 = H ( 29)
H< 3) = -0..1 0 8 8 6 5 7 7 E - 0 2 = H ( 28)
H ( 4) = -0..2 8 7 1 4 9 5 7 E - 0 2 = H { 27)
H ( 5) 0 .1 0 4 8 6 4 3 0 E - 0 1 = H< 26)
H( 6) = 0 .2 1 4 7 7 1 4 2 E - 0 1 = H ( 25)
H ( 7) = 0,.1 9 4 7 9 3 6 2 E - 0 1 H( 24)
H< 8) = -0,.3 1 0 6 7 4 3 1 E - 0 3 = H( 23)
H( 9) = - 0 ,.3 0 0 5 3 0 3 3 E - 0 1 = H ( 22)
H (10) = - 0 .4 9 8 7 7 0 2 9 E - 0 1 = H ( 21)
H {11) = - 0 .3 7 3 7 1 2 8 5 E - 0 1 = H { 20)
H (12) = 0. 1 8 4 8 2 8 9 6 E - 0 1 = H( 19)
H (13) = 0. 1 0 7 4 7 1 4 1 E + 0 0 = H { 18)
H (14) 0..1 9 9 5 1 0 9 8 E + 0 0 = H ( 17)
H(15) = 0 .2 5 7 9 4 8 2 8 E + 0 0 = H ( 16)
BAND 1 BAND 2
LOWER BAND EDGE 0.0000000 0 . 1600000
UPPER BAND EDGE 0.1000000 0. 5 0 0 0 0 0 0
DESIRED VALUE 1.0000000 0., 0 0 0 0 0 0 0
WEIGHTING 3.0000000 1 .0000000
DEVIATION 0.0097524 0,.0 2 9 2 5 7 2
DEVIATION :I N D B 0.0842978 •30. 6 7 5 3 3 4 9
that we take every other output from the polyphase filters. Thus the first output v(0)
is taken from pQ(n), the second output y (l) is taken from P2(n), the third from p*(n),
the fourth from pi(n), the fifth from p-i(n). and so on.
In practical applications o f sam pling-rate con version w e often en cou n ter decim a
tion factors and in terp olation factors that are m uch larger than unity. For exam
ple, su p p ose that w e are given the task o f altering th e sam pling rate by the factor
Sec. 10.6 Multistage Implementation of Sampling-Rate Conversion 807
'-fl* ( 10 . 6 . 1)
Fj-i
F, = i = 1 ,2 ........ J (10.6.3)
D,
w h ere th e in p u t ra te fo r th e se q u e n c e {*(«)] is F0 = Fx .
T o e n s u re th a t n o aliasing o ccu rs in th e o v erall d e c im a tio n p ro cess, w e can
d esig n each filter stag e to avoid aliasin g w ithin th e fre q u e n c y b a n d o f in te re st. T o
*(n)
F,
^ l M + 1 (10.6.8)
A/
Sec. 10.6 Multistage Implementation of Sampling-Rate Conversion 809
-0.4761] log1052
-[0.00266(logi0 5i)2 + 0.5941 log10Si + 0.4278] (10.6.9)
14.6(5/8000) 1 3 + ^ ^ 2
As an alternative, let us consider a two-stage decimation process with D\ = 25 and
Di = 2. In the first stage we have the specifications F\ = 320 Hz and
fin = y ^21 = £2
Note that we have reduced the passband ripple <5[ by a factor of 2, so that the total
passband ripple in the cascade of the two filters does not exceed Si. On the other
hand, the stopband ripple is maintained at S2 in both stages. Now the Kaiser formula
yields an estim ate of A/, as
A f = 320
<5i2 ~ y &n = h
M2 ~ 220
Therefore, the total length of the two F IR filters is approxim ately M\ + M2 = 387.
This represents a reduction in the filter length by a factor of more than 13.
The reader is encouraged to repeat the com putation above with D\ = 10 and
£>2 = 5.
It is apparent from the com p utations in E xam p le 10.6.1 that the reduction
in th e filter length results from increasing the factor A f , w hich appears in the
d en om in ator in (10.6.7) and (10.6.8). By decim ating in m ultiple stages, w e are
810 Multirate Digital Signal Processing Chap. 10
|W)|
Bandpass signal
(a)
<b)
*<•>-(£ <m7-7)
w h e re coB is th e b a n d w id th o f th e d isc re te -tim e b a n d p a s s sig n al (a>B < n ) .
I f d e c im a tio n is to b e p e rfo rm e d by a n in te g e r fa c to r D, th e an tialiasin g
filter p re c e d in g th e d e c im a to r can be c o m b in e d w ith th e low pass filter u se d fo r
fre q u e n c y c o n v e rsio n in to a single filter th a t a p p ro x im a te s th e id eal freq u e n c y
r e sp o n s e
"'<->-{£ (10-7-9>
W e n o te th a t in th e case o f in te rp o la tio n , th e low pass filte r n o rm ally u se d to re je c t
th e d o u b le -fre q u e n c y c o m p o n e n ts is re d u n d a n t an d m ay b e o m itte d . Its fu n ctio n
is e sse n tia lly se rv e d by th e im age re je c tio n filter H[(co).
F in ally , w e in d ic a te th a t sa m p lin g -ra te co n v e rsio n by an y ra tio n a l fa c to r //£>
can b e acco m p lish ed o n th e b a n d p a s s signal as illu stra te d in Fig. 10.24. A g a in ,
th e lo w p ass filter fo r re je c tin g th e d o u b le -fre q u e n c y c o m p o n e n ts g e n e ra te d in th e
fre q u e n c y -c o n v e rsio n p ro cess can b e o m itte d . Its fu n c tio n is sim ply se rv e d by th e
im a g e -re je c tio n /a n tia lia s in g filter follow ing th e in te r p o la to r , w hich is d esig n ed to
a p p ro x im a te th e id eal fre q u e n c y re sp o n s e c h a ra c te ristic :
= (10.7.10)
[ 0, o th erw ise
(m + i) n mTi 0 mn {m + 1)n
D D D D
m odd
(«>
m even
(b>
In the previou s sectio n s o f this chapter, w e have show n h ow to perform sam pling
rate con version exactly by a rational num ber I / D . In som e applications, it is either
inefficient or, so m etim es im possib le to use such an exact rate con version schem e.
W e first con sid er the fo llow in g tw o cases.
Case 1. W e n eed to perform rate con version by the rational num ber I / D ,
w h ere / is a large in teger (e.g., l / D = 1023/511). A lth ou gh w e can ach ieve
exact rate con version by this num ber, w e w ould n eed a p olyp hase filter with 1023
subfilters. Such an exact im plem en tation is ob viou sly inefficient in m em ory usage
b ecau se w e n eed to store a large num ber o f filter coefficients.
L e t u s d e n o te th e a rb itra ry c o n v e rsio n ra te by r a n d su p p o se th a t th e in p u t to th e
ra te c o n v e rte r is th e se q u e n c e (jr(n)}. W e n e e d to g e n e ra te a se q u e n c e o f o u tp u t
sa m p le s se p a ra te d in tim e by Tx f r , w h e re Tx is th e sa m p le in te rv a l for {x(n)i. By
co n stru ctin g a p o ly p h a se filter w ith a larg e n u m b e r o f su b filters as ju s t d esc rib e d ,
we can a p p ro x im a te such a se q u e n c e w ith a n o n u n ifo rm ly sp a c e d se q u e n c e . W ith
o u t loss o f g e n e ra lity , w e can e x p ress 1 j r as
w h ere k a n d I a re p o sitiv e in te g e rs a n d 0 is a n u m b e r in th e ra n g e
0 < &< y
C o n se q u e n tly , 1j r is b o u n d e d fro m ab o v e an d b e lo w as
k 1 jfc + 1
_ < _ < -------------
I r I
I c o rre sp o n d s to th e in te rp o la tio n fa c to r, w hich w ill b e d e te r m in e d to satisfy th e
specificatio n on th e a m o u n t o f to le ra b le d isto rtio n in tro d u c e d b y ra te c o n v ersio n .
/ is also eq u a l to th e n u m b e r o f p o ly p h a se filters.
F o r e x am p le, su p p o se th a t r = 2.2 a n d th a t w e h a v e d e te r m in e d , as we
will d e m o n s tra te , th a t 1 = 6 p o ly p h a se filters a re r e q u ire d to m e e t th e d isto rtio n
specificatio n . T h e n
k ^ 2 1 3 k + 1
/ 6 r 6 I
so th a t k = 2. T h e tim e sp a cin g b e tw e e n sa m p le s o f th e in te r p o la te d se q u e n c e is
Tx / I . H o w e v e r, th e d e s ire d c o n v ersio n ra te r = 2.2 fo r / = 6 c o rre sp o n d s to a
d e c im a tio n fa c to r o f 2.727, w h ich falls b e tw e e n k = 2 a n d k = 3. In th e first-o rd e r
a p p ro x im a tio n , w e ach iev e th e d e s ire d d e c im a tio n r a te b y se le c tin g th e o u tp u t
Sec. 10.8 Sampling-Rate Conversion by an Arbitrary Factor 817
Ssi
5
r \X{(o)\2d ( o =
2?r ; _ tUj
(10.8.1)
Pe = - L f
J—
' \ X ( c o ) e ^ T ~ X(co)eJU,lT~ ^ \ 2d w ^
ojx
[ ' \X(<o)jeJ^a>tm\2dco
2-7T J —
(u,
P M l2
S D ,R 1 = > —~ (10.8.4)
pe (4
It can be seen fro m (10.8.4) th a t th e sig n a l-to -d isto rtio n r a tio is p ro p o rtio n a l
to th e sq u a re o f th e n u m b e r o f su b filters.
Solution T o achieve an SDrR > 105, we set S D iR l = 12/2/wJ equal to 105. Thus
we find that
fw
1 «s w ,,/ ~ ~ ~ 230 subfilters
y(«+1M i
a m=Ilm
U sin g (1 - a m) am < w e o b ta in a n u p p e r b o u n d fo r th e to ta l e r r o r p o w e r as
1
Pe = = - / \X(u>)[ejwT - (1 - - a me ^ - ' ^ n ]\2dco
(10.8.8)
Sec. 10.9 Applications of Multirate Signal Processing 821
Solution To achieve S D ,R > 105, we set S D iR 2 = 80I A/w* equal to 10s. Thus we
obtain
From this exam ple we see that the required num ber o f subfilters for the
secon d-ord er approxim ation is reduced by a factor o f ab ou t 15 com pared to the
first-order approxim ation. H ow ever, w e now n eed to co m p u te tw o interpolated
sam p les in this case, instead o f o n e for the first-order approxim ation. H en ce w e
have d ou b led the com putational com plexity.
L inear interpolation is the sim plest case o f the class o f approxim ation m eth
od s based o n Lagrange p olynom ials. It is also p ossib le to use higher-order L a
grange polyn om ial approxim ations (interp olation) to further reduce the num ber
o f subfilters required to m eet specifications. H ow ever, th e secon d-ord er approx
im ation seem s sufficient for m ost practical applications. T h e in terested reader is
referred to the paper by R am stad (1984) for higlier-order L agrange interpolation
m ethods.
T here are num erous practical applications o f m ultirate signal processing. In this
sectio n w e d escribe a few o f these applications.
S u p p ose that w e w ish to design a netw ork that delays th e signal x ( n ) by a fraction
o f a sam ple. L et us assum e that the d elay is a rational fraction o f a sam pling
822 Multirate Digital Signal Processing Chap. 10
Figure 10.30 Polyphase filter structure for implementing the syslem shown in
Fig. 10.29.
Sec. 10.9 Applications of Multirate Signal Processing 823
Figure 1031 Interfacing of two digital systems with different sampling rates.
824 Multirate Digital Signal Processing Chap. 10
filters. For the first stage of decimation, the reduction in multiplication rate is 50, while
for the second stage the reduction in multiplication rate is 100. F urther reductions
can be obtained by increasing the num ber of stages of decim ation and interpolation.
(10.9.2)
= ^ ej2”"klN Y , y^ m ^8o(n - m l )
i —n _
Jlnnk/N (10.9.5)
= !> ( * - m l) 1 £ Y d m ) e ^ nklN
wn 1* I__ n
e-jainn
Analysis
(a)
e)<w
Synthesis w* = ——
N
(b)
p-jtiitfnD
Analysis
(a)
ejm<jnD
Synthesis
(b)
X k( m) = "-jlnmkD/N (10.9.7)
£ j c ( n ) * o ( m D - n ) e j2nk(mD~n)/N
g k ( n) = g 0( n ) e j2j!nk/N (10.9.8)
w h e re I — D.
In th e im p le m e n ta tio n of d igital filters b a n k s, c o m p u ta tio n a l efficiency can be
ac h iev ed by u se o f p o ly p h a se filters fo r d e cim atio n a n d in te rp o la tio n . O f p a rtic u la r
in te re st is th e case w h e re th e d e c im a tio n fa c to r D is se le c te d to be e q u a l to th e
n u m b e r N o f fre q u e n c y b an d s. W h en D = N, w e say th a t th e filter b a n k is critically
sampled.
F o r th e an aly sis filter b an k , let us define a se t o f N = D p o ly p h a se filters
w ith im p u lse resp o n ses
p t ( n ) = ho ( n N — k) k = 0. 1.........jV — 1 (10.9.10)
a n d th e c o rre sp o n d in g se t o f d e c im a te d in p u t se q u e n c e s
-jZ n n k / N
k - 0 , 1 ____ D - 1 (10.9.12)
w h e re N = D. N o te th a t th e in n e r su m m a tio n r e p re s e n ts th e co n v o lu tio n o f
i p n(l)} w ith {*„(/)). T h e o u te r su m m atio n re p re s e n ts th e W -point D F T o f th e
filter o u tp u ts. T h e filter s tru c tu re c o rre sp o n d in g to th is c o m p u ta tio n is illu strated
in Fig. 10.35. E a c h sw eep o f th e c o m m u ta to r re su lts in N o u tp u ts, d e n o te d as
( r „ ( m ), n = 0, 1.........A ' - l ) from th e N p o ly p h ase filters. T h e / V -p o in t D F T o f
th is se q u e n c e yield s th e sp e c tra l sa m p le s (Jft(m )]. F o r la rg e valu es o f N , th e F F T
alg o rith m p ro v id e s an efficient m e a n s fo r co m p u tin g th e D F T .
N o w su p p o se th a t th e sp e ctral sa m p le s { ^ ( m ) } a re m o d ified in so m e m a n n e r,
p re sc rib e d by th e ap p lic a tio n , to p ro d u c e |y t.(m)}. A filter b a n k sy n th e sis filter
b a s e d o n a p o ly p h a se filter s tru c tu re can b e re a liz e d in a sim ilar m a n n e r. F irst,
w e d efin e th e im p u lse re sp o n se o f th e N {D = I — N ) p o ly p h a se filters fo r th e
in te rp o la tio n filter as
Figure 1035 Digital filter bank structure for the computation of (10.9.12).
j N -\
j2Kkl/H
V i(n) = ^ < ? /( « - m ) -]T n(m )e i =0,1...., N - 1 (10.9.15)
Figure 10,36 Digital filter bank structure for the computation of (10.9.16).
(a)
j 1 2 3 4 [
0 JT JT 7T JT
8 4 2
(b)
(a)
QMF
(b)
Outpa
Analysis Synthesis
section section
X a0(co) = -
(10.9.17)
X aX(co) = -
If Xsq(m) and Xlt(<u) represent the two inputs to the synthesis section, the output
Sec. 10.9 Applications of Multirate Signal Processing 835
is sim ply
H0(a>) = H(to)
(10.9.22)
H\ (w) = H ( oj — tt)
hnin) = h(n)
(10.9.23)
h\ ( n) = ( - 1 )nh( n)
H 2 (co) = H 2( w ) e - j,”' N - h
(10.9.30)
= \ H ( w ) \ 2e~J‘°(N- ])
an d
H 2( a>- tt) = H ? ( o > - j r ) e - jia,- ,niN- ' )
(10.9.31)
= ( - l ) N~ l \H(co - jz)\2e - JwiN- l)
w h ich av o id s th e p ro b le m o f a z e ro at a) = n f l . F o r N ev en , th e id e a l tw o -ch an n el
Q M F sh o u ld satisfy th e c o n d itio n
(10.9.36)
w = n / 2 , a n d th e p e a k p a s s b a n d a n d s to p b a n d e r r o r s a r e e q u a l. W e a ls o n o te th a t
th e f ilte r c a n b e m a d e c a u s a l b y in tr o d u c in g a d e la y o f K s a m p le s .
N o w , s u p p o s e th a t w e d e s ig n an F I R h a lf- b a n d filte r o f le n g th 2jV — 1, w h e r e
N is e v e n , w ith f r e q u e n c y r e s p o n s e a s s h o w n in F ig . 1 0 .4 2 ( a ) . F ro m B(a>) w e
c o n s t r u c t a n o th e r h a lf-b a n d filte r w ith fr e q u e n c y r e s p o n s e
B+(w) = B(co) + ( 1 0 .9 .3 9 )
as s h o w n in F ig . 1 0 .4 2 ( b ) . N o t e th a t B +(a>) is n o n n e g a tiv e a n d h e n c e it h a s th e
s p e c tr a l fa c to r iz a tio n
fl+ ( z ) = H { z ) H { z - \ - (N~ h ( 1 0 .9 .4 0 )
o r , e q u iv a le n tly ,
o r , e q u iv a le n tly ,
B+{a>) -I- ( - D ^ f l + O w - n) = a e ( 1 0 .9 .4 3 )
w h e r e a is a c o n s t a n t . T h u s , b y s u b s t itu tin g ( 1 0 .9 .4 0 ) in to ( 1 0 .9 .4 2 ) , w e o b ta in
H(z)H(z~l) + H ( - z ) H ( ~ z ~ l ) = a ( 1 0 .9 .4 4 )
Bffft)
amplitude
response of
G(z)
-S
BJta)
amplitude
response of
*♦ (*)
c h o o s in g H \ ( z ) , G o ( z ) , a n d G \ ( z ) as
H o (z) = H { z)
H \{ z ) = - z - iN - h H 0( - Z ~ ')
( 1 0 .9 .4 5 )
G 0{z) = z - (N- u H q {z - 1)
G ,( z ) = z ^ - ^ H ^ r 1 ) = - H o ( - z )
X a k (m ) = Y ^ ( — l ) knh ( n ) x ( 2 m - n ) * = 0 ,1
f l = — OC
1 OO
= £ £ ( - 1 )k<l2J+l)h { 2 l + l) x ( 2 m - 2 1 - i)
i'= 0 l=—oc
N -1 N —\
= J2 h ( 2 i) x ( 2 m - H ) + ( - 1 ) * Y i^ (2 ! + l) x ( 2 m - 2 1 - 1 ) ( 1 0 .9 .4 6 )
1=0 1 =0
N o w le t u s d e fin e th e im p u ls e r e s p o n s e o f tw o p o ly p h a s e filte r s o f le n g th N ( 2 as
P i i m ) = h {2m + i) i = 0 ,1 ( 1 0 .9 .4 7 )
T h e n ( 1 0 .9 .4 6 ) c a n b e e x p r e s s e d as
N/2- 1
X ak{m) = Y2 P o (m )x (2 (m - /))
1=0
( 1 0 .9 .4 8 )
AT/2-1
+ ( —1 )* P \{ m ) x ( 2 m — 2 1 — 1 ) Jt = 0 , 1
1=0
T h is e x p r e s s io n c o r r e s p o n d s t o th e p o ly p h a s e f ilt e r s tr u c tu r e f o r th e a n a ly s is
s e c t i o n sh o w n in F ig . 1 0 .4 3 . N o t e t h a t t h e c o m m u t a t o r r o t a t e s c o u n te r c lo c k w is e
Sec. 10.9 Applications of Multirate Signal Processing 841
10.9.7 Transmultiplexers
A n o t h e r a p p lic a t io n o f m u ltir a te s ig n a l p r o c e s s in g is in t h e d e s ig n a n d im p le m e n
t a tio n o f d ig ita l tr a n s m u lt ip le x e r s w h ic h a r e d e v ic e s f o r c o n v e r tin g b e tw e e n tim e -
d iv is io n -m u ltip le x e d ( T D M ) s ig n a ls a n d f r e q u e n c y - d iv is io n - m u ltip le x e d (F D M )
s ig n a ls .
In a tr a n s m u lt ip le x e r fo r T D M - t o - F D M c o n v e r s io n , t h e in p u t s ig n a l {jr(/?)}
is a tim e -d iv is io n m u ltip le x e d s ig n a l c o n s is tin g o f L s ig n a ls , w h ich a r e s e p a r a te d
b y a c o m m u t a t o r s w itc h . E a c h o f th e s e L s ig n a ls a r e th e n m o d u la te d o n d if f e r e n t
c a r r i e r f r e q u e n c ie s t o o b t a in an F D M s ig n a l f o r tr a n s m is s io n . In a t r a n s m u lt ip le x e r
fo r F D M - t o - T D M c o n v e r s io n , th e c o m p o s ite s ig n a l is s e p a r a te d b y filte r in g in to
t h e L s ig n a l c o m p o n e n ts w h ic h a r e th e n tim e -d iv is io n m u ltip le x e d .
I n te le p h o n y , s in g le - s id e b a n d tr a n s m is s io n is u s e d w ith c h a n n e ls s p a c e d a t
a n o m in a l 4 - k H z b a n d w id th . T w e lv e c h a n n e ls a r e u s u a lly s ta c k e d in f r e q u e n c y
t o f o r m a b a s ic g ro u p c h a n n e l, w ith a b a n d w id th o f 4 8 k H z . L a r g e r b a n d w id th
F D M s ig n a ls a r e f o r m e d b y f r e q u e n c y tr a n s la tio n o f m u ltip le g ro u p s in to a d ja c e n t
f r e q u e n c y b a n d s . W e s h a ll c o n fin e o u r d is c u s s io n to d ig ita l t r a n s m u lt ip le x e r s f o r
1 2 - c h a n n e l F D M a n d T D M s ig n a ls .
L e t us firs t c o n s id e r F D M - t o - T D M c o n v e r s io n . T h e a n a lo g F D M s ig n a l is
p a s s e d th r o u g h an A / D c o n v e r t e r a s sh o w n in F ig . 1 0 .4 4 a . T h e d ig ita l s ig n a l is th e n
842 Multirate Digital Signal Processing Chap. 10
TD M
(a)
(b)
d e m o d u la te d t o b a s e b a n d b y m e a n s o f s in g le -s id e b a n d d e m o d u la to r s . T h e o u tp u t
o f e a c h d e m o d u la to r is d e c im a te d a n d fe d to c o m m u t a t o r o f t h e T D M s y s te m .
T o b e s p e c ific , le t us a s s u m e t h a t th e 1 2 -c h a n n e l F D M s ig n a l is s a m p le d a t
th e N y q u is t r a t e o f 9 6 k H z a n d p a s s e d th r o u g h a f ilte r - b a n k d e m o d u la to r . The
b a s ic b u ild in g b lo c k in th e F D M d e m o d u la to r c o n s is ts o f a f r e q u e n c y c o n v e r te r , a
lo w p a s s filte r , a n d a d e c im a to r , a s illu s tr a te d in F ig . 1 0 .4 4 b . F r e q u e n c y c o n v e r s io n
ca n b e e ff ic ie n tly im p le m e n te d b y th e D F T f ilte r b a n k d e s c r ib e d p r e v io u s ly . T h e
lo w p a s s filte r a n d d e c im a to r a r e e ff ic ie n tly i m p le m e n te d b y u s e o f th e p o ly p h a s e
filte r s tr u c tu r e . T h u s th e b a s ic s tr u c tu r e f o r th e F D M - t o - T D M c o n v e r t e r h a s th e
f o r m o f a D F T f ilte r b a n k a n a ly z e r . S in c e th e s ig n a l in e a c h c h a n n e l o c c u p ie s a
4 - k H z b a n d w id th , its N y q u is t r a t e is 8 k H z , a n d h e n c e th e p o ly p h a s e f ilte r o u t
p u t c a n b e d e c im a te d b y a f a c t o r o f 1 2 . C o n s e q u e n tly , th e T D M c o m m u t a t o r is
o p e r a tin g a t a r a t e o f 1 2 x 8 k H z o r 9 6 k H z .
In T D M - t o - F D M c o n v e r s io n , th e 1 2 -c h a n n e l T D M s ig n a l is d e m u ltip le x e d
in to th e 1 2 in d iv id u a l s ig n a ls , w h e r e e a c h s ig n a l h a s a r a t e o f 8 k H z . T h e sig n a l
Sec. 10.9 Applications of Multirate Signal Processing 843
in e a c h c h a n n e l is in te r p o la te d b y a fa c t o r o f 1 2 a n d -fre q u e n c y c o n v e r te d b y a
s in g le -s id e b a n d m o d u la to r , as s h o w n in F ig . 1 0 .4 5 . T h e s ig n a l o u tp u ts fro m th e 1 2
s in g le -s id e b a n d m o d u la to r s a r e s u m m e d an d fe d to th e D / A c o n v e r te r . T h u s w e
o b ta in th e a n a lo g F D M s ig n a l fo r tr a n s m is s io n . A s in th e c a s e o f F D M - t o - T D M
c o n v e r s io n , th e in t e r p o la t o r an d th e m o d u la to r f ilte r a r e c o m b in e d a n d e f f ic ie n tly
im p le m e n te d b y u se o f a p o ly p h a s e filte r . T h e f r e q u e n c y tr a n s la tio n c a n b e a c
c o m p lis h e d b y th e D F T . C o n s e q u e n tly , th e T D M - t o - F D M c o n v e r t e r e n c o m p a s s e s
th e b a s ic p r in c ip le s in tr o d u c e d p r e v io u s ly in o u r d is c u s s io n o f D F T f ilte r b a n k
s y n th e s is .
O u r tr e a t m e n t o f o v e r s a m p lin g A / D a n d D / A c o n v e r te r s in C h a p te r 9 p r o v id e s
a n o t h e r e x a m p le o f m u ltir a te s ig n a l p r o c e s s in g . R e c a l l t h a t a n o v e r s a m p lin g A /D
c o n v e r t e r is im p le m e n te d b y a c a s c a d e o f a n a n a lo g s ig m a - d e lta m o d u la to r ( S D M )
fo llo w e d b y a d ig ita l a n tia lia s in g d e c im a tio n filte r a n d a d ig ita l h ig h p a s s f ilte r a s
s h o w n in F ig . 1 0 .4 6 . T h e a n a lo g S D M p r o d u c e s a 1 -b it p e r s a m p le o u tp u t a t a v e r y
h ig h s a m p lin g r a t e . T h is 1 -b it p e r s a m p le o u tp u t is p a s s e d th ro u g h a d ig ita l lo w p a ss
f ilte r , w h ic h p r o v id e s a h ig h -p r e c is io n ( m u ltip le -b it) o u tp u t th a t is d e c im a te d to
a lo w e r s a m p lin g r a t e . T h is o u tp u t is th e n p a s s e d to a d ig ita l h ig h p a s s f ilte r th a t
s e r v e s to a t te n u a te th e q u a n tiz a tio n n o is e a t th e lo w e r fr e q u e n c ie s .
T h e r e v e r s e o p e r a tio n s t a k e p la c e in a n o v e r s a m p lin g D / A c o n v e r te r , a s
s h o w n in F ig . 1 0 .4 7 . A s illu s tr a te d in th is fig u re , th e d ig ita l s ig n a l is p a s s e d th ro u g h
a h ig h p a s s f ilt e r w h o s e o u tp u t is fe d t o a d ig ita l in t e r p o l a t o r (u p s a m p le r a n d a n t i
im a g in g f ilte r ) . T h is h ig h -s a m p lin g -r a te s ig n a l is th e in p u t t o th e d ig ita l S D M th a t
p r o v id e s a h ig h -s a m p lin g -r a te 1 -b it p e r s a m p le o u tp u t. T h e 1 - b it p e r s a m p le o u tp u t
is th e n c o n v e r te d to a n a n a lo g s ig n a l b y lo w p a s s filte r in g a n d f u r t h e r s m o o th in g
w ith a n a lo g filte r s .
F ig u r e 1 0 .4 8 illu s tr a te s t h e b lo c k d ia g ra m o f a c o m m e r c ia l ( A n a l o g D e v ic e s
A D S P - 2 8 m s p 0 2 ) c o d e c ( e n c o d e r a n d d e c o d e r ) f o r v o ic e -b a n d s ig n a ls b a s e d o n
s ig m a -d e lta A / D a n d D / A c o n v e r t e r s a n d a n a lo g fr o n t- e n d c ir c u its n e e d e d a s a n
in t e r f a c e to th e a n a lo g v o ic e -b a n d s ig n a ls . T h e n o m in a l s a m p lin g r a t e ( a f t e r d e c
i m a tio n ) is 8 k H z a n d th e s a m p lin g r a t e o f th e S D M is 1 M H z . T h e c o d e c h a s a
6 5 - d B S N R a n d h a r m o n ic d is to r tio n p e r f o r m a n c e .
T h e n e e d f o r s a m p lin g r a t e c o n v e r s io n a r is e s fr e q u e n t ly in d ig ita l s ig n a l p r o c e s s in g
a p p lic a tio n s . I n th is c h a p t e r w e firs t t r e a t e d s a m p lin g r a t e r e d u c tio n ( d e c im a tio n )
a n d s a m p lin g r a t e in c r e a s e ( in t e r p o l a t i o n ) b y in t e g e r fa c to r s a n d th e n d e m o n
s tr a t e d h o w th e tw o p r o c e s s e s c a n b e c o m b in e d t o o b t a i n s a m p lin g r a t e c o n v e r s io n
b y a n y r a t io n a l f a c t o r . L a t e r , in S e c t i o n 1 0 .8 , w e d e s c r ib e d a m e t h o d to a c h ie v e
s a m p lin g r a t e c o n v e r s io n b y a n a r b itr a r y f a c t o r .
I n g e n e r a l, th e im p le m e n ta tio n o f s a m p lin g r a t e c o n v e r s io n r e q u ir e s t h e u s e
o f a lin e a r tim e - v a r ia n t filte r . W e d e s c r ib e d m e t h o d s f o r im p le m e n tin g s u c h filte r s ,
in c lu d in g th e c la s s o f p o ly p h a s e f ilte r s tr u c tu r e s , w h ic h a r e e s p e c ia lly s im p le to
im p le m e n t. W e a ls o d e s c r ib e d th e u s e o f m u ltis ta g e im p le m e n ta tio n s o f m u ltir a te
c o n v e r s io n as a m e a n s o f s im p lify in g th e c o m p le x ity o f th e f ilte r r e q u ir e d t o m e e t
t h e s p e c ific a tio n s .
In th e s p e c ia l c a s e w h e r e t h e s ig n a l t o b e r e s a m p le d is a b a n d p a s s s ig n a l, w e
d e s c r ib e d tw o m e t h o d s f o r p e r f o r m in g th e s a m p lin g r a t e c o n v e r s io n , o n e o f w h ich
in v o lv e s fr e q u e n c y c o n v e r s io n , w h ile th e s e c o n d is a d ir e c t c o n v e r s io n m e t h o d th a t
d o e s n o t e m p lo y m o d u la tio n .
F in a lly , w e d e s c r ib e d a n u m b e r o f a p p lic a t io n s t h a t e m p lo y m u ltir a te s ig n a l
p r o c e s s in g , in c lu d in g th e im p le m e n ta tio n o f n a r r o w b a n d filte r s , p h a s e s h ifte r s , fil
t e r b a n k s , s u b b a n d s p e e c h c o d e r s , a n d tr a n s m u lt ip le x e r s . T h e s e a r e ju s t a fe w o f
th e m a n y a p p lic a t io n s e n c o u n t e r e d in p r a c t ic e w h e r e m u ltir a te s ig n a l p r o c e s s in g
is u se d .
T h e firs t c o m p r e h e n s iv e t r e a t m e n t o f m u ltir a te s ig n a l p r o c e s s in g w a s g iv e n
in th e b o o k b y C r o c h i e r e a n d R a b in e r ( 1 9 8 3 ) . In t h e te c h n ic a l l i t e r a t u r e , w e c ite
th e p a p e r s b y S c h a f e r a n d R a b i n e r ( 1 9 7 3 ) , a n d C r o c h i e r e a n d R a b i n e r ( 1 9 7 5 , 1 9 7 6 ,
1 9 8 1 , 1 9 8 3 ) . T h e u s e o f i n te r p o la tio n m e t h o d s t o a c h i e v e s a m p lin g r a t e c o n v e r s io n
Serial
output
D igital
control
select
Sclk
Serial
input
b y a n a r b itr a r y f a c t o r is t r e a t e d in a p a p e r b y R a m s t a d ( 1 9 8 4 ) . A th o r o u g h tu to r ia l
tr e a t m e n t o f m u ltir a te d ig ita l filte r s a n d f ilt e r b a n k s , in c lu d in g q u a d r a tu r e m ir r o r
filte r s , is g iv e n b y V e t t e r l i ( 1 9 8 7 ) , a n d b y V a id y a n a t h a n ( 1 9 9 0 , 1 9 9 3 ) , w h e r e m a n y
r e f e r e n c e s o n v a r io u s a p p lic a tio n s a r e c ite d . A c o m p r e h e n s iv e s u r v e y o f d ig ita l
tr a n s m u lt ip le x in g m e t h o d s is fo u n d in t h e p a p e r b y S c h e u e r m a n n a n d G o c k l e r
( 1 9 8 1 ) . S u b b a n d c o d in g o f s p e e c h h a s b e e n c o n s id e r e d in m a n y p u b lic a tio n s . T h e
p io n e e r in g w o r k o n th is to p ic w a s d o n e b y C r o c h i e r e ( 1 9 7 7 , 1 9 8 1 ) a n d b y G a r la n d
a n d E s t e b a n ( 1 9 8 0 ) . S u b b a n d c o d in g h a s a ls o b e e n a p p lie d t o c o d in g o f im a g e s .
W e m e n tio n th e p a p e r s b y V e t t e r l i ( 1 9 8 4 ) , W o o d s a n d O ’N e il ( 1 9 8 6 ) , S m ith a n d
E d d in s ( 1 9 8 8 ) , a n d S a f r a n e k e t a l. ( 1 9 8 8 ) a s ju s t a fe w e x a m p le s . I n c lo s in g , w e
w ish t o e m p h a s iz e th a t m u ltir a te s ig n a l p r o c e s s in g c o n tin u e s t o b e a v e r y a c tiv e
re s e a r c h a re a .
PROBLEMS
10.1 An analog signal x a(t) is bandlimited to the range 90 0 < F < 1 1 0 0 Hz. It is used as
an input to the system shown in Fig. P10.1. In this system, H(&) is an ideal lowpass
filter with cutoff frequency Fc = 125Hz.
jr = 2500 = 1 = 250
Tx Ty
Fignre P10.1
(a) Determine and sketch the spectra for the signals x(n), w(n), v(n), and y(n).
(b) Show that it is possible to obtain y(n) by sampling x*(t) with period T = 4
milliseconds.
10.2 Consider the signal x(n) = a*u(rt), \a\ < 1.
(a) Determine the spectrum X(w).
(b) The signal x(n) is applied to a decimator that reduces the rate by a factor of 2.
Determine the output spectrum.
(c ) Show that the spectrum in part (b) is simply the Fourier transform of x(2n).
10-3 The sequence x(n) is obtained by sampling an analog signal with period T. From
this signal a new signal is derived having the sampling period T/2 by use of a linear
interpolation method described by the equation
x{n j 2), n even
Chap. 10 Problems 847
(a) Show that this linear interpolation scheme can be realized by basic digital signal
processing elements.
(b) Determine the spectrum of y(n) when the spectrum of x(n) is
f 1, 0 < M < 0.2*
W 1 0, otherwise
(c) Determine the spectrum of y(.n) when the spectrum of x(n) is
w here
sin (2^/ rn)
hr(n) = — --------- fm
2n n
COm < (t)c < Cl)J — co„
(c) Show that the bandlimited interpolation in part (b) can be thought as a two-step
process: First, increasing the sampling rate by a factor of D by inserting (£> —1)
zero samples between successive samples of the decimated signal xa(rt) = x(nD)
and second, filtering the resulting signal using an ideal lowpass filter with cutoff
frequency cuc.
10.5 In this problem we illustrate the concepts of sampling and decimation for discrete-
time signals. To this end consider a signal x ( n ) with Fourier transform X (w) as in
Fig. P10.5.
X(o>)
l L m
- 2 - 1 0 1 2 ...
Figure P10.5
(a)
(a)
x(n)
(b)
Figure P1G.10
H ( i ) = H o ( z 2) + r 1H ,(zJ )
D ete rm in e //*(;).
(c) F o r th e I I R filter with transfer function
H {z) =
1 —a z~ l
D = 100
Passband: 0 < F < 50
T ran sitio n band: 5 0 < F < 55
In pu t sam pling rate: 1 0,000 H z
R ip p le: 8i = 1 0 " ', 5 2 = 1 0 " 3
1 0 ,1 3 D esign a lin ear ph ase F I R filter th a t satisfies th e follow ing sp ecification s based on a
single-stage and a tw o-stage m ultirate stru ctu re.
1 0 .1 4 Prov e th at th e h alf-ban d filter th at satisfies (1 0 .9 .4 3 ) is alw ays odd and the even
coefficien ts are zero.
850 Multirate Digital Signal Processing Chap. 10
10.15 D esign o n e-stag e and tw o-stage in terp olato rs to m ee t the follow ing specification :
/ =20
Input sam pling rate: 10.000 H z
Passband: 0 < F < 90
T ran sitio n band: 90 < F < 100
R ip p le: a, = lO "2. ^ = lO "3
10.16 B y using (1 0 .9 .2 6 ) derive the equations correspond ing to the stru ctu re fo r the poly
phase synthesis section shown in Fig. 10.43.
10 .1 7 Show th at th e transpose o f an L-stage in terp o lato r fo r increasin g th e sam pling rate by
an in teg er facto r I is equivalen t to an L -stag e d ecim ato r th at d e cre a ses the sam pling
rate by a facto r D = I.
1 0.18 Sk etch the polyphase filter structure fo r achieving a tim e ad v an ce o f ( k / l ) T , in a
seq u en ce x(n).
10.19 Prov e th e follow ing exp ressions fo r an in terp olato r o f o rd e r /.
(a) T h e im pulse response h{n) can be expressed as
where
n = 0. ± I . ± 2 1 , . . .
o therw ise
(b) H (z) may be expressed as
« ( ;) =
i-i
(a)
X(a>)
(b)
Figure P10.19