EE 424 #1: Sampling and Reconstruction
EE 424 #1: Sampling and Reconstruction
Introduction
Applications
Reconstruction
11
12
13
14
15
Comments on Lab 1
12
19
24
24
25
26
29
sin( x )
x
(1)
(2)
CT convolution
CT convolution is defined as
x (t) ? h(t) =
Z +
x ( ) h(t ) d.
(3)
Z +
1
2
x ( t ) e j t dt
Z +
X F ( ) e j t d
(4a)
(4b)
CTFT
x (t) e j 0 t X F ( 0 )
(complex modulation).
(5)
(6)
f (t) =
k =
a k e j k 0 t
x (t)
k =
a k e j k 0 t =
k =
CTFT
ak x (t) e j k 0 t
k =
a k X F ( k 0 ) .
(7)
To derive the sampling theorem, we will choose f (t) to be the impulse train, defined in the following.
Ideal lowpass filter. The frequency response of the ideal lowpass
filter in Fig. 7 can be written as2
H F ( ) = T 1/T,/T ( )
/T
/T
t
sinc
t = sinc
.
(8)
(9)
pT (t) =
(t n T )
n=
pT (t) =
k =
where
0 =
a k e j k 0 t
2
T
and
ak =
1
T
Z
T
pT (t)e j k 0 t dt =
Therefore,
1
T
pT (t) =
k =
Z T/2
T/2
(t) e j k 0 t dt =
1 j k 0 t
e
.
T
1
.
T
(10)
Sampling
Introduction
Sampling: Conversion of a continuous-time signal (usually not quantized) to a discrete-time signal (usually
quantized).
Applications
Here is a typical sampling and reconstruction system:
Quantization causes noise, limiting the signal-to-noise ratio (SNR) to about 6 dB per bit. We mostly
neglect the quantization effects in this class.
2. a continuous-time signal
+
x P (t) =
x (n T ) (t n T )
n=
10
Point sampling: An actual sampling system mixes continuous and discrete time.
Discrete-time
x [n] = x (n T )
(11)
11
Sampling theorem
In this handout, we focus on impulse sampling because it
requires only the knowledge of theory of CT signals and
x (t) (t n T ) =
n=
which is formally a CT
have
x (n T ) (t n T )
{z }
n= |
signal.5
(12)
By the Poisson sum formula (10), we
x P (t) =
x [n]
k =
1
x ( t ) e j k 0 t .
T
(13)
k =
1
1
CTFT{ x (t) e j k 0 t } =
T
T
where
0 =
2
T
k =
X F ( k 0 )
(14)
(rad/s).
CTFT
CTFT
12
(15)
If
0 6 2 m
aliasing occurs and we cannot reconstruct x (t) perfectly from x [n] in
general. (In special cases, we can.)
Reconstruction
Assume that the Nyquist requirement 0 > 2 m is satisfied. We consider two reconstruction schemes:
1 F
1
1
X ( + 0 ) + X F ( ) + X F ( 0 ) + . . .
T
T
T
Figure 11: To reconstruct the original
CT signal x (t), apply an ideal lowpass
filter to the impulse-sampled signal
x P ( t ) = x ( t ) p T ( t ).
13
t
.
T
x (t) =
x P (t)
| {z }
? h(t) =
impulse-sampled signal
x (n T ) (t n T ) ? h(t) = x (n T ) sinc
|
{z
}
n=
n=
h(t n T ), see (3)
Easy to analyze.
Hard to implement.
Based on bandlimited sinc pulses.
t n T
T
14
15
sampling th.
F
HLP
( )
1
T
2k
XF
.
T}
k =
| {z
k 0
CTFT
See Definition 1.
t 0.5 T
T
xZOH (t) =
n=
x [n] hZOH (t n T ).
Z T
0
e j t dt =
T
1 e j T
j
0
= T sinc
e j 0.5 T = T sinc
e
j
2
0
(16)
16
Figure 16: The zero-order hold output xZOH (t) is a train of rectangular
pulses scaled by the samples x [n] (a
staircase approximation of x (t)), easy to
generate.
xZOH (t) =
n=
x [n] hZOH (t n T ) =
n=
= hZOH (t) ?
x [n] (t n T )
n=
(t n T ) ]
n=
{z
p T (t)
sampling th.
F
HZOH
( )
1
T
k =
X F ( k 0 ) .
17
Finally, the output of the reconstruction filter has the following spectrum [see (16)]:
F
F
XrF ( ) = HrF ( ) XZOH
( ) = HrF ( ) HZOH
( ) XPF ( ) = HrF ( )
| {z }
reconstruction
filter
xr ( t ) = x ( t )
XrF ( ) = X F ( )
if
sinc 0
| {z }
compensates ZOH
including delay (hence not causal)
j 1
0
T sinc
e
0
T
|
{z
}|
sinc with phase factor
from the ZOH circuit
k =
X F ( k 0 ) .
{z
shifted copies
from sampling
18
19
20
21
22
23
24
Comments on Lab 1
Sampling part of Lab 1
Basic fact: A bandlimited signal with bandwidth f m (in
Hz) can be reconstructed perfectly from its samples if the sampling
rate f 0 = 1/T is twice the signal bandwidth (or more): f 0 > 2 f m .
Typically, we think of sampled sinusoids as looking like that in
Fig. 17.
Figure 17: Sampled sinusoid. At this
sampling rate, it is easy to believe that
we can reconstruct the sinusoid from its
samples.
25
26
This is sampled well above the Nyquist rate, which is 400 Hz. Simple
interpolation methods will not be adequate.
27
Figure 21: Convolution with a twosample wide (at 1024 Hz) wedge()
function.
28
29
References
A. V. Oppenheim and A. S. Willsky. Signals & Systems. Prentice Hall,
Upper Saddle River, NJ, 1997.
30