SlideShare a Scribd company logo
1 of 47
30820-Communication Systems
Week 12-14 – Lecture 31-39
(Ref: Chapter 6 of text book)
SAMPLING AND ANALOG TO DIGITAL
CONVERSION
Contents
β€’ Sampling Theorem
β€’ Pulse Code Modulation
β€’ Differential Pulse Code Modulation (DPCM)
β€’ Delta Modulation
308201- Communication Systems 2
Sampling Theorem
β€’ Why do we need sampling?
β€’ Analog signals can be digitized though sampling and
quantization.
– A/D Converter
β€’ In A/D converter, the sampling rate must be large enough to
permit the analog signal to be reconstructed from the
samples with sufficient accuracy.
β€’ The sampling theorem defines the basis for determining the
proper (lossless) sampling rate for a given signal.
308201- Communication Systems 3
Sampling Theorem
β€’ A consider a signal 𝑔(𝑑) whose spectrum is band limited to
𝐡 𝐻𝑧, that is
𝐺 𝑓 = 0 for 𝑓 > 𝐡
β€’ We can reconstruct the signal exactly (without any error) from
its discrete time samples (samples taken uniformly at a rate of
𝑅 samples per second).
– Condition for 𝑅?
– The condition is that 𝑅 > 2𝐡
β€’ In other words, the minimum sampling frequency for perfect
signal recovery is 𝑓𝑠 = 2𝐡 𝐻𝑧
308201- Communication Systems 4
Sampling Theorem
β€’ Consider a signal 𝑔(𝑑) whose spectrum is band limited to
𝐡 𝐻𝑧
β€’ Sampling at a rate 𝑓𝑠 means we take 𝑓𝑠 uniform samples per
second.
β€’ This uniform sampling can be accomplished by multiplying
𝑔(𝑑) by an impulse train 𝛿𝑇𝑠
(𝑑)
β€’ The pulse train consist of unit impulses repeating periodically
every 𝑇𝑠 seconds. 308201- Communication Systems 5
Sampling Theorem
β€’ This result in the sampled signal 𝑔(𝑑) as follows
β€’ The relationship between sampled signal 𝑔(𝑑) and the original signal 𝑔(𝑑)
is
𝑔 𝑑 = 𝑔 𝑑 𝛿𝑇𝑠
𝑑 =
𝑛
𝑔(𝑛𝑇𝑠)𝛿(𝑑 βˆ’ 𝑛𝑇𝑠)
β€’ Since the impulse train is a periodic signal of period 𝑇𝑠, it can be expressed
as an exponential Fourier series i.e.,
𝛿𝑇𝑠
𝑑 =
1
𝑇𝑠
βˆ’βˆž
∞
𝑒𝑗𝑛𝑀𝑠𝑑 𝑀𝑠 =
2πœ‹
𝑇𝑠
= 2πœ‹π‘“π‘ 
𝑔 𝑑 =
1
𝑇𝑠
βˆ’βˆž
∞
𝑔 𝑑 𝑒𝑗𝑛𝑀𝑠𝑑
308201- Communication Systems 6
β€’ The Fourier transform of 𝑔 𝑑 will be as follows
𝐺 𝑓 =
1
𝑇𝑠
βˆ’βˆž
∞ 𝐺 𝑓 βˆ’ 𝑛𝑓𝑠
β€’ This mean that the spectrum 𝐺 𝑓 consist of 𝐺 𝑓 , scaled by
a constant
1
𝑇𝑠
, repeating periodically with period 𝑓𝑠 =
1
𝑇𝑠
𝐻𝑧
β€’ Can 𝑔(𝑑) be reconstructed from 𝑔 𝑑 without any loss or
distortion?
– If yes then we should be able to recover 𝐺(𝑓) from 𝐺 𝑓
– Only possible if there is no overlap among replicas in 𝐺 𝑓
Sampling Theorem
308201- Communication Systems 7
Sampling Theorem
β€’ It can be seen that for no overlap among replicas in 𝐺 𝑓
𝑓𝑠 > 2𝐡
β€’ Also since 𝑇𝑠 =
1
𝑓𝑠
so, 𝑇𝑠 <
1
2𝐡
β€’ As long as the sampling frequency 𝑓𝑠 is greater than twice the
signal bandwidth 𝐡 , 𝐺 𝑓 will have nonoverlapping
repetitions of 𝐺 𝑓 .
β€’ 𝑔(𝑑) can be recovered using an ideal low pass filter of
bandwidth 𝐡 𝐻𝑧.
β€’ The minimum sampling rate 𝑓𝑠 = 2𝐡 required to recover 𝑔(𝑑)
from 𝑔 𝑑 is called the Nyquist Rate and the corresponding
sampling interval 𝑇𝑠 =
1
2𝐡
is called the Nyquist Interval.
308201- Communication Systems 8
Signal Reconstruction from
Uniform Samples
β€’ The process of reconstructing a continuous time signal 𝑔(𝑑)
from its samples is also known as interpolation.
β€’ We have already established that uniform sampling at above
the Nyquist rate preserves all the signal information.
– Passing the sampled signal through an ideal low pass filter of
bandwidth 𝐡 𝐻𝑧 will reconstruct the message signal.
β€’ The sampled message signal can be represented as
𝑔 𝑑 =
𝑛
𝑔(𝑛𝑇𝑠)𝛿(𝑑 βˆ’ 𝑛𝑇𝑠)
β€’ The low pass filter of bandwidth 𝐡 𝐻𝑧 and gain 𝑇𝑠 will have
the following transfer function
𝐻 𝑓 = 𝑇𝑠𝛱
𝑀
4πœ‹π΅
= 𝑇𝑠𝛱
𝑓
2𝐡
308201- Communication Systems 9
Signal Reconstruction from
Uniform Samples
β€’ To recover the analog signal from its uniform samples, the
ideal interpolation filter transfer function and impulse
response is as follows
𝐻 𝑓 = 𝑇𝑠𝛱
𝑓
2𝐡
⟺ β„Ž 𝑑 = 2𝐡𝑇𝑠 sinc 2πœ‹π΅π‘‘
β€’ Assuming the use of Nyquist sampling rate i.e., 2𝐡𝑇𝑠 = 1
β„Ž 𝑑 = sinc 2πœ‹π΅π‘‘
308201- Communication Systems 10
Signal Reconstruction from
Uniform Samples
β€’ It can be observed that β„Ž(𝑑) = 0 at all Nyquist sampling
instants i.e., 𝑑 = ±𝑛
2𝐡 except 𝑑 = 0
β€’ When the sampled signal 𝑔 𝑑 is applied at the input of this
filter, each sample in 𝑔 𝑑 , being an impulse, generate a sinc
pulse of height equal to the strength of the sample.
𝑔 𝑑 =
π‘˜
𝑔 π‘˜π‘‡π‘  β„Ž(𝑑 βˆ’ π‘˜π‘‡π‘ ) =
π‘˜
𝑔 π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹)
308201- Communication Systems 11
Example
β€’ Determine the Nyquist interval and sampling rate for the
signal 𝑔1(𝑑), 𝑔2 𝑑 , 𝑔1
2
(𝑑), 𝑔2
π‘š
(𝑑) and 𝑔1 𝑑 𝑔2 𝑑 when the
spectra of 𝐺1 𝑀 and 𝐺2 𝑀 is given as follows
β€’ Bandwidth of 𝑔1 𝑑 is 100𝐾𝐻𝑧 and 𝑔2 𝑑 is 150𝐾𝐻𝑧
– Nyquist sample rate for 𝑔1 𝑑 is 200𝐾𝐻𝑧 and 𝑔2 𝑑 is 300𝐾𝐻𝑧
β€’ Bandwidth of 𝑔1
2
(𝑑) is twice the bandwidth of 𝑔1 𝑑 i.e.,
200𝐾𝐻𝑧 and 𝑔2
π‘š
(𝑑) will have bandwidth π‘š Γ— 150𝐾𝐻𝑧
– Nyquist sample rate for 𝑔1
2
(𝑑) is 400𝐾𝐻𝑧 and 𝑔2
π‘š
(𝑑) is π‘š Γ— 300𝐾𝐻𝑧
β€’ Bandwidth of 𝑔1 𝑑 𝑔2 𝑑 is 250𝐾𝐻𝑧
– Nyquist sample rate for 𝑔1 𝑑 𝑔2 𝑑 is 500𝐾𝐻𝑧
308201- Communication Systems 12
Example
β€’ Determine the Nyquist sampling rate and the Nyquist
sampling interval for the signal
– sin𝑐 100πœ‹π‘‘
– sinc2 100πœ‹π‘‘
sin𝑐 100πœ‹π‘‘ ⟺ 0.01𝛱
𝑀
200πœ‹
β€’ Bandwidth is 50𝐻𝑧 and the Nyquist sample rate 100𝐻𝑧
sinc2 100πœ‹π‘‘ ⟺ 0.01βˆ†
𝑀
400πœ‹
β€’ Bandwidth is 100𝐻𝑧 and the Nyquist sample rate 200𝐻𝑧
308201- Communication Systems 13
Practical Signal Reconstruction
(Interpolation)
β€’ Signal reconstruction discussed earlier require an ideal low
pass filter.
– Unrealizable
– Noncausal
– This also lead to a infinitely long nature of sinc reconstruction pulse.
β€’ For practical applications, we need a realizable signal
reconstruction system from the uniform signal samples.
β€’ For practical implementation, the reconstruction pulse must
be easy to generate.
308201- Communication Systems 14
Practical Signal Reconstruction
(Interpolation)
β€’ We need to analyze the accuracy of the reconstructed signal when
using a non-ideal interpolation pulse 𝑝(𝑑).
𝑔 𝑑 =
𝑛
𝑔 𝑛𝑇𝑠 𝑝(𝑑 βˆ’ 𝑛𝑇𝑠)
𝑔 𝑑 = 𝑝 𝑑 βˆ—
𝑛
𝑔 𝑛𝑇𝑠 𝛿(𝑑 βˆ’ 𝑛𝑇𝑠)
𝑔 𝑑 = 𝑝 𝑑 βˆ— 𝑔 𝑑
β€’ In frequency domain, the relationship between the reconstructed
and the original analog signal is given as
𝐺 𝑓 = 𝑃(𝑓)
1
𝑇𝑠
βˆ’βˆž
∞
𝐺 𝑓 βˆ’ 𝑛𝑓𝑠
β€’ The reconstructed signal 𝑔 𝑑 using pulse 𝑝(𝑑) consist of multiple
replicas of 𝐺(𝑓) shifted to 𝑛𝑓𝑠 and filtered by 𝑃(𝑓).
308201- Communication Systems 15
Practical Signal Reconstruction
(Interpolation)
β€’ So to fully recover the 𝑔(𝑑) from 𝑔 𝑑 , we need further
processing/filtering.
– Such filters are often referred to as equalizers
β€’ Let us denote the equalizer function as 𝐸(𝑓), so now distortionless
reconstruction will require
𝐺 𝑓 = 𝐸(𝑓)𝐺 𝑓
𝐺 𝑓 = 𝐸(𝑓)𝑃(𝑓)
1
𝑇𝑠
βˆ’βˆž
∞
𝐺 𝑓 βˆ’ 𝑛𝑓𝑠
β€’ The equalizer must remove all the shifted replicas 𝐺 𝑓 βˆ’ 𝑛𝑓𝑠
except the low pass term with 𝑛 = 0 i.e.,
𝐸 𝑓 𝑃 𝑓 = 0 𝑓 > 𝑓𝑠 βˆ’ 𝐡
also
𝐸 𝑓 𝑃 𝑓 = 𝑇𝑠 𝑓 < 𝐡
308201- Communication Systems 16
Practical Signal Reconstruction
(Interpolation)
β€’ The equalizer 𝐸(𝑓) must be
– lowpass in nature to stop all frequency components above 𝑓𝑠 βˆ’ 𝐡
– Inverse of 𝑃(𝑓) within the signal bandwidth of 𝐡 𝐻𝑧
β€’ A practical signal reconstruction system can be represented as
β€’ Let us consider a very simple interpolating pulse generator
that generate short pules i.e.,
308201- Communication Systems 17
Practical Signal Reconstruction
(Interpolation)
β€’ The short pulse can be expressed as
𝑝 𝑑 = ∏
𝑑 βˆ’ 0.5𝑇𝑝
𝑇𝑝
β€’ The reconstruction will first generate 𝑔 𝑑 as
𝑔 𝑑 =
𝑛
𝑔 𝑛𝑇𝑠 ∏
𝑑 βˆ’ 0.5𝑇𝑝 βˆ’ 𝑛𝑇𝑠
𝑇𝑝
β€’ The Fourier transform of 𝑝(𝑑) is
𝑃 𝑓 = 𝑇𝑝 sinc πœ‹π‘“π‘‡π‘ π‘’βˆ’π‘—πœ‹π‘“π‘‡π‘
β€’ The equalizer frequency response should satisfy
𝐸 𝑓 =
𝑇𝑠
𝑃(𝑓) 𝑓 ≀ 𝐡
Flexible 𝐡 < 𝑓 <
1
𝑇𝑠
βˆ’ 𝐡
0 𝑓 β‰₯
1
𝑇𝑠
βˆ’ 𝐡
308201- Communication Systems 18
Practical Issues in Signal
Sampling and Reconstruction
β€’ Realizability of Reconstruction Filters
β€’ The Treachery of Aliasing
– Defectors Eliminated: The antialiasing Filter
β€’ Sampling forces non-bandlimited signals to appear
band limited
308201- Communication Systems 19
Realizability of Reconstruction Filters
β€’ If a signal is sampled at the Nyquist rate 𝑓𝑠 = 2𝐡 𝐻𝑧, the
spectrum 𝐺 𝑓 consists of repetitions of 𝐺(𝑓) without any
gaps between successive cycles.
β€’ To recover g(t) from 𝑔 𝑑 , we need to pass the sampled signal
through an ideal low pass filter.
– Ideal Filter is practically unrealizable
– Solution?
308201- Communication Systems 20
Realizability of Reconstruction Filters
β€’ A practical solution to this problem is to sample the signal at a
rate higher than the Nyquist rate i.e., 𝑓𝑠 > 2𝐡 or 𝑀𝑠 > 4πœ‹π΅
β€’ This yield 𝐺 𝑓 , consisting of repetitions of G(f) with a finite
band gap between successive cycles.
β€’ We can recover 𝑔(𝑑) from 𝑔 𝑑 using a low pass filter with a
gradual cut-off characteristics.
β€’ There is still an issue with this approach: Guess?
β€’ Despite the gradual cut-off characteristics, the filter gain is
required to be zero beyond the first cycle of 𝐺(𝑓).
308201- Communication Systems 21
The Treachery of Aliasing
β€’ Another practical difficulty in reconstructing the signal from
its samples lies in the fundamental theory of sampling
theorem.
β€’ The sampling theorem was proved on the assumption that the
signal 𝑔(𝑑) is band-limited.
β€’ All practical signals are time limited.
– They have finite duration or width.
– They are non-band limited.
– A signal cannot be time limited and band limited at the same time.
308201- Communication Systems 22
The Treachery of Aliasing
β€’ In this case, the spectrum of 𝐺 𝑓 will consist of overlapping
cycles of 𝐺(𝑓) repeating every 𝑓𝑠 𝐻𝑧
β€’ Because of non-bandlimited spectrum, the spectrum overlap
is unavoidable, regardless of the sampling rate.
– Higher sampling rates can reduce but cannot eliminate the overlaps
β€’ Due to the overlaps, 𝐺 𝑓 no longer has complete
information of 𝐺 𝑓 . 308201- Communication Systems 23
The Treachery of Aliasing
β€’ If we pass 𝑔 𝑑 even through an ideal low pass filter with cut-
off frequency
𝑓𝑠
2
, the output will not be 𝐺(𝑓) but as πΊπ‘Ž(𝑓)
β€’ This πΊπ‘Ž(𝑓) is distorted version of 𝐺(𝑓) due to
– The loss of tail of 𝐺(𝑓) beyond 𝑓 > 𝑓𝑠
2
– The reappearance of this tail inverted or folded back into the spectrum
β€’ This tail inversion is known as spectral folding or aliasing.
308201- Communication Systems 24
Defectors Eliminated:
The Antialiasing Filter
β€’ In the process of aliasing, we are not only losing all the
frequency components above the folding frequency i.e.,
𝑓𝑠
2 𝐻𝑧 but these components reappear (aliased) as lower
frequency components.
– Aliasing is destroying the integrity of the frequency components below
the folding frequency.
β€’ Solution?
– The frequency components beyond the folding frequency are
suppressed from 𝑔(𝑑) before sampling.
β€’ The higher frequencies can be suppressed using a low pass
filter with cut off 𝑓𝑠
2 𝐻𝑧 known as antialiasing filter.
308201- Communication Systems 25
Defectors Eliminated:
The Antialiasing Filter
β€’ The antialiasing filter is used before sampling
β€’ The sampled signal spectrum and the reconstructed signal
πΊπ‘Žπ‘Ž(𝑓) will be as follows
308201- Communication Systems 26
Sampling forces non-bandlimited
signals to appear band limited
β€’ The above spectrum consist of overlapping cycles of 𝐺 𝑓
– This also mean that 𝑔 𝑑 are sub-Nyquist samples of 𝑔(𝑑)
β€’ We can also view the spectrum as the spectrum of πΊπ‘Ž(𝑓) repeating
periodically every 𝑓𝑠 𝐻𝑧 without overlap.
– The spectrum πΊπ‘Ž(𝑓) is band limited to 𝑓𝑠
2 𝐻𝑧
β€’ The sub-Nyquist samples of 𝑔(𝑑) can also be viewed as Nyquist
samples of π‘”π‘Ž 𝑑 .
β€’ Sampling a non-bandlimited signal 𝑔(𝑑) at a rate 𝑓𝑠 𝐻𝑧 make the
samples appear to be Nyquist samples of some signal π‘”π‘Ž 𝑑 band
limited to 𝑓𝑠
2 𝐻𝑧
308201- Communication Systems 27
Pulse Code Modulation
β€’ Analog signal is characterised by an amplitude that can take
on any value over a continuous range.
– It can take on an infinite number of values
β€’ Digital signal amplitude can take on only a finite number of
values.
β€’ Pulse code modulation (PCM) is a tool for converting an
analog signal into a digital signal (A/D conversion).
– Sampling and Quantization
308201- Communication Systems 28
Example
(Digital Telephone)
β€’ The audio signal bandwidth is about 15𝐾𝐻𝑧.
β€’ For speech, subjective tests show that signal articulation
(intelligibility) is not affected if all the components above 3400𝐻𝑧
are suppressed.
β€’ Since the objective in telephone communication is intelligibility
rather than high fidelity, the components above 3400𝐻𝑧 are
eliminated by a low pass filter.
β€’ The resulting bandlimited signal is sampled at a rate of
8000 𝐻𝑧 (8000 samples per second).
– Why higher sampling rate than Nyquist sample rate of 6.8𝐾𝐻𝑧 ?
β€’ Each sample is then quantized into 256 levels 𝐿 = 256 .
– 8 bits required to sample each pulse.
β€’ Hence, a telephone signal requires 8 Γ— 8000 = 64𝐾 binary pulses
per second (64𝐾𝑏𝑝𝑠).
308201- Communication Systems 29
Quantization
β€’ To transmit analog signals over a digital communication link, we must
discretize both time and values.
β€’ Quantization spacing is
2π‘šπ‘
𝐿
; sampling interval is 𝑇, not shown in figure.
308201- Communication Systems 30
Quantization
β€’ For quantization, we limit the amplitude of the message signal
π‘š(𝑑) to the range (βˆ’π‘šπ‘, π‘šπ‘).
– Note that π‘šπ‘ is not necessarily the peak amplitude of π‘š 𝑑 .
– The amplitudes of π‘š(𝑑) beyond Β±π‘šπ‘ are simply chopped off.
β€’ π‘šπ‘ is not a parameter of the signal π‘š(𝑑); rather it is the limit
of the quantizer.
β€’ The amplitude range βˆ’π‘šπ‘, π‘šπ‘ is divided into 𝐿 uniformly
spaced intervals, each of width βˆ†π‘£ =
2π‘šπ‘
𝐿
.
β€’ A sample value is approximated by the midpoint of the
interval in which it lies.
– Quantization Error!
308201- Communication Systems 31
Quantization Error
β€’ If π‘š(π‘˜π‘‡π‘ ) is the π‘˜π‘‘β„Ž sample of the signal π‘š(𝑑), and if π‘š(π‘˜π‘‡π‘ ) is the
corresponding quantized sample, then from the interpolation formula
π‘š 𝑑 =
π‘˜
π‘š π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹)
and
π‘š 𝑑 =
π‘˜
π‘š π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹)
β€’ Where π‘š(t) is the signal reconstructed from the quantized samples.
β€’ The distortion component π‘ž(𝑑) in the reconstructed signal is
π‘ž 𝑑 = π‘š 𝑑 βˆ’ π‘š(𝑑)
π‘ž 𝑑 =
π‘˜
π‘ž π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹)
β€’ π‘ž π‘˜π‘‡π‘  is the quantization error in the kth sample.
β€’ The signal π‘ž 𝑑 is the undesired signal and act as noise i.e., quantization
noise.
308201- Communication Systems 32
Quantization Error
β€’ We can calculate the power or mean square value of π‘ž 𝑑 as
π‘ƒπ‘ž = π‘ž2(𝑑) = lim
π‘‡β†’βˆž
1
𝑇
βˆ’π‘‡
2
𝑇
2
π‘ž2
(𝑑) 𝑑𝑑
= lim
π‘‡β†’βˆž
1
𝑇
βˆ’π‘‡
2
𝑇
2
π‘˜
π‘ž π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹)
2
𝑑𝑑
β€’ Since the signal sinc(2πœ‹π΅π‘‘ βˆ’ π‘šπœ‹) and sinc(2πœ‹π΅π‘‘ βˆ’ π‘›πœ‹) are
orthogonal i.e.,
βˆ’βˆž
∞
sinc(2πœ‹π΅π‘‘ βˆ’ π‘šπœ‹) sinc(2πœ‹π΅π‘‘ βˆ’ π‘›πœ‹) 𝑑𝑑 =
0 π‘š β‰  𝑛
1
2𝐡
π‘š = 𝑛
β€’ See Prob. 3.7-4 for proof.
308201- Communication Systems 33
Quantization Error
β€’ As we know
π‘ƒπ‘ž = π‘ž2(𝑑) = lim
π‘‡β†’βˆž
1
𝑇
βˆ’π‘‡
2
𝑇
2
π‘˜
π‘ž2
π‘˜π‘‡π‘  sinc2
(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) 𝑑𝑑
= lim
π‘‡β†’βˆž
1
𝑇
π‘˜
π‘ž2
π‘˜π‘‡π‘ 
βˆ’π‘‡
2
𝑇
2
sinc2
(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) 𝑑𝑑
β€’ Due to the orthogonality condition, the cross product terms will
vanish and we get
π‘ƒπ‘ž = π‘ž2(𝑑) = lim
π‘‡β†’βˆž
1
2𝐡𝑇
π‘˜
π‘ž2 π‘˜π‘‡π‘ 
β€’ Since the sampling rate is 2𝐡, the total number of sample over
averaging interval 𝑇 is 2𝐡𝑇.
– The above relation is the average or the mean of the square of the
quantization error.
308201- Communication Systems 34
Quantization Error
β€’ Since the quantum levels are separated by βˆ†π‘£ =
2π‘šπ‘
𝐿 and the
sample value is approximated by the midpoint of the subinterval (of
height βˆ†π‘£).
– The maximum quantization error is Β± βˆ†π‘£
2
– The quantization error lies in the range (βˆ’ βˆ†π‘£
2 , βˆ†π‘£
2)
β€’ Assuming that the quantization error is equally likely to lie
anywhere in the range (βˆ’ βˆ†π‘£
2 , βˆ†π‘£
2) , the mean square of
quantizing error π‘ž2 is given by
π‘ž2 =
1
βˆ†π‘£
βˆ’βˆ†π‘£
2
βˆ†π‘£
2
π‘ž2 π‘‘π‘ž =
βˆ†π‘£ 2
12
=
π‘š2
𝑝
3𝐿2
β€’ Hence, the quantization noise can be represented as
π‘π‘ž =
π‘š2
𝑝
3𝐿2
308201- Communication Systems 35
Quantization Error
β€’ The reconstructed signal π‘š(𝑑) at the receiver output is
π‘š 𝑑 = π‘š 𝑑 + π‘ž 𝑑
β€’ Can we determine the signal to noise ratio of the reconstructed
signal?
β€’ The power of the message signal π‘š(𝑑) is π‘ƒπ‘š = π‘š2(𝑑), then
𝑆0 = π‘š2(𝑑)
and
𝑁0 = π‘π‘ž =
π‘š2
𝑝
3𝐿2
β€’ Signal to noise ratio will be
𝑆0
𝑁0
= 3𝐿2
π‘š2(𝑑)
π‘š2
𝑝
308201- Communication Systems 36
Example
308201- Communication Systems 37
Differential Pulse Code Modulation
β€’ PCM is not very efficient system because it generates so many
bits and requires so much bandwidth to transmit.
β€’ We can exploit the characteristics of the source signal to
improve the encoding efficiency of the A/D converter.
– Differential Pulse Code Modulation (DPCM)
β€’ In analog messages we can make a good guess about a sample
value from knowledge of past sample values.
– High Nyquist sample rate.
β€’ What can be done to exploit this characteristic of analog
messages?
– Instead of transmitting the sample values, we transmit the different
between the successive sample values.
308201- Communication Systems 38
Differential Pulse Code Modulation
β€’ If π‘š[π‘˜] is the π‘˜π‘‘β„Ž sample, instead of transmitting π‘š[π‘˜], we transmit
the difference
𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘š[π‘˜ βˆ’ 1]
β€’ At the receiver, knowing 𝑑[π‘˜] and several previous sample value
π‘š π‘˜ βˆ’ 1 , we can reconstruct π‘š[π‘˜].
β€’ How this can improve the efficiency of the A/D converter?
β€’ The difference between successive samples is generally much
smaller than the sample values.
– The peak amplitude π‘šπ‘ of the transmitted values is reduced considerably.
– This will reduce the quantization interval as βˆ†π‘£ ∝ π‘šπ‘
– This will reduce the quantization noise as π‘π‘ž ∝ βˆ†π‘£2
– For a given 𝑛 (or transmission bandwidth), we can increase 𝑆𝑁𝑅
– For a given 𝑆𝑁𝑅, we can reduce 𝑛 (or transmission bandwidth)
308201- Communication Systems 39
Differential Pulse Code Modulation
β€’ We can further improve this scheme by estimating
(predicting) the π‘˜π‘‘β„Ž sample π‘š[π‘˜] from knowledge of several
previous sample values i.e., π‘š[π‘˜].
β€’ We now transmit the difference (prediction error) i.e.,
𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘š[π‘˜]
β€’ At the receiver, we determine the estimate π‘š[π‘˜] from the
previous sample values and then generate π‘š[π‘˜] as
π‘š π‘˜ = 𝑑 π‘˜ βˆ’ π‘š[π‘˜]
β€’ How this is an improved scheme?
– The estimated value π‘š[π‘˜] will be close to π‘š π‘˜ and their difference
(prediction error), 𝑑 π‘˜ will be even smaller than the difference
between successive samples.
– Differential PCM.
– Previous method is a special case of DPCM i.e., π‘š π‘˜ = π‘š[π‘˜ βˆ’ 1]
308201- Communication Systems 40
Estimation of π‘š[π‘˜]
β€’ A message signal sample π‘š(𝑑 + 𝑇𝑠) can be expressed as a Taylor series
expansion i.e.,
π‘š 𝑑 + 𝑇𝑠 = π‘š 𝑑 + π‘‡π‘ π‘š 𝑑 +
𝑇𝑠
2
2!
π‘š 𝑑 +
𝑇𝑠
3
3!
π‘š 𝑑 + β‹―
β‰ˆ π‘š 𝑑 + π‘‡π‘ π‘š 𝑑 for small 𝑇𝑠
β€’ From the knowledge of the signal and its derivatives at instant 𝑑, we can
predict a future signal value at 𝑑 + 𝑇𝑠
– Even with just the first derivative we can approximate the future value
β€’ Let the π‘˜π‘‘β„Ž
sample of π‘š(𝑑) be π‘š[π‘˜] i.e., putting 𝑑 = π‘˜π‘‡π‘  in π‘š(𝑑)
π‘š π‘˜π‘‡π‘  = π‘š π‘˜ and π‘š π‘˜π‘‡π‘  Β± 𝑇𝑠 = π‘š[π‘˜ Β± 1]
β€’ The future sample can be predicted as
π‘š(π‘˜π‘‡π‘  + 𝑇𝑠) = π‘š(π‘˜π‘‡π‘ ) + 𝑇𝑠
π‘š(π‘˜π‘‡π‘ ) βˆ’ π‘š(π‘˜π‘‡π‘  βˆ’ 𝑇𝑠)
𝑇𝑠
π‘š π‘˜ + 1 = 2π‘š π‘˜ βˆ’ π‘š[π‘˜ βˆ’ 1]
β€’ We can predict the (π‘˜ + 1)π‘‘β„Ž sample from the two previous samples.
β€’ How the predicted value can be improved?
– Consider more terms in the Taylor series.
308201- Communication Systems 41
Analysis of DPCM
β€’ In DPCM, we transmit not the present sample π‘š[π‘˜], but 𝑑 π‘˜ =
π‘š π‘˜ βˆ’ π‘š π‘˜ . At receiver, we generate π‘š π‘˜ from the past samples
and add the received 𝑑[π‘˜] to get π‘š[π‘˜].
β€’ There is one difficulty associated with this scheme?
– At receiver, instead of the past samples i.e., π‘š π‘˜ βˆ’ 1 , π‘š π‘˜ βˆ’ 2 , …, we have
their quantized versions i.e., π‘šπ‘ž π‘˜ βˆ’ 1 , π‘šπ‘ž π‘˜ βˆ’ 2 , …
– We cannot determine π‘š π‘˜ , we can only determine π‘šπ‘ž[π‘˜] i.e., estimation
of the quantized sample π‘šπ‘ž[π‘˜] using π‘šπ‘ž π‘˜ βˆ’ 1 , π‘šπ‘ž π‘˜ βˆ’ 2 , …
– This will increase the error in reconstruction
β€’ What could be a better strategy in this case?
– Determine π‘šπ‘ž[π‘˜], the estimate of π‘šπ‘ž[π‘˜] (instead of π‘š[π‘˜]), at the
transmitter from the previous quantized samples π‘šπ‘ž π‘˜ βˆ’ 1 , π‘šπ‘ž π‘˜ βˆ’ 2 , …
– The difference 𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘šπ‘ž[π‘˜] is now transmitted
– At receiver, we generate π‘šπ‘ž π‘˜ , and from the received 𝑑[π‘˜], we
can reconstruct π‘šπ‘ž π‘˜
308201- Communication Systems 42
Analysis of DPCM
β€’ The π‘ž[π‘˜] at the receiver output is the quantization noise associated with
difference signal 𝑑[π‘˜], which is generally much smaller than π‘š[π‘˜].
308201- Communication Systems 43
DPCM Receiver
DPCM Transmitter
𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘šπ‘ž[π‘˜]
π‘‘π‘ž π‘˜ = 𝑑 π‘˜ + π‘ž[π‘˜]
π‘šπ‘ž π‘˜ = π‘šπ‘ž π‘˜ + π‘‘π‘ž π‘˜
= π‘š π‘˜ + π‘ž[π‘˜]
π‘šπ‘ž π‘˜ = π‘š π‘˜ + π‘ž π‘˜
SNR Improvement using DPCM
β€’ Let π‘šπ‘ and 𝑑𝑝 be the peak amplitudes of π‘š(𝑑) and 𝑑(𝑑)
respectively
β€’ If we use the same value of 𝐿 in both cases, the quantization step
βˆ†π‘£ in DPCM is reduced by the factor
𝑑𝑝
π‘šπ‘
β€’ As the quantization noise 𝑁𝑝 =
(βˆ†π‘£)2
12
, the quantization noise in case
of DPCM is reduced by a factor
π‘šπ‘
𝑑𝑝
2
, and the SNR is increased by
the same factor.
β€’ SNR improvement in DPCM due to prediction will be
𝐺𝑝 =
π‘ƒπ‘š
𝑃𝑑
β€’ Where π‘ƒπ‘š and 𝑃𝑑 are the powers of π‘š(𝑑) and 𝑑(𝑑) respectively.
308201- Communication Systems 44
Delta Modulation
β€’ Sample correlation used in DPCM is further exploited in delta
modulation by over sampling (typically four times the
Nyquist rate) the baseband signal.
– Small prediction error
– Encode using 1 bit (i.e., 𝐿=2)
β€’ Delta Modulation (DM) is basically a 1-bit DPCM.
β€’ In DM, we use a first order predictor, which is just a time
delay of 𝑇𝑠.
β€’ The DM transmitter (modulator) and receiver (demodulator)
are identical to DPCM with a time delay as a predictor.
308201- Communication Systems 45
Delta Modulation
π‘šπ‘ž π‘˜ = π‘šπ‘ž π‘˜ βˆ’ 1 + π‘‘π‘ž π‘˜
β€’ So
π‘šπ‘ž π‘˜ βˆ’ 1 = π‘šπ‘ž π‘˜ βˆ’ 2 + π‘‘π‘ž[π‘˜ βˆ’ 1]
β€’ We get
π‘šπ‘ž π‘˜ = π‘šπ‘ž π‘˜ βˆ’ 2 + π‘‘π‘ž π‘˜ βˆ’ 1 + π‘‘π‘ž π‘˜
β€’ Preceding iteratively we get
π‘šπ‘ž π‘˜ =
π‘š=0
π‘˜
π‘‘π‘ž[π‘š]
β€’ The receiver is just an accumulator (adder).
β€’ If π‘‘π‘ž π‘˜ is represented by impulses, then the accumulator (receiver) may be
realized by an integrator. 308201- Communication Systems 46
Delta Modulation
β€’ Note that in DM, the modulated signal carries information about the
difference between the successive samples.
– If difference is positive or negative, a positive or negative pulse is generated in
modulated signal π‘‘π‘ž[π‘˜]
– DM carries the information about the derivative of π‘š(𝑑)
– That’s why integration of DM signal yield approximation of π‘š(𝑑) i.e., π‘šπ‘ž(𝑑)
308201- Communication Systems 47

