Lecture 8
Lecture 8
Sampling
1
Introduction
Points to be discussed in this lecture
• Natural Sampling
• Practical Considerations
2
Introduction
Message signals generated by analog
information sources such as speech, music,
picture, video, etc., are continuous in both,
amplitude and time/space (analog).
3
Introduction
Sampling plays a role as a bridge between
continuous-time signals and discrete-time signals.
4
Introduction
Sampling plays a role as a bridge between
continuous-time signals and discrete-time signals.
5
Instantaneous (Ideal) Sampling
Consider a signal xs ( t ) obtained by
instantaneous sampling a signal x ( t ) at a periodic
interval Ts . Ts is sampling period and f s = 1T is the
s
sampling rate.
x (t )
xs ( t )
t
−Ts Ts
6
Instantaneous (Ideal) Sampling
The instantaneous sampled signal xs ( t ) can be
expressed in the time domain by
∞
xs ( t ) = ∑ x ( nT )δ ( t − nT )
n =−∞
s s
7
Instantaneous (Ideal) Sampling
x (t ) xs ( t ) = δ Ts ( t ) × x ( t )
∞
δT (t ) =
s ∑ δ ( t − nT )
n =−∞
s
8
Instantaneous (Ideal) Sampling
Using frequency convolution property, it follows
that
1 ∞ ⎛ 1⎞
Xs ( f ) = X ( f )∗ ∑ δ ⎜ f − n ⎟
Ts n=−∞ ⎝ Ts ⎠
Prove!
1 ∞ ⎛ 1⎞
= ∑ X ⎜ f −n ⎟
Ts n=−∞ ⎝ Ts ⎠
Note that:
1. X ( f ) is a continuous spectrum.
2. X s ( f ) is periodic with a period equal to 1T
s
9
Instantaneous (Ideal) Sampling
Alternatively, X s ( f ) can be derived using the time-
shift property of Fourier transform i.e.,
∞
1
Xs ( f ) =
Ts
∑ x ( nT ) exp ( − j 2π fnT )
n =−∞
s s
10
Sampling Theorem
Let the spectrum of x ( t ) be strictly band-limited to
B Hz as shown below
| X ( f )|
f
−B B
11
Sampling Theorem
In this case,
∞
X s ( f ) = 2 B ∑ X ( f − 2 Bn )
n =−∞
| Xs ( f )|
2B
f
−3B −B B 2B 3B
12
Sampling Theorem
Therefore, the spectrum of x ( t ) , X ( f ) can be
derived from X s ( f ) as
1
X(f )= Xs ( f ) −B≤ f ≤B
2B
1 ∞ ⎛ n ⎞ ⎛ π nf ⎞
= ∑ x⎜ ⎟ exp ⎜ − j
2 B n=−∞ ⎝ 2 B ⎠ ⎝
⎟
B ⎠
−B≤ f ≤B
13
Sampling Theorem
Reconstruction of x ( t ) from xs ( t ) can be derived
from the inverse Fourier transform of X ( f ).
∞
x ( t ) = ∫ X ( f ) exp ( j 2π ft ) df
−∞
1 ∞ ⎛ n ⎞ ⎛ π nf ⎞
∑ ⎟ exp ( j 2π ft ) df
B
=∫ x⎜ ⎟ exp ⎜ − j
n =−∞ ⎝ 2 B ⎠ ⎝ ⎠
− B 2B B
∞
⎛ n ⎞
= ∑ x⎜ ⎟sinc ( 2 Bt − n )
n =−∞ ⎝ 2 B ⎠
14
Sampling Theorem
Sampling theorem states that:
15
Sampling Theorem
Reconstruction of x ( t ) from xs ( t ) is implemented by
means of a low-pass reconstruction filter.
16
Sampling Theorem
| Xs ( f )|
2B
f
− f s < −2 B −B B fs > 2B
| Xs ( f )|
2B
f
− fs > 2B −B B fs < 2B
17
Flat-Top (Zero-Order Hold) Sampling
Flat-top sampling of x ( t ) is obtained by
instantaneous sampling at sampling period Ts and
holding the sample value for a duration of T sec.
Flat-top sampled signal is defined by
∞
xs ( t ) = ∑ x ( nT ) g ( t − nT )
n =−∞
s s
∞
= g (t ) ∗ ∑ x ( nT )δ ( t − nT )
n =−∞
s s
∞
= g ( t ) ∗ x ( t ) ∑ δ ( t − nTs )
n =−∞
18
Flat-Top (Zero-Order Hold) Sampling
x ( nTs ) n-th sample of message signal x ( t ) .
Ts Sampling period
1/ Ts ≥ 2 B Sampling rate
⎧1, 0≤t ≤T
g (t ) = ⎨
⎩0, elsewhere
19
Flat-Top (Zero-Order Hold) Sampling
x (t )
g (t )
xs ( t ) =
⎡⎣δTs ( t ) × x( t )⎦⎤ ∗ g( t )
∞
δT (t ) =
s ∑ δ ( t − nT )
n =−∞
s
20
Flat-Top (Zero-Order Hold) Sampling
xs ( t )
t
X(f)
Xs ( f )
f
f
−1/T 1/T 21
Flat-Top (Zero-Order Hold) Sampling
Recovery of x ( t ) is accomplished by the
reconstruction LPF.
Ts
H eq ( f ) =
Tsinc (Tf )
22
Natural Sampling
A natural sampled signal xs ( t ) can be expressed
in time domain by
∞
⎧1 0 ≤ t ≤τ
xs ( t ) = x ( t ) × ∑ h ( t − nTs ), h ( t ) = ⎨
n =−∞ ⎩0 otherwise
∞
The switching signal p (t ) = ∑ h ( t − nT )
n =−∞
s is a
periodic rectangular pulse train.
23
Natural Sampling
x (t ) xs ( t ) = p ( t ) × x ( t )
∞
p (t ) = ∑ h ( t − nT )
n =−∞
s
24
Natural Sampling
x (t )
p (t )
t
s (t )
25
Natural Sampling
Complex exponential Fourier series of the
switching signal p ( t ) is expresses as:
∞
p (t ) = ∑c
n =−∞
n exp ( j 2π nf s t ), cn =τ f s sinc ( nτ f s ) exp ( − jπ nf s t )
26
Natural Sampling
From the frequency-shifting property, Fourier
transform of xs ( t ) becomes
∞
Xs ( f ) = ∑ c X ( f − nf )
n =−∞
n s
Note
27
Natural Sampling
| Xs ( f )|
−3B −B B 3B f
28
Practical Considerations
Practical signals are time-limited which implies
that they are not band-limited.
29
Practical Considerations
To minimize the sampling rate, which implies
lower transmission rates and less storage memory,
small transition bandwidth of filters is desired.
30
Practical Considerations
A sampling rate of 8000 samples/s is used for
digital telephone systems for telephone quality
speech with bandwidth of 4 kHz.
31