Quantization Noise Quantization Error
Contents |
the original analog signal (green), the quantized signal (black dots), the signal reconstructed from the quantized signal (yellow) and quantization noise power the difference between the original signal and the reconstructed signal quantization error definition (red). The difference between the original signal and the reconstructed signal is the quantization error and,
Quantization Noise In Pcm
in this simple quantization scheme, is a deterministic function of the input signal. Quantization, in mathematics and digital signal processing, is the process of mapping a large
Quantization Error Formula
set of input values to a (countable) smaller set. Rounding and truncation are typical examples of quantization processes. Quantization is involved to some degree in nearly all digital signal processing, as the process of representing a signal in digital form ordinarily involves rounding. Quantization also forms the core of essentially all lossy compression quantization error example algorithms. The difference between an input value and its quantized value (such as round-off error) is referred to as quantization error. A device or algorithmic function that performs quantization is called a quantizer. An analog-to-digital converter is an example of a quantizer. Contents 1 Basic properties of quantization 2 Basic types of quantization 2.1 Analog-to-digital converter (ADC) 2.2 Rate–distortion optimization 3 Rounding example 4 Mid-riser and mid-tread uniform quantizers 5 Dead-zone quantizers 6 Granular distortion and overload distortion 7 The additive noise model for quantization error 8 Quantization error models 9 Quantization noise model 10 Rate–distortion quantizer design 11 Neglecting the entropy constraint: Lloyd–Max quantization 12 Uniform quantization and the 6 dB/bit approximation 13 Other fields 14 See also 15 Notes 16 References 17 External links Basic properties of quantization[edit] Because quantization is a many-to-few mapping, it is an inherently non-linear and irreversible process (i.e., because the same output value is shared by multiple input values,
Data Conversion Website Quantization Error and Signal - to - Noise Ratio calculations The signal to noise ratio of a quantized signal is 2+6*(no of bits), as shown in the following table. Resolution and Signal to Noise Ratio for signals
How To Reduce Quantization Error
coded as n bits bits, n levels, 2n Weighting of LSB, 2-n SNR, dB 1 quantization error in analog to digital conversion 2 0.5 8 2 4 0.25 14 3 8 0.125 20 4 16 0.0625 26 5 32 0.03125 32 6 64 0.01563 quantization error in pcm 38 7 128 0.00781 44 8 256 0.00391 50 9 512 0.00195 56 10 1024 0.00098 62 11 2048 0.00048 68 12 4096 0.00024 74 13 8192 0.00012 80 14 16384 0.00006 86 15 32768 0.00003 92 https://en.wikipedia.org/wiki/Quantization_(signal_processing) 16 65536 0.00001 98 These values are for a signal matched to the full-scale range of the converter. If a signal with a range of 5V is measured by an 8 bit ADC with a range of 10V then only 7 bits are effectively in use, and a signal to noise ratio of 44 rather than 50 will apply. Proof: Suppose that the instantaneous value of the input voltage is measured by http://www.skillbank.co.uk/SignalConversion/snr.htm an ADC with a Full Scale Range of Vfs volts, and a resolution of n bits. The real value can change through a range of q = Vfs / 2n volts without a change in measured value occurring. The value of the measured signal is Vm = Vs - e, where Vm is the measured value, Vs is the actual value, and e is the error. The maximum value of error in the measured signal is emax = (1/2)(Vfs / 2n) or emax = q/2 since q = Vfs / 2n The RMS value of quantization error voltage is whence The Signal to Noise Ratio (SNR) is defined as It is normally quoted on a logarithmic scale, in deciBels ( dB ). or The RMS signal voltage is then The error, or quantization noise signal is Thus the signal - to - noise ratio in dB. is since Vfs = 2n q, then which simplifies to N.B. This equation is true only if the input signal is exactly matched to the Full Scale Range of the converter. For signals whose amplitude is less than the FSR the Signal - to - Noise Ratio will be reduced. Download a .pdf file of the analysis of quantization error and signal to noise ratio
into a discrete digital representation, there is a range of input values that produces the same output. That range is called quantum ($Q$) and is equivalent to http://www.onmyphd.com/?p=quantization.noise.snr the Least Significant Bit (LSB). The difference between input and output is called the quantization error. Therefore, the quantization error can be between $\pm Q/2$. Any value of the error is equally likely, so it has a uniform distribution ranging from $-Q/2$ to $+Q/2$. Then, this error can be considered a quantization noise with RMS: $$ v_{qn} = \sqrt{\frac{1}{Q}\int_{-Q/2}^{+Q/2}x^2dx}=\sqrt{\frac{1}{Q}\left[\frac{x^3}{3}\right]_{-Q/2}^{+Q/2}} = \sqrt{\frac{Q^2}{2^3 3} quantization error + \frac{Q^2}{2^3 3}} = \frac{Q}{\sqrt{12}}$$ What is the frequency spectrum of the quantization noise? We know the quantization noise power is $v_{qn}^2$, but where is it concentrated or spread in the frequency domain? The quantization error creates harmonics in the signal that extend well above the Nyquist frequency. Due to the sampling step of an ADC, these harmonics get folded to quantization error in the Nyquist band, pushing the total noise power into the Nyquist band and with an approximately white spectrum (equally spread across all frequencies in the band). How does the Signal-Noise Ratio (SNR) relates to the number of bits in the digital representation? Assuming an input sinusoidal with peak-to-peak amplitude $V_{ref}$, where $V_{ref}$ is the reference voltage of an N-bit ADC (therefore, occupying the full-scale of the ADC), its RMS value is $$V_{rms} = \frac{V_{ref}}{2\sqrt{2}} = \frac{2^NQ}{2\sqrt{2}}.$$ where $N$ is the number of bits available for discretization. The relation $V_{ref} = 2^NQ$ comes from the fact that the range $V_{ref}$ is divided among $2^N$ steps, each with quantum $Q$. To calculate the Signal-Noise Ratio, we divide the RMS of the input signal by the RMS of the quantization noise: $$SNR = 20\log\left(\frac{V_{rms}}{v_{qn}}\right) = 20\log\left(\frac{\frac{2^NQ}{2\sqrt{2}}}{\frac{Q}{\sqrt{12}}}\right) = 20\log\left(\frac{2^N\sqrt{12}}{2\sqrt{2}}\right)$$ $$ = 20\log\left(2^N\right) + 20\log\left(\frac{\sqrt{6}}{2}\right) = 6.02N + 1.76 (dB).$$ In fact, the equation: $$SNR = 6.02N + 1.76 (dB)$$ generalizes to any system using a digital representation. So, a microprocessor representing values with N bits will have a SNR defined by the above formula. If I hel
be down. Please try the request again. Your cache administrator is webmaster. Generated Mon, 24 Oct 2016 22:40:15 GMT by s_nt6 (squid/3.5.20)