More Related Content

What's hot

Lecture Notes: EEEC6440315 Communication Systems - Inter Symbol Interference...
Lecture Notes:  EEEC6440315 Communication Systems - Inter Symbol Interference...Lecture Notes:  EEEC6440315 Communication Systems - Inter Symbol Interference...
Lecture Notes: EEEC6440315 Communication Systems - Inter Symbol Interference...AIMST University
Β 
Introduction to signals and systems
Introduction to signals and systemsIntroduction to signals and systems
Introduction to signals and systemssudarmani rajagopal
Β 
communication system Chapter 5
communication system Chapter 5communication system Chapter 5
communication system Chapter 5moeen khan afridi
Β 
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingDSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingAmr E. Mohamed
Β 
Signals and systems ch1
Signals and systems ch1Signals and systems ch1
Signals and systems ch1Ketan Solanki
Β 
Pulse Code Modulation
Pulse Code ModulationPulse Code Modulation
Pulse Code ModulationRidwanul Hoque
Β 
Equalization
EqualizationEqualization
Equalizationbhabendu
Β 
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications IDSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications IAmr E. Mohamed
Β 
signals and systems
signals and systemssignals and systems
signals and systemsshaiksafi1
Β 
non parametric methods for power spectrum estimaton
non parametric methods for power spectrum estimatonnon parametric methods for power spectrum estimaton
non parametric methods for power spectrum estimatonBhavika Jethani
Β 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lectureKhalaf Gaeid Alshammery
Β 
Digital Signal Processing by Dr. R. Prakash Rao
Digital Signal Processing by Dr. R. Prakash Rao Digital Signal Processing by Dr. R. Prakash Rao
Digital Signal Processing by Dr. R. Prakash Rao Prakash Rao
Β 
Sampling theorem
Sampling theoremSampling theorem
Sampling theoremShanu Bhuvana
Β 
Timing synchronization F Ling_v1.2
Timing synchronization F Ling_v1.2Timing synchronization F Ling_v1.2
Timing synchronization F Ling_v1.2Fuyun Ling
Β 
Lecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdfLecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdfVishalPusadkar1
Β 
signal flow graph
signal flow graphsignal flow graph
signal flow graphRajput Manthan
Β 

