Beruflich Dokumente
Kultur Dokumente
Sampling of Continuous
Time Signals
Yao Wang
Polytechnic University
Sampling Quantization
Period Interval
T Q
1
T=0.1
Q=0.25
0.5
-0.5
-1
x(t) x[n]
C-to-D
Sampling of Sinusoid
Signals
Sampling above
Nyquist rate
ωs=3ωm>ωs0
Reconstructed
=original
Sampling under
Nyquist rate
ωs=1.5ωm<ωs0
Reconstructed
\= original
Aliasing: The reconstructed sinusoid has a lower frequency than the original!
Nyquist Sampling Theorem
Theorem:
If x(t) is bandlimited, with maximum frequency fb(or
ωb =2π fb)
and if fs =1/ Ts > 2 fb or ωs =2π / Ts >2 ωb
Then xc(t) can be reconstructed perfectly from x[n]=
x(nTs ) by using an ideal low-pass filter, with cut-off
frequency at fs/2
fs0 = 2 fb is called the Nyquist Sampling Rate
Physical interpretation:
Must have at least two samples within each cycle!
Sampling Using Periodic Impulse
Train
x[n] = x(nTs )
FOURIER
TRANSFORM
of xs(t) ???
∞
p(t ) = ∑ δ (t − nT )
n = −∞
s
∞ ∞
xs (t) = x(t) ∑ δ (t − nTs ) = ∑ x(t)δ (t − nTs )
n=−∞ n=−∞
∞
xs (t) = ∑ x(nTs )δ(t −nTs )
4/17/2008 n=−∞
© 2003, JH McClellan & RW Schafer 12
Illustration of Sampling
x(t)
t
∞
xs (t ) = ∑ x(nTs )δ (t − nTs )
n = −∞
x[n] = x(nTs )
n
4/17/2008 © 2003, JH McClellan & RW Schafer 13
Sampling: Freq. Domain
How is the
spectrum of xs(t)
related to that of
x(t)?
∞
= ∑ ak e jkω s t EXPECT
FREQUENCY
k = −∞ SHIFTING !!!
∞ ∞
p(t ) = ∑δ (t − nTs ) = ∑ ak e jkω s t
n = −∞ k = −∞
4/17/2008 © 2003, JH McClellan & RW Schafer 14
Fourier Series Representation
of Periodic Impulse Train
∞ ∞
2π
p (t ) = ∑δ (t − nTs ) = ∑ ak e jkω s t
ωs =
Ts
n = −∞ k = −∞
Ts / 2
1 1 Fourier Series
∫ δ (t )e
− jkω s t
ak = dt =
Ts −Ts / 2
Ts
4/17/2008 © 2003, JH McClellan & RW Schafer 15
FT of Impulse Train
∞ ∞
1 2π
p(t ) = ∑
n = −∞
δ (t − nTs ) =
Ts ∑e
k
jkω s t
↔ P ( jω ) = ∑ T
k = −∞ s
δ (ω − kω s )
2π
ωs =
Ts
x s (t ) = x(t ) p (t )
∞
1
p(t ) = ∑
n = −∞
δ (t − nTs ) =
Ts ∑
k
e jkω s t
∞ ∞
1 jkω st 1 jkω st
xs (t) = x(t) ∑ e = ∑ x(t)e
Ts
k =−∞ Ts k=−∞
1 ∞
Xs ( jω ) = ∑ X( j(ω − kω s ))
Ts
k =−∞ 2π
ωs =
Ts
Frequency-Domain Analysis:
Using Multiplication-
Convolution duality
∞ ∞
1 2π
p(t ) = ∑
n = −∞
δ (t − nTs ) =
Ts ∑e
k
jkω s t
↔ P ( jω ) = ∑ T
k = −∞ s
δ (ω − kω s )
1
x(t)p(t) ⇔ X( jω )∗ P( jω )
2π
∞
1 1 2π
X s( jω ) =
2π
X ( jω ) * P( jω ) =
2π ∑ T
k = −∞ s
X ( jω ) * δ (ω − kω s )
∞
1
=
Ts ∑ X ( j(ω − kω ))
k = −∞
s
Frequency-Domain
Representation of Sampling
“Typical”
bandlimited signal
1 ∞
Xs ( jω ) = ∑
Ts k=−∞
X( j(ω − kω s ))
Sampling
impulse train The spectrum of the
sampled signal includes
the original spectrum and
its aliases (copies) shifted
Sampled signal to k fs , k=+/- 1,2,3,…
ωs>2 ωm The reconstructed signal
from samples has the
frequency components
upto fs /2.
Sampled signal
ωs<2 ωm When fs< 2fm , aliasing
(Aliasing effect) occur.
Reconstruction: Frequency-Domain
Theorem:
If x(t) is bandlimited, with maximum frequency fb(or
ωb =2π fb)
and if fs =1/ Ts > 2 fb or ωs =2π / Ts >2 ωb
Then xc(t) can be reconstructed perfectly from x[n]=
x(nTs ) by using an ideal low-pass filter, with cut-off
frequency at fs/2
fs0 = 2 fb is called the Nyquist Sampling Rate
Physical interpretation:
Must have at least two samples within each cycle!
Sampling of Sinusoid
Signals: Temporal domain
Sampling above
Nyquist rate
ωs=3ωm>ωs0
Reconstructed
=original
Sampling under
Nyquist rate
ωs=1.5ωm<ωs0
Reconstructed
\= original
Aliasing: The reconstructed sinusoid has a lower frequency than the original!
Sampling of Sinusoid:
Frequency Domain
Spectrum of
cos(2πf0t)
-f0 0 f0
No aliasing
fs >2f0
fs -f0 >f0
Reconstructed
-fs -f0 -fs -fs+f0 -f0 0 f0 fs-f0 fs fs+f0
signal: f0
-fs/2 fs/2
With aliasing
f0<fs <2f0 (folding) 0
fs -f0 <f0
Reconstructed signal: fs -f0 -fs -f0 -fs -f0 -fs+f0 fs-f0 f0 fs fs+f0
With aliasing
fs <f0 (aliasing) -fs
0 fs
f0-fs <f0
Reconstructed signal: fs -f0 -fs -f0 -f0 -f0+fs f0-fs f0 fs+f0
More examples with
Sinusoids
SAMPLING GUI (con2dis)
Fmax=1/Tmin
Tmin
Sampling
period T