Sampling
Sampling
T
2
1
t
2 2
1
2
1
Sampling by Impulse Train
P1
p(t) = k= 1 (t kT )
xp (t)
x(t) ⇥
2
Impulse Train Sampling: Frequency Domain Analysis
P1
p(t) = k= 1 (t kT )
xp (t)
x(t) ⇥
3
Bandlimited Signals
Define the bandwidth of a signal x(t) to be the smallest !M > 0 such that:
!
!M !M
!
2!s !s !M !M !s 2!s
4
Optimal Recovery
If x(t) is a band-limited signal and !s > 2!M , then x(t) can be recovered
by (ideal) low-pass filtering of sampled signal xp (t).
For perfect recovery, we need to have Hr (j!) = T rect!s /2 (!).
P1
p(t) = k= 1 (t kT )
xp (t)
x(t) ⇥ Hr (j!) = T rect!s /2 (!) xr (t)
5
Sampling Theorem (Shannon-Nyquist)
P1
p(t) = k= 1 (t kT )
xp (t)
x(t) ⇥ Hr (j!) = T rect!s /2 (!) xr (t)
6
Question
7
Aliasing
!
!s !s
P1
In this case, what would be Xp (j!) = k= 1 X(j(! k!0 ))?
Therefore, in order not to have aliasing we need to have: !s > 2!M .
8
Exercise
9
Reconstruction after Impulse Train Sampling
xp (t)
x(t) ⇥ Hr (j!) = T rect!s /2 (!) xr (t)
T sin( T⇡ t)
In TD: hr (t) = ⇡t
Therefore,
10
Time Domain View of Reconstruction Process
P1
p(t) = k= 1 (t kT )
xp (t)
x(t) ⇥ Hr (j!) = T rect!s /2 (!) xr (t)
P1 T sin( T⇡ (t nT ))
xr (t) = n= 1 x(nT ) ⇡(t nT )
11
Zero-Order-Hold (ZOH) Sampling
Since creating an ideal impulse train and implementing an ideal low-pass filter
is not possible, in practice, we often do Zero-Order-Hold (ZOH) sampling.
In ZOH sampling, the sampled signal xs (t) holds the value of x(t) at kth
sampling time for T seconds, i.e.,
2 T
x(t)
xs (t)
1
2 1 1 2 3
12
ZOH Sampling and Perfect Recovery
The main question is that if !s > 2!M , then can we find a recovery system
Hr so that xr (t) = x(t)?
For perfect recovery, the system in blue box should be the ideal low-pass
filter Hr (j!) = T rect!s /2 (!).
13
ZOH Sampling and Perfect Recovery
P1
p(t) = k= 1 (t kT )
For perfect recovery, the system in blue box should be the ideal low-pass
filter Hr (j!) = T rect!s /2 (!).
Therefore, for perfect recovery, we need to have:
!T
Hr (j!) = ej!T /2 rect!s /2 (!).
2 sin(T !/2)
14
First Order Hold Sampling
15
Under-Sampling and Aliasing
Let x(t) = cos(!0 t). We vary !s by choosing !s = 6!0 , 3!0 , 1.5!0 , 1.2!0 .
16
Under-Sampling and Aliasing Continued
17
Under-Sampling and Aliasing Continued
18
DT Processing of CT Signals
19
DT Processing of CT Signals
20
DT Processing of CT Signals
P
CT Sampling - Perspective 1: xp (t) = xc (t)p(t) = 1n= 1 x(nT ) (t nT )
and
1
1 X
Xp (j!) = Xc (j(! k!s ))
T
k= 1
j!nT
CT Sampling - Perspective 2: On the other hand (t nT ) !e and
hence: 1
X
Xp (j!) = x(nT )e j!nT
n= 1
Conclusion:
1
j⌦ 1 X
Xd (e ) = Xp (j⌦/T ) = Xc (j(⌦/T k!s ))
T
k= 1
21
DT Processing of CT Signals
22
DT Processing of CT Signals
23