What's hot (20)

Lecture Notes: EEEC6440315 Communication Systems - Inter Symbol Interference...
Lecture Notes:  EEEC6440315 Communication Systems - Inter Symbol Interference...Lecture Notes:  EEEC6440315 Communication Systems - Inter Symbol Interference...
Lecture Notes: EEEC6440315 Communication Systems - Inter Symbol Interference...
Β 
Introduction to signals and systems
Introduction to signals and systemsIntroduction to signals and systems
Introduction to signals and systems
Β 
communication system Chapter 5
communication system Chapter 5communication system Chapter 5
communication system Chapter 5
Β 
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingDSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
Β 
Signals and systems ch1
Signals and systems ch1Signals and systems ch1
Signals and systems ch1
Β 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
Β 
Pulse Code Modulation
Pulse Code ModulationPulse Code Modulation
Pulse Code Modulation
Β 
Equalization
EqualizationEqualization
Equalization
Β 
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications IDSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
Β 
Sampling
SamplingSampling
Sampling
Β 
signals and systems
signals and systemssignals and systems
signals and systems
Β 
non parametric methods for power spectrum estimaton
non parametric methods for power spectrum estimatonnon parametric methods for power spectrum estimaton
non parametric methods for power spectrum estimaton
Β 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lecture
Β 
Sampling
SamplingSampling
Sampling
Β 
Synchronization
SynchronizationSynchronization
Synchronization
Β 
Digital Signal Processing by Dr. R. Prakash Rao
Digital Signal Processing by Dr. R. Prakash Rao Digital Signal Processing by Dr. R. Prakash Rao
Digital Signal Processing by Dr. R. Prakash Rao
Β 
Sampling theorem
Sampling theoremSampling theorem
Sampling theorem
Β 
Timing synchronization F Ling_v1.2
Timing synchronization F Ling_v1.2Timing synchronization F Ling_v1.2
Timing synchronization F Ling_v1.2
Β 
Lecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdfLecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdf
Β 
signal flow graph
signal flow graphsignal flow graph
signal flow graph
Β 

