The moments a layout has to match
Assumes: The tolerance that is not on any part · The divider, and the thing it does not know about
The small leg of a large ratio built dividers from equal units of one array and found that a ten-to-one ratio spreads as : at any one area it costs against a halving divider, and the units it needs are the bottom leg’s. Every unit in those builds drew its error independently of where it sat. What a ratio does not see had already shown that parts sharing an error cancel it in a ratio exactly, and the array’s shared error was treated there as a single number common to every unit.
A real array does not share its error uniformly. Its sheet resistance, its film thickness and its temperature vary across the die or the substrate, so a unit’s value depends on its position, and two units far apart differ more than two units side by side. That earlier essay ended by naming this as the next measurement: a ten-to-one divider has an awkward shape for cancelling a gradient, and where its small leg should sit is a question with a definite answer. The answer turns out to be a statement about moments of position, and it says which errors a layout can cancel and which it cannot.
A divider read off a row
The array here is a row of equal unit resistors. Each unit’s value is the nominal times , where is its position in pitches from the centre of the row, a linear gradient in parts per million a pitch, a quadratic bow in parts per million a pitch squared, and a seeded standard normal draw scaled by the random part . A ten-to-one divider takes ten units in series for its top leg and one unit for its bottom. The ratio is computed exactly from the unit values; nothing is linearised.
With a gradient alone the error is a straight line through the centre. At the end of the row the bottom unit sits five pitches from the centre while the ten top units average half a pitch the other way, and the ratio reads 25 parts per million high or low according to which end. At the centre the bottom unit and the chain share a centroid, and the gradient cancels exactly — not approximately, but to the arithmetic, because each leg’s resistance has moved by the same fraction.
Add a bow and no slot is clean. The bottom unit at the centre sits at the bottom of the bow, where its value has not moved at all, while the ten units round it sit on average eleven pitches squared from the centre and have all moved by . At half a part per million a pitch squared that is −5.0 ppm, and moving the bottom unit off the centre to trade some gradient against the bow only adds the gradient back.
The slider on the figure at the head of the page sets the gradient to 2, 5 or 10 ppm a pitch, and the line pivots about the centre while the bow’s offset stays put.
Why it is a statement about moments
The divider’s ratio is , and with each leg’s resistance written as its nominal times one plus its units’ mean error, the ratio’s fractional change is
where is the mean error of a leg’s units and the ratio. That is the same leverage the earlier essay found for random errors, , applied to the difference between the legs. With the unit error a polynomial in position, a leg’s mean error is the polynomial’s coefficients times the leg’s moments of position — its mean position for the gradient, its mean squared position for the bow. So the ratio error from a gradient is times the difference of the legs’ first moments, and from a bow times the difference of their second, each scaled by .
A layout cancels a polynomial error of a given degree exactly when the two legs share every moment up to that degree. That is the whole of the rule, and the common-centroid layouts of integrated-circuit practice are its first-degree case. The rule also says why a single unit is a poor small leg: one point has one position, so its second moment is its first moment squared, and a chain spread around it always has a larger second moment than one point at its centroid can.
Three layouts, three kinds of error
The question is then what it costs to match the second moment, and the cheapest answer is to make the small leg from more than one unit. Four units, two in series and the pair in parallel with another two, have one unit’s resistance; placed symmetrically they share the chain’s centroid at zero, and their positions can be chosen to share its second moment too.
Each layout’s three errors are separate quantities and add in quadrature only because the random part is independent of the two systematic ones. The end layout pays all three: 25 ppm of gradient, 7.5 of bow, 19.1 of random spread, 32.3 in all. The centre layout removes the gradient and keeps the bow and the randomness, 19.7. The moment-matched block removes both systematic errors and leaves only its random part — and that part is smaller too, 10.8 ppm against 19.1, because the bottom leg is now an average of four units rather than one. The random spread follows the earlier essay’s law, , with the bottom leg’s unit count, to within three per cent across the 20,000 arrays.
So the four-unit block is not a cost paid for the bow. It is three more units of area, and it buys the bow’s cancellation and a near-halving of the random spread together; at these numbers the random gain alone is worth more than the bow.
The bow, swept
The bow is the error a centred layout cannot see coming, because it does not move with the small leg’s position and a designer checking a layout for symmetry finds nothing wrong.
At the centre the error is a straight line in the bow with a slope of −10 ppm for each ppm a pitch²: ten elevenths of the chain’s mean squared position of eleven pitches squared. The moment-matched block stays at zero to a thousandth of a part per million across the whole sweep, which is the second-order residue of the exact ratio and nothing else. Where the bow passes about two parts per million a pitch squared, the centred layout’s systematic error has grown past its random spread, and the layout is limited by its geometry rather than by its parts.
The layout itself
The positions follow from two equations. With the block symmetric its first moment is zero, as the chain’s is in a symmetric row. Its second moment must equal the chain’s, and since the row’s total second moment is fixed — 227.5 pitches squared over fourteen slots — that requirement fixes the block’s own sum of squared positions at 65, which a symmetric block at and meets when . Half-integer slots offer two solutions, with and with . Both cancel the bow exactly; the first spreads the block across the row and the second clusters it, and a layout chosen for a higher-order term would pick between them on the fourth moment.
Every odd moment cancels by symmetry, so a cubic term costs nothing either. The fourth moments differ, 476.9 against 460.1 pitches to the fourth, and a quartic term in the unit error is what this layout leaves, in proportion to that difference of 16.8 pitches to the fourth.
The ratio decides how much a bow costs
The leverage is not the only way the ratio enters. A larger ratio has a longer chain, and a longer chain spreads its units further from its centre.
With the small leg a single unit at the centre, the bow’s cost is ppm for each ppm a pitch²: the chain’s mean squared position, which grows as the square of its length, times the leverage. At ten to one it is ten; at a hundred to one it is 849, so a bow that a halving divider would never notice costs a hundred-to-one divider nearly a part in a thousand. The earlier essay found a large ratio costing in random matching; against a bow it costs .
The block of four, placed by searching every symmetric pair of slots, leaves less than 1.6 ppm per ppm a pitch² at every ratio, and zero where whole slots allow the second moment to be met exactly, as they do at ten to one. Elsewhere it is close rather than exact, because the slots are discrete and the equation target has no solution in them; a fifth or sixth unit in the block, or a dummy unit to shift the row, would close the gap. For a halving divider the block buys nothing at all — at it leaves exactly what the centre does — because a two-unit chain has nowhere to spread to.
A gain of a hundred, worked
The earlier essay worked a non-inverting gain of a hundred, which is a hundred-to-one divider in the feedback path, and the same array makes the moments concrete. With the small leg a single unit at the end of a row of a hundred and one, the 5 ppm-a-pitch gradient costs , about 250 ppm of gain error. At the centre the gradient goes and the bow arrives: half a part per million a pitch squared, times 849, is about 425 ppm — worse than the gradient the centring removed, because a hundred-unit chain spreads fifty pitches either way and the bow grows as the square of that. The random part, at 20 ppm a unit, is , about 19.9 ppm, in either place.
With the small leg a block of four at the best whole-slot positions, ±28.5 and ±31.5 pitches of a row of a hundred and four, the bow leaves about half a part per million, the gradient nothing, and the random part falls to about 10.1 ppm because the small leg is now an average of four. The gain error goes from 425 ppm to about ten, for three units of area out of a hundred and four. There is no other change to the array that buys as much: averaging the random part down by the same factor of forty would need sixteen hundred times the units.
That is the shape of the whole result for large ratios. The random part a large ratio pays is and cannot be removed, only averaged; the systematic part it pays is and can be removed outright by placing a handful of units. A design that treats both as tolerance and buys area against them pays for the wrong one.
What the rule asks of a layout, in order
The moments give a sequence of requirements, each one dearer than the last. A layout that shares the legs’ centroid cancels every linear gradient, which is what common-centroid placement exists for and costs nothing but care. One that also shares their second moment cancels a bow, and needs the small leg to be at least two units placed apart, or four if the leg’s resistance must equal one unit’s. Third-degree terms cancel by symmetry. Fourth-degree terms need a fourth moment matched, which needs more units still.
What decides how far up the sequence a layout should go is the array’s own profile. A film deposited from a source above the centre of a substrate is thickest in the middle and thinner towards the edges, which is a bow; a die with a heat source at one end has a gradient. The trim that takes the drift with it met the same distinction in a pair: an error that has a shape can be cancelled by arranging the parts against the shape, and an error that is random can only be averaged. The mismatch that cancels itself found a current mirror’s errors separating the same way, some cancelling by arrangement and some not, and the trim a lot should get found a production lot behaving differently from any one pair in it — which is what a gradient shared across a wafer does to every divider cut from it.
Where randomness and geometry meet
The random part and the systematic part are measured separately here, and they are not equally expensive to reduce. The random spread falls as one over the square root of the units averaged, so halving it costs four times the units. A systematic error falls to zero once the right moment is matched, at the cost of the units needed to match it. A layout designer is therefore buying two things with area: averaging, which is slow, and moment-matching, which is complete but specific to the error’s shape.
The tolerance that is not on any part separated a divider’s worst case from its spread, and the same distinction is sharper here. A gradient and a bow are not tolerances in the statistical sense at all; on a given array they are fixed numbers, and every divider built in the same place on every array of a batch carries the same systematic error. A batch’s spread can be small while every unit in it is wrong by the same 5 ppm, and only the layout decides whether that 5 ppm reaches the ratio. The shape a tolerance does not print found the shape of a batch’s distribution deciding what a design can do with it; a gradient is the part of a batch’s error that has no distribution at all.
How the numbers were obtained
Each ratio is the bottom leg’s resistance over the sum of the legs, with the units’ values written out and the four-unit block reduced as two series pairs in parallel. The moment formula was then evaluated separately from each leg’s mean position and mean squared position, and held against the exact ratio at every placement: they agree to two per cent at the sizes of error here, the remainder being the second-order terms the formula drops. The random spreads come from 20,000 seeded arrays per layout and are held against the law to three per cent.
What the model leaves out
The row is one-dimensional. A real array is two-dimensional, and a gradient can run in any direction across it; a layout that shares moments in one direction and not the other is exposed to the gradient’s other component. The rule generalises directly — the legs must share every moment in both coordinates up to the degree being cancelled — and a two-dimensional common-centroid array is the familiar first-degree case.
The units are identical in everything but value. Real units also differ in their contacts and their ends, and the units at the ends of a row are often worse than the rest because their surroundings differ; dummy units beyond the ends are how layouts deal with that, and they shift the row without changing the rule.
And the divider is unloaded and at one temperature. What matching does about temperature is the reminder that a gradient in temperature is a gradient in value for any part with a temperature coefficient, and that a divider which dissipates unequally makes its own.
The numbers to keep
To first order a divider’s ratio moves by times the difference of its legs’ mean unit errors, so a layout cancels a polynomial error exactly when the legs share its moments. A 5 ppm-a-pitch gradient costs a ten-to-one divider 25 ppm with the small leg at the end and nothing at the centre. A bow costs the centred layout ppm per ppm a pitch² — ten at ten to one, 849 at a hundred. Four units in series-parallel at ±1.5 and ±5.5 pitches of a row of fourteen share the chain’s first two moments, cancel both errors and cut the random part from 19.1 to 10.8 ppm.
Still open: the second dimension, the voltage coefficient, and two ratios at once
A gradient in any direction. On a two-dimensional array the legs must share their moments in both coordinates. How many units a ten-to-one divider’s small leg needs to share the first two moments in two dimensions, and where they sit, is a search of the same kind on a grid rather than a row.
The voltage coefficient. A film resistor’s value moves with the voltage across it, and in a ten-to-one divider each top unit carries the same voltage as the bottom leg’s units only if the bottom leg is one unit. A four-unit block carries a quarter of the bottom’s voltage on each unit, so it changes the divider’s voltage coefficient as well as its moments, and whether the two help or fight is a measurement with both in the model.
Two ratios that must agree. A difference amplifier’s rejection depends on two dividers matching each other rather than either being right. Built from one array, their errors share the array’s gradient and bow, and a layout that gives both dividers the same moments makes their systematic errors identical — so they cancel in the difference even where neither ratio is right. How much of the array’s profile that tolerates is the next step from one ratio to two.
Part 5 on component tolerance
One argument about Component tolerance, and one of 5 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:
What links here
Essays that reach for this one mid-argument — the half of a link its own author cannot write down.
The objects named here
The third axis, after the field and the idea: the things themselves, and every essay that touches each one.
Component toleranceDesign tradeoffDevice matchingDevice mismatchVoltage divider
- The cure that needs one current design tradeoff, device matching, device mismatch
- The error that is a distribution component tolerance, design tradeoff, device mismatch
- The rejection the parts have component tolerance, design tradeoff, device matching
- A band rather than an edge design tradeoff, voltage divider
- One inductor, and ten components component tolerance, design tradeoff
- The best damping is not the one to build component tolerance, design tradeoff