lecture 4 sampling overview of sampling theory. sampling continuous signals sample period is t,...
Post on 20-Dec-2015
216 views
TRANSCRIPT
![Page 1: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/1.jpg)
Lecture 4 Sampling
Overview of Sampling Theory
![Page 2: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/2.jpg)
Sampling Continuous Signals
Sample Period is T, Frequency is 1/T x[n] = xa(n) = x(t)|t=nT
Samples of x(t) from an infinite discrete sequence
![Page 3: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/3.jpg)
Continuous-time Sampling Delta function (t)
Zero everywhere except t=0 Integral of (t) over any interval including
t=0 is 1 (Not a function – but the limit of
functions) Sifting
)()()( 00 tfdttttf
![Page 4: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/4.jpg)
Continuous-time Sampling Defining the sequence by multiple sifts:
Equivalently:
Note: xa(t) is not defined at t=nT and is zero for other t
n
a nTttxtx )()()(
n
a nTtnTxtx )()()(
![Page 5: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/5.jpg)
Reconstruction Given a train of samples – how to
rebuild a continuous-time signal? In general, Convolve some impluse
function with the samples:
Imp(t) can be any function with unit integral…
n
nTtimpnTxtx )()()(
![Page 6: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/6.jpg)
Example
Linear interpolation:
Integral (0,2) of imp(t) = 1Imp(t) = 0 at t=0,2Reconstucted function is piecewise-
linear interpolation of sample values
else
tttimp
0
2011)(
![Page 7: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/7.jpg)
DAC Output Stair-step output
DAC needs filtering to reduce excess high frequency information
else
ttimp
0
101)(
![Page 8: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/8.jpg)
Sinc(x) – ‘Perfect Reconstruction’
Is there an impulse function which needs no filtering?
Why? – Remember that Sin(t)/t is Fourier Transform of a unit impulse
TtTt
timp
)sin(
)(
![Page 9: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/9.jpg)
Perfect Reconstruction II Note – Sinc(t) is non-zero for all t
Implies that all samples (including negative time) are needed
Note that x(t) is defined for all t since Sinc(0)=1
n
TnTtTnTt
nxtx)(
)(sin
][)(
![Page 10: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/10.jpg)
Operations on sequences Addition: Scaling: Modulation:
Windowing is a type of modulation Time-Shift: Up-sampling: Down-sampling:
][][][ nwnxny
][][ nxAny ][][][ nwnxny
][][ 1 nxny
xd[n]x[nM ]
else,0
,2,,0],/[][
LLnLnxnxu
![Page 11: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/11.jpg)
Up-sampling
0 10 20 30 40 50-1
-0.5
0
0.5
1Input Sequence
Time index n
Am
plitu
de
0 10 20 30 40 50-1
-0.5
0
0.5
1Output sequence up-sampled by 3
Time index nA
mpl
itude
]3/[][ nxnxu
][nxu][nx
![Page 12: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/12.jpg)
Down-sampling (Decimation)
0 10 20 30 40 50-1
-0.5
0
0.5
1Input Sequence
Time index n
Am
plitu
de
0 10 20 30 40 50-1
-0.5
0
0.5
1Output sequence down-sampled by 3
Am
plitu
de
Time index n
]3[][ nxnxd
][nxd][nx
![Page 13: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/13.jpg)
Resampling (Integer Case) Suppose we have x[n] sampled at
T1 but want xR[n] sampled at T2=L T1
n
nTtimpulsenTxtx )()()( 11
n
n
kTtnR
TnLkimpulsenLTx
nTkTimpulsenTx
nTtimpulsenTxkx
))(()(
)()(
)()(][
22
121
11
2
n
R nkimpulsenxkx ][][][
![Page 14: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/14.jpg)
Sampling Theorem Perfect Reconstruction of a
continuous-time signal with Bandlimit f requires samples no longer than 1/2f Bandlimit is not Bandwidth – but limit
of maximum frequency Any signal beyond f aliases the
samples
![Page 15: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/15.jpg)
Aliasing (Sinusoids)
![Page 16: Lecture 4 Sampling Overview of Sampling Theory. Sampling Continuous Signals Sample Period is T, Frequency is 1/T x[n] = x a (n) = x(t)| t=nT Samples of](https://reader030.vdocuments.site/reader030/viewer/2022032800/56649d4e5503460f94a2e803/html5/thumbnails/16.jpg)
Alaising For Sinusoid signals (natural
bandlimit): For Cos(n), =2k+0
Samples for all k are the same! Unambiguous if 0<< Thus One-half cycle per sample
So if sampling at T, frequencies of f=+1/2T will map to frequency