Skip to content
Tactiverge

Textbooks/Engineering Design and Optimization/Chapter 3Lite (plain text) version

3Verification and reliability

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 is only as good as the evidence that it meets its requirements and keeps meeting them. This chapter writes test plans with predictions and pass criteria before testing, digs past the symptom to the root cause when something fails, and models reliability with blocks in series and in parallel. It ends with failure modes: how the system will fail, how badly, and what you will do about it.

series: 0.772motor0.97controller0.995sensor0.8with a redundant sensor: 0.927motor0.97controller0.995sensorsensorparallel pair = 1 − (1 − 0.8)² = 0.96Only if the two sensors fail independently.
Figure 3.1. Series and parallel reliability. A motor (0.97), a controller (0.995) and one sensor (0.8) in series give a system reliability of 0.772. Replacing the sensor with two independent sensors in parallel gives the pair 1 − 0.2² = 0.96, raising the system to 0.927, but only if they cannot fail together.

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.

3.1 A test plan that could prove you wrong

You test your gripper on the egg and it works. Then the bolt slips and the cup crushes. Did testing fail you, or did you test too little?

Write the plan first

A test plan states: the question ('does one fixed squeeze meet R2 and R3 for every object?'), the cases (objects × pads × lift speeds), the prediction, the pass criteria (squeeze ≥ needed and ≤ crush limit) and what would change your mind ('if any case fails, the fixed-squeeze design is rejected'). Writing it before running stops you explaining away surprises.

Cover the matrix and the edges

Failures hide in combinations: heavy and slippery, light and fragile. Run every combination of the conditions that matter; with 4 objects, 2 pads and 2 speeds that is 4 × 2 × 2 = 16 cases. Then add edge cases at the limits of what's allowed, such as an emergency lift. If the full matrix is too big, explain how you chose a subset.

Report like an engineer

Give the pass rate and the list of failing cases with the reason for each: 'bolt on plastic at 4.9 m/s² slipped: needs 4.9 N, squeeze 3 N'. A 94% pass rate means nothing if the failing 6% is the safety case. Compare with your prediction and say what you learned.

Common mix-ups

  • A high pass rate means the design is good.
    ✓ Look at which cases failed. One failed must can sink the design.
  • Testing is for checking the design works.
    ✓ Testing is for finding out whether it works, so a good test plan tries hard to break it.

Open the full lesson: A test plan that could prove you wrong →

3.2 Symptom, mechanism, root cause

The sorter dropped a red part in the blue bin. You lower the red threshold and the problem goes away. Have you fixed it?

Three layers

The symptom is what you see: red parts in the blue bin. The mechanism is how it physically happens: the sensor reads 40 instead of 85 because of glare. The root cause is the deepest cause you can act on, usually a design or process decision: the cleaning checklist doesn't mention the hood. Fix the root cause and the whole chain stops.

Evidence at every step

Each 'why?' answer must be something you could check: a log line, a replay, a test that switches the cause on and off. 'Shading the sensor stops the errors' is strong evidence. 'Someone was careless' isn't evidence and stops the investigation; ask what in the process allowed the mistake. A fishbone diagram helps list candidate causes before testing them.

Prevent, detect, tolerate

Prevent: remove the cause (fix the checklist). Detect: notice when it happens anyway (flag a reading far outside the normal range, or two sensors disagreeing). Tolerate: keep working safely despite it (two sensors that must agree). A patch hides the symptom (lower the threshold) and usually causes a new problem.

Common mix-ups

  • Once the failure stops, it's fixed.
    ✓ Only if you removed the root cause. A hidden symptom usually returns, often worse.
  • Root cause means finding who made the mistake.
    ✓ It means finding the process or design decision that allowed it.

Open the full lesson: Symptom, mechanism, root cause →

3.3 Chains and spares: reliability by multiplication

Every part of your robot works 95% of the time. With five parts, how often does the whole robot work?

Series: the chain gets weaker