Similar to Communication Systems_B.P. Lathi and Zhi Ding (Lecture No 31-39)

Signal, Sampling and signal quantization
Signal, Sampling and signal quantizationSignal, Sampling and signal quantization
Signal, Sampling and signal quantizationSamS270368
Β 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxAnshulShekhar3
Β 
Chapter 6m
Chapter 6mChapter 6m
Chapter 6mwafaa_A7
Β 
UPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxUPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxHarisMasood20
Β 
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingDsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingAmr E. Mohamed
Β 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulationavocado1111
Β 
Overview of sampling
Overview of samplingOverview of sampling
Overview of samplingSagar Kumar
Β 
1 Sampling and Signal Reconstruction.pdf
1 Sampling and Signal Reconstruction.pdf1 Sampling and Signal Reconstruction.pdf
1 Sampling and Signal Reconstruction.pdfMohamedshabana38
Β 
Lecture Notes: EEEC6440315 Communication Systems - Spectral Analysis
Lecture Notes:  EEEC6440315 Communication Systems - Spectral AnalysisLecture Notes:  EEEC6440315 Communication Systems - Spectral Analysis
Lecture Notes: EEEC6440315 Communication Systems - Spectral AnalysisAIMST University
Β 
Vibration isolation progect lego(r)
Vibration isolation progect lego(r)Vibration isolation progect lego(r)
Vibration isolation progect lego(r)Open Adaptronik
Β 
VISHAV snp.pptx
VISHAV snp.pptxVISHAV snp.pptx
VISHAV snp.pptxNeerajBhatt62
Β 
Spectral Analysis of Sample Rate Converter
Spectral Analysis of Sample Rate ConverterSpectral Analysis of Sample Rate Converter
Spectral Analysis of Sample Rate ConverterCSCJournals
Β 
Digial instrumentation fnal
Digial instrumentation fnalDigial instrumentation fnal
Digial instrumentation fnalBishal Rimal
Β 
Introduction to equalization
Introduction to equalizationIntroduction to equalization
Introduction to equalizationHarshit Srivastava
Β 
Unit 4 Pulse Modulation.pdf
Unit 4 Pulse Modulation.pdfUnit 4 Pulse Modulation.pdf
Unit 4 Pulse Modulation.pdfTejasAuti4
Β 
Digital communication
Digital communicationDigital communication
Digital communicationmeashi
Β 
Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code ModulationYeshudas Muttu
Β 

