Lecture6 1
Lecture6 1
Time Signals ✔ ✔
Systems
Convolution
Frequency Fourier series ✔ ✔
Fourier transforms
Frequency response
Generalized z / Laplace Transforms
Frequency
Transfer Functions
System Stability
Mixed Signal Sampling ➔
6-2
Sampling Theorem
• Continuous-time signal x(t) with frequencies no higher than
fmax can be reconstructed from its samples x(n Ts) if samples
taken at rate fs > 2 fmax
Nyquist rate = 2 fmax
Nyquist frequency = fs / 2 What happens
if fs = 2 fmax?
è è fs ø ø 2 2
Has two spectral lines at ŵ = ±w0 / fs
Also contains all aliases due to periodicity of exp(j q):
ŵ = w0 / fs + 2p l where l = 0,±1,±2,...
ŵ = -w0 / fs + 2p l where l = 0,±1,±2,...
6-4
Case #1: Oversampling
• Sampling rate fs > 2 fmax to avoid aliasing & folding
• Example: f0 = 100 Hz and fs = 1000 Hz
f0
x[n] = Acos (ŵ n + f ) where ŵ = 2p
100 Hz
= 2p = 2p (0.1) = 0.2p
fs 1000 Hz
1 1 * 1 1 *
2 X 2 X 2 X 2 X
ŵ
–1.8p –0.2p 0.2p 1.8p
6-5
Aliasing – SPFirst Sec. 4-2.3
ŵ
–2.5p –1.5p –0.5p 0.5p 1.5p 2.5p
6-6
Case #3: Folding by Undersampling
• Sampling rate fmax < fs ≤ 2 fmax as special case of #2
• Example: f0 = 100 Hz and fs = 125 Hz
f
x[n] = Acos (ŵ n + f ) where ŵ = 2p 0 = 2p
100 Hz
= 2p (0.8) =1.6p
fs 125 Hz
1 * 1 1 * 1
2 X 2 X 2 X 2 X
ŵ
–1.6p –0.4p 0.4p 1.6p
6-7
Folding Due to Undersampling
• Sinusoid sin(2 p finput t) sampled at fs = 2000 samples/s with finput varied
fs = 2000 samples/s
frequency (Hz)
Apparent
1000
6-8
Aliasing & Folding Demonstrations
• Case #1 Oversampling
Third demo: f0 = 600 Hz and fs = 2000 Hz link
• Case #2 Aliasing
First demo: f0 = 600 Hz and fs = 500 Hz
• Case #3 Folding
Second demo: f0 = 600 Hz and fs = 750 Hz
• Reconstructed signal
Has frequencies between –½ fs and ½ fs
http://dspfirst.gatech.edu/chapters/04samplin/demos/aliasing/index.html
6-9
Strobe Demonstrations – SPFirst Sec. 4-3
Strobe Demonstrations
link
6-10