摘要 |
An analog-to-digital converter (ADC) has a histogram based correction of static errors. In a control and calculating unit (23) of the converter thus the counts of uncorrected digital output codes are stored in a memory (51). From the stored counts a model distribution is determined in a calculation unit, e.g. by estimating an expected gaussian distribution. The model distribution is compared to the measured counts and relative errors of the counts are calculated, the relative errors indicating errors in coarse reference levels. The errors are used for calculating correction terms (L(A)) stored in a correction table (47). The correction terms are used by an output calculating unit (43') to calculate corrected, more accurate output codes. For a parallel ADC device having several cells, the histograms in the cells can be used to correct for gain and offset errors. Also, the histogram can be used in a built-in self test. A reference level generator can be only partially common to the cells in a parallel ADC providing accurate coarse levels without cross-talk. |