Skip to content
Tactiverge

Instructor guide · Week 3 of 6

Sensors and Signal Processing

Week 3 changes the question from "what is the answer?" to "how sure can we be?". It is the week where many students first treat uncertainty as information rather than as a mistake.

Three ideas carry the week. First, accuracy and precision are different: averaging reduces random scatter but cannot remove a constant bias. Second, outliers need a rule decided in advance, not a judgement made after seeing the data. Third, fusion: two independent readings, each weighted by 1/σ², give an estimate more certain than either alone.

The mission, The Unreliable Sensor, is marked advanced. Give students the worked example on the worksheet first, and let them use the mission's Python function to check their arithmetic. Keep the mission's own answers for the students to find; the guided experiments' answers are checked on the server, so do not reveal them either.

Sampling and aliasing appear in the lessons and worksheet rather than the mission. A short demonstration with a described wheel-spoke example is usually enough.

The fusion lab is one-dimensional with Gaussian noise. Students reaching Advanced should be able to say which of the mission's assumptions (independent, random, unbiased errors) is most likely to fail on a real robot. The week's assessment id is week-3.

Learning objectives

  • Students can distinguish accuracy from precision and identify which one a given error affects.
  • Students can calculate the mean and median of a set of readings and explain why the median resists outliers.
  • Students can combine two independent readings by inverse-variance weighting and calculate the combined uncertainty.
  • Students can explain aliasing and state the minimum sampling rate needed for a signal of a given frequency.

Preparation

  • Complete the four preparatory lessons, both fusion experiments and The Unreliable Sensor.
  • Recompute the worksheet example: weights 1/2² = 0.25 and 1/4² = 0.0625, estimate (0.25 × 50.0 + 0.0625 × 53.0) / 0.3125 = 50.6 cm, σ = 1/√0.3125 ≈ 1.79 cm.
  • Reset the fusion lab to its defaults before the session so the shared screen matches the experiment setup.
  • Prepare a spoken description of the fusion lab's graph for students using screen readers.
  • Confirm the adult supervisor and the chat moderation settings.

Students prepare with: How sensors measure; Noise and filtering; Combining sensors; Sampling rate and aliasing. Mission: The Unreliable Sensor.

Run of show (60 minutes)

  1. 5 min

    Welcome and recap

    Ask: what did the kinematics lab assume that a real arm could not? Use the answers to introduce imperfect measurement.

  2. 10 min

    How sensors measure, and how they go wrong

    Separate accuracy (bias) from precision (scatter). Use a dartboard sketch described aloud: tight cluster off-centre versus wide cluster on-centre.

  3. 10 min

    Noise, averaging and outliers

    Work the five readings 10, 12, 11, 30 and 12: mean 15, median 12. Discuss what the 30 might be and why the median resists it.

  4. 15 min

    Fusion lab: combining two imperfect sensors

    Share the fusion lab at its defaults. Compare camera only, odometry only and fused. Ask students to explain why the fused error is smaller than either sensor alone.

  5. 15 min

    Mission launch: The Unreliable Sensor

    Walk through inverse-variance weighting with the worksheet example (50.0 cm at σ = 2 and 53.0 cm at σ = 4 gives 50.6 cm at σ ≈ 1.79 cm). Leave the mission's own numbers to the students.

  6. 5 min

    Reflection and exit question

    Ask: why does adding a worse sensor still make the estimate better?

Common misconceptions

“A precise sensor is an accurate sensor.”
Precision is how tightly readings cluster; accuracy is how close they are to the truth. A sensor with a constant offset can be very precise and always wrong. Calibration against a known reference addresses bias; averaging does not.
“Averaging enough readings removes all error.”
Averaging n independent readings shrinks random error by √n, so halving it needs four times as many readings. It does nothing to a constant bias, and it fails if the errors are correlated or the target moves.
“A worse sensor has nothing to add.”
Show the inverse-variance formula: every independent reading adds a positive weight, so the combined σ always falls. A worse sensor helps less, but it still helps, as long as its errors are independent and unbiased.
“Sampling at the same rate as the signal is enough to capture it.”
Sampling a signal at its own frequency catches it at the same point every cycle, so it looks constant. To represent a signal you must sample at more than twice its highest frequency.

Discussion questions

  1. Should a robot ever ignore a sensor that disagrees with all the others? What could go wrong either way?
  2. Why is a decision rule for outliers better written before you see the data?
  3. Where in everyday life do you combine two imperfect sources of information to decide something?
  4. Which assumption behind inverse-variance weighting would you test first on a real robot?

Support and stretch

  • No hardware: every task in the week can be completed on paper, with a calculator or in the browser lab, so no student needs equipment.
  • Low bandwidth: students can join by audio only or follow the moderated chat, and the printable worksheet covers the session's core tasks so the lab can be done later on a better connection.
  • Screen readers: describe every diagram, graph and lab state aloud and in the chat, and give tables as lists. If a lab's controls are hard to use with a screen reader, the worksheet's paper tasks cover the same objective and count equally.
  • Support: let students check inverse-variance arithmetic with the mission's Python function or a prepared calculator sequence, and focus their write-up on the outlier decision and its reasons.
  • Stretch: ask students to work out how many readings of the noisier sensor must be averaged to match the better one, and what that costs in time.

Supervision and online safety

Every live session runs with an adult supervisor present for the whole hour, and no student is ever alone in a session or breakout room with an adult. Students join with a first name or nickname only and never share personal information such as surnames, schools, addresses, phone numbers, social media handles or photos of themselves. Cameras and microphones are optional; typing in the moderated chat is always an equal way to take part. Sessions are not recorded unless every family has agreed in advance. No hardware is needed this week: every activity works on paper, with a calculator, in the browser lab or in free Python. Students who try real sensors outside the cohort should use only low-voltage boards with adult supervision.

Assessment

Students take the before check before the live session and the after check at the end of the week (signed-in, about 20–30 minutes each). Choice and number questions are scored automatically; one written explanation per form is scored 0–3 by a founder in Admin → Assessments. Missions are reviewed against the weekly rubric on the week page.

CC BY 4.0. Adapt freely; keep the supervision and privacy rules.