Quantization and Noise

October 23, 2019

Uniform 8-bit Quantization

A typical analog-to-digital converter (ADC) performs quantization 𝖰[𝗒(𝑛)] on a sample 𝗒(𝑛) as illustrated in Figure 4.1. From there, the input peak-to-peak range 𝑅 is partitioned into 23 = 8 intervals that are all of equal length π›₯.

Quantization 𝖰[𝗒(𝑛)] on a sample 𝗒(𝑛).

Figure 4.1. Quantization 𝖰[𝗒(𝑛)] on a sample 𝗒(𝑛).

Quantizers may be either midtread or midrise and uniform or non-uniform. In practice, midtread tends to be more popular because, unlike midrise, a small signal 𝗒(𝑛) about 0 causes no jitter in the quantization sequence 𝖰[𝗒(𝑛)]. In this course, we will focus on uniform midtread quantization.

y(n) + v(n) = Ε·(n) delta = Q[y(n)]Diagram with negative delta/2 on left, 1/delta on middle top, and delta/2 in right

Quantization Noise Model

Quantization results in a distortion that is referred to as quantization noise. Quantization noise can be modeled, more or less accurately, as uniformly distributed additive white noise as described below.

Quantization is defined as additive noise 𝒗(𝑛) with these assumptions:

  • 𝒗(𝑛) and 𝒗(π‘š) are uncorrelated for π‘š β‰  𝑛
  • Each 𝒗(𝑛) is uniformly distributed on the interval [π›₯/2 ∢ π›₯/2).
  • π’š(𝑛) β‰œ 𝒙(π‘›πœ) and 𝒗(𝑛) are uncorrelated.

Let 𝒗(𝑛) be quantization noise as defined above. Then, 𝖡𝖺𝗋𝒗(𝑛) = π›₯2/12.

Proof

(1)   \begin{equation*} \text{Var}v(n)\triangleq E[(v2-\mu)^2] \end{equation*}

by the definition of variance Var

(2)   \begin{equation*} \triangleq\int_{x\in\mathbb{R}}x^2\text{p}(x)\text{d}x \end{equation*}

by the definition of expectation E

(3)   \begin{equation*} \triangleq\int_{x=-\Delta/2}^{x=+\Delta/2}x^2[1/\Delta]\text{d}x \end{equation*}

by the definition of v(n)

(4)   \begin{equation*} =1/\Delta x^3/3\mid_{x=-\Delta/2}^{x=+\Delta/2} \end{equation*}

by the fundamental theorem of calculus

(5)   \begin{equation*} =1/3\Delta[(\Delta/2)^3-(-\Delta/2)^3]=1/3\Delta8[2\Delta^3]=\Delta^{2/12} \end{equation*}

Full-scale sine quantized using a uniform midtread quantizer.

Full-scale sine quantized using a uniform midtread quantizer.