TactivergeLite

Lite / Building Machines That Respond / Week 35

Dimensions, tolerances and the stack that bites

Three spacers, each 'about 12 mm', must fit a 40 mm slot. They fit on your drawing. Will they fit every time the parts are actually made?

About 35 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

No part is made exactly to size. Tolerances say how far off is acceptable, and when parts stack up, their errors add. Getting this right is why parts from different makers fit together, and getting it wrong is why some assemblies jam.

Predict

A 40 ± 0.2 mm slot holds three spacers: 12 ± 0.1, 15 ± 0.1 and 12.5 ± 0.1 mm. Nominal gap is 0.5 mm. In the worst case, can they fail to fit?

  1. No: 0.5 mm of gap is plenty
  2. Yes: the tolerances add up to 0.5 mm, leaving a worst-case gap of 0 mm
  3. Only if the slot is wrong
Guess first, then reveal

The worst case is the smallest slot (39.8 mm) with the largest spacers (12.1 + 15.1 + 12.6 = 39.8 mm): a gap of exactly 0 mm. Any extra error (dirt, a burr) and they jam. The nominal 0.5 mm was eaten by four small tolerances adding up.

Discover

Set the predict question's numbers and read the worst-case gaps. Then find two different ways to make the assembly always fit and never rattle more than 1 mm: one by changing a nominal size, one by tightening tolerances.

What the interactive shows (text version)

The tolerance stack-up tool draws a slot holding three coloured spacers. Sliders set the slot's width and tolerance and each spacer's size and tolerance. The readout gives the nominal gap, the worst-case smallest gap (smallest slot, largest spacers) and largest gap, and whether the assembly always fits and never rattles more than 1 mm.

You can also open the interactive on the full site when you have a faster connection.

Understand

Every dimension needs a tolerance

A drawing that says 12 mm leaves the maker guessing. 12 ± 0.1 mm says any part from 11.9 to 12.1 mm is acceptable. Tighter tolerances cost more to make and check, so engineers make them only as tight as the function needs. Unimportant dimensions get looser ones.

Stacks add up

When parts sit end to end, their tolerances add in the worst case. Four ± 0.1 to ± 0.2 mm tolerances can wipe out a 0.5 mm gap entirely. More parts in a stack means a bigger worst-case spread, which is one reason designers try to keep stacks short.

Fixing a stack

Options: change a nominal size (a 39.5 mm group in a 40 mm slot), tighten the tolerances that matter most, reduce the number of parts in the stack, or add something adjustable such as a shim or slot. Write the requirement first ('always fits, rattle ≤ 1 mm'), then check both worst cases against it.

Explain it another way

Intuitive

Stack five books that are each 'about 3 cm'. Each might be a bit thick; together they can be a lot thick. Small errors in a stack don't cancel by luck; in the worst case they pile up.

Technical

Worst-case (arithmetic) stack: T_total = Σ|tᵢ|. Statistical (root-sum-square) stacks assume independent, centred variation and give a smaller, likely spread √(Σtᵢ²), at the risk of occasional misfits.

Mathematical

Slot 40 ± 0.2; spacers 12 ± 0.1, 15 ± 0.1, 12.5 ± 0.1. Nominal gap 0.5 mm; tolerance total 0.5 mm; worst-case gaps 0 mm and 1.0 mm.

Applied

Bearings, gears and the bolt holes of a robot frame all use standard fits, so a bearing from one maker fits a housing from another.

Derivation: Worst-case stack-up
  1. Each dimension is nominal ± tolerance: the real part lies anywhere in that range.

  2. Tightest case: smallest slot and largest parts: gap_min = (slot − t_slot) − Σ(part + t_part).

  3. Loosest case: largest slot and smallest parts: gap_max = (slot + t_slot) − Σ(part − t_part).

  4. So gap_min = nominal gap − (t_slot + Σ t_part) and gap_max = nominal gap + (t_slot + Σ t_part): tolerances add.

  5. Requirement 'always fits' means gap_min ≥ 0; 'never rattles more than 1 mm' means gap_max ≤ 1 mm.

Worked example 1

Slot 30 ± 0.1 mm, two parts 14 ± 0.05 and 15.5 ± 0.05 mm. Worst-case gaps?

Nominal gap = 30 − 29.5 = 0.5 mm. Total tolerance = 0.1 + 0.05 + 0.05 = 0.2 mm. Gap from 0.3 to 0.7 mm: always fits.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

mm

mm

mm

Practice 4. Why not give every dimension a very tight tolerance, like ± 0.01 mm?

Apply it

Make a dimensioned sketch of one part of your capstone mechanism with a tolerance on every dimension. Identify one stack (two or more parts in a line), calculate both worst-case gaps, and state whether it meets a fit requirement you write.

Reflect

Where in everyday life have you seen parts that didn't quite fit? Was it a tolerance stack?

Write your answer on paper or in your own notes. Lite never stores what you write.

← A README a stranger can followPlan the capstone: every requirement gets evidence →