Skip to content
Tactiverge

School/✦ Research Engineer/Week 15

Dead reckoning and why it drifts

Count every wheel turn perfectly and you still end up metres from where you think you are. Where does the error come from, and how fast does it grow?

About 40 min · 3 goals · Checked by automated tests

1.Why should I care?

Dead reckoning is always available: no landmark, no radio, no sky needed. It is also always wrong, in a predictable way. Knowing how fast it drifts tells a planner how often the rover must stop for an absolute fix.

  • ◇ Explain dead reckoning as integration of relative motion.
  • ◇ Show that a scale bias gives error proportional to distance and a heading bias gives cross-track error growing faster.
  • ◇ Contrast bias-driven drift with random-walk error that grows like √n.

2.Discover

Start with only 3% slip bias and no heading drift: double the steps and check the error doubles. Now set slip to 0 and heading drift to 0.1° per step: double the steps and watch the error roughly quadruple. Finally use noise only, and compare how slowly random error grows.

Loading the interactive…

Can't use the interactive? Read a description instead

The drift rover draws the straight true track and the dead-reckoned track; the readout states the final error and the bias-only predictions for along-track and cross-track error.

3.Checkpoint: guided practice

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

Practice 1

Odometry over-reads distance by 4% because of slip. After 250 m, what is the along-track error, in metres?

m

4.Predict

A rover's heading is off by a constant 1°. After driving 500 m, roughly how far sideways is it from its intended track?

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

5.Understand

Integration accumulates

Dead reckoning adds up measured steps: x[k] = x[k−1] + d[k]·cos θ[k], y[k] = y[k−1] + d[k]·sin θ[k]. Any error in d or θ is added in and never removed. The estimate's uncertainty can only grow until an absolute measurement arrives.

Three growth laws

A scale bias (wheels over-reading by fraction s) gives along-track error s·d: linear in distance. A constant heading error θ₀ gives cross-track error d·sin θ₀: also linear. A heading drift rate b (gyro bias) makes the heading error grow with time, so cross-track error grows like ½·v·b·t². Independent random step errors grow only like √n.

Living with drift

The cure is not a perfect wheel but an occasional absolute fix: a landmark, a sun sensor, an orbital image. A drift model tells you the spacing: if heading drift adds 1 m of error every 100 m and the corridor allows 2 m, fix at least every 200 m, with margin.

Explain it another way

Walk across a field with your eyes closed, counting steps. You will be roughly the right distance away but drift off to one side, and the further you go, the faster you drift.

Worked example 1

Wheels over-read by 3%. Distance 100 m. Along-track error?

0.03 × 100 = 3 m. The rover thinks it is 3 m further along than it is.

Common mix-ups

  • Better wheel encoders fix dead reckoning.
    ✓ Encoders count turns; slip and heading drift are errors in what the turns mean. Only absolute references remove accumulated error.
  • All odometry error grows like √n.
    ✓ Random error does. Biases grow linearly or faster, and they dominate long drives.

6.Watch

→ Notice why the rover needs an independent position fix from images: wheel-based estimates alone build up error.

A quick official look at how a rover works out where it is with no GPS, using its own images.

1 min 35 s · 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.

7.Practice on your own

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

Practice 2 · a fresh version every time

Wheel odometry over-reads distance by 8% because of slip. The rover drives 100 m. What is the along-track position error, in metres?

m

Practice 3

With a constant gyro DRIFT RATE (heading error growing steadily), doubling the drive time at constant speed makes the cross-track error…

Practice 4

Each of 100 steps has an independent random length error with σ = 2 cm and no bias. What is the σ of the total along-track error, in cm?

cm

8.Apply it

Using the drift rover, find the largest step count for which the final error stays under 2 m with 3% slip and 0.05° per step heading drift. That is your fix spacing. Then halve the gyro drift: how much further can the rover go between fixes?

9.Reflect

Concepts: Sensing position and motion · Measurement error and uncertainty · Coordinate frames and transforms