Rank correlation

From formulasearchengine
Jump to navigation Jump to search

Template:No footnotes

Signal-to-Quantization-Noise Ratio (SQNR or SNqR) is widely used quality measure in analysing digitizing schemes such as PCM (pulse code modulation) and multimedia codecs. The SQNR reflects the relationship between the maximum nominal signal strength and the quantization error (also known as quantization noise) introduced in the analog-to-digital conversion.

The SQNR formula is derived from the general SNR (Signal-to-Noise Ratio) formula for the binary pulse-code modulated communication channel:

SNR=3×22n1+4Pe×(22n1)mm(t)2mp(t)2

where

Pe is the probability of received bit error
mp(t) is the peak message signal level
mm(t) is the mean message signal level

As SQNR applies to quantized signals, the formulae for SQNR refer to discrete-time digital signals. Instead of m(t), we will use the digitized signal x(n). For N quantization steps, each sample, x requires ν=log2N bits. The probability distribution function (pdf) representing the distribution of values in x and can be denoted as f(x). The maximum magnitude value of any x is denoted by xmax.

As SQNR, like SNR, is a ratio of signal power to some noise power, it can be calculated as:

SQNR=PsignalPnoise=E[x2]E[x~2]

The signal power is:

x2=E[x2]=Pxν=x2f(x)dx

The quantization noise power can be expressed as:

E[x~2]=xmax23×4ν

Giving:

SQNR=3×4ν×x2xmax2

When the SQNR is desired in terms of Decibels (dB), a useful approximation to SQNR is:

SQNR|dB=Pxν+6ν+4.8

where ν is the number of bits in a quantized sample, and Pxν is the signal power calculated above. Note that for each bit added to a sample, the SQNR goes up by approximately 6dB (20×log10(2)).

References

  • B.P.Lathi, Modern Digital and Analog Communication Systems (3rd edition), Oxford University Press, 1998

External links

Template:Noise