1.11 Advanced: A Linear Model for Quantization
As discussed, the quantization process is non-linear and the quantization error values depend on the quantizer input. But the following linear model for the quantization error has proved to be a good approximation in several applications.
In this model, the error is assumed to be a uniformly distributed random variable with support and zero-mean. This is sometimes called quantization noise. Two assumptions are important:
- f 1.
- The signal has enough variation to span all levels of the quantizer stair. The model fails, for example, if the input signal is a constant (DC) value.
- f 2.
- There is no correlation between the error and the signal to be quantized .
The main assumption is that, for a quantizer with a step of , the quantization noise is modeled by assuming it is a random variable with uniform PDF and support Because it is zero-mean, the power of is solely the variance of the uniform PDF given by Eq. (1.20), which in this case is
| (1.61) |
as indicated by Eq. (1.20).
Assuming that
the power of the quantization noise is
| (1.62) |
It is a good idea to practice using the model by calculating the quantization SNR for sinusoids and cosines, uniformly and normally distributed random signals. The quantization SNR is obtained by using the quantization noise power in the denominator of the SNR expression (the numerator is the signal power, as usual). The following example illustrates the result for quantizing a Gaussian input signal.
Example 1.54. Quantization SNR of a Gaussian signal and the 6 dB per bit rule of thumb. If the signal to be quantized has samples distributed according to a Gaussian with mean V and variance W, a reasonable alternative (see Eq. (1.43)) is to adopt and . In this case and using Eq. (1.43),
where is the number of bits of the quantizer. Using the linear model of quantization:
where and are the signal and noise power, respectively. The is
where the last step assumed that .
The result is a well-known “rule of thumb”. The constant (cte.) may vary, but the typically increases by 6 dB for each extra bit in the quantizer. It is common to use this approximation to suggest, for example, that an ADC of 12 bits has approximately quantization dB, while an ADC of 16 bits has dB.