You are on page 1of 11

DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGG.

NATIONAL INSTITUTE OF TECHNOLOGY KARNATAKA, SURATHKAL


PRACTICE PROBLEMS
Problem 4.1.1
Consider the cosine wave
g (t) = A cos(2 f0t)
Plot the spectrum of the discrete-time signal g (t) derived by sampling g (t) at the times tn = n=fs , where
n = 0 1 2   and
(i) fs = f0 (ii) fs = 2f0 (iii) fs = 3f0

Solution
g (t) = A cos(2 f0t)

G(f ) = A2 (f ; f0 ) + (f + f0)]


Hence,

1
X
G (f ) = fs G(f ; mfs)
m=;1
Afs X1
= 2 m=;1  (f ; f0 ; mfs ) +  (f + f0 ; mfs )]
(i) fs = f0
1
X
G (f ) = Af2 0  (f ; f0 ; mf0 ) +  (f + f0 ; mf0 )]
m=;1
(ii) fs = 2f0
1
X
G (f ) = Af0  (f ; f0 ; 2mf0 ) +  (f + f0 ; 2mf0 )]
m=;1

1
G(f )

A=2

f0 f
;f0 0

G (f )

Af0

f
;3f0 ;2f0 ;f0 0 f0 2f0 3f0

Figure 1: fs = f0

G (f )

2Af0

f
;7f0 ;5f0 ;3f0 f0 0 f0 3f0 5f0 7f0

Figure 2: fs = 2f0

2
(iii) fs = 3f0
1
X
G (f ) = 3Af
2
0
 (f ; f0 ; 3mf0) +  (f + f0 ; 3mf0 )]
m=;1

G (f )

3Af0=2

f
;7f0 ;5f0 ;4f0 ;2f0 ;f0 0 f0 2f0 4f0 5f0 7f0

Figure 3: fs = 3f0

Problem 4.1.2
The signal
g (t) = 10 cos(20 t) cos(200 t)
is sampled at the rate 250 samples per second.
(a) Determine the spectrum of the resulting sampled signal.
(b) Specify the cuto frequency of the ideal reconstruction lter so as to recover g (t).
(c) What is the Nyquist rate for g (t).

Solution
The signal g (t) is

g (t) = 10 cos(20 t) cos(200 t)


= 5 cos(220 t) + cos(180 t)]
Hence,

3
G(f ) = 2:5  (f ; 110) +  (f + 110) +  (f ; 90) +  (f + 90)]
Correspondingly the spectrum of the sampled version of g (t) with a sampling period Ts = 1=250s is given
by

1
X
G (f ) = fs G(f ; mfs )
m=;1
1
X
= 625 (f ;110;250m)+ (f +110;250m)+ (f ;90;250m)+ (f +90;250m)]
m=;1
(b) the spectrum G(f ) and G (f ) are illustrated in Fig. (4). From this gure we deduce that in order to
reconstruct the original signal g (t) from g (t), we need to use a low-pass lter with a cuto frequency greater
than 110Hz but less than 140Hz.
(c) The highest frequency component of g (t) is 110Hz. Hence, the Nyquist rate of g (t) is 220Hz.
G(f )

f, Hz
-110 -90 0 90 110

G (f ) Ideal reconstruction
lter response

-250 -160 -90 90 110 140 160 250 340 410


360 390
-140 -110
Figure 4: Problem: 4.1.2

4
Problem 4.1.3
A signal g (t) consists of two frequency components f1 = 3:9 kHz and f2 = 4:1 kHz in such a relationship
that they just cancel each other out when the signal g (t) is sampled at the instants t = 0 T 2T   , where
T = 125s. The signal g (t) is dened by

g (t) = cos 2 f1t + 2 + A cos(2 f2t + )
nd the values of amplitude A and phase  of the second frequency component.

Solution
The signal at the sampling instants is

g(nT ) = cos(2 f1nT + 2 ) + A cos(2 f2nT + )


