DPCM and Line Coding
DPCM and Line Coding
Lecture Note -3
Differential Pules Code Modulation, Delta Modulation and Line Coding
Why DPCM???
Naturally occurring signals such as voice and video signals have high correlation, i.e., follow
the same pattern or have similar amplitudes or repetitiveness. That causes high redundancy.
(Same information is passed again and again, and which is not needed)
So the bit rate can be significantly reduced by reducing the redundancy of the signals.
DPCM reduces the redundancy by predicting the signal and quantizing (and encoding) the
difference between the actual and predicted samples.
DPCM Transmitter
where x[n] is the sampled input, xp [n] is the predicted sample, e[n] is the difference of
sampled input and predicted output, often called as prediction error, eq [n] is the quantized
output and xq [n] is the predictor input which is actually the summery of actual input.
Predictor
Predictor produce an educated guess of x[n] from the previous quantized outputs. The
predictor can have complex optimal prediction algorithms based on the number of previous
quantized outputs and can be represented as function as follows
The DPCM receiver uses the same predictor in the DPCM transmitter.
In the absence of noise, the receiver input will be the same as the transmitter quantized
output.
As mentioned before, the predictor assumes a value, based on the previous outputs. The
input given is summed up with the output of the predictor, to obtain a better output.
Delta Modulation
Delta Modulation is a simplified form of DPCM technique, also viewed as 1-bit DPCM
scheme.
In this modulation the sampling rate is much higher and the stepsize after quantization is
of a smaller value ∆, thus it is termed as delta modulation.
Characteristics of Delta Modulation
Delta Modulator
The Delta Modulator comprises of a 1-bit quantizer and a delay circuit along with two sum-
mer circuits. The predictor circuit in DPCM is replaced by a simple delay circuit in delta
modulation. A Stair-case approximated waveform will be the output of the delta modulator
with the step-size as delta (∆). The output quality of the waveform is moderate. Also the
initial value of the predictor is set to be zero.
– The approximation signal (stair-case signal) falls behind the original signal and
take too long to track
– Occurs when the step size is too small
• Granular noise
– The approximation signal (stair-case) hunts around a flat segment and fails to
track original value
– Occurs when the step size is too large
Delta Demodulator
Line Codes
A line code is the code used for the transmission of digital data using a digital signal
over a transmission line. This process of coding is chosen so as to avoid overlap and distor-
tion of signal such as inter-symbol interference.
• As the coding is done to make more bits transmit on a single signal, the bandwidth
used is much reduced.
• Error detection is done and the bipolar too has a correction capability.
Advantages
+ It is simple
+ No low-frequency components are present
Disadvantages
− No error correction done
− No clock present
Advantages
+ It is simple
+ The spectral line present at the symbol rate can be used as a clock
Disadvantages
− No error correction done
− Occupies twice the bandwidth as polar NRZ
Bipolar Signaling
Bipolar signaling is done with having +v, −v and 0 voltage levels, where +v and −v voltages
is used to represent the alternative bit 1 and 0 voltage is used to represent the bit 0. There
are two variations in bipolar signaling
Bipolar Non Return to Zero (Bipolar NRZ)
Bipolar Return to Zero (Bipolar RZ)
Advantages
+ It is simple
Manchester
Differential Manchester