Lite / Intelligent Robotic Systems / Week 20
Random and systematic error
A wheel that measures 1% too big makes a robot think it has driven 101 m after 100 m. After a kilometre, where is it?
Why should I care?
Robots that dead-reckon (count wheel turns or integrate speed) carry tiny systematic errors that add up every step. Cameras carry random noise that does not accumulate. Fusion systems exist to let one sensor's strengths cover the other's weakness, and they only work if you know which error is which.
- Classify an error source as random or systematic and predict its effect over time.
- Explain why a small systematic error in a rate sensor grows without limit when integrated.
- Choose a strategy that suits each kind of error.
Predict
Odometry has a small constant speed bias; the camera has big random noise but no bias. After 20 seconds, which is likely further from the truth?
- The camera, because its noise is bigger
- The odometry, because its bias keeps adding up
- Both the same
Guess first, then reveal
Random noise does not grow: each camera reading is independently a bit off. A constant speed bias adds the same error every second, so odometry's position error grows in proportion to time.
Discover
Hide the fused estimate and compare camera readings with odometry. Set odometry bias to +2 cm/s and noise to 0: watch the drift. Then set bias to 0 and raise camera noise. Which error grows with time, and which just jitters?
What the interactive shows (text version)
The fusion lab plots true position, camera readings, odometry and a fused estimate over 20 seconds. With odometry bias +2 cm/s and no noise, the odometry line drifts steadily away from the truth, 40 cm after 20 s. With camera noise 8 cm and no bias, camera crosses scatter around the true line but do not drift.
Understand
Systematic error repeats
A systematic error is the same, or follows the same pattern, every time: a wheel diameter set 1% too large, a thermometer mounted next to a warm motor, a camera that is slightly tilted. Repeating the measurement repeats the error, so averaging cannot reveal or remove it.
Random error varies
A random error differs unpredictably each time, scattering readings around their average: electrical noise, vibration, the exact pixel where an edge falls. Independent random errors partly cancel when you average, which is why taking more readings helps.
Integration grows systematic error
Odometry adds up small steps. A constant speed bias b adds b × Δt of position error each step, so after time t the error is b × t: it grows forever. Random step errors also accumulate, but more slowly (like √t). That is why dead-reckoning robots drift and need an absolute reference such as a camera, GPS or a landmark.
Different errors, different cures
Fight systematic error with calibration against a reference and with good design (move the thermometer away from the motor). Fight random error with averaging, filtering and better sensors. Fusion combines a sensor that drifts with one that is noisy but unbiased.
Explain it another way
Intuitive
Walking with your eyes shut and one slightly shorter leg, you curve the same way every step: that's systematic. A gusty wind pushes you randomly left and right: that's random. After a long walk, the leg matters more.
Technical
Model a reading as x = μ + b + ε, with bias b and zero-mean noise ε of standard deviation σ. The mean of n readings has expected value μ + b and standard deviation σ/√n: noise shrinks, bias does not.
Mathematical
Integrated odometry with speed bias b and independent per-step noise of standard deviation σ per step of Δt: position error after N steps has mean b·N·Δt and standard deviation σ·Δt·√N. The bias term grows like N, the noise term like √N.
Applied
Rovers on Mars periodically re-localise against landmarks in camera images because wheel slip on sand adds systematic error to odometry that no amount of averaging can remove.
Worked example 1
A robot's odometry overestimates speed by 0.5 cm/s. How far off is its position estimate after 2 minutes?
0.5 cm/s × 120 s = 60 cm, all in one direction. A camera with ±5 cm random noise would be far better for position at that point, even though each of its readings looks jumpier.
Common mix-ups
If readings look steady, the measurement is good.
✓ Steady readings can share a large systematic error. Only a reference check reveals it.Random errors add up just like systematic ones when integrated.
✓ Independent random errors partly cancel, so they grow like √t; a constant bias grows like t.
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
In the fusion lab, find an odometry bias that makes dead-reckoning more than 20 cm wrong after 20 s. Then turn on the Kalman filter with camera dropouts at 30%. Describe, with numbers, how the fused estimate behaves during a dropout and after the camera returns.
Reflect
Name one systematic and one random error in a measurement you have made yourself, and how you could reduce each.
Write your answer on paper or in your own notes. Lite never stores what you write.