Skip to content
Tactiverge

School/✦ Research Engineer/Week 15

Aerospace sensing: IMUs, star trackers, sun sensors and radio

A spacecraft coasting between planets has no road, no GPS and no landmarks. How does it know which way it is pointing and where it is?

About 40 min · 3 goals · Checked by automated tests

1.Why should I care?

Every navigation system pairs fast, drifting sensors with slow, absolute ones. On spacecraft the cast changes (stars instead of landmarks, radio instead of GPS) but the logic of fusion is exactly what you have been building.

  • ◇ Describe what gyroscopes, accelerometers, star trackers, sun sensors and radio tracking each measure.
  • ◇ Classify each as relative (drifts) or absolute (bounded error), with its typical failure.
  • ◇ Compute a range from two-way light time and its sensitivity to timing error.

2.Watch

→ List each navigation method mentioned and decide whether it is relative or absolute.

Surveys how spacecraft know where they are and which way they point with no GPS: radio tracking, star trackers and onboard inertial sensors.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

3.Predict

What does an accelerometer on a spacecraft coasting in orbit read (engines off)?

Guess first. Being wrong here is how the surprise works.

4.Discover

In the fusion lab, treat odometry as a gyro-integrated attitude (relative, biased) and the camera as a star tracker (absolute, but blinded at times). Set a bias and a high dropout rate: watch the estimate drift during blackouts and snap back on each fix. Record how the error depends on blackout length.

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.

POSITION (cm)NO VIEWNO VIEWNO VIEW-40-200204002468101214161820TIME (s)
  • True position
  • Camera reading
  • Odometry dead-reckoning
  • Fused (Kalman)
  • ±2σ uncertainty
  • Camera dropout

Camera · absolute, drops out

3.0 cm
25 %

Long-run share of time with no view, in bursts of about 1.2 s (occlusions).

Odometry · relative, drifts

4.0 cm/s
1.5 cm/s

A constant error in measured speed: its position estimate drifts by bias × time.

Fusion method

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 plays the role of a gyro (relative, biased) and a star tracker (absolute, sometimes blinded). The key observation, error growing during blackouts and dropping at each fix, is stated in the instruction and readable from the lab's error readout.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

Which pair is (relative sensor, absolute sensor)?

6.Understand

Inertial sensors (relative)

A gyroscope measures angular rate; integrating gives attitude change, with errors from bias (drift in °/h) and angle random walk. An accelerometer measures specific force (non-gravitational acceleration); integrating twice gives position change, so a tiny bias grows like t². Together they form an IMU: fast (hundreds of Hz) and always on, but drifting.

Attitude references (absolute)

A star tracker photographs the sky and matches star patterns to a catalogue, giving full attitude to a few arcseconds; it is slower and is blinded by the Sun, Moon or a bright planet near its view. A sun sensor gives the Sun's direction, coarse to fine, cheaply and robustly, but only two axes and only in sunlight.

Radio tracking (absolute range)

Ground stations send a signal that the spacecraft returns. Range = c·Δt/2 from the two-way light time Δt; a 10 ns timing error is 1.5 m. Doppler shift gives velocity along the line of sight. Range and Doppler fix only the line-of-sight direction well, so orbit determination combines passes over time, sometimes from two stations.

Explain it another way

The IMU is your sense of balance: instant but easily fooled. Star trackers and sun sensors are looking at the horizon: slower but honest. Radio is someone far away shouting how far you are.

Worked example 1

A ranging signal returns 1,200 s after it was sent. How far is the spacecraft? (c = 3 × 10⁸ m/s)

d = c·Δt/2 = 3 × 10⁸ × 600 = 1.8 × 10¹¹ m (about 1.2 AU).

Worked example 2

A gyro has bias 0.01 °/h. With no star fix for 10 hours, how large is the attitude error?

0.01 × 10 = 0.1°, plus random walk. At 1 AU, 0.1° of pointing error is about 260,000 km sideways for an antenna beam's aim.

Common mix-ups

  • Accelerometers measure gravity in orbit.
    ✓ In free fall they read (almost) zero. Gravity's effect on the trajectory comes from a model, not the sensor.
  • A star tracker makes gyros unnecessary.
    ✓ Star trackers are slow and can be blinded. Gyros carry attitude between fixes and through fast manoeuvres.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

A timing error of 4 ns in two-way radio ranging gives what range error, in metres? (c = 3 × 10⁸ m/s)

m

Practice 3

Why can't a spacecraft's IMU alone track its position over a months-long cruise?

Practice 4

An accelerometer has an uncorrected bias of 10⁻⁴ m/s². After 1,000 s, how large is the resulting position error, in metres?

m

Practice 5 · a fresh version every time

Radio ranging gives a spacecraft's distance with σ₁ = 4 km and an optical navigation fix gives it with σ₂ = 2 km (independent). What is the σ of the optimally fused distance, in km?

km

8.Apply it

Design a sensor suite for a small Mars orbiter: for attitude and for position, pick one relative and one absolute source, state an update rate and one failure mode for each, and say what the filter should do when the absolute source is unavailable.

9.Reflect

Concepts: Spacecraft and rover navigation · Sensing position and motion · Sensor fusion