Skip to content
Tactiverge

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

Text
All chapters and search
  1. 1. Problems and requirements
  2. 2. Decisions and trade-offs
  3. 3. Verification and reliability
  4. 4. Documentation, tolerances and design review
  5. 5. System architecture and budgets
  6. 6. Formulating optimisation problems
  7. 7. Linear programming and search
  8. 8. Gradient methods and convexity

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.

stack = 45 mm nominal20± 0.115± 0.0510± 0.0845 mmworst case: 0.1 + 0.05 + 0.08 = ± 0.23 mmRSS: √(0.1² + 0.05² + 0.08²) = ± 0.137 mmWorst case always fits; RSS assumes independent,centred errors and is the likelier spread.
Figure 4.1. A tolerance stack. 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

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
  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.

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.

Open the full 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

Figure 4.2 from The engineering notebook: decisions with datesRun 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?
Can't use the interactive? Read a description instead

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 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 bitesSet 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.
Can't use the interactive? Read a description instead

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 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 mechanismRebuild 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?'
Can't use the interactive? Read a description instead

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.

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.

Practice 1

Which entry would let a stranger reproduce your test?

Practice 2

You tried slip sensing and abandoned it because it was too slow in your model. Should it go in the notebook?

Practice 3

Which records a decision properly?

Practice 4

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

Practice 5

Which reviewer question is most useful?

Practice 6

A reviewer finds that your gripper squeezes the cup above its 3 N limit in one case. What should you do?

Practice 7

Asked 'Would this work on a real motor?', the best answer is…

Practice 8

Which statement explains a trade-off well?

  1. 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.'
  2. 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
  3. 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.'
  4. 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
  5. 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?'
  6. 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
  7. 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
  8. 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.

An engineer's case for keeping a research notebook, with practical habits.

6 min 32 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

A practical tour of Git's commits, branches and merges.

16 min 28 s · captions on YouTube · source

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.