Series

Tolerance — the series

17 essays on one idea, from the one that introduces it to the one that assumes the rest.
  1. The output is a band, not an angle. The rocker's angle through one turn of the crank, for a four-bar whose four lengths are each specified to ±0.01. The line is the nominal mechanism; the band is where the output of an actual one lies, found by building all sixteen extreme combinations of the four lengths at every crank angle and solving each. The band is not a constant width: it is 0.73° at its widest, near 30°, and 0.36° at its narrowest — a factor of 2.0. Which of those a designer is told depends entirely on where the mechanism was measured.

    A length is a range

    Every figure on this site so far has been drawn from four numbers. No four numbers were ever cut. Give each of them a tolerance of ±0.01 and the rocker's output stops being an angle and becomes a band 0.73° wide at one part of the turn and 0.36° wide at another — and which of those a designer is told depends only on where somebody measured.

    part 1 · practice
  2. Two routes to the same derivative. How much the output angle moves when the coupler length moves, through one turn, computed twice. One route rebuilds the mechanism at b ± 10⁻⁶ and solves both from scratch; the other differentiates the constraint equations and solves one linear system against the analytic Jacobian. They lie on top of each other — the strip beneath plots the difference on a four-decade log scale, and its largest value anywhere in the turn is 2.9e-10 against a sensitivity of order 0.41. That is the only independent check there is of the Jacobian itself, whose coupler rows carried four wrong signs from the foundation phase to 2026-08-12 without ever drawing anything wrong.

    Two routes to a sensitivity

    How far the output moves when a link length moves can be found by rebuilding the mechanism and solving it again, or by differentiating the constraint equations and solving one linear system. The two agree to two parts in a hundred million across a whole turn — and the second route is an independent test of the constraint Jacobian itself, whose coupler rows had carried wrong signs unnoticed.

    part 2 · practice
  3. The four lengths do not matter equally. Each length's average contribution to the output band, for a tolerance of ±0.01 on all four, averaged over the 48 crank positions the mechanism reaches. The coupler contributes 38% of the total and the rocker 11% — a factor of 3.4 between the ends of the ranking. A tolerance specified equally on all four therefore spends most of its cost buying accuracy the mechanism does not notice, which is what a sensitivity ranking is for.

    The four lengths do not matter equally

    Averaged over a whole turn, the coupler contributes 38% of a four-bar's output band and the rocker 11% — a factor of 3.4 between the ends of the ranking. A tolerance specified equally on all four therefore spends most of its money buying accuracy the mechanism cannot use, and the ranking that says so costs four linear solves.

    part 3 · practice
  4. Two ways of adding four tolerances. The output band from ±0.01 on each of four lengths, combined two ways. The upper curve is worst case — every error at its extreme and conspiring — and the lower is root-sum-square, which treats the four as independent random errors. RSS is smaller everywhere, by between 1.42 and 1.95, and with four contributions the most it can ever be is √4 = 2. That factor is not a saving found in the geometry; it is bought with the assumption that the four errors are independent, and one fixture that locates two of the holes takes it straight back.

    Worst case and the square root

    Four tolerances can be added as a straight sum or as a root-sum-square, and the second is smaller by between 1.42 and 1.96 through this linkage's cycle. The ceiling is √4 = 2 and no geometry can beat it. That factor is not found in the mechanism — it is bought entirely with an assumption of independence, and one fixture that locates two holes takes it straight back.

    part 4 · practice
  5. Where a tolerance stack-up stops meaning anything. The ratio between the first-order tolerance estimate and the band measured by building every corner linkage, for two four-bars at ±0.002 on each length. The crank-rocker's ratio is 1 at all 180 positions — a stack-up is exactly right for it, everywhere. The parallelogram is a change-point linkage, where all four bars can lie on one line, and at that position the estimate exceeds the measurement by a factor of 4.8e+5. The difference is not in the arithmetic, which is identical; it is that a derivative describes a map that can be inverted, and at a change point the map cannot.

    Where a stack-up stops working

    On a crank-rocker the first-order tolerance estimate matches the measured band at every one of 180 positions, to eight parts in ten thousand. On a parallelogram it exceeds it by a factor of 475,512. Same arithmetic, same tolerance, two linkages that differ only in their proportions — and nothing in the calculation says which one it is being run on.

    part 5 · practice
  6. Where enumerating the corners stops being affordable. The two routes to a tolerance band, costed against the number of toleranced lengths. Enumerating every extreme combination is 2ⁿ mechanisms at every crank position; differentiating the constraints is n linear solves. A four-bar is 16 corners and a Watt six-bar is 128, which is still cheap — 142 solves for one position — and the curve is the point rather than either number: at twenty parameters, which is an ordinary spatial mechanism, the corner route is a million mechanisms and the derivative route is twenty. Both are drawn because the corner route is not merely slower, it is the one that assumes nothing, and its answer is what the cheap route has to be checked against.

    Seven lengths and a hundred corners

    Nothing in a tolerance analysis is about four. A Watt six-bar has seven lengths, its corner enumeration is 128 mechanisms rather than 16, and the two routes still agree to a hundredth of a per cent — but the costs have separated — 142 solves against seven. At twenty parameters, which is an ordinary spatial mechanism, it is a million against twenty.

    part 6 · practice
  7. Tolerancing the holes rather than the lengths. The output band from ±0.01, computed on the four link lengths and then on the features those lengths are derived from. The ground length is the distance between two frame holes, and what happens to it depends entirely on how they were made: located separately, two independent errors combine to √2 times one and the lengths-only answer is optimistic by 11%; bored in one setup, the common part of the machine's error cancels out of the distance between them and the lengths-only answer is pessimistic by 34%. Neither is a correction to apply; it is a question for the machine shop, and this site can compute the sensitivity and not the answer.

    Tolerancing the holes

    A drawing does not tolerance link lengths. It tolerances holes, and the lengths are derived from them — so what a length's tolerance really means depends on whether its two holes were bored in one setup. Located separately, a lengths-only stack-up is optimistic by 11%; bored together, it is pessimistic by 34%. Neither is a correction to apply blind.

    part 7 · practice
  8. Every joint's lever arm. The thin lines run from the tool to each joint's axis, meeting it square. Their lengths are what a radian of error at each joint costs the tool in metres — not a rule of thumb but the Jacobian column, which is ω × r and therefore that perpendicular exactly. The shortest of them belongs to the joint nearest the work and the longest to the joint furthest from it, which is why an arm's accuracy is decided at the shoulder and its resolution at the wrist.

    Where an error at the shoulder ends up

    The same angular error at every joint of an arm, and the tool is out by 0.156 mm because of the shoulder, 0.017 mm because of the wrist roll and exactly nothing because of the last joint. The numbers are not properties of the joints. Each one is the distance from the tool to that joint's axis, measurable off the drawing with a ruler.

    part 8 · serial
  9. Half a tooth, spent three ways. Each bar is one beat of the escape wheel: exactly half a tooth pitch, 6.0° on 30 teeth, whatever the faces are cut like. The dark part is the impulse, which is the only part that does anything to the pendulum; the pale part is the drop, in which nothing is touching anything; the short tail is the lock-in run, in which the arriving tooth drags the wheel backwards as it settles. On the arc with no draw that tail is exactly zero and the budget has two terms. On every other face it is not, and the three still sum to the half pitch to twelve figures — which is the check, since the three are computed from three different contacts.

    What a drop cannot be smaller than

    Two thirds of an escape wheel's travel is drop, and drop does nothing. The obvious economy is to cut it down, and it cannot be cut down, because every dimension it is made of has a tolerance and a drop smaller than the accumulated error is a tooth that does not clear the pallet it is leaving. The stack is 0.39°, and it barely moves when the tooth count triples.

    part 9 · practice
  10. What a belt ratio's tolerance is made of. The three ways a variator's ratio can be wrong when the parts are wrong, at a nominal ratio of 1.848: a belt 0.3% long, a centre distance 0.2 mm out, and a sheave 0.15 mm from where it was commanded. Worst case they add to 2.98% and combined in quadrature they are 2.04% — the two conventions the practice field already argues about. The last row is a gear train's ratio under the same treatment, and it is empty: there is no length in a tooth count for a tolerance to be on.

    The ratio that has a tolerance

    Every dimension in this collection has been given a range at some point, and the ratios never were, because a gear ratio is a count and a count has no tolerance. A belt ratio is a quotient of two solved lengths, so every length in the mechanism is in it — and the amplification from belt length to ratio runs from 2.7 to 6.4 across the travel, which puts a whole per cent on a mechanism whose gearbox equivalent has none at all.

    part 10 · practice
  11. The square a robot thinks it drove, and the two it drove. A differential drive with wheels one per cent apart in radius, sent round a four-metre square twice — once clockwise and once anticlockwise. What it believes is the square; what it did closes 1.60 m out one way and 1.40 m out the other, and the errors point different ways. A wrong track width instead gives 0.177 m and 0.177 m — the same both ways round. That difference is why the test is run in both directions: one run cannot tell the two errors apart and two runs can.

    The error that is an integral

    A tolerance on a link length moves an output by a bounded amount. A tolerance on a wheel radius moves a vehicle by an amount that grows with how far it has driven: one per cent of mismatch between two wheels bends a commanded straight line onto a 30 m radius, and a four-metre square comes back 1.60 m from where the machine thinks it is.

    part 11 · practice
  12. The same multiplier, applied to the error. A tong whose units are cut to an angle 0.01 radians away from the drawing. If one unit is out, the span is out by that unit's share and nothing more; if every unit is out the same way — which is what a machine setting or a worn tool produces — the error is multiplied by the unit count, exactly, to 7.6e-14. The third column is what would happen if the errors were independent and equally likely either way: the accumulation goes as the square root of the count instead, and the difference between the two columns at thirty-two units is a factor of 5.66. Which column applies is a question about how the parts were made, not about the mechanism.

    The error that is repeated

    Thirty-two units cut on one setting of one machine are thirty-two copies of one error, not thirty-two draws from a distribution — so a tong's span is out by thirty-two times a unit's, not by the square root of thirty-two times it. The two estimates differ by a factor of 5.66, and the second one is the comforting one.

    part 12 · practice
  13. Whether the part goes in is one inequality. Two of the four contacts are moved and the other two left where the drawing says; the horizontal and vertical axes are those two errors, inward positive. The shaded region is where the part still goes in and the unshaded region is where it does not fit at all — not fits badly, not is located wrongly: there is no position and no orientation the part can take. The boundary is the straight line 0.250·e₁ + 0.250·e₂ = 0, whose coefficients are the shares from the previous figure. Four probe points are marked, each checked twice — once by the inequality and once by a linear program that looks for a pose and reports the program infeasible when there is none — and the two agree at every one. A hold turns a set of tolerances into a single condition, and the weights in it are what say which contact is worth making accurately.

    Which contact to make accurately

    A hold turns a set of contact tolerances into one linear inequality, and the weights in it are the coefficients of the combination that cancels — a quarter each on a square held by four, and 0.144 to 0.424 on a hexagon held by five. Above that line the part goes in and below it there is no pose it can take at all: not badly located, not out of position, no fit.

    part 13 · holding
  14. The same links and pins, and between 12 and 15 link lengths in the stack-up. Every closed loop in a mechanism is one equation a tolerance analysis has to satisfy, and the equation involves every link the loop passes through. All 16 chains here have the same number of independent loops — 3, which is pins minus links plus one and is fixed by the two totals — but not the same shortest set of them. The bars are the total length of a minimum cycle basis, and they run from 12 to 15. So the smallest number of link dimensions that any stack-up on this mechanism can involve is decided by the graph, before a single dimension has been chosen, and two topologies a count cannot tell apart differ by 3 of them.

    Where the shortest loops are

    A tolerance stack-up goes round a loop, and every link the loop passes through is a dimension in it. Two eight-link chains with the same links, the same pins and the same number of loops can need twelve link lengths in their shortest independent set or fifteen — decided by the graph, before any dimension is chosen.

    part 14 · practice
  15. One bar made 0.0001 too long, one bar at a time. Every bar of the machine compiled from a lemniscate lengthened by 0.0001 in turn, the machine re-solved, and the polynomial read at the tracing point. It is no longer zero anywhere. The worst bar takes it to 9.1e-3 — an amplification of 91 — and the median bar to 2.8e-4. The bars that matter are the reflectors, which are the cheapest part of the machine; the translators, which are most of it, barely move the answer at all. Size and fragility live in different parts.

    Exactness a micron destroys

    Lengthen one bar of a compiled machine by a ten-thousandth and its tracing point leaves the curve. On the smallest machine the error comes out smaller than it went in; on a fifty-bar one it comes out ninety times larger — and the bars that matter are the reflectors, which are the cheapest part of the machine.

    part 15 · practice
  16. A clearance that has a sign, over a tolerance box. The same machine at each of the sixteen corners of a ±0.02 band on its four lengths, with the smallest gap over a whole drive computed at each. The nominal machine clears by 0.1041; the worst corner clears by 0.0763 and the best by 0.1321, a band 0.0558 wide from a tolerance of 0.02 on each length. Every other quantity computed from the lengths becomes an interval when the lengths do. This one has a sign, and an interval that reaches zero is not a wider answer to the same question — it is a different answer, because on that side of it the parts do not go together. 24 random draws inside the box beat no corner, which is the check that the extremes are where they are assumed to be.

    A clearance inside a tolerance box

    Every quantity derived from the lengths becomes an interval when the lengths become ranges. This one has a sign, and an interval that reaches zero is not a wider answer to the same question — it is a different answer, because on that side of it the parts do not go together.

    part 16 · practice
  17. Two routes to the same derivative. How much the output angle moves when the coupler length moves, through one turn, computed twice. One route rebuilds the mechanism at b ± 10⁻⁶ and solves both from scratch; the other differentiates the constraint equations and solves one linear system against the analytic Jacobian. They lie on top of each other — the strip beneath plots the difference on a four-decade log scale, and its largest value anywhere in the turn is 2.9e-10 against a sensitivity of order 0.41. That is the only independent check there is of the Jacobian itself, whose coupler rows carried four wrong signs from the foundation phase to 2026-08-12 without ever drawing anything wrong.

    A band with a direction in it

    One whole direction of a four-bar's tolerance box does nothing. A machine made a quarter of a per cent too big all over has an output error of exactly zero — and an aluminium four-bar heated by a hundred degrees has an output error of exactly zero, while one with a steel frame has 0.076°.

    part 17 · practice

All series