Signal-to-quantization-noise ratio (SQNR or SN
qR) is widely used quality measure in analysing
digitizing
Digitization is the process of converting information into a digital (i.e. computer-readable) format.Collins Dictionary. (n.d.). Definition of 'digitize'. Retrieved December 15, 2021, from https://www.collinsdictionary.com/dictionary/english ...
schemes such as
pulse-code modulation
Pulse-code modulation (PCM) is a method used to digitally represent analog signals. It is the standard form of digital audio in computers, compact discs, digital telephony and other digital audio applications. In a PCM stream, the amplitud ...
(PCM). The SQNR reflects the relationship between the maximum nominal
signal strength
In telecommunications, particularly in radio frequency engineering, signal strength is the transmitter power output as received by a reference antenna at a distance from the transmitting antenna. High-powered transmissions, such as those used i ...
and the
quantization error
Quantization, in mathematics and digital signal processing, is the process of mapping input values from a large set (often a continuous set) to output values in a (countable) smaller set, often with a finite number of elements. Rounding and ...
(also known as quantization noise) introduced in the
analog-to-digital conversion
In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a digital signal. An ADC may also provide ...
.
The SQNR formula is derived from the general
signal-to-noise ratio
Signal-to-noise ratio (SNR or S/N) is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. SNR is defined as the ratio of signal power to noise power, often expressed in deci ...
(SNR) formula:
:
where:
:
is the probability of received bit error
:
is the peak message signal level
:
is the mean message signal level
As SQNR applies to quantized signals, the formulae for SQNR refer to
discrete-time
In mathematical dynamics, discrete time and continuous time are two alternative frameworks within which variables that evolve over time are modeled.
Discrete time
Discrete time views values of variables as occurring at distinct, separate "poi ...
digital signals
A digital signal is a signal that represents data as a sequence of discrete space, discrete values; at any given time it can only take on, at most, one of a finite number of values. This contrasts with an analog signal, which represents contin ...
. Instead of
, the digitized signal
will be used. For
quantization steps, each sample,
requires
bits. The
probability distribution function (PDF) 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 (
).
References
* B. P. Lathi, Modern Digital and Analog Communication Systems (3rd edition), Oxford University Press, 1998
External links
Signal to quantization noise in quantized sinusoidal- Analysis of quantization error on a sine wave
{{Noise
Digital audio
Engineering ratios
Noise (electronics)