Sie sind auf Seite 1von 3

ATX7006: AD Converter Histogram test

1 of 3

http://www.atx7006.com/articles/adc_histogram_test

Home

Software

Hardware

Articles

Contact

FAQ

Articles
ADC Histogram test
ATX7006

A/D Converter histogram test

Home
Overview
Development
Software
Hardware
Articles

Articles & Information


FAQ overview
Online Command Reference

Introduction
Linearity calculations of an A/D converter are based on the transition points. Applying an accurate ramp to the
input of the converter is one method of performing a static analysis. The exact applied input voltages should be
known by the transition point (or trip-point) calculating algorithm. More information about this method can be
found in the article static characterization.
The Histogram (or code density) method is an other popular techniques for ADC testing. There are two common
used histogram methods: the linear ramp and sinusoidal.

Linear ramp

Manual (pdf)
Static characterization
Dynamic characterization
ADC Histogram test
DAC frequency response
Terms ADC & DAC

Application notes
Application notes overview
ADC test setup
Reference current DAC
Characterization 16 bit ADC

Contact
Contact

The linear ramp simply applies one or more rising or falling linear ramps to the input of the AD converter. The
number of occurrences (or hits) of each code is directly proportional to the width of the code. If the code hits of a
specified code is higher than the average, the step is wider than one LSB converter step. This indicates a
positive dnle. If the code hits of a specified code is less than the average, the step is smaller than one LSB
converter step. This indicates a negative dnle.

Code 0 and the last code are meaningless. The code occurrences of both codes can be less or much more and
so these code width are undefined. The code occurrences of both codes are ignored in the linear ramp
histogram calculations.
Since each code occurrence stands for a DNLE of each step, adding these DNL errors will result in an INLE
curve.

24-10-2013 18:16

ATX7006: AD Converter Histogram test

2 of 3

http://www.atx7006.com/articles/adc_histogram_test

The number of applied steps per code determine the measurement resolution. E.g. if the number of steps per
ADC code is 10 (e.g. 2560 steps for an 8 bit converter), the measurement resolution is 1/10 LSB.

Sinusoidal
The sinusoidal method applies a sinewave signal with one or more periods to the input of the AD converter.
Some differences between the sinusoidal histogram test and the linear ramp test:
Usually it is easier to produce an pure sinewave than an accurate linear ramp.
The linear test is a static performance test, the sinusoidal a dynamic performance test.
The linear test has an even distribution of voltages, the sinusoidal an uneven voltage distribution. A sinewave
has more voltage steps near the lower and upper voltages.

The uneven distribution of voltages for the sinusoidal test must be compensated to recontruct the ideal code
occurrences of each code. For this normalization process it is necessary to know the offset and amplitude of the
signal. The number of hits at the upper and lower codes in the histogram can be used to calculate offset and
amplitude of the input signal.

Nu is the number of times the upper code is hit, Nl is the number of times the lower code is hit, Ns is the number
of samples (total sum of code occurrences), and N is the converter resolution, in bits.
Once the offset and amplitude are known, the ideal distribution of code hits can be calculated.

The following equation can be used to determine the required stimuli steps of the input signal for a required
measurement resolution:

Where N stands for the number of ADC bits, Z/2 for the confidence level and for the DNLE resoltion in LSBs.
Example: 10 bit ADC with a required DNLE measurement resolution () of 0.1 LSB and a confidence level of
95% (Z/2):
Stimuli steps = 3.14 x 2^9 x (1.96)^2 / (0.1)^2 = 617920 samples.
Common values for the confidence level (Z/2) are:
90% : 1.645
95% : 1.96
99% : 2.576
Stimuli steps calculator
ADC bits:
DNLE resolution (LSB):
Confidence level:
Calculate

4827 samples

24-10-2013 18:16

ATX7006: AD Converter Histogram test

3 of 3

http://www.atx7006.com/articles/adc_histogram_test

ATX7006
The histogram test calculations can be performed on the ATX7006 with the command CALC_HIST.
The histogram test calculations can be configured with the commands:
CALCOPT_HIST : Select Best fit/End point calculation.
CALCPARAM_HIST : ADC input voltage range (optional).
CALCPARAM_HIST_EXT : 1/2 LSB offset shift (optional).
Results are available with the commands:
MR_HIST : INL Error, DNL Error
MR_HIST_ERR : Error plot array.
MR_HIST_MC : Missing codes array.
MR_HIST_TRIP : Trip-point array.

Copyright 2013 atx7006.com, All Rights Reserved

Copyright | Privacy Policy | Disclaimer |

Contact |

24-10-2013 18:16

Das könnte Ihnen auch gefallen