Professional Documents
Culture Documents
Class 56 Upload
Class 56 Upload
(DPCM)
In PCM we quantize the analog samples.
samples Since the signal
varies over a large range of amplitudes, we generally need a
large number of levels (an hence bits).
Note
N t that
th t neighboring
i hb i samples l are “close”
“ l ” tot eachh other
th ini
values.
If we instead quantize the difference between successive
samples, we will be dealing with much smaller range of
values.
This will results in either:
Using less number of bits for the same SNR.
Obtaining smaller SNR for the same number of bits.
Quantization noise will be reduced by a factor of (mp/md)2
Block Diagram of DPCM
d [ k ] x [ k ] x [ k 1].
1]
xˆ [k ]
xˆ [ k ] d q [k ] xˆ [ k 1]. xˆ [k 1]
Generalized DPCM
We can get even a smaller range of values if we define the
difference as:
d [k ] x[k ] xˆ[k ]
xˆ (k ) can be predicted from previous values of x,
xˆ (k ) a1 x(k 1) a2 x(k 2) a3 x(k 3)
The more previous samples included, the better the
approximation, the smaller the difference.
The
h relation
l i d k = x[k]-
d[k] k x[k-1]
k is i a special
i l case where
h the h
previous sample is taken as a prediction of the current value.
Higher order prediction
DPCM conceptt can bbe extended
t d d tto iincorporate
t
more than one past sample value into the prediction
circuitry.
circuitry
The additional redundancy available from all
previous samples can be weighted and summed to
produce a better estimate of the next input sample.
With a better estimate,, the range
g of the prediction
p
error decreases to allow encoding with fewer bits.
Third Order Prediction
k
xq [k ] d [k ]; (assuming zero initial condition)
i 0
The
h analog
l signal
i l is
i approximated
i d by
b a staircase
i function.
f i
DM is simple to implement. Moreover, it does not require word
synchronization.
DM Illustration
DM Modulator and Demodulator
xˆq (t )
xˆq (t )
dq[k] LPF xˆ (t )
Accumulator (Integrator)
DM Encoder
DM Decoder
Noise in DM
Slope Overload
Slope
Sl overload
l d occurs because
b
q fs ≥ 2πamf
SNR for DM
Th
The quantization
ti ti error lies
li ini the ( ))
th range (-,
Granular noise power = 2/3
The noise is uniformly distributed in the band 0
to fs.
The LPF will only pass (2/3)(B/fs) of noise
power.
SNR = (3/2)(fs/B)Ps
Adpative Delta Modulation (ADM)
DM suffers
ff ffrom granularl noise
i effect
ff t andd
slope overload effect.
A remedyd iis applied
li d by
b varying
i the
h step size
i s.
A granular noise is detected by a sequence of
alternating
l i pulses.
l
A slope overload is identified by a sequence of
pulses of the same polarity.
ADM