If every part is needed, multiply their reliabilities. A 90% sensor, a 99% controller and a 95% motor give 0.9 × 0.99 × 0.95 ≈ 0.846, so about 85%. The more parts in series, the lower the total. Improving the weakest part gives the biggest gain.

Parallel: spares that cover each other

Redundant parts in parallel fail only if all fail. Two 90% sensors: both fail with probability 0.1 × 0.1 = 0.01, so the block works 99% of the time. Three: 99.9%. Each extra spare helps less, and once the sensor block is strong, the motor becomes the weakest link.

Real failures share causes

The formula assumes independence. Two sensors on the same power wire, or under the same glare, can fail together. Then the pair is barely better than one. Engineers use different sensor types, separate supplies and plausibility checks (does a reading fit physical limits and the other sensors?) so a failure is detected rather than trusted.

Derivation: Series and parallel rules
  1. Reliability R is the probability a part works for the mission. Assume parts fail independently.

  2. Series (all must work): the chance that A and B both work is R_A × R_B. For n parts: R = R₁ × R₂ × … × Rₙ.

  3. Parallel (any one is enough): the block fails only if every branch fails. Failure chances multiply: (1 − R₁)(1 − R₂). So R = 1 − (1 − R₁)(1 − R₂)…

  4. Two 90% sensors in parallel: 1 − 0.1 × 0.1 = 0.99. Then with a 95% motor in series: 0.99 × 0.95 ≈ 0.94.

  5. Mixed systems: reduce each parallel block to one R, then multiply along the chain.

Common mix-ups

  • A machine made of 95% parts is 95% reliable.
    ✓ In series, reliabilities multiply: five 95% parts give about 77%.
  • Adding more spares always improves reliability a lot.
    ✓ Each spare helps less, shared causes can defeat them, and the weakest series part soon dominates.

Open the full lesson: Chains and spares: reliability by multiplication →

3.4 How will it fail?

Glare makes one colour sensor lie on 30 % of parts. Your sorter's accuracy drops from 99 % to 70 %. Did you plan for that, or discover it?

A failure-mode table

For each subsystem and interface, list: failure mode (sensor lies, message late, motor saturates), effect on the system, how it is detected, and mitigation. Rank by severity and likelihood; test the top few deliberately.

Detect, then make safe

A failure you cannot detect is the dangerous kind. Add checks: plausibility (is this reading possible?), freshness (timestamps), agreement between redundant sensors. On detection, move to a defined safe state, as in the FAULT state from week 29.

Measure mitigations

Treat a mitigation as a method to evaluate: compare with and without it, under the failure, over repeated trials, and also without the failure to check it doesn't cost too much in normal operation.

Common mix-ups

  • If the robot passes its tests, it has no failure modes.
    ✓ Tests check the conditions you tried. A failure table finds conditions you haven't tried yet.

Open the full lesson: How will it fail? →

Worked examples

A test plan that could prove you wrong: example 1

A sorter must be tested at 3 belt speeds, with 4 part types, in 2 lighting conditions. How many cases? Which edge case would you add?

Solution

3 × 4 × 2 = 24 cases. Edge cases: the fastest speed in the worst lighting with the hardest-to-see part, and a sensor that gives an impossible reading.

Symptom, mechanism, root cause: example 1

A greenhouse overheated overnight. The log shows the vent never opened; the vent motor works when tested. Next why?

Solution

Why didn't the controller command it open? Check the log of the temperature reading: if it stayed at 21 °C while a second thermometer read 31 °C, the sensor failed. Next why: was it unplugged, damaged, or shaded? And a detect fix: flag a reading that stays perfectly constant for hours.

Chains and spares: reliability by multiplication: example 1

Battery 98%, controller 99%, two motors that are both needed, each 96%. System reliability?

Solution

All in series: 0.98 × 0.99 × 0.96 × 0.96 ≈ 0.894, about 89%.

Chains and spares: reliability by multiplication: example 2

Two independent 80% cameras, either one enough, feeding a 99% computer. System?

Solution

Camera block: 1 − 0.2 × 0.2 = 0.96. System: 0.96 × 0.99 ≈ 0.950, about 95%.

