Lecture 16:Sampling of Continuous-Time Signals
Instructor: Dr. Ghazi Al SukkarDept. of Electrical EngineeringThe University of JordanEmail: [email protected]
Spring 2014 1
Outline
Continuous-time processing of Discrete-time signals: Sampling rate reduction by an integer factor (downsampling) Increasing the sampling rate by an integer factor (upsampling) Changing the sampling rate by Non-integer factor
Spring 2014 2
Continuous-time processing of Discrete-time signals: It is not practically used, but provides a useful interpretation of
certain of certain discrete-time systems that have no simple interpretation in the discrete domain.
and
Where and
Spring 20143
C/D
𝑇
𝑦 𝑐(𝑡) 𝑦 [𝑛 ]D/C
𝑇𝑥𝑐(𝑡)𝑥 [𝑛 ] 𝐻𝑐 ( 𝑗Ω )
continuous-time system
𝐻 (𝑒 𝑗 𝜔 )
Cont..
And
Also
Then:
Or equivalently, the overall impulse response will equal to a given if:
Spring 20144
Application: Non-integer delay One of the most application of the continuous-time processing
of discrete-time signals is the non-integer delay. Consider a discrete-time system with frequency response:
When is integer then When is non-integer then has no formal meaning, because we
cannot shift the sequence by non-integer amount. However, using the continuous-time processing of discrete-time
signals, then
Hence,
Spring 20145
𝑦 [𝑛 ]𝑥 [𝑛 ] 𝐻 (𝑒 𝑗 𝜔 )
Cont..
Where
Spring 20146
x[n]
-3 -2 2 3 4-1 10n
y[n],
-3 -2 2 3 4-1 10n
Sampling rate reduction by an integer factor (downsampling) Reducing the sampling period by a factor of means that
i.e., is identical to the sequence that would be obtained from by sampling period .
Spring 20147
Sampling periodSampling period↓𝑀
compressor
0 5 10-5
𝑥 [𝑛 ]
-10
0 5-5
𝑥 [3𝑛 ]
-10
Down sampling
Cont.. If is band-limitied i.e., then is an exact representation of if
Nyquist theorem is satisfied
Which means, that the sampling rate can be reduced to without causing any aliasing if the original sampling rate is at least times the Nyquist rate or the bandwidth of the sequence is first reduced by a factor of . Frequency Domain representation:Recall that the DTFT of is:
The DTFT of is:
Spring 20148
Cont..Let Where and
But since
Then:
Aliasing can be avoided by insuring that is band-limited:
And
Spring 20149
Cont.. If this condition does not hold, aliasing occurs. In some cases, downsampling can be done without aliasing if
we are willing to reduce the bandwidth of the signal before sampling
i.e., if is filtered by an ideal low-pass filter with cutoff frequency then the output can be downsampled without aliasing (decimation).
Spring 201410
Sampling periodSampling period↓𝑀Low-pass filter
Gaincutoff freq.
Sampling period
Decimator
Cont..
Spring 201411
No aliasing
aliasing
Increasing the sampling rate by an integer factor (upsampling) Given increase its sampling rate by a factor If Then Where
Spring 201412
Sampling periodSampling period↑𝐿 Low-pass filter
Gaincutoff freq.
Sampling period
Expander
interpolator
0 5 10-5
𝑥 [𝑛 ]
-10
0 5 10-5
𝑥 [𝑛 /2]
-10
Up Sampling
Cont..
Then we can write as:
The frequency domain representation:
Hence The magnitude of should be instead of for , hence the Gain of
the low-pass filter should be .
Spring 201413
The frequency-scaled images of except at integer multiples of should be removed, hence the low-pass filter cutoff frequency should be .
The whole system (expander + low-pass filter) is called interpolator since it fills in the missing samples.
The process is called interpolation.
Spring 201414
Cont..
Spring 201415
Ω𝑁=𝜋 /𝑇
Changing the sampling rate by Non-integer factor: By combining the decimation and interpolation, it is possible to
change the sampling rate by a noninteger factor.
The interpolator decreases the sampling period from to , followed by a decimator that increases the sampling period by , producing an output that has an effective sampling period of .
Spring 201416
↑𝐿 Low-pass filter Gain
cutoff freq.
Expander↓𝑀Low-pass filter
Gaincutoff freq.
Decimatorinterpolator
↑𝐿 Low-pass filter Gain
cutoff freq.
Expander↓𝑀
Compressor
Cont.. The signal is sampled at the Nyquist rate. L=2, M=3, The net sampling period is Notice the aliasing that wouldOccur if the cut off frequency taken As
Spring 201417