= 0 n = 0 1 2   
At n = 0
cos( 2 ) + A cos() = 0
Hence,
A cos() = 0 (1)
At n = 1, with f1 = 3:9 kHz, f2 = 4:1 kHz, and T = 125s, we have
cos(0:975 + 2 ) + A cos(1:025 + ) = 0 (2)
From (1), we deduce that A must be nonzero. Hence,  = =2. Accordingly, (2) simplies as
; sin(0:975 ) A sin(1:025 ) = 0 (3)
But sin(1:025 ) = ; sin(0:025 ) and sin(0:975 ) = + sin(0:025 ). To satisfy (3), we must therefore have
A=1
and the ambiguous sign (of ) must be negative. That is
 = ; =2

Problem 4.1.4
5
Let E denote the energy of a strictly band-limited signal g (t). Show that E may be expressed in terms of
the sample values of g (t), taken at the Nyquist rate, as follows:
1 X1  n 2
E = 2W g 
n=;1 2 W
where W is the highest frequency component of g (t).

Solution
If g (t) is band-limited to ;W  f  W , we may express it as:
X1 
g(t) = g 2nW sinc(2Wt ; n)
n=;1
The energy of g (t) is therefore
Z1
E = g (t)g(t)dt
;1
Z1 X 1 n  sinc(2Wt ; n) X1  k 
= g 2W g 2W sinc(2Wt ; k)
;1 n=;1 k=;1
X1 X 1 n  k Z 1
= g 2W g 2W sinc(2Wt ; n)sinc(2Wt ; k) (1)
n=;1 k=;1 ;1
But
Z1 8
< 1  k=n
sinc(2Wt ; n)sinc(2Wt ; k) = : 2W
;1 6 n
0 k =
Hence, we may satisfy (1) as
1 X1  n 2
E = 2W g 
n=;1 2 W

Problem 4.1.5
Consider a continuous-time signal g (t) of nite energy, with a continuous spectrum G(f ). Assume that G(f )
is sampled uniformly at the discrete frequencies f = kFs , thereby obtaining the sequence of frequency samples
G(kFs), where k is an integer in the entire range ;1 < k < 1, and Fs is the frequency sampling interval.
Show that if g (t) is duration-limited, so that it is zero outside the interval ;T < t < T , then the signal is
completely dened by specifying G(f ) at frequencies spaced 1=2T hertz apart.

6
Solution
Since g (t) = 0 outside the interval ;T < t < T , we may express the Fourier transform of g (t) as
ZT
G(f ) = g(t) exp(;j 2 ft)dt (1)
;T
Expanding g (t) as a Fourier series, with period 2T , we have
1
X 
g(t) = ck exp j Tkt  ;T < t < T
k=;1
where
ZT 
ck = 21T g(t) exp ; j Tkt dt (2)
;T
Comparing (1) and (2), we deduce that

1 k 
ck = 2T G 2T = Fs G(kFs )
where Fs = 21T
Therefore,
1
X
g(t) = Fs G(kFs ) exp(j 2 kFst) ;T < t < T (3)
k=;1
Substituting (3) in (1), we get

1
ZT X
G(f ) = Fs G(kFs ) exp(j 2 kFst) exp(;j 2 ft)dt
;T k=;1
X1 ZT
= Fs G(kFs) exp ;j 2 t(f ; kFs )]dt
k=;1 ;T
X1 
= G 2kT sinc(2Tf ; k) (4)
k=;1
We may thus state that
1. The signal g (t), and therefore its spectrum G(f ) is uniquely determined in terms of samples of G(f )
taken at the rate Fs = 1=2T .
2. Given the frequency samples fG(k=2T )g, k = 0 1 2   , the original spectrum G(f ) can be recon-
structed without distortion.

Problem 4.2.1
7
The spectrum of a band-pass signal occupies a band of width 0.5 kHz, centered around 10KHz. Find the
Nyquist rate for quadrature sampling the in-phase and quadrature components of the signal.

Solution
g(t) = gI (t) cos(2  103t) ; gQ(t) sin(  103t)
where gI (t) and gQ (t) are low-pass signals with a bandwidth:
W = 12  0:5 = 0:25 kHz
The Nyquist rate for gI (t) and gQ (t) is therefore
2W = 0:5 kHz

