Sampling
&
Signal Reconstruction
with Applications
Dr. Ali Hussein Muqaibel
ver. 4.5
1
Analog to Digital
Conversion (ADC)
Part I
Digital TransmissionPart II
Digital Communications
Class Objectives
•Why Digital?
•Analog to Digital Conversion (ADC)
•Sampling
•Sampling Theorem.
•What is the spectrum of sampled
signals?
•Signal Reconstruction.
•The interpolation function (sinc)
•Zero hold and first order hold
approximation
•Practical Sampling
Dr. Ali Hussein Muqaibel 2
Advantages of Digital Communication over
Analog Communication
➢Immunity to Noise (possibility of regenerating the original digital signal if signal power
to noise power ratio (SNR) is relatively high by using of devices called repeatersalong
the path of transmission).
➢Efficient use of communication bandwidth (through use of techniques like
compression).
➢Digital communication provides higher security(data encryption).
➢Error Control Coding : the ability to detecterrors and correctthem if necessary.
➢Designand manufacturing of electronics for digital communication systems is much
easier and much cheaper than the design and manufacturing of electronics for analog
communication systems.
Dr. Ali Hussein Muqaibel 3
What is the price for going digital ?
Analog to Digital Conversion
PCM: Pulse Coded Modulation
Source of
continuous
time message
signal
Low-pass
filter
Sampler Quantizer Encoder
01101110101
PCM signal applied
to channel input
Dr. Ali Hussein Muqaibel
Continuous-time vs. Discrete time signal.
Digital vs. Analog
4
Distorted PCM signal
produced at channel
output
Regenerative
repeater
……
Regenerative
repeater
Regenerated PCM
signal applied to the
receiver
Final channel
output
Regeneration
circuit
Decoder
Reconstruction
filter
Destination
Sampling Theorem
A signal whose spectrum is band limited to ���
[�(�)=0���|�|>�]can be reconstructed exactly from its samples taken
uniformly at a rate ??????>2���(samples/ sec). i.e??????
�<
1
2??????
Minimum sampling frequency is �
�=2���??????���??????��????????????��
??????
�=
1
2??????
Nyquist interval
The �
�ℎ
impulse located at �=�??????
�has a strength ��??????
�the value of �(�)at �=�??????
�t
s s s s s ss s s s s s
g(t)
Dr. Ali Hussein Muqaibel
??????
�=1/�
�sampling interval
5
Math Representation of Sampling
•�(�)is a continuous–time signal with bandwidth ���or(2��??????�/�).
•Sampling is equivalent to multiplying �(�)by a train consisting of unit impulses repeating periodically
every ??????
�second. A train of delta function
??????
�
(�)that occur every ??????
�is given by
??????
�
�=
??????=−∞
+∞
??????(�−�??????
�)
•The sampled signal ҧ�(�)
ҧ��=�(�)
??????=−∞
+∞
??????(�−�??????
�)
=
??????=−∞
+∞
�(�)??????(�−�??????
�)
=
??????=−∞
+∞
�(????????????
�)??????(�−�??????
�)
Dr. Ali Hussein Muqaibel 6
??????
�(�)t
s s s s s ss s s s s s
g(t)
Spectrum of Sampled Signalt
s s s s s ss s s s s s
g(t) t
s s s s s ss s s s s s
g(t) G()
+2B
2B
s
s
s
s
s
s
A G()
+2B
2B
s
s
s
s
s
s
A/T
s
......
s
+2B
s
–2B
s
+2B
s
–2B
ҧ��=
??????=−∞
+∞
�????????????
�??????�−�??????
�=
�
??????
�
−∞
+∞
���
�??????2??????????????????�
ҧ��=
�
??????
�
−∞
+∞
�(�−��
�)
Dr. Ali Hussein Muqaibel 7
Using Fourier series representation:
??????
??????�
�=
??????=−∞
+∞
??????(�−�??????
�)=
�
??????
�
−∞
+∞
�
�??????2??????????????????�
Signal ReconstructionG()
+2B
2B s sss ss
A/Ts
......
s+2Bs–2Bs+2Bs–2B
LPF for reconstructing the origianl
signal from the sampled signal
Reconstructed Signal
+2B2B s sss ss
A/Ts
Ts
Magnitude of LPF should be Ts to cancel
the scaling factor caused by sampling
s > 2(2B) No interference between Images
Dr. Ali Hussein Muqaibel 8
Signal Reconstruction (Interpolation)
•Interpolation: the process of reconstructing continuous-time signal from its samples.
•Use of lowpassfilter of BW of ���(ideal)
��=??????
�Π
�
2�
•In time domain (IFT)
ℎ�=�????????????
��??????��2??????��
•At Nyquist rate �????????????
�=�
ℎ�=�??????��2??????��
Observe ℎ�=0at all Nyquist sampling interval �=±
??????
2??????
������??????��=0
Dr. Ali Hussein Muqaibel 9
•The output of the reconstruction system (discrete convolution)
��=
�
�????????????
�ℎ�−????????????
�
�(�)=
�
�????????????
��??????��2??????��−????????????
�
•At Nyquist rate ??????
�=
1
2??????
�(�)=
�
�????????????
��??????��2??????��−????????????
•Interpolation formula yields the value of �(�)between samples as a
weighted sum of all sample values.
Signal Reconstruction
Reconstruction
system
ℎ�=�??????��2??????��
Dr. Ali Hussein Muqaibel 10
Example
Find a signal �(�)that is band-limited to ���& whose samples are
??????�=�??????���±??????
�=�±2??????
�=�±3??????
�=⋯=0
where the sampling interval ??????
�is the Nyquist interval for ��, that is ??????
�=1/2�.
�(�)=
�
�????????????
��??????��2??????��−????????????
�
�(�)=�??????��2??????��
Dr. Ali Hussein Muqaibel
�(�)
11
Order of Signal Reconstruction (Reconstruction Filters)
Zero–Order Hold
Dr. Ali Hussein MuqaibelT
s
g(t) T
s
t
h
0
(t)
1 T
s
g(t) 1
T
s
t
h
1
(t)
–T
s T
s
g(t)
First–Order Hold–2T
s
2T
s
T
s
–T
s
1
t
h
OO
(t)
SincFilter (Infinite–Order Hold) T
s
g(t)
12
��=ℎ�∗ҧ��=ℎ�∗[��??????
�??????
�]
Interpolation and hold Circuits in Frequency
Dr. Ali Hussein Muqaibel 13
Zero–Order Hold SincFilter (Infinite–Order Hold)
Interpolation function
Practical Sampling Pulses
•Finite width practical pulses
•Because it is periodic,using Fourier
series representation
??????
�
??????
=
−∞
+∞
�
??????�
�2??????????????????
??????
•Not
??????
??????
�
�=
�
??????
�
−∞
+∞
�
�??????2????????????
??????�
Dr. Ali Hussein Muqaibel 14
Practical Difficulty in Signal Reconstruction
•To avoid the need for ideal filter �
�>2�,we may use a filter with gradual cutoff
characteristics.
•Also we want the filter to be zero outside...(Impossible by Paley-Wiener criterion)
but closely approximated.
Dr. Ali Hussein Muqaibel 15G()
+2B
2B
s
s
s
s
s
s
A/T
s
......
s
+2B
s
–2B
s
+2B
s
–2B
LPF for reconstructing the origianl
signal from the sampled signal
Reconstructed Signal
+2B2B
s
s
s
s
s
s
A/T
s
T
s
Magnitude of LPF should be Ts to cancel
the scaling factor caused by sampling
s
> 2(2B) No interference between Images