Lite / Textbooks / Engineering Design and Optimization / Chapter 4
4. Documentation, tolerances and design review
Introduction
A design that lives only in its designer's head cannot be built, checked or improved by anyone else. This chapter keeps an engineering notebook that a stranger could reproduce, draws parts with dimensions and tolerances that add up, checks a tolerance stack by worst case and by root-sum-square, and prepares for a design review where the job of the reviewers is to find the flaw before the hardware does.
Figure 4.1. A tolerance stack (described in words)
Three parts of 20 ± 0.1, 15 ± 0.05 and 10 ± 0.08 mm stacked end to end make 45 mm nominal. The worst-case variation is ± 0.23 mm; the root-sum-square estimate, assuming independent centred errors, is ± 0.137 mm.
Explanation
Built from 4 School lessons. Each part is the lesson's own explanation.
4.1 The engineering notebook: decisions with dates
Three weeks ago you changed the squeeze from 5 N to 3 N. Today the bolt slips. Can you say why you changed it, and what you tested afterwards?
What goes in an entry
Date, goal (what question you're answering), setup (which Build, lab or code version; every setting), prediction, results (numbers with units, or a pointer to a saved table), decision and next step. Short is fine. Missing settings are not: without them nobody, including you, can repeat the run.
Never tidy away failures
Write down tests that failed, ideas you dropped and mistakes you made, with the reason. Crossing out is fine; deleting isn't. In your capstone, the failure and what you changed is a required piece of evidence, and the notebook is where it comes from.
Decisions need reasons
'Chose rubber pads' is a fact. 'Chose rubber pads because the bolt needs 4.9 N with plastic but the cup crushes above 3 N (harness, 28 Nov)' is a decision record. The reason lets a reviewer check your logic and lets you undo a decision safely if the reason stops being true.
Common mix-ups
Notebooks are for writing up results at the end.
✓ They're written as you go, so they capture what you knew at the time, including mistakes.A tidy notebook shows good engineering.
✓ A complete, honest notebook does, crossings-out and failures included.
Open the Lite lesson: The engineering notebook: decisions with dates
4.2 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?
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.
Derivation: Worst-case stack-up
Each dimension is nominal ± tolerance: the real part lies anywhere in that range.
Tightest case: smallest slot and largest parts: gap_min = (slot − t_slot) − Σ(part + t_part).
Loosest case: largest slot and smallest parts: gap_max = (slot + t_slot) − Σ(part − t_part).
So gap_min = nominal gap − (t_slot + Σ t_part) and gap_max = nominal gap + (t_slot + Σ t_part): tolerances add.
Requirement 'always fits' means gap_min ≥ 0; 'never rattles more than 1 mm' means gap_max ≤ 1 mm.
Common mix-ups
If the nominal sizes fit, the parts will fit.
✓ Check the worst case: tolerances add across a stack.Tolerances are the maker's problem.
✓ The designer chooses them on the drawing; the maker can only meet what is written.
Open the Lite lesson: Dimensions, tolerances and the stack that bites
4.3 Design review: defend your mechanism
A reviewer points at your lever and asks: 'what's the worst-case force on that pivot, and what's your margin?' Can you answer in one sentence with a number?
The review in five minutes
1) The job and its requirements (with numbers). 2) Concepts considered and the decision matrix, including its sensitivity. 3) The free-body diagram and the key calculation: forces, torque or ratio, with units. 4) The factor of safety and what it doesn't cover. 5) Tests run, a failure found, and the next step. One slide or page each.
Answering questions
Answer with evidence: 'the pivot carries 125 N in the worst case; the pin is rated 500 N, so the factor of safety is 4'. If you don't know, say so and how you'd find out. If a reviewer finds a real flaw, thank them and write it down: finding flaws is the review working, not you failing.
Giving a review
When you're the reviewer, ask about the worst case, the assumptions and the evidence: 'what load did you assume, and where did it come from?' Be specific, kind and useful: point at a number or a decision, not at the person. Every question should help the design improve.
Common mix-ups
A good design review has no criticism.
✓ A good review finds the weak spots. No questions usually means nobody looked closely.Admitting you don't know something looks bad.
✓ Saying what you don't know and how you'd find out is what reviewers trust.
Open the Lite lesson: Design review: defend your mechanism
4.4 Present it, then defend it
A reviewer asks: 'Why should I believe your baseline was tuned fairly?' You have ten seconds. What do you say?
A five-minute structure
One slide each: the problem and question; the architecture (with interfaces); the method (baseline, alternatives, metric fixed in advance, trials, seeds); the results (one honest chart with labelled error bars); limitations and what you'd do next. Leave time for questions.
Prepare for the hard questions
Rehearse answers to: How was the baseline tuned? Why this metric? How many trials, and why is that enough? What would change on real hardware? What is the biggest limitation? Each answer should point to something in your method or results.
Defending trade-offs
Explain what you optimised and what you gave up: 'PID settled faster but needs a filtered derivative and is noisier; for this task the faster settling mattered more.' Naming the cost shows you chose it deliberately.
Common mix-ups
Admitting a limitation in a presentation makes the work look weak.
✓ Stating limitations clearly makes the rest of the claims more believable.
Open the Lite lesson: Present it, then defend it
Worked examples
The engineering notebook: decisions with dates: example 1
Improve this entry: 'Tested sorter. Mostly OK.'
Solution
'1 Dec. Q: does threshold 60 sort ≥ 95% at belt speed 3? Setup: Sorting Machine L3, threshold 60, size limit 4 cm, speed 3. Predicted 97%. Result: 92% over 200 parts; failures mostly small red parts. Decision: try threshold 55 next, one change at a time.'
Dimensions, tolerances and the stack that bites: example 1
Slot 30 ± 0.1 mm, two parts 14 ± 0.05 and 15.5 ± 0.05 mm. Worst-case gaps?
Solution
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.
Design review: defend your mechanism: example 1
Your geared lift needs 1 N·m and the train delivers 1.08 N·m. A reviewer says the margin is thin. Response?
Solution
Agree: FoS ≈ 1.08. Options: a higher ratio (add a stage or bigger output gear) at the cost of speed, or a stronger motor at the cost of mass and power. State which you'd test first and why.
Present it, then defend it: example 1
Answer: 'Why should I believe your baseline was tuned fairly?'
Solution
'Both controllers were tuned with the same 40-evaluation grid search on separate tuning seeds, minimising the same metric; the method section lists the ranges, and the code is in the appendix.'
Interactive figures, in words
Figure 4.2 from The engineering notebook: decisions with dates
Run the test harness at three different squeezes. After each run, write a notebook entry: date, question, settings, prediction, pass rate, failing cases and your decision. Swap entries with someone: can they reproduce your run from your entry alone?
The test harness runs every combination of four objects, two pad materials and two lift accelerations for a squeeze you choose, and reports the pass rate and failing cases in a table. In this lesson you write a notebook entry after each of three runs, recording the settings, your prediction, the result and your decision.
Figure 4.3 from Dimensions, tolerances and the stack that bites
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.
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.
Figure 4.4 from Design review: defend your mechanism
Rebuild your term-project mechanism in the explorer (a lever or a gear train). Record the effort or output torque, the pivot force or output speed, and the mechanical advantage or ratio. Then work out a factor of safety against a capacity you state, and prepare a one-sentence answer to: 'what's the worst case, and what's your margin?'
The mechanism explorer offers a lever (class 1, 2 or 3, with sliders for load and distances) and a gear train (one or two stages, with sliders for tooth counts, motor speed and torque, and a choice of efficiency). Its readouts give effort, mechanical advantage and pivot force, or ratio, output speed, torque and power, which you use as the calculation in your design review.
Laboratory
These run in a browser on the full site (they need a faster connection). Simulations are simplified educational models.
- Robotics Workbench (Studio)
Document one design decision in the workbench with the options considered, the evidence and the reason for the choice.
Open on the full site - Code Lab (Studio)
Simulate a tolerance stack by sampling each part within its tolerance and compare the spread with the worst-case and root-sum-square results.
Open on the full site
Practice
Each question links to its Lite lesson, where your answer is checked on our server and a wrong answer gets a hint. Answers are never sent to your device.
- Which entry would let a stranger reproduce your test?
Answer it in “The engineering notebook: decisions with dates” - You tried slip sensing and abandoned it because it was too slow in your model. Should it go in the notebook?
Answer it in “The engineering notebook: decisions with dates” - Which records a decision properly?
Answer it in “The engineering notebook: decisions with dates” - Why not give every dimension a very tight tolerance, like ± 0.01 mm?
Answer it in “Dimensions, tolerances and the stack that bites” - Which reviewer question is most useful?
Answer it in “Design review: defend your mechanism” - A reviewer finds that your gripper squeezes the cup above its 3 N limit in one case. What should you do?
Answer it in “Design review: defend your mechanism” - Asked 'Would this work on a real motor?', the best answer is…
Answer it in “Present it, then defend it” - Which statement explains a trade-off well?
Answer it in “Present it, then defend it”
Engineering applications
Assemblies that fit
A gearbox housing, its bearings and the shaft each have tolerances. A stack analysis before ordering parts shows whether every combination will assemble, or whether a tighter (and dearer) tolerance is needed on one part.
Patents and handovers
Dated notebook entries record when an idea was conceived and why options were rejected, which helps when a project changes hands or an idea's origin is questioned.
Watch (optional)
Streaming video uses a lot of data. Everything you need is in the text.
- “You Should Be Keeping a Research Notebook” by JoshTheEngineer
- “Git Overview - Computerphile” by Computerphile
Summary
- A notebook entry records what, why, how and the result, including ideas that failed.
- Every dimension that matters needs a tolerance; tighter tolerances cost more.
- Worst-case stacks add tolerances; root-sum-square assumes independent errors and is smaller.
- A design review hunts for flaws; the best answers concede unknowns and point to evidence.
Glossary
- Engineering lab notebook
- A lab notebook is a dated, chronological record of what you planned, did, observed and decided, written at the time rather than afterwards. Field Guide
- README
- A README is the front page of a project: what it is, how to set it up, how to use it, how to check it works, its current status and limitations, and its licence. Field Guide
- Version control and commit messages
- Version control records every change to a project as a commit; a commit message explains in a short summary line, and optionally a body, what changed and why. Field Guide
- Block diagram
- A block diagram shows a system as labelled boxes connected by arrows, each arrow naming what flows between them: power, a signal, data or a force. Field Guide
- Technical report structure
- A technical report usually follows a predictable structure: title, abstract, introduction, method, results, discussion including limitations, conclusion, references and appendices. Field Guide
Project: Prepare a design review pack
For one part of your design, produce a dimensioned sketch with tolerances, a tolerance stack for the critical fit, five notebook entries covering key decisions, and a list of the three questions you most fear in review, with your answers.
Deliverables
- A toleranced sketch and stack analysis
- Five dated notebook entries
- Three review questions with evidence-based answers
Write it up on paper or in your own notes. Lite never stores what you write.
References
- Gerhard Pahl et al. (2007). Engineering Design: A Systematic Approach, 3rd edition. Springer.
- George E. Dieter and Linda C. Schmidt (2013). Engineering Design, 5th edition. McGraw-Hill.