Delta modulation encodes the difference between a sample and the previous sample in only one bit. Differential PCM encodes the difference between a sample and its predicted value. Is this difference encoded in one bit or more than one bit? If encoding is done in more than one bit, what is the advantage of differential PCM over delta modulation?
3 Answers
Since the encoded values are differences between original values, the values are relatively small values and they are in general distributed as small positive and negative values around zero. This helps to further compress the data by using some algorithm that can use shorter codes to represent smaller values that appear frequently in the data, and longer codes for larger values that appear less often.
-
$\begingroup$ Do you mean the following: although the number of encoding bits in differential pcm is larger than delta modulation, efficient compression can be achieved using this technique, since its sampling rate is lower than the sampling rate in delta modulation, and also entropy coding techniques can be employed after differential pcm to send the data with minimum number of bits? $\endgroup$– NohaCommented Dec 10, 2020 at 15:24
-
$\begingroup$ The bit amount of DPCM can be same, it does not have to be larger. $\endgroup$– JustmeCommented Dec 10, 2020 at 15:28
-
$\begingroup$ can you please give me a faithful comparison between delta modulation and differential pcm? $\endgroup$– NohaCommented Dec 10, 2020 at 15:52
Delta modulation is a subset of Differential PCM where the PCM difference is quantized as $\pm \Delta$.
From the lectures I had long ago: to be able to encode the difference on only one bit with sufficient quality (e.g. with low granular noise), consecutive input samples are expected to be way more correlated for delta modulation than for differential PCM. In other words, the input source is often sampled at a higher rate (far above Nyquist) in DM than in DPCM.
DPCM (Differential pulse-code modulation) also supports a local predictive model (or extrapolation) not limited to zero ordre hold.
Moreover, DPCM is often followed by entropy coding to save some more bit in transmission.
-
$\begingroup$ Then, what are the advantages and disadvantages of both techniques? I need a faithful comparison $\endgroup$– NohaCommented Dec 3, 2020 at 13:56
-
$\begingroup$ Could you please tell us about the application it is meant for? Or if this is homework, don't hesitate to add to your question a couple of pros and cons you have found so far. $\endgroup$ Commented Dec 3, 2020 at 14:37
-
$\begingroup$ I need to understand the difference in general, not for specific application. $\endgroup$– NohaCommented Dec 3, 2020 at 17:37