Differential Quantization and Delta Modulation

February 7, 2020

In previous lessons, we established that we can increase the signal-to-quantization noise ratio (SQNR) by increasing the number of bits per sample or increasing the sample rate. A third method involves changing the modulation technique.

Pulse Code Modulation

In earlier lessons, the math assumed that sampling was performed using the pulse code modulation (PCM) technique. PCM quantizes the signal waveform 𝗑(𝑑) every sample period (𝜏) and yields the sample sequence 𝗒(𝑛) β‰œ 𝖰[𝗑(π‘›πœ)].

Although it is widely used, PCM disregards the fact that band-limited waveforms cannot change quickly at high sample rates. If they did, they would have high-frequency content and would not be band-limited.

Differential Quantization

Band-limited signals cannot change quickly, so the difference between consecutive samples should be relatively small. Therefore, the difference between consecutive samples 𝗑(𝑛) βˆ’ 𝗑(𝑛 βˆ’ 1) should be quantized rather than quantizing each raw sample 𝗑(𝑛).

Sampling by quantizing the difference is called differential quantization. Differential quantization requires fewer bits for an equivalent SQNR value.

So far, this description is based on qualitative and intuitive grounds. For quantitative analysis, the variance of the difference between two consecutive samples should be sampled and then compared to the variance of PCM-based sampling.

Selecting a Method

The following proposition shows that the best method depends on how correlated the signal is. If the signal is highly correlated, as might be expected with a high sample rate relative to the bandwidth, then the differential approach tends to yield a lower variance (less distortion). If the signal is not highly correlated, as might be expected with a low sample rate, then the PCM approach tends to yield less distortion.

Proposition

  • Let Rxx(m) be the auto-correlation of x(n),
  • Yxx (m) β‰œ [Β Rxx (m)] / (𝜎x ) 2 be the auto-covariance of x(n),
  • (𝜎x ) 2 be variance of x(n), and
  • (𝜎d ) 2 be the variance of x(n) – x(n-1)Β (using differential quantization).

Then:

(1)   \begin{equation*} (\sigma_{d})^2=2(\sigma_{x})^2[1-y_{xx}(1)] \end{equation*}

Proof

(2)   \begin{equation*} (\sigma_{d})^2\triangleq\text{E}([x(n)-(\sigma_{d})^2]b) \end{equation*}

by definition of variance Οƒ2

(3)   \begin{equation*} =\text{E}[x^2(n)]-2\text{E}[x(n)\times(n-1)]+\text{E}[x^2(n-1)] \end{equation*}

by the binomial theorem

(4)   \begin{equation*} =2\text{E}[x^2(n)]-2\text{E}[x(n)\times(n-1)] \end{equation*}

by the wide-sense stationary property

(5)   \begin{equation*} =2(\sigma_{x})^2-2\text{E}[x(n)\times(n-1)] \end{equation*}

by definition of variance Οƒ2

(6)   \begin{equation*} =2[(\sigma_{x})^2-\text{R}_{xx}(1)] \end{equation*}

by the definition of Rxx(m)

(7)   \begin{equation*} =2[(\sigma_{x})^2-(\sigma_{x})^2\text{y}_{xx}(1)] \end{equation*}

by the definition of yxx(m)

(8)   \begin{equation*} =2[(\sigma_{x})^2(1-\text{y}_{xx}(1))] \end{equation*}

by the definition of yxx(m)

 

Small Correlation

Small Correlation

 

Large Correlation

Large Correlation

 

According to the proposition above, if yxx (1) > 1/2, then the differential encoding introduces less distortion.