The Sampling Process
-
Upload
muhammad-salah-elgabo -
Category
Documents
-
view
222 -
download
0
Transcript of The Sampling Process
-
7/30/2019 The Sampling Process
1/41
SamplingProcess:
The message signal is usually analog
in nature, as in a speech signal or
video signal
It has to beconvertedinto digital
form before it can be transmitted bydigital means.
-
7/30/2019 The Sampling Process
2/41
Sampling Process:
Thesampling processing is the firstprocess preformed inanalog-to-digital
conversion. In the sampling process, acontinuous-time
signal is converted into adiscrete-time
signal by measuring the signal at periodicinstants of time.
-
7/30/2019 The Sampling Process
3/41
Sampling Process:
For the sampling process to be of
practical utility, it is necessary that we
choose the sampling rate properly
So thediscrete-time resulting from
the process uniquely defines theoriginalcontinuous-time signal.
-
7/30/2019 The Sampling Process
4/41
Sampling Theorem:
Let the signal )(tx be band limited with
bandwidth W i.e., let 0)( fX .Wf for
Let )(tx be sampled at multiples of some
basic sampling interval ST, where WTS
2
1
to yield the sequence nSnTx Then it is
possible to reconstruct the original
-
7/30/2019 The Sampling Process
5/41
Sampling Theorem:
signal )(tx from the sampled values by the
reconstruction formula:
]2[sin2)( Sn
SS nTtWcnTxTWtx
WWhere ( ) is any arbitrary number thatthat satisfies .
1W
TWW
S
-
7/30/2019 The Sampling Process
6/41
Sampling Theorem:
special case whereW
TS2
1 the
reconstruction relation simplifies to:
nSn
SW
ntWc
W
nxn
T
tcnTxtx
22sin
2sin)()(
Let )(tx denote the result of the sampling
original signal by impulses atSnT time instants.
-
7/30/2019 The Sampling Process
7/41
Sampling Theorem:
Then:
n
SSnTtnTxtx )()()(
We can write )(tx as:
n
SnTttxtx )()()(
n
SS nTtnTxtx )()()(
n
SnTttxtx )()()(
-
7/30/2019 The Sampling Process
8/41
Sampling Theorem:
fW-W-fc fc0
. . . .. . . .
Wfc
ocxf
)( fx
f-W W0
ox)( fx Figure (1):
Signal spectra for low pass sampling.(a) Assumed spectrum for x(t).
(b) Spectrum of sampled signal.
-
7/30/2019 The Sampling Process
9/41
Sampling Theorem:
Now if we find the Fourier transform of
both sides of the above relation and apply
the dual of the convolution theorem to theright-hand side, we obtain:
( ) ( ) ( ) .....(4)Sn
X f X f F t nT
-
7/30/2019 The Sampling Process
10/41
Sampling Theorem:
By using Fourier Transform we obtain:
n
SnTtF )(1
....(5)
nS S
nf
T T
By substituting equation (5) into equation (4),
we obtain:
n SS T
nf
TfXfX
1)()(
n SS T
nfX
T
1
-
7/30/2019 The Sampling Process
11/41
Sampling Theorem:
Where in the last step we have employed the
convolution property of the impulse signal.
This relation shows that )( fX , the Fouriertransform of the impulse-sampled signal is a
replication of the Fourier transform of the
original signal at aS
T1 rate.
Figure (1) shows this situation.
-
7/30/2019 The Sampling Process
12/41
Sampling Theorem:
Now ifW
TS2
1 then the replicated spectrum of
)(tx overlaps, and reconstruction of the original
signal is not possible. This type of distortion
that results from under-sampling is known as
aliasing error oraliasing distortion.
-
7/30/2019 The Sampling Process
13/41
Sampling Theorem:
However, ifW
TS2
1 no overlap occurs, and by
employing an appropriate filter we can
reconstruct the original signal back. To obtainthe original signal back, it is sufficient to filter
the sampled signal by a low pass filter with
frequency response characteristic
-
7/30/2019 The Sampling Process
14/41
Sampling Theorem:
STfH )( Wf
0)( fH WT
fS
1
1. for.
2. for
For WT
fWS
1 , the filter can have any
characteristics that make its implementation easy.
Of course, one obvious (though not practical)choice is an ideal low pass filter with bandwidth
W W WT
WWS
1
where satisfies , i.e.
-
7/30/2019 The Sampling Process
15/41
Sampling Theorem:
W
fTfH S
2)(
With this choice we have:
W
fTfXfX S
2)()(
Taking inverse Fourier transform of both sides,
we obtain: tWcTWtxtx S 2sin2)()(
-
7/30/2019 The Sampling Process
16/41
Sampling Theorem:
tWcTWnTtnTx Sn
SS
2sin2
n
SSS nTtWcnTxTW 2sin2
This relation shows that if we use sine functions
for interpolation of the sampled values, we canreconstruct the original signal perfectly.
-
7/30/2019 The Sampling Process
17/41
Sampling Theorem:
The sampling rateW
fS2
1 is the minimum
sampling rate at which no aliasing occurs.
Thissampling rate is known as theNyquistsamplingrate.
If sampling is done at theNyquist rate,
then the only choice for the reconstructionfilteris an ideal low pass filter and .
2
1
STWW
-
7/30/2019 The Sampling Process
18/41
Sampling Theorem:
Then:
n
nWtcW
nxtx 2sin
2)(
n S
Sn
TtcnTxtx sin)(
In practical systems, sampling is done at a rate
higher than the Nyquist rate. This allows forthe reconstruction filter to be realizable and
easier to build.
-
7/30/2019 The Sampling Process
19/41
Sampling Theorem:
In such cases the distance between two adjacent
replicated spectra in the frequency domain; i.e.
WfWWT SS 2
1
, is known asthe guard band.Note that there exists a strong similarity
between our development of the sampling
theorem and our previous development of theFourier transform for periodic signals
(or Fourier series).
-
7/30/2019 The Sampling Process
20/41
Sampling Theorem:
In the Fourier transform for periodic signals,
we started with a time periodic signal and
showed that its Fourier transform consists ofa sequence of impulses.
Therefore, to define the signal, it was enough
to give the weights of these Impulses(Fourier series coefficients).
-
7/30/2019 The Sampling Process
21/41
Sampling Theorem:
In the sampling theorem, we started with an
impulse-sampled signal, or a sequence of
impulses in the time domain, and showed thatthe Fourier transform is a periodic function in
the frequency domain. Here again, the values
of the samples are enough to define the signalcompletely.
-
7/30/2019 The Sampling Process
22/41
Sampling Theorem:
This similarity is a consequence of the duality
between the time and frequency domains and
the fact that both the Fourier series expansionand reconstruction from samples are orthogonal
expansions, one in terms of the exponential
signals and the other in terms of the sineFunctions.
-
7/30/2019 The Sampling Process
23/41
Analog Pulse Modulation:
In the sampling theory section we show that
continuous band limited signals can be
represented by a sequence of discrete samplesand that the continuous signal can be
reconstructed with negligible error if the
sampling rate is sufficiently high.Consideration of the sampled signals leads us
to the topic of the pulse modulation.
-
7/30/2019 The Sampling Process
24/41
Analog Pulse Modulation:
Pulse modulation can be either analog, in which
some attribute of a pulse varies continuously in
one-to-one correspondence with sample value,or digital, in which some attribute of a pulse can
take on a certain value from a set of allowable
values.
-
7/30/2019 The Sampling Process
25/41
Analog Pulse Modulation:
t
t
t
tAnalog
Signal
(Samples)
PAM Signal
PWM
Signal
PPM
SignalTs 2Ts 9Ts0
Figure (2): illustration ofPAM, PWM, and PPM
-
7/30/2019 The Sampling Process
26/41
Analog Pulse Modulation:
As mentionedAnalog Pulse Modulation
results when some attribute of a pulse values
continuously in one-to-one correspondencewith a sample value. There are three pulse
attributes that can be readily varied:
Amplitude, Width, andPosition.
-
7/30/2019 The Sampling Process
27/41
Analog Pulse Modulation:
These lead to pulse amplitude modulation
(PAM), pulse width modulation (PWM), and
pulse position modulation (PPM), as illustratedin figure (2).
-
7/30/2019 The Sampling Process
28/41
Pulse Amplitude Modulation:
A (PAM) waveform consists of a sequence of
a flat-topped pulses designating sample value.
The amplitude of each pulse corresponds to thevalue of the message signal at the leading edge
of the pulse.
The essential difference between PAM andsampling operation is that in PAM we allow the
sampling pulse to have finite width.
-
7/30/2019 The Sampling Process
29/41
Pulse Amplitude Modulation:
The finite-width pulse can be generated from
impulse-train sampling function by passing
the impulse-train sample through a holdingnetwork as shown in figure (3). The holding
network transforms the impulse function
samples, given by:
n
sS nTtnTxtx )(
-
7/30/2019 The Sampling Process
30/41
Pulse Amplitude Modulation:
(a)
Input PAM Output
)(th (b)
)(th
0 t
Slope= -
(d)
f
)( fH
2/1/-1/-2/
f0
(c)
)(fH
2/1/-1/-2/f
0
(c)
)(fH
Figure (3): Generation of PAM.(a) Holding network.(b) Impulse response of holding network.(c) Amplitude response of holding network.(d) Phase response of holding network.
-
7/30/2019 The Sampling Process
31/41
Pulse Amplitude Modulation:
From figure (2) a PAM signal can be written as:
n
S
SPAM
nTt
nTxtx
2
1
)(
The waveform is generated by placing the
impulse function in (11) on the output of aholding network having the impulse response.
-
7/30/2019 The Sampling Process
32/41
Pulse Amplitude Modulation:
2
1
)(
SnTt
th
And the transfer function is:
fjefcfH
sin)(
-
7/30/2019 The Sampling Process
33/41
Pulse Amplitude Modulation:
Since the holding network dose not have a
constant amplitude response over the bandwidth
of)(tx , unless of course the pulse widthis sufficiently narrow, amplitude distortion
results. This amplitude distortion can be
removed by passing the samples, prior toreconstruction of )(tx
-
7/30/2019 The Sampling Process
34/41
Pulse Amplitude Modulation:
through a filter having an amplitude response
equal to )(1 fH , over the bandwidth of ).(tx
.
Since the phase response of the holdingnetwork is linear, the effect is a time delay and
can usually be neglected.
-
7/30/2019 The Sampling Process
35/41
Pulse Width Modulation:
A (PWM) waveform, as illustrated in figure (2),
consists the sequence of pulse width each pulse
having a width proportional to the values of thea message signal at the sampling instants.
If the message is (0) at the sampling time, the
width of the (PWM) pulse is .21
ST
-
7/30/2019 The Sampling Process
36/41
Pulse Width Modulation:
Thus, pulse widths less thanST
2
1correspond
to negative sample values and the pulse widths
greater than correspond to positive sampleST21
values.
PWM is seldom used in modern communications
systems.
-
7/30/2019 The Sampling Process
37/41
Pulse Width Modulation:
PWM is used extensively for DC motor
control in which motor speed is proportional
to the width of the pulses.Since thee pulses have equal amplitude, the
energy in a given pulse is proportional to the
pulse width. Thus, the sample values can berecovered from a PWM waveform by low pass
filtering.
-
7/30/2019 The Sampling Process
38/41
Pulse Position Modulation:
A (PPM) signal consists of a sequence of
pulses in which the pulse displacement from
a specified time reference is proportional tothe sample values of the information-bearing
signal.
A (PPM) signal is illustrated in figure (2),and can be represented by the expression:
-
7/30/2019 The Sampling Process
39/41
Pulse Position Modulation:
n
nttgtx )()(
Where )(tg represents the shape of theindividual pulses, and occurrence times nt
are related to the values of the message signal
)(txSnTat the sampling instants , as discussed
previously.
-
7/30/2019 The Sampling Process
40/41
Pulse Position Modulation:
The spectrum of a PPM signal is very similar to
the spectrum of a PWM signal.
If the time axis is slotted so that a given rangeof sample values is associated with each slot,
the pulse positions are quantized and pulse is
assigned to given slot depending on the samplevalue.
-
7/30/2019 The Sampling Process
41/41
Pulse Position Modulation:
Slots are non-overlapping and are therefore
orthogonal.
If a given sample value is assigned to oneof (M) slot, the result is (M-ary) orthogonal
communications. PPM is finding new
applications in area of ultra-widebandcommunications.