School/✦ Research Engineer/Week 12
Error budgets: where does the uncertainty come from?
A landing has six independent sources of position error. Halving the smallest one saves almost nothing. Halving the biggest saves a lot. How do you know which is which?
About 35 min · 3 goals · Checked by automated tests
1.Why should I care?
Big engineering programmes manage uncertainty with budgets, just like mass and power. Each subsystem is given an allowance; the budget shows where effort pays. It is the bridge from statistics to design decisions.
- ◇ Build a root-sum-square error budget from independent contributions.
- ◇ Identify the dominant term and quantify the payoff of improving each.
- ◇ Allocate an error requirement across subsystems.
2.Predict
Three independent errors: 3 m, 4 m and 1 m (1σ). Roughly what is the total?
Guess first. Being wrong here is how the surprise works.
3.Understand
Root-sum-square
If contributions eᵢ are independent with standard deviations σᵢ, the total σ = √(Σσᵢ²). Squares make the big terms dominate: a term half the size of the largest contributes only a quarter as much variance.
Sensitivity and payoff
∂σ/∂σᵢ = σᵢ/σ. Improving the largest term pays most. A good budget lists each term, its source, how it was estimated (test, analysis, data sheet) and its share of total variance σᵢ²/σ².
Allocation and margin
Work backwards from a requirement: if the landing must be within 10 km (3σ), the total 1σ must be ≤ 3.3 km. Allocate that among subsystems so the RSS fits, keeping margin for errors not yet understood. Correlated terms must be combined with their covariance, or added linearly as a conservative bound.
Explain it another way
Errors are like noise from several loudspeakers at once. The loudest speaker sets how noisy the room is; turning down the quiet ones barely helps.
This is variance decomposition. For nonlinear systems the same idea is done with Monte Carlo and sensitivity indices (such as Sobol indices) instead of a simple sum.
Budget 2, 6, 5, 1.5 km: total = √(4 + 36 + 25 + 2.25) = √67.25 ≈ 8.20 km. Halving the 6 km term: √(4 + 9 + 25 + 2.25) ≈ 6.34 km. Halving the 1.5 km term: √(4 + 36 + 25 + 0.5625) ≈ 8.10 km.
Mars landing ellipses are built from such budgets: entry navigation, atmosphere density, aerodynamics and timing each contribute, and the dominant term has historically driven the next mission's technology choices.
Worked example 1
Contributions 2, 6, 5 and 1.5 km. Total, and the share of variance from the 6 km term?
Total = √67.25 ≈ 8.20 km. Share = 36/67.25 ≈ 54%.
Common mix-ups
- Every error source deserves equal attention.
✓ In an RSS budget the largest term dominates; effort should follow variance share. - RSS is always safe.
✓ It assumes independence. Correlated terms can add linearly, so a budget must say which terms are independent.
4.Discover
In the fusion lab, set the filter to Kalman and record the position RMSE with default settings. Then change one error source at a time (camera noise, odometry noise, odometry bias, dropout) by a factor of two and record the new RMSE. Rank the sources by how much they matter: that is an empirical error budget.
Explorer 03 — Sensor fusion
Two imperfect sensors, one better estimate
A camera gives absolute position but loses sight of the target; odometry never drops out but drifts. Combining them gives an estimate better than either alone.
- True position
- Camera reading
- Odometry dead-reckoning
- Fused (Kalman)
- ±2σ uncertainty
- Camera dropout
Camera · absolute, drops out
Long-run share of time with no view, in bursts of about 1.2 s (occlusions).
Odometry · relative, drifts
A constant error in measured speed: its position estimate drifts by bias × time.
The Kalman filter weights each sensor by its stated noise, tracks its own uncertainty, and estimates the odometry bias while the camera can see.
Show
Root-mean-square error vs truth · lower is better
- Camera aloneholds last reading in dropouts7.9 cm
- Odometry alonedead reckoning from start15.1 cm
- Kalman filterfused estimate0.9 cm
- Fused, in dropoutsonly samples with no camera1.1 cm
Camera coverage 60 %. Camera error only over frames it saw: 2.9 cm (≈ its σ).
State
Seed 7. The camera saw the target 60 % of the time in 4 dropouts. Error (RMSE): camera alone 7.9 cm holding its last reading, odometry alone 15.1 cm, kalman filter 0.9 cm (1.1 cm during dropouts). Fusion is 88 % better than the better single sensor. Estimated odometry bias 1.53 cm/s (true 1.50).
Seed 7. The camera saw the target 60 % of the time in 4 dropouts. Error (RMSE): camera alone 7.9 cm holding its last reading, odometry alone 15.1 cm, kalman filter 0.9 cm (1.1 cm during dropouts). Fusion is 88 % better than the better single sensor. Estimated odometry bias 1.53 cm/s (true 1.50).
How to read this
Time runs left to right over 20 seconds. The thin solid line is where the object really is. Crosses are camera readings; hatched columns are dropouts where the camera sees nothing. The dashed line is odometry integrated from the start: smooth, but it wanders away as its bias accumulates. The thick line is the fused estimate, with a shaded ±2σ band showing how uncertain the Kalman filter believes it is. The band widens during each dropout and snaps back when the camera returns.
This mirrors Tactiverge's research question: when vision drops out, can local sensing such as force and joint feedback carry the estimate until it returns?
Assumptions & limitations
- One dimension, a smooth known trajectory and a single object: real tracking is 3-D, with orientation, multiple objects and data association.
- Noise is white Gaussian with the σ you set, and the Kalman filter is told the true σ values. Real filters must be tuned against noise they can only estimate.
- Odometry error is a constant bias plus white noise; real drift also comes from slip, scale-factor error and temperature.
- Dropouts are random bursts, independent of where the object is. Real occlusions often happen exactly when the task gets hard, for example when a gripper covers the object.
- The camera has no latency and runs at the same 20 Hz as odometry; real cameras are slower and delayed, which the filter would have to compensate for.
- Figures are from one seeded run of 401 samples; change the seed to see how much the numbers vary by chance.
Can't use the interactive? Read a description instead
The fusion lab experiment can be recorded as a table: error source, its setting, and the resulting RMSE. The ranking comes from the numbers, not the plot.
5.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1 · a fresh version every time
A landing-position error budget has four independent 1σ contributions: entry navigation 2 km, atmosphere 2 km, aerodynamics 5 km and timing 2.5 km. What is the combined 1σ error (root-sum-square), in km?
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
Terms of 3, 4 and 12 m (1σ). What percentage of total variance comes from the 12 m term?
Practice 3
A requirement allows a total of 5 m (1σ). Two terms are already 3 m and 2 m. What is the largest allowed third term, in m?
Practice 4
A budget has terms 1, 2 and 8 m. You can halve any one term. Which gives the biggest improvement?
7.Apply it
Write a four-line error budget for the rover's position after a 40 m drive (odometry noise, slip bias, heading error, camera fix). Estimate each term from this term's lessons or the fusion lab, give the total, and say which one you would attack first.
8.Reflect
9.Go further
Research mode: limits and open questions
In your term project, an error budget is a strong way to explain WHY one estimator beats another: which error source it suppresses.
Concepts: Measurement error and uncertainty · Constraints, budgets and trade-offs