How will it fail?: example 1

Fill one row of a failure table for a rover's camera fix.

Solution

Mode: dust hides the landmark. Effect: no position correction, drift grows. Detection: landmark not found or match score low. Mitigation: re-image or wait; if drift estimate exceeds 2 m, stop. Test: dusty sols with and without the rule, 10 seeds each.

Interactive figures

Figure 3.2 from A test plan that could prove you wrongBefore each run, set your predicted pass rate. Try squeezes of 1 N, 3 N and 5 N, then add the edge cases. Record each pass rate and which cases failed. Can you explain every failure from the 'needs' and 'crush' columns?
Can't use the interactive? Read a description instead

The test harness sets one fixed squeeze force, a required grip safety factor and an option for edge cases. Before running you enter a predicted pass rate. Running fills a table with every case (object, pad, lift acceleration, squeeze needed, crush limit, result) and reports the pass rate against your prediction. The bolt on plastic needs more than 3 N while the cup crushes above 3 N, so no single squeeze passes every case.

Interactive figure (online). Description: The test harness sets one fixed squeeze force, a required grip safety factor and an option for edge cases. Before running you enter a predicted pass rate. Running fills a table with every case (object, pad, lift acceleration, squeeze needed, crush limit, result) and reports the pass rate against your prediction. The bolt on plastic needs more than 3 N while the cup crushes above 3 N, so no single squeeze passes every case.

Figure 3.3 from Symptom, mechanism, root causeInvestigate both failures. At each 'why?', pick the cause the evidence supports; read why the others are ruled out. When you reach the root cause, pick the fix you'd ship first and read the feedback. Which fixes are patches?
Can't use the interactive? Read a description instead

The failure-mode explorer gives a symptom, then asks 'why?' up to four times. Each time you choose from three causes; wrong choices reveal the evidence that rules them out, right choices add the cause and its evidence to the chain. At the root cause you choose a fix and learn whether it prevents, detects, tolerates or only patches the failure.

Interactive figure (online). Description: The failure-mode explorer gives a symptom, then asks 'why?' up to four times. Each time you choose from three causes; wrong choices reveal the evidence that rules them out, right choices add the cause and its evidence to the chain. At the root cause you choose a fix and learn whether it prevents, detects, tolerates or only patches the failure.

Figure 3.4 from Chains and spares: reliability by multiplicationStart with one 90% sensor, a 99% controller and a 95% motor. Add a second and third sensor in parallel and record the system reliability each time. Then improve the motor instead. Which change helps more? Run 1000 simulated missions a few times and compare with the formula.
Can't use the interactive? Read a description instead

The reliability calculator draws one, two or three sensors in parallel, then a controller and a motor in series. Sliders set each part's reliability. The readout gives the sensor block's reliability 1 − (1 − R)ⁿ, the system reliability as the product, the expected failures in 1000 missions and the weakest block. A button runs 1000 simulated missions and reports how many succeeded.

Interactive figure (online). Description: The reliability calculator draws one, two or three sensors in parallel, then a controller and a motor in series. Sliders set each part's reliability. The readout gives the sensor block's reliability 1 − (1 − R)ⁿ, the system reliability as the product, the expected failures in 1000 missions and the weakest block. A button runs 1000 simulated missions and reports how many succeeded.

Laboratory

Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.

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

Why write the prediction and pass criteria BEFORE running the test?

Practice 2

Which is the best edge case to add to a gripper test plan?

Practice 3

Which fix is a patch rather than a real fix for a sensor that misreads under glare?

Practice 4

An investigation concludes 'the operator forgot'. What should happen next?

Practice 5

Sensor block 99.9%, controller 99%, motor 80%. Which single improvement helps the system most?

Practice 6

Two 'redundant' colour sensors sit side by side under the same lamp. Why might the pair be much less reliable than 1 − (1 − R)²?

Practice 7

Three-sensor majority voting tolerates…

Practice 8

