Mean square quantization error explained

Mean square quantization error (MSQE) is a figure of merit for the process of analog to digital conversion.

In this conversion process, analog signals in a continuous range of values are converted to a discrete set of values by comparing them with a sequence of thresholds.The quantization error of a signal is the difference between the original continuous value and its discretization, and the mean square quantization error (given some probability distribution on the input values) is the expected value of the square of the quantization errors.

Mathematically, suppose that the lower threshold for inputs that generate the quantized value

qi

is

ti-1

, that the upper threshold is

ti

, that there are

k

levels of quantization, and that the probability density function for the input analog values is

p(x)

. Let

\hatx

denote the quantized value corresponding to an input

x

; that is,

\hatx

is the value

qi

for which

ti-1\lex<ti

.Then

\begin{align} \operatorname{MSQE}&=\operatorname{E}[(x-\hat

tk
x)
t0

(x-\hatx)2p(x)dx\\ &=

k
\sum
i=1
ti
\int
ti-1
2
(x-q
i)

p(x)dx. \end{align}

References