Problem 4.4.1
The signals
g1(t) = 10 cos(100 t)
and
g2(t) = 10 cos(50 t)
are both sampled at times tn = n=fs , where n = 0 1 2   , and fs = 75 samples per second. Show that
the two sequences of samples thus obtained are identical.

Solution
We note that
1. The Nyquist rate of g1 (t) is 100 Hz hence, with a sampling rate of 75 Hz, the signal g1(t) is under-sampled
by 25 Hz below the Nyquist rate.
2. The Nyquist rate of g2 (t) is 50 Hz hence, with a sampling rate of 75 Hz, the signal g2(t) is over-sampled
by 25 Hz above the Nyquist rate.
3. Although g1(t) and g2(t) represent sinusoidal waves of dierent frequencies, by under-sampling g1(t) and
over-sampling g2(t) appropriately, their sampled versions are identical.

Problem 4.4.2

8
G(f)

G(0)

f (Hz)
-1 0 1

Figure 5: Problem 4.4.2

Figure 5 shows the spectrum of a low-pass signal g (t). The signal is sampled at the rate of 1.5 Hz, and then
applied to a low-pass reconstruction lter with cuto frequency 1 Hz. Plot the spectrum of the resulting signal.

Solution
G (f )

f (Hz)
-1.5 0 1.5

Reconstructed
spectrum

f (Hz)
-1 0 1
Figure 6: Problem 4.4.2

Problem 4.5.2
This problem is aimed at investigating the fact that the practical electronic circuits will not produce a
sampling function that consists of exactly rectangular pulses. Let h(t) denote some arbitrary pulse shape so
9
that the sampling function c(t) may be expressed as
X1
c(t) = h(t ; nTs )
n=;1
where Ts is the sampling period. The sampled version of an incoming analog signal g (t) is dened by
s(t) = c(t)g(t)
(a) Show that the Fourier transform of s(t) is given by
1
X
S (f ) = fs G(f ; nfs )H (nfs )
n=;1
where G(f ) = F g (t)] H (f ) = F h(t)], and fs = 1=Ts .
(b) What is the eect of using the arbitrary pulse shape h(t)?

Solution
(a) The Fourier transform of the sampling function is

1
X
C (f ) = H (f ) exp(;j 2 mfTs)
m=;1
X1
= H (f ) exp(;j 2 mfTs)
m=;1
H ( f ) X1 k 
= T  f;T
s k=;1 s
1 X1 k  k 
= T H T  f;T
s k=;1 s s
The Fourier transform of the sampled signal is

S (f ) = C (f8)  G(f )
1 <X 1 k  k 9
=
= T : H T  f ; T   G(f )
s k=;1 s s
X1  
= T1 H Tk G f ; Tk
s k=;1 s s

(b) Using an arbitrary pulse shape h(t) means that the sampled spectrum is no longer periodic. Instead,
each replica of G(f ), centered at f = k=Ts, is multiplied by a frequency dependent constant H (k=Ts). However,

10
when the signal is reconstructed by a low-pass lter, all replicas are removed, leaving, Ts;1 H (0)G(f ). Thus,
except for a scaling factor, an arbitrary sampling function will not aect the reconstructed signal.

Problem 4.7.3
Twenty-four voice signals are sampled uniformly and the time-division multiplexed. The sampling operation
uses at-top samples with 1 microsecond duration. The multiplexing operation includes the provision for
synchronization by adding an extra pulse of sucient amplitude and also 1 microsecond duration. The highest
frequency component of each voice signal is 3.4 kHz.
(a) Assuming a sampling rate of 8 kHz, calculate the spacing between successive pulses of the multiplexed
signal.
(b) Repeat your calculation assuming the use of Nyquist rate sampling.

Solution
(a) The sampling period is Ts = 1=8000 = 125s. There are 24 channels and 1 sync pulse. Hence the time
allotted to each channel is
Ts = 5s
Tc = 25
The pulse duration is 1 s, and so the time between pulses is 4s.
(b) Assuming the use of sampling at the Nyquist rate (6.8 kHz), the sampling period is
Ts = 6:8 110;3 = 0:147  10;3s = 147s
Correspondingly,
Tc = 147
25 = 6:68s

Time between pulses = 5:68s

11

You might also like