Why also test a mitigation when nothing has failed?

  1. Why write the prediction and pass criteria BEFORE running the test?
    • It's tidier
    • So you can't move the goalposts after seeing the results
    • Because tests take a long time
    • It isn't necessary
  2. Which is the best edge case to add to a gripper test plan?
    • The egg on rubber pads at a gentle lift
    • The heaviest object on the slipperiest pad at the fastest allowed lift
    • A random object
    • The same case run twice
  3. Which fix is a patch rather than a real fix for a sensor that misreads under glare?
    • Fit a hood and add it to the cleaning checklist
    • Lower the colour threshold until the errors stop
    • Flag readings far outside the normal range
    • Use two sensors that must agree
  4. An investigation concludes 'the operator forgot'. What should happen next?
    • Close the investigation
    • Ask why forgetting was possible: what in the checklist, design or training allowed it?
    • Replace the operator
    • Add a warning sign and stop
  5. Sensor block 99.9%, controller 99%, motor 80%. Which single improvement helps the system most?
    • Add another sensor
    • Improve the motor
    • Improve the controller
    • They all help equally
  6. Two 'redundant' colour sensors sit side by side under the same lamp. Why might the pair be much less reliable than 1 − (1 − R)²?
    • Two sensors always interfere
    • Glare from the lamp can fool both at once, so their failures aren't independent
    • Parallel never helps
    • The formula is wrong
  7. Three-sensor majority voting tolerates…
    • Any single sensor failure
    • Any two failures
    • Any number of failures
  8. Why also test a mitigation when nothing has failed?
    • To check it doesn't harm normal performance
    • It isn't necessary
    • To make the report longer

Engineering applications

  • Aircraft systems

    Critical aircraft functions use several independent channels, often of different designs, so that one common cause such as a software bug or icing cannot take them all out.

  • Root causes in factories

    When a machine jams, asking 'why?' repeatedly turns 'operator error' into a guard that hides the jam sensor. Fixing the cause stops the next jam; retraining only treats the symptom.

Watch

Optional verified videos. Nothing loads from YouTube until you press play.

Introduces failure mode and effects analysis: listing how a system could fail, how bad each failure would be and how to catch it.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

Shows how series and parallel blocks combine into a system reliability, the same product-of-probabilities rule used this term.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

Real engineering failures and the safety thinking, including margins and factors of safety, that tries to prevent them.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

Explains why engineers want their prototypes to fail early, while failures are cheap and full of information.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

  • FMEA - What is failure mode and effects analysis? (Limble)
  • Reliability Block Diagrams (RBD) (Institute of Quality and Reliability)
  • Flirting With Disaster - The Importance of Safety: Crash Course Engineering #28 (CrashCourse)
  • Succeed by Failing: Crash Course Kids #42.1 (Crash Course Kids)

Chapter summary

  • Write the prediction and pass criteria before the test, and include edge cases.
  • Root-cause analysis keeps asking why until it reaches something you can change in the design or process.
  • Series reliabilities multiply, so the weakest block dominates; parallel redundancy gives 1 − Π(1 − Ri).
  • Redundancy helps only if failures are independent; common causes defeat it.
  • Failure-mode analysis ranks how things can fail and tests the mitigations, including when nothing has failed.

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.
Repeated trials
Repeating a measurement or test several times shows how much results vary and lets you average out random error.
Design review
A design review is a structured meeting where others examine a design against its requirements before it is built or released, and the outcomes are recorded as actions.

Definitions from the Field Guide.

Project: A reliability case for a small robot

Draw the reliability block diagram of a robot you know, with stated (and sourced or clearly assumed) block reliabilities. Find the weakest block, propose one redundancy or design change, and recompute. Name one common-cause failure that would defeat your change.

Deliverables

  • The block diagram with values and sources
  • System reliability before and after
  • A common-cause risk and its mitigation

Keep your work in your Engineering Journal; it stays private unless you choose to share it.

References

  • Patrick D. T. O'Connor and Andre Kleyner (2012). Practical Reliability Engineering, 5th edition. Wiley.
  • 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.