MTBuilder AcademyLearn it. Test it. Build it.
Think & measureLesson 5 of 48
Foundation60 minutes2 project connections

Probability and measurement uncertainty

Describe variation honestly and choose margins from repeated evidence instead of treating one sensor reading as exact.

After this lesson, you can
  • Summarize repeated measurements, separate random spread from bias, and use uncertainty to make a conservative threshold decision.
Print / Save PDF
ReadPracticedBench demonstrated
Related study — optional context
01

Understand

The working idea

Repeated measurements vary because the world and the instrument vary. A camera's range estimate may jitter with texture; a ruler reading changes with viewing angle. Probability gives language for variation, while uncertainty states what is not known about a reported value. Neither means “anything could happen.” They support bounded decisions.

For measurements x_i, the arithmetic mean is x̄ = (1/n)Σx_i. Deviations from the mean reveal spread; the sample standard deviation s = sqrt(Σ(x_i−x̄)²/(n−1)) is one common summary when repeated values are reasonably comparable. Range and median can also be useful, especially for small datasets or outliers. Precision is repeatability; accuracy is closeness to the relevant reference. Closely clustered readings can all share a calibration bias.

Suppose a desk robot must stop at least 100 mm from an obstacle. A sensor averaging 112 mm with several millimetres of noise should not use a 100 mm trigger merely because the mean exceeds it. A threshold can include observed spread, latency, and braking distance. Choosing 130 mm may trade workspace for robustness. The build decision should name that tradeoff and the evidence behind the margin.

A frequent misconception is that averaging removes every error. Averaging reduces independent random noise but preserves systematic offset. Another is interpreting a standard deviation as a guaranteed bound; it is a summary, not an absolute limit, and its probability meaning depends on a model. Record sample count, conditions, resolution, and actual observations. Do not invent confidence from five tidy readings. When stakes rise, improve the reference, collect data across operating conditions, and design for failure rather than polishing decimals.

02

Follow the reasoning

Worked example

A distance sensor returns 118, 121, 119, 122, and 120 mm for a fixed target. Find the mean and a simple half-range uncertainty summary.

  1. 1

    Sum readings: 118 + 121 + 119 + 122 + 120 = 600 mm.

  2. 2

    Divide by five: mean = 120 mm.

  3. 3

    Range is 122 − 118 = 4 mm; half-range is 2 mm.

  4. 4

    Report the descriptive result as 120 mm ± 2 mm half-range for these five trials, not as a universal guarantee.

Result

The sample mean is 120 mm, with observed values spanning 118–122 mm.

Sanity checkThe mean lies inside the observed range and equals the visibly balanced center of these readings.

03

Try it yourself

Independent check

A miscalibrated sensor reads exactly 5 mm too high on every trial. Taking 100 readings and averaging mainly does what?
04

Move to the bench

Measure repeatability and expose bias in a simple camera-based or ruler-based distance estimate.

Gather
  • ruler with millimetre marks
  • fixed small object
  • masking tape
  • phone camera
  • spreadsheet or calculator

Experiment

  1. Tape the object at a ruler reference and take ten independent readings, repositioning your viewpoint each time.
  2. Calculate mean, minimum, maximum, and range; keep the raw actual readings.
  3. Compare the mean with the taped reference and discuss spread separately from offset.
  4. Deliberately start the ruler at a worn or offset edge instead of the zero mark; diagnose the common shift that averaging fails to remove.
  5. Choose a clearance margin for an imaginary moving camera carriage and justify it from observed spread plus a stated extra allowance.

Observe

  • Expected: viewpoint changes create some random spread; actual spread and any mean offset must be reported, even if zero to the ruler's resolution.
  • Expected fault clue: the offset-edge readings may remain tightly grouped while being systematically wrong.
Transfer it

Design a short repeatability test for the printed width of five nominally identical parts and state how the result would affect a fit clearance.

Limits and cautions
  • Keep the phone supported away from table edges.
  • This exercise characterizes a setup; it does not certify a safety-critical stopping system.
05

Keep evidence

Bench note

Record what you expected, what you actually measured or observed, and one difference worth investigating. This is self-reported evidence, not a certification.

0 / 5,000A bench demonstration needs a concrete note of at least 20 characters.
Terms in this lessonBrowse the advanced glossary

Sources and further reading

  1. MIT OpenCourseWare: Design and Manufacturing I