Signal-to-quantization-noise ratio
Signal-to-quantization-noise ratio is widely used quality measure in analysing digitizing schemes such as pulse-code modulation. The SQNR reflects the relationship between the maximum nominal signal strength and the quantization error introduced in the analog-to-digital conversion.
As SQNR applies to quantized signals, the formulae for SQNR refer to discrete-time digital signals. Instead of the value- and time-continuous message signal, the digitized signal will be used. For quantization steps, each sample, requires bits. The probability distribution function represents the distribution of values in and can be denoted as. The maximum magnitude value of any is denoted by.
As SQNR, like SNR, is a ratio of signal power to some noise power, it can be calculated as:
The signal power is:
The quantization noise power can be expressed as:
Giving:
When the SQNR is desired in terms of decibels (dB), a useful approximation to SQNR is:
where is the number of bits in a quantized sample, and is the signal power calculated above. Note that for each bit added to a sample, the SQNR goes up by approximately 6 dB.