Steinitz Ordering for Unary DACs: Switching Sequences whose INL Is Bounded by the Largest Unit-Element Error Independently of Resolution, a Budgeted Heuristic that Meets the Lower Bound, and the Open Multi-Corner Case
In a unary (thermometer-coded) DAC, the integral nonlinearity at code k is the running sum of the errors of the first k unit elements switched on, after the endpoint gain error is removed. Choosing the switching order is therefore the problem of ordering numbers with zero sum so that every prefix sum stays small, a one-dimensional case of the Steinitz problem from geometry. This view gives two simple bounds: any order has INL at least half the largest element error M, and a greedy order that always adds an element of opposite sign to the running sum keeps INL at most M, whatever the number of elements. Both bounds are attained by some error sets. On simulated arrays with random mismatch and a process gradient, a raster order gives INL of 21 to 1,114 element sigmas from 6 to 12 unary bits and a random order 9 to 75, while the greedy order stays at 3.0 to 4.3, about 0.8 to 0.86 M. A budgeted largest-fit order, which places the largest element that keeps the running sum within a budget, comes within 0.05 to 2.4 percent of the lower bound M/2 for 64 to 4,096 elements, and within 3 to 5 percent of the exact optimum on average (found by dynamic programming over subsets) on 95 small instances. The guarantee needs element errors measured to better than about the largest error divided by the square root of N. For several process or temperature corners at once the problem is vector prefix balancing, where the best constant is a famous open problem. An order tuned for one corner gives 9 to 13 M at the others, worse than random, while a vector largest-fit order stays at 0.50 to 0.68 M for up to 16 corners. All numbers come from CPU numpy simulations. 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 hardware measurements; no GPU was used. 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.24767117
- Primary Topic
- Analog and Mixed-Signal Circuit Design
- Type
- preprint