Jump to content

User:Pryrt/sandbox1

From Wikipedia, the free encyclopedia

Inspired by ENOB

[edit]

While trying to determine the derivation of ENOB, since I can never remember where the 6.02 and 1.76 come from, I discovered a significant lack of detail in the ENOB page. However, my derivation isn't ready for prime time.

Derivation

[edit]

First, assume an ideal A/D or D/A converter: it's only source of noise is Quantization error (QE).

Briefly, QE is the difference between the desired value and the actual quantized [digital] value—if you want 1.7 codes, but you've got a 1-code resolution, you'll get 2 codes, which is a 0.3 code quantization error. The size of a quanta in our converter is 1 LSB (least significant bit), and the most our ideal converter will be off is ±½ LSB. The (RMS) amplitude of the QE will be the root of the average of the squared error, :

Since the converter is ideal, the N of SNR (and the N+D of SINAD) comes completely from QE. First, we'll need the RMS of a full-scale sinusoid in an N-bit device:

Now we can compute the ideal SNR (in V/V) by setting the signal to the RMS sinusoid, and the noise to QE_{RMS}:

To get the famous equation, convert V/V to dB:

That's the ideal signal-to-noise, which means it's also the best-case SINAD for a converter. If we take the measured SINAD from a real-world converter, and plug it back into the equation, the number of bits we calculate would be the effective number of bits in an ideal converter that would generate that SINAD: i.e., the ENOB:

Error

[edit]

There was an implicit (and inaccurate) assumption in the above derivation: that the peak-to-peak amplitude of the converter sinusoid was . For the converter, the codes will range from , or from , with a span of LSBs. Thus, we really have

However, for anything 5 bits or above, it's less than 1% error.

Also, based on implications in Gerard and Quantization error, the derivations assumes a reasonably uniform distribution of the error in order for the integral to hold true. (I'm not a mathematician, but I would think that the sum of the squared errors, even if they aren't continuous or uniform, would still come out close to a third of the cube... but I'm probably wrong.)

References

[edit]
  • Girard, Tony. "Application Note: Understanding Effective Bits". Retrieved 2008-01-03.

See also

[edit]

Category:Electronics terms