Girish Mahajan (Editor)

Signal to quantization noise ratio

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

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:

S N R = 3 × 2 2 n 1 + 4 P e × ( 2 2 n 1 ) m m ( t ) 2 m p ( t ) 2

where

P e is the probability of received bit error m p ( t ) is the peak message signal level m m ( 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 ν = log 2 N 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 x m a x .

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

S Q N R = P s i g n a l P n o i s e = E [ x 2 ] E [ x ~ 2 ]

The signal power is:

x 2 ¯ = E [ x 2 ] = P x ν = x 2 f ( x ) d x

The quantization noise power can be expressed as:

E [ x ~ 2 ] = x m a x 2 3 × 4 ν

Giving:

S Q N R = 3 × 4 ν × x 2 ¯ x m a x 2

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

S Q N R | d B = P x ν + 6 ν + 4.8

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

References

Signal-to-quantization-noise ratio Wikipedia