Similar to Communication Systems_B.P. Lathi and Zhi Ding (Lecture No 31-39) (20)

Signal, Sampling and signal quantization
Signal, Sampling and signal quantizationSignal, Sampling and signal quantization
Signal, Sampling and signal quantization
Β 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptx
Β 
Chapter 6m
Chapter 6mChapter 6m
Chapter 6m
Β 
UPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxUPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptx
Β 
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingDsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Β 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
Β 
Overview of sampling
Overview of samplingOverview of sampling
Overview of sampling
Β 
Sampling.pptx
Sampling.pptxSampling.pptx
Sampling.pptx
Β 
Lecture 18 (5)
Lecture 18 (5)Lecture 18 (5)
Lecture 18 (5)
Β 
1 Sampling and Signal Reconstruction.pdf
1 Sampling and Signal Reconstruction.pdf1 Sampling and Signal Reconstruction.pdf
1 Sampling and Signal Reconstruction.pdf
Β 
Lecture Notes: EEEC6440315 Communication Systems - Spectral Analysis
Lecture Notes:  EEEC6440315 Communication Systems - Spectral AnalysisLecture Notes:  EEEC6440315 Communication Systems - Spectral Analysis
Lecture Notes: EEEC6440315 Communication Systems - Spectral Analysis
Β 
Vibration isolation progect lego(r)
Vibration isolation progect lego(r)Vibration isolation progect lego(r)
Vibration isolation progect lego(r)
Β 
Tdm fdm
Tdm fdmTdm fdm
Tdm fdm
Β 
VISHAV snp.pptx
VISHAV snp.pptxVISHAV snp.pptx
VISHAV snp.pptx
Β 
Spectral Analysis of Sample Rate Converter
Spectral Analysis of Sample Rate ConverterSpectral Analysis of Sample Rate Converter
Spectral Analysis of Sample Rate Converter
Β 
Digial instrumentation fnal
Digial instrumentation fnalDigial instrumentation fnal
Digial instrumentation fnal
Β 
Introduction to equalization
Introduction to equalizationIntroduction to equalization
Introduction to equalization
Β 
Unit 4 Pulse Modulation.pdf
Unit 4 Pulse Modulation.pdfUnit 4 Pulse Modulation.pdf
Unit 4 Pulse Modulation.pdf
Β 
Digital communication
Digital communicationDigital communication
Digital communication
Β 
Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code Modulation
Β 

Recently uploaded

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
Β 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
Β 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”soniya singh
Β 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
Β 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
Β 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEslot gacor bisa pakai pulsa
Β 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
Β 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
Β 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
Β 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
Β 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
Β 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
Β 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
Β 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
Β 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
Β 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
Β 

Recently uploaded (20)

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Β 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
Β 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Β 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Β 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
Β 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
Β 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
Β 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Β 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
Β 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Β 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Β 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Β 
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCRβ˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
Β 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
Β 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Β 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
Β 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
Β 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
Β 

