Professional Documents
Culture Documents
Spring 2009
Ammar Abu-Hudrouss Islamic
University Gaza
y(t)
Analogue System
x(t)
A/D
x(n)
y(n)
Digital System
D/A
y(t)
Sampling Theorem
Use A-to-D converters to turn x(t) into numbers x[n]
Take a sample every sampling period Ts uniform sampling
Disadvantages
Classification of signals
x(t ) A cost
The signal can be characterised by three parameters
A: Amplitude, frequency in radian and : phase
The period is defined as
1 2
7
Digital Signal Processing
Slide 7
x ( n ) A cos n
1) Discrete time sinusoid is periodic only if its frequency in hertz ( f =
/ 2) is a rational number
From the definition of a periodic discrete signal
x(n) x(n N )
cos(2fn ) cos(2fn 2fN )
This is only true if
2 fN 2 k
k
f
N
k 0 , 1 , 2 ,......
8
x(n) A cosn
9
Digital Signal Processing
Slide 9
10
Digital Signal Processing
Slide 10
xa(t)
x(n)
Sampler
Analog
Signal
xq(n)
Quantizer
Discrete-time
Signal
Coder
Quantized
Signal
101101
Digital
Signal
proof
xa(t) = cos (2 Fk t + ) = cos (2 (F0 + k Fs )t +)
x(n) = xa(nTs) = cos (2 (F0 + k Fs )/Fs t +)
= cos (2 F0/Fs n + 2 k n +)
= cos (2 F0/Fs n +)
Sampling Theorem
Sampling Theorem
A continuous-time signal x(t) with frequencies no higher than
fmax (Hz) can be reconstructed EXACTLY from its samples x[n] =
x(nTs), if the samples are taken at a rate fs = 1/Ts that is
greater than 2fmax.
Consider a band-limited signal x(t) with Fourier Transform X()
Sampling Theorem
Sampling Theorem
In mathematical terms
x (n) x (t ) s (t )
1
X ( ) X * ( ns )
Ts n
1
X ( )
X ( ns )
Ts n
Digital Signal Processing
Slide 19
Sampling Theorem
10
Sampling Theorem
Sampling Theorem
Example
x(t) and its Fourier representation is shown in the Figure.
If we sample x(t) at fs = 20,10,5
1) fs = 20
x(t) can be easily
recovered by LPF
11
Sampling Theorem
2) fs = 10
x(t) can be recovered
by sharp LPF
3) fs = 5
x(t) can not be
recovered
Compare fs with 2B in each case
Anti-aliasing Filter
After sampling:
After reconstruction:
12
Anti-aliasing Filter
x(t)
Anti-aliasing
filter
x'(t)
y(n)
Sampler
Homework
Students are encouraged to solve the following questions from
the main textbook
1.2, 1.3, 1.7, 1.8, 1.9, 1.11 and 1.15
13