Weigh Them Together: Hadamard Weighing Designs for Comparator-Based Calibration of Unit-Element Mismatch in Data Converters, an Optimality Bound for Contrast Estimation, and the Measurement-Range Limit that Decides the Gain
Foreground calibration of unary and segmented data converters measures the error of each unit element, usually one element at a time against a reference element or against its neighbour, and then averages repeated conversions to beat comparator noise. Classical weighing theory says that measuring combinations is more efficient. This paper makes that statement precise for on-chip calibration. Each measurement connects every unit to the positive or the negative side of the comparator according to a row of a Hadamard matrix, so that the nominal values cancel and only the mismatch is converted; chopping each row removes the comparator offset. Only the contrasts of the element errors (errors minus their mean) are identifiable, and they are exactly what the integral nonlinearity depends on. I prove that for any design with M measurements and coefficients bounded by one, the mean variance of the contrast estimates is at least σ²(N-1)²/(MN²) for N elements, and that the N-1 non-constant Hadamard rows attain it; the usual reference design is N-1 times worse and the adjacent-neighbour chain about N²/6 times worse. CPU simulations of a simplified model with 64 elements and comparator noise twice the mismatch confirm the variances to within 1% for the reference and Hadamard designs, and show that one Hadamard pass (126 conversions) gives about the same median INL as 64 passes of the reference design (8064 conversions), while the chain design leaves the converter worse than uncalibrated. The gain has a price that weighing theory does not see: a row with k active elements produces a residue about √k times the element spread, so a measurement path whose range was set for pairwise comparisons saturates. With a fixed range of ±4 element standard deviations the pairwise design is best; when the range grows with √k at the same six bits, the full Hadamard design is still 3.0 times better in RMS error and 7 times better in median INL than the pairwise design at equal conversion count. Drift, non-linear residue measurement and three-level designs are left open. Concept and methods paper. Numerical illustrations were produced by the author on a CPU with numpy, using a simplified model with illustrative parameters; they illustrate the method and are not device measurements. Any other numerical values quoted come from the cited sources. Self-drawn figures (scripts/make_figs.py). AI-assisted drafting; the author is responsible for the content.
Authors
- I-Wei Tseng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24782479
- Primary Topic
- Analog and Mixed-Signal Circuit Design
- Type
- preprint