Communication Systems_B.P. Lathi and Zhi Ding (Lecture No 31-39)

  • 1. 30820-Communication Systems Week 12-14 – Lecture 31-39 (Ref: Chapter 6 of text book) SAMPLING AND ANALOG TO DIGITAL CONVERSION
  • 2. Contents β€’ Sampling Theorem β€’ Pulse Code Modulation β€’ Differential Pulse Code Modulation (DPCM) β€’ Delta Modulation 308201- Communication Systems 2
  • 3. Sampling Theorem β€’ Why do we need sampling? β€’ Analog signals can be digitized though sampling and quantization. – A/D Converter β€’ In A/D converter, the sampling rate must be large enough to permit the analog signal to be reconstructed from the samples with sufficient accuracy. β€’ The sampling theorem defines the basis for determining the proper (lossless) sampling rate for a given signal. 308201- Communication Systems 3
  • 4. Sampling Theorem β€’ A consider a signal 𝑔(𝑑) whose spectrum is band limited to 𝐡 𝐻𝑧, that is 𝐺 𝑓 = 0 for 𝑓 > 𝐡 β€’ We can reconstruct the signal exactly (without any error) from its discrete time samples (samples taken uniformly at a rate of 𝑅 samples per second). – Condition for 𝑅? – The condition is that 𝑅 > 2𝐡 β€’ In other words, the minimum sampling frequency for perfect signal recovery is 𝑓𝑠 = 2𝐡 𝐻𝑧 308201- Communication Systems 4
  • 5. Sampling Theorem β€’ Consider a signal 𝑔(𝑑) whose spectrum is band limited to 𝐡 𝐻𝑧 β€’ Sampling at a rate 𝑓𝑠 means we take 𝑓𝑠 uniform samples per second. β€’ This uniform sampling can be accomplished by multiplying 𝑔(𝑑) by an impulse train 𝛿𝑇𝑠 (𝑑) β€’ The pulse train consist of unit impulses repeating periodically every 𝑇𝑠 seconds. 308201- Communication Systems 5
  • 6. Sampling Theorem β€’ This result in the sampled signal 𝑔(𝑑) as follows β€’ The relationship between sampled signal 𝑔(𝑑) and the original signal 𝑔(𝑑) is 𝑔 𝑑 = 𝑔 𝑑 𝛿𝑇𝑠 𝑑 = 𝑛 𝑔(𝑛𝑇𝑠)𝛿(𝑑 βˆ’ 𝑛𝑇𝑠) β€’ Since the impulse train is a periodic signal of period 𝑇𝑠, it can be expressed as an exponential Fourier series i.e., 𝛿𝑇𝑠 𝑑 = 1 𝑇𝑠 βˆ’βˆž ∞ 𝑒𝑗𝑛𝑀𝑠𝑑 𝑀𝑠 = 2πœ‹ 𝑇𝑠 = 2πœ‹π‘“π‘  𝑔 𝑑 = 1 𝑇𝑠 βˆ’βˆž ∞ 𝑔 𝑑 𝑒𝑗𝑛𝑀𝑠𝑑 308201- Communication Systems 6
  • 7. β€’ The Fourier transform of 𝑔 𝑑 will be as follows 𝐺 𝑓 = 1 𝑇𝑠 βˆ’βˆž ∞ 𝐺 𝑓 βˆ’ 𝑛𝑓𝑠 β€’ This mean that the spectrum 𝐺 𝑓 consist of 𝐺 𝑓 , scaled by a constant 1 𝑇𝑠 , repeating periodically with period 𝑓𝑠 = 1 𝑇𝑠 𝐻𝑧 β€’ Can 𝑔(𝑑) be reconstructed from 𝑔 𝑑 without any loss or distortion? – If yes then we should be able to recover 𝐺(𝑓) from 𝐺 𝑓 – Only possible if there is no overlap among replicas in 𝐺 𝑓 Sampling Theorem 308201- Communication Systems 7
  • 8. Sampling Theorem β€’ It can be seen that for no overlap among replicas in 𝐺 𝑓 𝑓𝑠 > 2𝐡 β€’ Also since 𝑇𝑠 = 1 𝑓𝑠 so, 𝑇𝑠 < 1 2𝐡 β€’ As long as the sampling frequency 𝑓𝑠 is greater than twice the signal bandwidth 𝐡 , 𝐺 𝑓 will have nonoverlapping repetitions of 𝐺 𝑓 . β€’ 𝑔(𝑑) can be recovered using an ideal low pass filter of bandwidth 𝐡 𝐻𝑧. β€’ The minimum sampling rate 𝑓𝑠 = 2𝐡 required to recover 𝑔(𝑑) from 𝑔 𝑑 is called the Nyquist Rate and the corresponding sampling interval 𝑇𝑠 = 1 2𝐡 is called the Nyquist Interval. 308201- Communication Systems 8
  • 9. Signal Reconstruction from Uniform Samples β€’ The process of reconstructing a continuous time signal 𝑔(𝑑) from its samples is also known as interpolation. β€’ We have already established that uniform sampling at above the Nyquist rate preserves all the signal information. – Passing the sampled signal through an ideal low pass filter of bandwidth 𝐡 𝐻𝑧 will reconstruct the message signal. β€’ The sampled message signal can be represented as 𝑔 𝑑 = 𝑛 𝑔(𝑛𝑇𝑠)𝛿(𝑑 βˆ’ 𝑛𝑇𝑠) β€’ The low pass filter of bandwidth 𝐡 𝐻𝑧 and gain 𝑇𝑠 will have the following transfer function 𝐻 𝑓 = 𝑇𝑠𝛱 𝑀 4πœ‹π΅ = 𝑇𝑠𝛱 𝑓 2𝐡 308201- Communication Systems 9
  • 10. Signal Reconstruction from Uniform Samples β€’ To recover the analog signal from its uniform samples, the ideal interpolation filter transfer function and impulse response is as follows 𝐻 𝑓 = 𝑇𝑠𝛱 𝑓 2𝐡 ⟺ β„Ž 𝑑 = 2𝐡𝑇𝑠 sinc 2πœ‹π΅π‘‘ β€’ Assuming the use of Nyquist sampling rate i.e., 2𝐡𝑇𝑠 = 1 β„Ž 𝑑 = sinc 2πœ‹π΅π‘‘ 308201- Communication Systems 10
  • 11. Signal Reconstruction from Uniform Samples β€’ It can be observed that β„Ž(𝑑) = 0 at all Nyquist sampling instants i.e., 𝑑 = ±𝑛 2𝐡 except 𝑑 = 0 β€’ When the sampled signal 𝑔 𝑑 is applied at the input of this filter, each sample in 𝑔 𝑑 , being an impulse, generate a sinc pulse of height equal to the strength of the sample. 𝑔 𝑑 = π‘˜ 𝑔 π‘˜π‘‡π‘  β„Ž(𝑑 βˆ’ π‘˜π‘‡π‘ ) = π‘˜ 𝑔 π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) 308201- Communication Systems 11
  • 12. Example β€’ Determine the Nyquist interval and sampling rate for the signal 𝑔1(𝑑), 𝑔2 𝑑 , 𝑔1 2 (𝑑), 𝑔2 π‘š (𝑑) and 𝑔1 𝑑 𝑔2 𝑑 when the spectra of 𝐺1 𝑀 and 𝐺2 𝑀 is given as follows β€’ Bandwidth of 𝑔1 𝑑 is 100𝐾𝐻𝑧 and 𝑔2 𝑑 is 150𝐾𝐻𝑧 – Nyquist sample rate for 𝑔1 𝑑 is 200𝐾𝐻𝑧 and 𝑔2 𝑑 is 300𝐾𝐻𝑧 β€’ Bandwidth of 𝑔1 2 (𝑑) is twice the bandwidth of 𝑔1 𝑑 i.e., 200𝐾𝐻𝑧 and 𝑔2 π‘š (𝑑) will have bandwidth π‘š Γ— 150𝐾𝐻𝑧 – Nyquist sample rate for 𝑔1 2 (𝑑) is 400𝐾𝐻𝑧 and 𝑔2 π‘š (𝑑) is π‘š Γ— 300𝐾𝐻𝑧 β€’ Bandwidth of 𝑔1 𝑑 𝑔2 𝑑 is 250𝐾𝐻𝑧 – Nyquist sample rate for 𝑔1 𝑑 𝑔2 𝑑 is 500𝐾𝐻𝑧 308201- Communication Systems 12
  • 13. Example β€’ Determine the Nyquist sampling rate and the Nyquist sampling interval for the signal – sin𝑐 100πœ‹π‘‘ – sinc2 100πœ‹π‘‘ sin𝑐 100πœ‹π‘‘ ⟺ 0.01𝛱 𝑀 200πœ‹ β€’ Bandwidth is 50𝐻𝑧 and the Nyquist sample rate 100𝐻𝑧 sinc2 100πœ‹π‘‘ ⟺ 0.01βˆ† 𝑀 400πœ‹ β€’ Bandwidth is 100𝐻𝑧 and the Nyquist sample rate 200𝐻𝑧 308201- Communication Systems 13
  • 14. Practical Signal Reconstruction (Interpolation) β€’ Signal reconstruction discussed earlier require an ideal low pass filter. – Unrealizable – Noncausal – This also lead to a infinitely long nature of sinc reconstruction pulse. β€’ For practical applications, we need a realizable signal reconstruction system from the uniform signal samples. β€’ For practical implementation, the reconstruction pulse must be easy to generate. 308201- Communication Systems 14
  • 15. Practical Signal Reconstruction (Interpolation) β€’ We need to analyze the accuracy of the reconstructed signal when using a non-ideal interpolation pulse 𝑝(𝑑). 𝑔 𝑑 = 𝑛 𝑔 𝑛𝑇𝑠 𝑝(𝑑 βˆ’ 𝑛𝑇𝑠) 𝑔 𝑑 = 𝑝 𝑑 βˆ— 𝑛 𝑔 𝑛𝑇𝑠 𝛿(𝑑 βˆ’ 𝑛𝑇𝑠) 𝑔 𝑑 = 𝑝 𝑑 βˆ— 𝑔 𝑑 β€’ In frequency domain, the relationship between the reconstructed and the original analog signal is given as 𝐺 𝑓 = 𝑃(𝑓) 1 𝑇𝑠 βˆ’βˆž ∞ 𝐺 𝑓 βˆ’ 𝑛𝑓𝑠 β€’ The reconstructed signal 𝑔 𝑑 using pulse 𝑝(𝑑) consist of multiple replicas of 𝐺(𝑓) shifted to 𝑛𝑓𝑠 and filtered by 𝑃(𝑓). 308201- Communication Systems 15
  • 16. Practical Signal Reconstruction (Interpolation) β€’ So to fully recover the 𝑔(𝑑) from 𝑔 𝑑 , we need further processing/filtering. – Such filters are often referred to as equalizers β€’ Let us denote the equalizer function as 𝐸(𝑓), so now distortionless reconstruction will require 𝐺 𝑓 = 𝐸(𝑓)𝐺 𝑓 𝐺 𝑓 = 𝐸(𝑓)𝑃(𝑓) 1 𝑇𝑠 βˆ’βˆž ∞ 𝐺 𝑓 βˆ’ 𝑛𝑓𝑠 β€’ The equalizer must remove all the shifted replicas 𝐺 𝑓 βˆ’ 𝑛𝑓𝑠 except the low pass term with 𝑛 = 0 i.e., 𝐸 𝑓 𝑃 𝑓 = 0 𝑓 > 𝑓𝑠 βˆ’ 𝐡 also 𝐸 𝑓 𝑃 𝑓 = 𝑇𝑠 𝑓 < 𝐡 308201- Communication Systems 16
  • 17. Practical Signal Reconstruction (Interpolation) β€’ The equalizer 𝐸(𝑓) must be – lowpass in nature to stop all frequency components above 𝑓𝑠 βˆ’ 𝐡 – Inverse of 𝑃(𝑓) within the signal bandwidth of 𝐡 𝐻𝑧 β€’ A practical signal reconstruction system can be represented as β€’ Let us consider a very simple interpolating pulse generator that generate short pules i.e., 308201- Communication Systems 17
  • 18. Practical Signal Reconstruction (Interpolation) β€’ The short pulse can be expressed as 𝑝 𝑑 = ∏ 𝑑 βˆ’ 0.5𝑇𝑝 𝑇𝑝 β€’ The reconstruction will first generate 𝑔 𝑑 as 𝑔 𝑑 = 𝑛 𝑔 𝑛𝑇𝑠 ∏ 𝑑 βˆ’ 0.5𝑇𝑝 βˆ’ 𝑛𝑇𝑠 𝑇𝑝 β€’ The Fourier transform of 𝑝(𝑑) is 𝑃 𝑓 = 𝑇𝑝 sinc πœ‹π‘“π‘‡π‘ π‘’βˆ’π‘—πœ‹π‘“π‘‡π‘ β€’ The equalizer frequency response should satisfy 𝐸 𝑓 = 𝑇𝑠 𝑃(𝑓) 𝑓 ≀ 𝐡 Flexible 𝐡 < 𝑓 < 1 𝑇𝑠 βˆ’ 𝐡 0 𝑓 β‰₯ 1 𝑇𝑠 βˆ’ 𝐡 308201- Communication Systems 18
  • 19. Practical Issues in Signal Sampling and Reconstruction β€’ Realizability of Reconstruction Filters β€’ The Treachery of Aliasing – Defectors Eliminated: The antialiasing Filter β€’ Sampling forces non-bandlimited signals to appear band limited 308201- Communication Systems 19
  • 20. Realizability of Reconstruction Filters β€’ If a signal is sampled at the Nyquist rate 𝑓𝑠 = 2𝐡 𝐻𝑧, the spectrum 𝐺 𝑓 consists of repetitions of 𝐺(𝑓) without any gaps between successive cycles. β€’ To recover g(t) from 𝑔 𝑑 , we need to pass the sampled signal through an ideal low pass filter. – Ideal Filter is practically unrealizable – Solution? 308201- Communication Systems 20
  • 21. Realizability of Reconstruction Filters β€’ A practical solution to this problem is to sample the signal at a rate higher than the Nyquist rate i.e., 𝑓𝑠 > 2𝐡 or 𝑀𝑠 > 4πœ‹π΅ β€’ This yield 𝐺 𝑓 , consisting of repetitions of G(f) with a finite band gap between successive cycles. β€’ We can recover 𝑔(𝑑) from 𝑔 𝑑 using a low pass filter with a gradual cut-off characteristics. β€’ There is still an issue with this approach: Guess? β€’ Despite the gradual cut-off characteristics, the filter gain is required to be zero beyond the first cycle of 𝐺(𝑓). 308201- Communication Systems 21
  • 22. The Treachery of Aliasing β€’ Another practical difficulty in reconstructing the signal from its samples lies in the fundamental theory of sampling theorem. β€’ The sampling theorem was proved on the assumption that the signal 𝑔(𝑑) is band-limited. β€’ All practical signals are time limited. – They have finite duration or width. – They are non-band limited. – A signal cannot be time limited and band limited at the same time. 308201- Communication Systems 22
  • 23. The Treachery of Aliasing β€’ In this case, the spectrum of 𝐺 𝑓 will consist of overlapping cycles of 𝐺(𝑓) repeating every 𝑓𝑠 𝐻𝑧 β€’ Because of non-bandlimited spectrum, the spectrum overlap is unavoidable, regardless of the sampling rate. – Higher sampling rates can reduce but cannot eliminate the overlaps β€’ Due to the overlaps, 𝐺 𝑓 no longer has complete information of 𝐺 𝑓 . 308201- Communication Systems 23
  • 24. The Treachery of Aliasing β€’ If we pass 𝑔 𝑑 even through an ideal low pass filter with cut- off frequency 𝑓𝑠 2 , the output will not be 𝐺(𝑓) but as πΊπ‘Ž(𝑓) β€’ This πΊπ‘Ž(𝑓) is distorted version of 𝐺(𝑓) due to – The loss of tail of 𝐺(𝑓) beyond 𝑓 > 𝑓𝑠 2 – The reappearance of this tail inverted or folded back into the spectrum β€’ This tail inversion is known as spectral folding or aliasing. 308201- Communication Systems 24
  • 25. Defectors Eliminated: The Antialiasing Filter β€’ In the process of aliasing, we are not only losing all the frequency components above the folding frequency i.e., 𝑓𝑠 2 𝐻𝑧 but these components reappear (aliased) as lower frequency components. – Aliasing is destroying the integrity of the frequency components below the folding frequency. β€’ Solution? – The frequency components beyond the folding frequency are suppressed from 𝑔(𝑑) before sampling. β€’ The higher frequencies can be suppressed using a low pass filter with cut off 𝑓𝑠 2 𝐻𝑧 known as antialiasing filter. 308201- Communication Systems 25
  • 26. Defectors Eliminated: The Antialiasing Filter β€’ The antialiasing filter is used before sampling β€’ The sampled signal spectrum and the reconstructed signal πΊπ‘Žπ‘Ž(𝑓) will be as follows 308201- Communication Systems 26
  • 27. Sampling forces non-bandlimited signals to appear band limited β€’ The above spectrum consist of overlapping cycles of 𝐺 𝑓 – This also mean that 𝑔 𝑑 are sub-Nyquist samples of 𝑔(𝑑) β€’ We can also view the spectrum as the spectrum of πΊπ‘Ž(𝑓) repeating periodically every 𝑓𝑠 𝐻𝑧 without overlap. – The spectrum πΊπ‘Ž(𝑓) is band limited to 𝑓𝑠 2 𝐻𝑧 β€’ The sub-Nyquist samples of 𝑔(𝑑) can also be viewed as Nyquist samples of π‘”π‘Ž 𝑑 . β€’ Sampling a non-bandlimited signal 𝑔(𝑑) at a rate 𝑓𝑠 𝐻𝑧 make the samples appear to be Nyquist samples of some signal π‘”π‘Ž 𝑑 band limited to 𝑓𝑠 2 𝐻𝑧 308201- Communication Systems 27
  • 28. Pulse Code Modulation β€’ Analog signal is characterised by an amplitude that can take on any value over a continuous range. – It can take on an infinite number of values β€’ Digital signal amplitude can take on only a finite number of values. β€’ Pulse code modulation (PCM) is a tool for converting an analog signal into a digital signal (A/D conversion). – Sampling and Quantization 308201- Communication Systems 28
  • 29. Example (Digital Telephone) β€’ The audio signal bandwidth is about 15𝐾𝐻𝑧. β€’ For speech, subjective tests show that signal articulation (intelligibility) is not affected if all the components above 3400𝐻𝑧 are suppressed. β€’ Since the objective in telephone communication is intelligibility rather than high fidelity, the components above 3400𝐻𝑧 are eliminated by a low pass filter. β€’ The resulting bandlimited signal is sampled at a rate of 8000 𝐻𝑧 (8000 samples per second). – Why higher sampling rate than Nyquist sample rate of 6.8𝐾𝐻𝑧 ? β€’ Each sample is then quantized into 256 levels 𝐿 = 256 . – 8 bits required to sample each pulse. β€’ Hence, a telephone signal requires 8 Γ— 8000 = 64𝐾 binary pulses per second (64𝐾𝑏𝑝𝑠). 308201- Communication Systems 29
  • 30. Quantization β€’ To transmit analog signals over a digital communication link, we must discretize both time and values. β€’ Quantization spacing is 2π‘šπ‘ 𝐿 ; sampling interval is 𝑇, not shown in figure. 308201- Communication Systems 30
  • 31. Quantization β€’ For quantization, we limit the amplitude of the message signal π‘š(𝑑) to the range (βˆ’π‘šπ‘, π‘šπ‘). – Note that π‘šπ‘ is not necessarily the peak amplitude of π‘š 𝑑 . – The amplitudes of π‘š(𝑑) beyond Β±π‘šπ‘ are simply chopped off. β€’ π‘šπ‘ is not a parameter of the signal π‘š(𝑑); rather it is the limit of the quantizer. β€’ The amplitude range βˆ’π‘šπ‘, π‘šπ‘ is divided into 𝐿 uniformly spaced intervals, each of width βˆ†π‘£ = 2π‘šπ‘ 𝐿 . β€’ A sample value is approximated by the midpoint of the interval in which it lies. – Quantization Error! 308201- Communication Systems 31
  • 32. Quantization Error β€’ If π‘š(π‘˜π‘‡π‘ ) is the π‘˜π‘‘β„Ž sample of the signal π‘š(𝑑), and if π‘š(π‘˜π‘‡π‘ ) is the corresponding quantized sample, then from the interpolation formula π‘š 𝑑 = π‘˜ π‘š π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) and π‘š 𝑑 = π‘˜ π‘š π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) β€’ Where π‘š(t) is the signal reconstructed from the quantized samples. β€’ The distortion component π‘ž(𝑑) in the reconstructed signal is π‘ž 𝑑 = π‘š 𝑑 βˆ’ π‘š(𝑑) π‘ž 𝑑 = π‘˜ π‘ž π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) β€’ π‘ž π‘˜π‘‡π‘  is the quantization error in the kth sample. β€’ The signal π‘ž 𝑑 is the undesired signal and act as noise i.e., quantization noise. 308201- Communication Systems 32
  • 33. Quantization Error β€’ We can calculate the power or mean square value of π‘ž 𝑑 as π‘ƒπ‘ž = π‘ž2(𝑑) = lim π‘‡β†’βˆž 1 𝑇 βˆ’π‘‡ 2 𝑇 2 π‘ž2 (𝑑) 𝑑𝑑 = lim π‘‡β†’βˆž 1 𝑇 βˆ’π‘‡ 2 𝑇 2 π‘˜ π‘ž π‘˜π‘‡π‘  sinc(2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) 2 𝑑𝑑 β€’ Since the signal sinc(2πœ‹π΅π‘‘ βˆ’ π‘šπœ‹) and sinc(2πœ‹π΅π‘‘ βˆ’ π‘›πœ‹) are orthogonal i.e., βˆ’βˆž ∞ sinc(2πœ‹π΅π‘‘ βˆ’ π‘šπœ‹) sinc(2πœ‹π΅π‘‘ βˆ’ π‘›πœ‹) 𝑑𝑑 = 0 π‘š β‰  𝑛 1 2𝐡 π‘š = 𝑛 β€’ See Prob. 3.7-4 for proof. 308201- Communication Systems 33
  • 34. Quantization Error β€’ As we know π‘ƒπ‘ž = π‘ž2(𝑑) = lim π‘‡β†’βˆž 1 𝑇 βˆ’π‘‡ 2 𝑇 2 π‘˜ π‘ž2 π‘˜π‘‡π‘  sinc2 (2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) 𝑑𝑑 = lim π‘‡β†’βˆž 1 𝑇 π‘˜ π‘ž2 π‘˜π‘‡π‘  βˆ’π‘‡ 2 𝑇 2 sinc2 (2πœ‹π΅π‘‘ βˆ’ π‘˜πœ‹) 𝑑𝑑 β€’ Due to the orthogonality condition, the cross product terms will vanish and we get π‘ƒπ‘ž = π‘ž2(𝑑) = lim π‘‡β†’βˆž 1 2𝐡𝑇 π‘˜ π‘ž2 π‘˜π‘‡π‘  β€’ Since the sampling rate is 2𝐡, the total number of sample over averaging interval 𝑇 is 2𝐡𝑇. – The above relation is the average or the mean of the square of the quantization error. 308201- Communication Systems 34
  • 35. Quantization Error β€’ Since the quantum levels are separated by βˆ†π‘£ = 2π‘šπ‘ 𝐿 and the sample value is approximated by the midpoint of the subinterval (of height βˆ†π‘£). – The maximum quantization error is Β± βˆ†π‘£ 2 – The quantization error lies in the range (βˆ’ βˆ†π‘£ 2 , βˆ†π‘£ 2) β€’ Assuming that the quantization error is equally likely to lie anywhere in the range (βˆ’ βˆ†π‘£ 2 , βˆ†π‘£ 2) , the mean square of quantizing error π‘ž2 is given by π‘ž2 = 1 βˆ†π‘£ βˆ’βˆ†π‘£ 2 βˆ†π‘£ 2 π‘ž2 π‘‘π‘ž = βˆ†π‘£ 2 12 = π‘š2 𝑝 3𝐿2 β€’ Hence, the quantization noise can be represented as π‘π‘ž = π‘š2 𝑝 3𝐿2 308201- Communication Systems 35
  • 36. Quantization Error β€’ The reconstructed signal π‘š(𝑑) at the receiver output is π‘š 𝑑 = π‘š 𝑑 + π‘ž 𝑑 β€’ Can we determine the signal to noise ratio of the reconstructed signal? β€’ The power of the message signal π‘š(𝑑) is π‘ƒπ‘š = π‘š2(𝑑), then 𝑆0 = π‘š2(𝑑) and 𝑁0 = π‘π‘ž = π‘š2 𝑝 3𝐿2 β€’ Signal to noise ratio will be 𝑆0 𝑁0 = 3𝐿2 π‘š2(𝑑) π‘š2 𝑝 308201- Communication Systems 36
  • 38. Differential Pulse Code Modulation β€’ PCM is not very efficient system because it generates so many bits and requires so much bandwidth to transmit. β€’ We can exploit the characteristics of the source signal to improve the encoding efficiency of the A/D converter. – Differential Pulse Code Modulation (DPCM) β€’ In analog messages we can make a good guess about a sample value from knowledge of past sample values. – High Nyquist sample rate. β€’ What can be done to exploit this characteristic of analog messages? – Instead of transmitting the sample values, we transmit the different between the successive sample values. 308201- Communication Systems 38
  • 39. Differential Pulse Code Modulation β€’ If π‘š[π‘˜] is the π‘˜π‘‘β„Ž sample, instead of transmitting π‘š[π‘˜], we transmit the difference 𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘š[π‘˜ βˆ’ 1] β€’ At the receiver, knowing 𝑑[π‘˜] and several previous sample value π‘š π‘˜ βˆ’ 1 , we can reconstruct π‘š[π‘˜]. β€’ How this can improve the efficiency of the A/D converter? β€’ The difference between successive samples is generally much smaller than the sample values. – The peak amplitude π‘šπ‘ of the transmitted values is reduced considerably. – This will reduce the quantization interval as βˆ†π‘£ ∝ π‘šπ‘ – This will reduce the quantization noise as π‘π‘ž ∝ βˆ†π‘£2 – For a given 𝑛 (or transmission bandwidth), we can increase 𝑆𝑁𝑅 – For a given 𝑆𝑁𝑅, we can reduce 𝑛 (or transmission bandwidth) 308201- Communication Systems 39
  • 40. Differential Pulse Code Modulation β€’ We can further improve this scheme by estimating (predicting) the π‘˜π‘‘β„Ž sample π‘š[π‘˜] from knowledge of several previous sample values i.e., π‘š[π‘˜]. β€’ We now transmit the difference (prediction error) i.e., 𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘š[π‘˜] β€’ At the receiver, we determine the estimate π‘š[π‘˜] from the previous sample values and then generate π‘š[π‘˜] as π‘š π‘˜ = 𝑑 π‘˜ βˆ’ π‘š[π‘˜] β€’ How this is an improved scheme? – The estimated value π‘š[π‘˜] will be close to π‘š π‘˜ and their difference (prediction error), 𝑑 π‘˜ will be even smaller than the difference between successive samples. – Differential PCM. – Previous method is a special case of DPCM i.e., π‘š π‘˜ = π‘š[π‘˜ βˆ’ 1] 308201- Communication Systems 40
  • 41. Estimation of π‘š[π‘˜] β€’ A message signal sample π‘š(𝑑 + 𝑇𝑠) can be expressed as a Taylor series expansion i.e., π‘š 𝑑 + 𝑇𝑠 = π‘š 𝑑 + π‘‡π‘ π‘š 𝑑 + 𝑇𝑠 2 2! π‘š 𝑑 + 𝑇𝑠 3 3! π‘š 𝑑 + β‹― β‰ˆ π‘š 𝑑 + π‘‡π‘ π‘š 𝑑 for small 𝑇𝑠 β€’ From the knowledge of the signal and its derivatives at instant 𝑑, we can predict a future signal value at 𝑑 + 𝑇𝑠 – Even with just the first derivative we can approximate the future value β€’ Let the π‘˜π‘‘β„Ž sample of π‘š(𝑑) be π‘š[π‘˜] i.e., putting 𝑑 = π‘˜π‘‡π‘  in π‘š(𝑑) π‘š π‘˜π‘‡π‘  = π‘š π‘˜ and π‘š π‘˜π‘‡π‘  Β± 𝑇𝑠 = π‘š[π‘˜ Β± 1] β€’ The future sample can be predicted as π‘š(π‘˜π‘‡π‘  + 𝑇𝑠) = π‘š(π‘˜π‘‡π‘ ) + 𝑇𝑠 π‘š(π‘˜π‘‡π‘ ) βˆ’ π‘š(π‘˜π‘‡π‘  βˆ’ 𝑇𝑠) 𝑇𝑠 π‘š π‘˜ + 1 = 2π‘š π‘˜ βˆ’ π‘š[π‘˜ βˆ’ 1] β€’ We can predict the (π‘˜ + 1)π‘‘β„Ž sample from the two previous samples. β€’ How the predicted value can be improved? – Consider more terms in the Taylor series. 308201- Communication Systems 41
  • 42. Analysis of DPCM β€’ In DPCM, we transmit not the present sample π‘š[π‘˜], but 𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘š π‘˜ . At receiver, we generate π‘š π‘˜ from the past samples and add the received 𝑑[π‘˜] to get π‘š[π‘˜]. β€’ There is one difficulty associated with this scheme? – At receiver, instead of the past samples i.e., π‘š π‘˜ βˆ’ 1 , π‘š π‘˜ βˆ’ 2 , …, we have their quantized versions i.e., π‘šπ‘ž π‘˜ βˆ’ 1 , π‘šπ‘ž π‘˜ βˆ’ 2 , … – We cannot determine π‘š π‘˜ , we can only determine π‘šπ‘ž[π‘˜] i.e., estimation of the quantized sample π‘šπ‘ž[π‘˜] using π‘šπ‘ž π‘˜ βˆ’ 1 , π‘šπ‘ž π‘˜ βˆ’ 2 , … – This will increase the error in reconstruction β€’ What could be a better strategy in this case? – Determine π‘šπ‘ž[π‘˜], the estimate of π‘šπ‘ž[π‘˜] (instead of π‘š[π‘˜]), at the transmitter from the previous quantized samples π‘šπ‘ž π‘˜ βˆ’ 1 , π‘šπ‘ž π‘˜ βˆ’ 2 , … – The difference 𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘šπ‘ž[π‘˜] is now transmitted – At receiver, we generate π‘šπ‘ž π‘˜ , and from the received 𝑑[π‘˜], we can reconstruct π‘šπ‘ž π‘˜ 308201- Communication Systems 42
  • 43. Analysis of DPCM β€’ The π‘ž[π‘˜] at the receiver output is the quantization noise associated with difference signal 𝑑[π‘˜], which is generally much smaller than π‘š[π‘˜]. 308201- Communication Systems 43 DPCM Receiver DPCM Transmitter 𝑑 π‘˜ = π‘š π‘˜ βˆ’ π‘šπ‘ž[π‘˜] π‘‘π‘ž π‘˜ = 𝑑 π‘˜ + π‘ž[π‘˜] π‘šπ‘ž π‘˜ = π‘šπ‘ž π‘˜ + π‘‘π‘ž π‘˜ = π‘š π‘˜ + π‘ž[π‘˜] π‘šπ‘ž π‘˜ = π‘š π‘˜ + π‘ž π‘˜
  • 44. SNR Improvement using DPCM β€’ Let π‘šπ‘ and 𝑑𝑝 be the peak amplitudes of π‘š(𝑑) and 𝑑(𝑑) respectively β€’ If we use the same value of 𝐿 in both cases, the quantization step βˆ†π‘£ in DPCM is reduced by the factor 𝑑𝑝 π‘šπ‘ β€’ As the quantization noise 𝑁𝑝 = (βˆ†π‘£)2 12 , the quantization noise in case of DPCM is reduced by a factor π‘šπ‘ 𝑑𝑝 2 , and the SNR is increased by the same factor. β€’ SNR improvement in DPCM due to prediction will be 𝐺𝑝 = π‘ƒπ‘š 𝑃𝑑 β€’ Where π‘ƒπ‘š and 𝑃𝑑 are the powers of π‘š(𝑑) and 𝑑(𝑑) respectively. 308201- Communication Systems 44
  • 45. Delta Modulation β€’ Sample correlation used in DPCM is further exploited in delta modulation by over sampling (typically four times the Nyquist rate) the baseband signal. – Small prediction error – Encode using 1 bit (i.e., 𝐿=2) β€’ Delta Modulation (DM) is basically a 1-bit DPCM. β€’ In DM, we use a first order predictor, which is just a time delay of 𝑇𝑠. β€’ The DM transmitter (modulator) and receiver (demodulator) are identical to DPCM with a time delay as a predictor. 308201- Communication Systems 45
  • 46. Delta Modulation π‘šπ‘ž π‘˜ = π‘šπ‘ž π‘˜ βˆ’ 1 + π‘‘π‘ž π‘˜ β€’ So π‘šπ‘ž π‘˜ βˆ’ 1 = π‘šπ‘ž π‘˜ βˆ’ 2 + π‘‘π‘ž[π‘˜ βˆ’ 1] β€’ We get π‘šπ‘ž π‘˜ = π‘šπ‘ž π‘˜ βˆ’ 2 + π‘‘π‘ž π‘˜ βˆ’ 1 + π‘‘π‘ž π‘˜ β€’ Preceding iteratively we get π‘šπ‘ž π‘˜ = π‘š=0 π‘˜ π‘‘π‘ž[π‘š] β€’ The receiver is just an accumulator (adder). β€’ If π‘‘π‘ž π‘˜ is represented by impulses, then the accumulator (receiver) may be realized by an integrator. 308201- Communication Systems 46
  • 47. Delta Modulation β€’ Note that in DM, the modulated signal carries information about the difference between the successive samples. – If difference is positive or negative, a positive or negative pulse is generated in modulated signal π‘‘π‘ž[π‘˜] – DM carries the information about the derivative of π‘š(𝑑) – That’s why integration of DM signal yield approximation of π‘š(𝑑) i.e., π‘šπ‘ž(𝑑) 308201- Communication Systems 47