Textbooks/Engineering Design and Optimization/Chapter 4Lite (plain text) version
4Documentation, tolerances and design review
Version 1 · Technically checked (automated checks only) · 4 source lessons · 8 practice items
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.
Explanation
This chapter is built from 4 School lessons. Each part below is the lesson's own explanation; open the lesson for its predict-and-discover activities.
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 full 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 full 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 full 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.
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
Interactive figure (online). Description: 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.
Interactive figure (online). Description: 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.
Interactive figure (online). Description: 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
Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.
Studio
Robotics Workbench
Document one design decision in the workbench with the options considered, the evidence and the reason for the choice.
Open Robotics Workbench →Studio
Code Lab
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 Code Lab →
Guided practice
Answers are checked on the server; wrong answers get a hint and another try. Signed in, solved items also count towards the source lesson.
- Which entry would let a stranger reproduce your test?
- 'Ran the harness, got 75%.'
- '2 Dec. Harness: squeeze 3.0 N, grip factor 1, no edge cases. Predicted 70%. Got 12/16 (75%). Fails: bolt plastic both lifts, egg plastic 4.9 m/s², tomato plastic 4.9 m/s².'
- 'Good test today.'
- 'See screenshot.'
- You tried slip sensing and abandoned it because it was too slow in your model. Should it go in the notebook?
- No, only successes belong
- Yes, with why it was abandoned and the evidence
- Only if it worked
- Only in pencil
- Which records a decision properly?
- 'Using 2 sensors.'
- 'Using 2 colour sensors that must agree, because glare fooled one sensor in 30% of parts in the L4 test (1 Dec).'
- 'Sensors are good.'
- 'Decided.'
- Why not give every dimension a very tight tolerance, like ± 0.01 mm?
- Tight tolerances are impossible
- They cost much more to make and inspect, and most dimensions don't need them
- They make parts weaker
- Drawings can't show them
- Which reviewer question is most useful?
- 'Is this good?'
- 'What load did you assume at the pivot, and where did that number come from?'
- 'Why didn't you do it my way?'
- 'Did this take long?'
- A reviewer finds that your gripper squeezes the cup above its 3 N limit in one case. What should you do?
- Argue the case is unlikely
- Thank them, record it with the case, and plan a fix and a re-test
- Remove the cup from the test plan
- Ignore it
- Asked 'Would this work on a real motor?', the best answer is…
- Yes, definitely
- We tested only in simulation; friction and delay could reduce the advantage, and a hardware test with the same metric would check it
- That's not relevant
- Which statement explains a trade-off well?
- PID is just better
- PID settled 40 % faster but its command was noisier; settling mattered more for this task
- We picked PID because it has more letters
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 verified videos. Nothing loads from YouTube until you press play.
- You Should Be Keeping a Research Notebook (JoshTheEngineer)
- Git Overview - Computerphile (Computerphile)
Chapter 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.
- 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.
- 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.
- 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.
- Technical report structure
- A technical report usually follows a predictable structure: title, abstract, introduction, method, results, discussion including limitations, conclusion, references and appendices.
Definitions from the 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
Keep your work in your Engineering Journal; it stays private unless you choose to share it.
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.
Publication record
- Version
- 1
- Status
- Technically checked (automated checks only)
- Technical review
- Automated checks only, last run 2026-11-29. No human, educator or mentor review is claimed.src/content/textbooks/textbooks.test.ts: schema, every lesson, diagram, practice item, video, Field Guide entry, lab and reference resolves; figure numbers recomputed; no practice answers in client payloads.
- Written by
- Compiled and written by the Tactiverge team with AI assistance, from Tactiverge School lessons that were themselves written with AI assistance.
- Licence
- All rights reserved by the founders unless a licence is approved.
- Corrections
- None recorded yet.Spotted a mistake? Use “Report a problem” on any chapter, or see the corrections page.