Using Histogram Techniques to Measure A/D Converter Noiseby Steve Ruscak and Larry SingerThis article describes a technique for using histograms to determine the rms noise of an A/D converter, referred to the input. It can complement the popular qualitative approach of evaluating A/D converter performance by applying a dc analog voltage and observing "code flicker" at the A/D's digital output. Collect Data With A Histogram: A dc histogram reports the number of times each code appears at the output of the A/D converter. Here is a procedure to produce a histogram:
While the ideal A/D only produces code hits in a single bin, an actual A/D will produce additional codes outside the main bin for any dc input value, due to the presence of noise. The number of codes that fall outside the main bin is the key to measuring the converter's rms noise. Avoidance of an additional effect at certain codes due to differential nonlinearity will be discussed later.
![]() Figure 1. Quantization of a probability distribution. Understand Noise Sources: The three dominant sources of A/D noise are quantization, ac (phase noise, or jitter in sampling of ac signals), and wideband (white noise, digital feedthrough, etc.). The last one is the most amenable to dc histogram testing. Quantization noise is a large contributor to the signal's error power, but (in the absence of drift during the measurement) it does not cause multiple code "hits" to show up in a dc histogram. AC noise, resulting from aperture jitter, is also not a factor when the input signal is dc. The remaining source, wideband noise, is the major input-referred noise component measured by the histogram technique. What are our important assumptions? First, that the model for the A/D is an ideal quantizer with a Gaussian noise source added to the input of the device. The measurement will be somewhat erroneous if the dominant noise source is non-Gaussian; for example, digital feedthrough tends to be code and signal dependent. Second, the architecture of the device affects the measurements; but the technique is valid for the majority of high-speed, pipelined converters available from Analog Devices.
Determine RMS Noise Graphically: How do the histogram and noise relate to one another? Figure 1 shows a Gaussian input to an ideal quantizer and a histogram of the corresponding output. The probability density function (PDF) of the input shows that the majority of the output codes will occur in a single bin, but there must be additional codes corresponding to the tails of the distribution. The fraction that occurs outside the main code depends on the spread, or standard deviation,
Figure 2 is a plot of a PDF for A/D input noise in which
![]() Figure 2. A Gaussian distribution scaled in LSBs, about the mean. For a symmetrical Gaussian PDF, the equation(1),
![]()
expresses the probability of getting a code outside the main bin for that PDF. The terms inside the integral are simply the expression for a Gaussian distribution with unit area and standard
deviation,
To ultimately determine the A/D's noise, equation (1) must be solved for
![]()
with
The procedure's simplicity can be demonstrated with an example. Suppose that the fraction of codes outside the main bin equals 0.0027. Using Figure 3b, a magnified version of 3a, find 0.0027 on the y-axis [these values can also be found from a standard normal curve, or z-Table for the area under the unit normal distribution]. The corresponding intercept on the x-axis, x0, is -3. Solve equation (3) for Figures 3a and 3b relate rms noise and code histogram values. Do a histogram, find the fraction of codes that occur outside the main bin, look up that number on the y-axis of 3a or 3b, and read off the x-axis value. Dividing 0.5 LSBs by this number gives the rms noise in LSBs.
![]() Figure 3. Plots of F vs. X for equation (2) On The Bench: There are some practical rules to follow when setting up the test fixture. First, use a dc source with noise below the level being measured. Then, using several conversions, set the analog input squarely on the center of the code (i.e., mid-way between adjacent transitions). This should make the side bins approximately equal in size, important for the symmetry assumption in using the above analysis. This also maximizes the number of code hits occurring outside the main bin(s), resulting in a statistically more-significant measurement. For example, if the input is centered on the transition, the histogram produces two 1-LSB-wide main bins with approximately equal numbers of code "hits", including some of the hits that would have appeared in the bins adjacent to a 1-LSB-wide centered main bin.
Determining the noise of the converter is useful for making a comparison, either to a specified requirement or to another A/D converter of the same, or different type. Figure 4a shows a typical histogram generated from the AD872A 12-bit, 10-MSPS A/D converter. All the codes appear in either the main bin or the two adjacent bins, roughly symmetrically disposed. From the histogram, the ratio of the 34,729 code hits outside the main bin to the 652,790 total number of codes counted is 0.053. From Figure 3a, the x-value corresponding to 0.053 on the y-axis is approximately 1.9
![]()
For comparison, Figure 4b shows a histogram of the AD871, a 12-bit, 5-MSPS high-speed A/D converter. Using the same procedure, the hit ratio is 2,581/1,638,400, about 0.0016, and the input-referred noise of the AD871 is thus 0.5/3.17, or 0.16 LSBs rms. With low-noise A/Ds, like the AD871, the test should be run long enough to acquire enough code hits outside the main bin in order to obtain a credible noise measurement.
DNL May Skew The Measurement: While the histogram measurement technique assumes an ideal quantizer, differential-nonlinearity (DNL) errors will influence the measurement. DNL, a measure of A/D converter code width, expresses the difference between an actual code width and the ideal width of 1 LSB; it is positive for a wide code, negative for a narrow code. It tends to be worst at major transitions, e.g., from 011...11 to 100...00. If the code is wide, the noise measurement will be optimistic because the main bin will contain more hits. If a code is narrow, the noise measurement will tend to be on the high side (however, since missed codes are the ultimate case of excessively narrow codes, the measurement is conservative). The easiest way to circumvent this problem is to compute (1) Drake, Alvin W., Fundamentals of Applied Probability Theory. McGraw-Hill Book Company, 1967 |
|||