Adobe Scan 04 May 2023
Adobe Scan 04 May 2023
Sampling
B2 SAMPLING
The
fictitious switch shown in Figure 8.1.
Sanpl ing
SWch is closedOperation
for a very
represented by a
be interval of time T(ideally, t= 0), once every Tsec during
canshort
Whçch the signal IS available at the output. Therefore, if the input is x(), then the
output x,)
AnT), n =0, EI, 2, ... and x(nT) is called the sampled sequence of x(), where T is
Galkd the sampling period or sampling interval. It is the time interval between successive
ples and the sampling frequency is given byf =(1/T) Hz. Although a mechanical switch
Shown in Figure 8.1, in
in actual practice, an electronic switch
may be used.
541
542 Signals and Systems
x(0) 4 x(nT)
x() ,()
x(n) = x(T)
x,() -2TT2T
x() x(nT) -3T -TO
-2T -T 0 T 2T
Figure 8.2 Sampling
operation.
4441
Sampling| 543
1()is
the produet of signal x() and impulse train
intervals of T sec and `,(). It is a sequence of
at regular having strength equal to the values of impulses
a'spo1ng instants. x(t) at the
A) =) ö) where S,)= ) S
-nT)
The exponential form of Fourier series of ) is:
F(x,()): n=
Le. X,(o) =
n=-o
is the spectrum of input signal and X(o) or X,(f) is the spectrum of the
WIeTe X( a) or Xf)
Sampled signal,) shifted
transform of the sampled signal is given by an infinite sum of
Ihus, the Fourier
eplicas of the Fourier transform of the f. original signal.) n] is the shifting of X(0)
The term X[0 - (2rr/T)
Lne signal x() is band
limited to
sum of shifted replicas of (/T) X(0)
X{o) is the for
from ) = 0 to 0 = (2r/T)n( Hence..)Figure 8.3 shows the plot of X(0) and X,(0)
+1. 2, will
(n/T) 2 O, the replicasrange
ng at (2r/T) n, n = 0. [Figure 8.3(b) and (c)] if frequency
notValües of n/T. It showsthethatfrequency spectrum of TX(o) in thepassing it through a
K a p and as a result, Xí), X(o) can be recovered from X,(0) by
B, where ,
sBS u
L), n/T] is identical to with bandwidth
cutoff at w = r¯T (or will overlap and the
pass fifter which has sharp 8.3(d)], the successive frequency spectra we can say that for
,). If (z/T) < O,, [Figure Theretfore,
from the sampled signal.
recovered
original signal cannot be
Signal recovery. W, - W,,
2,,, 1.e. 0, 2
2,.
544 Signals and Systems
ie. TS
f.
4X( 0)
-0,. 0
(a)
4 X,(0)
I/T
-o/2
2r -Qto, 0
-0-0,
(b)
+X,(@)
-W+so m
- m /T
Qwm s
-3 o 270
T
(c)
4X(0)
li/T
-0,
2 -),m 0
T T T
T (d) trequen
sn
and (d)
fespectively.
(b). (c)
Cioure 8.3 (2) Frequency spectrum of continuous-time signal x(1).(n/T) < om
of sampled signal x() for (n/T) > o,m, (r/T) = 0, and
conclude that if the sampling interval
So we
can
but if T becomes larger than TissImall Sampling 545
hen there |is<<2f),
N,(e), 2..
fnm io) cannot be X o0) can be
wks and
recovered from an
Hrom the
previous
discussiOn, X(O)) This proves the overlap between recovered
wve can
to retneve () from A,().
Thus, we find that in general, there are
observe that
when sampling
the theorem.successive
spectra overlap. it
two basic s
from its samples.
should be
conditions to be satisfied if x 1s to
The sampling
band-limitedo, tosome frequency
frequency should be atleast
twice the
From Figure 8.3. we can observe that:
band-limiting frequency 0.
frequency spectra
components. Whenconsisting of low frequency as high
frequency Ireguen
asignal is
sampled, with components f allsignals with alastt
as well
range higher than o,/2 appear as signal sampling frequency. Q72creating
frequencies
Therefore, to avoid afiasing errors caused berween high
by the undesired 0 andfrequency signals,
necessary to first band-limit x() LPF suchth
to an
some appropriate frequency f bY using
Sampling 547
This LPF used lor band-limiting a signal before
retained.
of the
energy is generally referred to as an anti-aliasing filter since itsampling.
part 8.4, is is used
smst i n Figure
shOWn
for preventing aliasing.
7SAMPLING TECHNIQUES
is done in several ways. Basically there are three types of sarnpling
Sanmpling of a signal
mhniques: sampling
KInstantaneous sampling or impulse
2Natural sampling
A Flat top sampling impulse sampling is also called ideal
instantaneous or
Out of these three methods, Flat top sampling are called practical sampling
sampling and the Ssubsequent sections.
sAmpling. whereas the natural
techniques are discussed in detail in
methods. These sampling
Sampling
87.1 ldeal or Impulse kth element of the sequence
done
instantaneously so that the operation is shown in
be kT. The
ldeally, sampling should represents the value of x(1)
at =
for
every
zero time once in time
closes almost
0alned by sampling that the fictitious sampler output for a very very short an
Tgure 8.5(a).
Assume
the input signal to the switch can be replaced by
Tsec. It is equivalent to
transmitting mechanical Figure 8.5(b).
sec. The as shown in
almost zero time) once in
every T Amplitude Modulator
clectronic switch which is
basically a Pulse
x,()
x(nT)
n (b)
(a)
4 x(0)
2T
-27-T 0 T
(c)
8.5 Idealsampling.
548 Signals and Systems
Now. the operation is cquivalent to multiplying the inpul ignal x(t) by an impule
is a train of
as shown in Figure 8.5(c). So the output of the sampler
to the instantancous value of the input signal at the sampling
instant
The impulse train, also called the sampling uncion IS represented ..
impulses
of
S,() = X St -nT)
The sampled signal is given by
x,(0) = x() S,() =x() 8-nT) = x(nT) S(1 -nT)
n=-oo n=-00
X,()=f. n=-oo
xf-nf,)
This equation gives the spectrum of ideally
XÁo) is an infinite sum of shifted repticas of X( sampled signal. It shows that the ste
0) spaced no, apart, where n=t1. 1
and scaled by a factor 1/7) However, it may be
noted that ideal or instantaneous samplin:
possible only in theory because it is impossible to have a pulse
zero, Practically, the flat top sampling or natural sampling is used.with pulse width approachng
8.7.2 Natural Sampling
Natural sampling, also called sampling, using a
of accomptishing sampling of a sequence of pulses the most pracical w
signal x) with a pulse train P) as band-limited signal. This is achieved by muliply1ng
shown in
duration t and occurs at a sampling period of T Figure 8.6. Each pulse of Pr) 1S0
input duning that short duration, t. sec. The output of the
Hence is termed as natural
it sampler 1s sal
sampling.
,() =)pl)
Figure 8.6
Figure 8.7 explains the process of naturalNatural
sampling.
sampler.Figure 8.7(a) is the signalxt) N
sampled, and Figure 3.7(b) is its
Figure 8.7(d) is its spectrum Pf).spectrum
Figure X(f),
8.7(e) Figure
is the 8.7(c)
outputis of hepulse
Sampler
train, rl0),sol
the
Sampling 549
output spectrum X(). From Figure 8.7), it is clear that Xf) can be
is the x() can be recovered from x(0), if ,> 2fm by using an LPF
X.¯). ic.atleast
from constant upto f = f. and whose cutoff frequency B is such that
aerd
A) 4X)
Jm
0
(b)
(a)
4PA) 4Pð)
(d)
(C)
4X,(6)
4x,(1)
0 ()
(e) sampling.
Figure 8.7 Natural
where
-2
much less than T
Since the width of p). single pulse in P, () is very
D2, we may write and pt)
-D2
C, =f,Pnf,)
where Puf,) = F[p),.=nf,
Pr() = f, Pf)e2rnl4
n=-oo
and
n=-0o
x,()
(a)
x(0)
x(0)
a(-7) x(7)
(-27)
x(2T)
-1 2T 37
-2T
(b)
output of S/H circuit.
Figure 8.8 (a) Schematic of an S/H circuit, (b) Signal x() and
x,(t) consists of a sequence of
From the Figure, it is obvious that the sampled version, = kT and the amplitude of the
at
fectangular pulses, the leading edge of the kth pulse being
pulse being the value of x(t) at t = kT, i.e. x(kT). ideally
signal x.(t) is the convolution of rectangular pulses p() and the
Ine sampled
sampled version of x(t), i.e. of x()
X,(f) = PS) Xsð)
8.9.
Assume thaat x(t) has a spectrum as shown in Figure
4Xð)
JM X).
Figure 8.9 Assumed shape of which is a sinc
transtorm, P) only at
width t, its Fourier have its first zero values away
Since p(t) is a of will far
rectangular pulse in Figure 8.10and occur at t(l/r), will be
8.10(b).
funcúon will have a Shape as shown
values of |POl
Since t <T, these zero Xsf), its plot will be
which
as shown in
Figure
chaangingthe
order of summation and integration,
(a UNon
.
-f. Filter
(b)
J 8A1 ldeal Reconstruction
Figure 8.10 (a) Plot of w0ksampled at a frequency exceeding the Nyquist rate and if the sampled signal x4) is
PO) and Xf). (b)
Observe asthat the Plot of X(f) = dthrough an ideal LPF, with bandwidth greater than f, but less than f, - hand apass
reduced compared magnitudes of the high P{)XAfy nd amplitude response of 7, the tilter output is x(). We choose the bandwidth of the ideal
of Xsf) bythe magnitudes of frequeney
to onstriction filter to be 0.5f,. The ransfer function of this ideal reconstruction filter is.
multiplication
x(), by passing x,(t) low components
Pð). So we can only get a frequency in Xf) are releiod
the
componentof xt),
s becaue
therelore.
This through an LPF. distorted version H)= lfl<0.5f.
relative to distortion, wherein the
the amplitudes of the amplitudes of the high
but o eu
0, otherwise
obtained from the flat top low
frequency frequency components are reðut! 2s shown in Figure 8.11.
This aperture effect
can besampled version components,
of the signal is in the reconstructed signal zs
referred to as the aperture fet
cascade with the reduced by
reconstruction filter and using an
adjusting equalizer with transfer function HÊna
H¯) so that
Ideal reconstruction filter
+Hð)
Zx(nT) 8 -nT) T
or
x,()= X x(nT) t - nT) Which is
h) = T
since S(t - nT) is zero except at the sampling instants =nT. The reconstruction filter.
is assumed to be linear and time invariant, has unit impulse response h), The reconstruct sin r/,
filter output, y() is given by the convolution, 2j
554 Sienals und Systems
h() = sinc f
get
Substituting this value of h() in the expression for output y(), we
This shows that the original data signal can be reconstructed by weighing each samçle
sinc function centred at the sample time and summing.
The reconstruction filter discussed above is non-causal and the
limited. So it cannot be used for real time applications. impulse response
In practice, several other methods are used to reconstruct the signal. Some
important ones among them are:
Zero order hold
First order hold
Linear interpolator
Most commonly the signal is reconstructed using zero order hold.
8.8.2 Zero Order Hold
One of the most widely used interpolator is the zero order hold (ZOH).The ZOH reconst
the continuous-time signal from its samples by holding the given sample for an interu
the next sample is received) as shown in Figure 8.12. So the ZOH generaie
approximations.
Mathematically.
R) = x(n) for n+T Sns (n + 1)T
In particular.
|-e
Solution:
(a) Given
x)=1 +cos 20001 +sin 4000t
4000
sec =0.25 ms
Aliternative method
Given x() =1+ cos 2000 + sin 4000z
Taking Fourier transform on both sides, we get
X(O) = 2rÖ w) + n| Sw+2000z) + Sw- 20007))
Sampling 4000.
sinc
Fourier
si4000
nc(4000z1)
o,,
a
is 8.14(b).
4000z. is
pulse
the
Hz
O,t
4000r.
Hz
4000
ms
=0.25 rectangular
property,
Figure
= sin
4000 =0.25
ms 2/m
fN
G)
is Hz
2000
= fN
2fm
=
4000It
=
2000
Hz =
2000 4000z1
inshownsin 4000xt
#2)).
= sin(4000xt) 4000 duality 40001
8.13 2000 x(0) 4000
=
2fm =2fm=2x 1 a sinc[r(
4000 in = =interval
Nyquist of
Figure 2f, =2x 1 sin component4000z theUsingas
transform
Fourier
= interval
Nyquist 27
f pulse 4000
= t function
Sinc 2
x(t) incomponent
component2T 40002
in Wm f
rate
= rate 14(a).
rectangular
a
form