Lite / Building Machines That Respond / Week 21
Range, resolution, accuracy, precision
A thermometer shows 21.37 °C. Does all that detail mean it is right?
Why should I care?
Choosing a sensor means reading a datasheet full of these four words. Mix them up and you buy a sensor that shows lots of decimal places but is two degrees wrong, or one that is accurate on average but too jumpy to control a heater.
- Define a sensor's range, resolution, accuracy and precision with an example of each.
- Tell an accuracy problem (a consistent offset) from a precision problem (scatter).
- Calculate how many distinct values a sensor can report from its range and resolution.
Predict
Sensor A reads 20.0, 20.1, 19.9 °C when the true value is 22.0 °C. Sensor B reads 21.0, 23.1, 21.9 °C. Which is more precise?
- A
- B
- Neither
Guess first, then reveal
A's readings agree closely with each other (precise) but are all about 2 °C low (inaccurate). B scatters more (less precise) but averages 22.0 °C (accurate on average). Precision is about agreement; accuracy is about truth.
Discover
Make one sensor much noisier than the other and watch how widely its readings scatter around the true position. That scatter is a precision problem. Then ask: could a sensor with tiny scatter still be wrong every time?
What the interactive shows (text version)
In the fusion lab two simulated sensors measure the same position with different amounts of random noise. A noisier sensor's readings scatter more widely around the true value: lower precision. The lesson adds that a sensor can have very little scatter and still be wrong by the same amount every time: an accuracy problem.
Understand
Range and resolution
Range is the span a sensor can measure, such as −40 to 125 °C. Outside it, readings are wrong or clipped. Resolution is the smallest change it can report, such as 0.5 °C. A 0–100 °C sensor with 0.5 °C resolution can report 100 ÷ 0.5 + 1 = 201 different values.
Accuracy and precision
Accuracy is how close readings are to the true value. Precision is how close repeated readings are to each other. Picture darts: a tight cluster off-centre is precise but inaccurate; a loose spread around the bullseye is accurate on average but imprecise. Calibration fixes consistent offsets; averaging reduces scatter.
Decimal places are not truth
A display showing 21.37 °C has fine resolution, but if the datasheet says ±2 °C accuracy, the true value could be anywhere from about 19.4 to 23.4 °C. Always report a measurement with an honest uncertainty, and never trust digits beyond what the datasheet promises.
Explain it another way
Intuitive
Range: how big a ruler. Resolution: how fine the marks. Accuracy: whether the ruler starts at zero. Precision: whether your hand shakes.
Technical
Datasheets give range, resolution, accuracy (often ±x over a temperature range), repeatability and noise (often as a standard deviation). Systematic error (bias) shifts every reading; random error (noise) scatters them.
Mathematical
Distinct values = range ÷ resolution + 1. Averaging N independent noisy readings reduces random scatter by about √N; it does nothing to a fixed bias.
Applied
A greenhouse controller needs good precision (stable readings so the heater does not chatter) and adequate accuracy (±1 °C is fine for seedlings). A medical thermometer needs both much tighter.
Worked example 1
A distance sensor measures 2 cm to 400 cm with 1 cm resolution and ±3 cm accuracy. It reports 150 cm. What can you honestly say?
The object is between about 147 and 153 cm away. The sensor can report 399 different whole-centimetre values, but accuracy, not resolution, limits what you know.
Common mix-ups
More decimal places means a more accurate sensor.
✓ Decimal places show resolution. Accuracy is a separate figure on the datasheet.Accuracy and precision are the same thing.
✓ Precision is agreement between readings; accuracy is closeness to the truth.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Find (or imagine) three readings from a kitchen or bathroom thermometer and a phone weather app for the same room. Decide which is more precise and which you think is more accurate, and what experiment would tell you for sure.
Reflect
Which matters more for the greenhouse project at the end of term: precision or accuracy? Why?
Write your answer on paper or in your own notes. Lite never stores what you write.