Build Nights / Night 10
Night 10 of 18Week 20 · Term 3: Signals, sensors and controlProposed · no date yet
Understanding Sensor Noise
Your sensor says the robot is at 42 cm, then 39, then 45. Which number is true, and how could you ever know?
This night is part of a proposed programme. It has not been scheduled and has not taken place. When it is scheduled it will appear on /live/. You can do everything below on your own, today.
The big question
What is the difference between random noise and bias? Why does averaging n readings shrink random noise by √n but never remove a bias, and how can combining two imperfect sensors beat either one (σ = 1 / √(1/σ1² + 1/σ2²))?
In the real world
Phones combine an accelerometer, a gyroscope and a magnetometer to know which way up they are; drones blend a jittery accelerometer with a drifting gyro; cars combine wheel speed, motion sensors and satellite positioning. Every one of those sensors is noisy, and some are biased, so engineers design the combination, not just the sensor.
Try it: the guided experiment
Everything runs in your browser. No real hardware, ever.
- Set camera noise σ = 3 cm and dropout to 0%. Read the camera error over the frames it saw: it should be close to 3 cm, its σ.
- Set odometry noise to 0 and bias to 1.5 cm/s. Predict the drift after 20 s (bias × time), then check the dashed line.
- Restore the defaults and run the guided experiment “Two imperfect sensors beat one”: record camera-alone, odometry-alone and fused error.
- Run the guided experiment “Combining two measurements by hand”.
The design challenge
Choose the complementary filter’s blend α to give the lowest fused error on seed 7, and record it. Then press Regenerate twice. Does your α still work on noise it has never seen? Each team reports its α, its error on seed 7 and its error on the new seeds, and explains the difference.
At your level
- Level 1 · ExplorerSpot the true line among the noisy crosses. Sort four examples (a shaky hand, a clock that runs slow, a crooked ruler, a crackly radio) into “random noise” or “bias”.
- Level 2 · BuilderFind the mean and range of ten given readings. Work out how much averaging 4 and 16 readings shrinks the noise.
- Level 3 · InnovatorTune α to beat both sensors, and explain the trade-off between a smooth estimate and one that reacts quickly.
- Level 4 · Systems EngineerCalculate the inverse-variance combination and the Kalman gain K = P/(P + R) for given values. Explain why K approaches 1 when the camera is very precise.
- Level 5 · Research EngineerInvestigate how dropout probability changes the fused error during dropouts, for at least four values on the same seed, then repeat on a second seed.
What the model leaves out
The fusion lab is one-dimensional, its noise is white Gaussian with the σ you set, and its Kalman filter is told the true σ values. Real filters are tuned against noise they can only estimate, and real drift also comes from slip and temperature.
Where you’ll work
Watch first (optional)
- Why Use Kalman Filters? | Understanding Kalman Filters, Part 1 (opens YouTube in a new tab)MATLAB · 6 min 47 s · Level 3Builds intuition for estimating what you can't measure directly when your sensors are noisy.
- Drone Control and the Complementary Filter (opens YouTube in a new tab)Brian Douglas · 11 min 12 s · Level 3Shows how blending a jittery accelerometer with a drifting gyro gives a drone a steady sense of its tilt.
Afterwards
Watch “Drone Control and the Complementary Filter”, then try BUILD 003 Level 3, where a faster belt means noisier sensors.
Everyone can take part
- Slides use large, high-contrast text and never rely on colour alone. The host describes every chart and animation aloud.
- Live captions switched on and tested before the session; the host reads each on-screen instruction aloud.
- Every lab and Build works by keyboard, gives text readouts of its results and respects reduced-motion settings.
- Worksheet available to print, in large print and as plain text; answers can be typed, drawn, or spoken to a helper.
- The fusion lab writes its errors as text; read the three errors aloud after each run. Hatched dropout columns are also listed in the readout.
How the live session is kept safe
- A host and a separate adult supervisor are there for the whole hour.
- Your camera, microphone and chat stay off. Ask questions in the moderated box; they are read out without your name.
- Nobody will ask for your personal details, photos, school or location.
- Everything happens in a simulation or on paper. Never open or change a real device.
Running this with a group? Open the printable facilitator kit.