TactivergeLite

Lite / Engineering Complex Systems / Week 32

Light-time and the data budget: why rovers decide for themselves

A rover spots a rock in its path. A command from Earth takes up to 22 minutes to arrive. What should it do?

About 40 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

No engineer can joystick a rover on Mars. The speed of light and narrow data links force autonomy, compression and careful prioritisation: what to measure, what to send home, and what the machine must decide alone.

Predict

Mars is 225 million km away. Roughly how long until a command's reply arrives back on Earth?

  1. About 1 second
  2. About 12.5 minutes
  3. About 25 minutes
  4. About 2 hours
Guess first, then reveal

One way: 225 × 10⁶ km ÷ 299,792 km/s ≈ 750 s ≈ 12.5 min. A command and its reply take about 25 minutes, before anyone on Earth has even thought about the answer.

Discover

Do Level 2: calculate the delay at Mars's farthest (401 million km), the round trip at 225 million km, and the drive energy. Then open the mission planner's Light-time and Data tabs to see how distance and link choices change what's possible.

What the interactive shows (text version)

In the rover Build's Level 2 the learner computes the one-way delay at 401 million km (about 22.3 minutes), the round trip at 225 million km (about 25 minutes) and the energy for a two-hour drive with 100 W motors and a 20 W camera (240 Wh). The mission planner's Light-time tab converts any distance into one-way and round-trip minutes, and its Data tab compares data generated per sol with what the relay passes can send.

You can also open the interactive on the full site when you have a faster connection.

Watch (optional)

Watch for: Notice how rover drivers plan a whole day of driving at once because they can't react in real time.

In one minute, NASA engineers explain why rovers can't be joysticked from Earth and must plan drives carefully.

“Mars in a Minute: How Do Rovers Drive on Mars?” by NASA Jet Propulsion Laboratory (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

Understand

Distance over c

Delay = distance ÷ c, with c ≈ 299,792 km/s. Earth–Mars distance varies from about 55 million km to about 400 million km over the planets' cycle, so one-way delay ranges from about 3 to 22 minutes. Near solar conjunction the Sun sits between the planets and communication stops for days to weeks; missions plan for it in advance.

Consequences for control

Any feedback loop through Earth has a delay of at least the round trip plus human thinking time. That rules out steering, hazard avoidance or fault response from Earth. Those must be closed on board: sense, think, act within the rover. Earth sets goals (where to go, what to study) and approves plans for the next sol.

The data budget

Data per sol = link rate × pass time × passes. A direct-to-Earth link may be only kilobits per second; relaying through an orbiter is faster but limited to short passes. Generation can easily exceed downlink, so the rover must compress, prioritise and sometimes discard. Unsent data queue up in limited on-board storage: another budget with a margin.

Autonomy is a resource trade

On-board decisions cost computation and energy (and need software you can trust without supervision); Earth-in-the-loop decisions cost time and data. Engineers allocate decisions between rover and ground by asking: how fast must this be decided, how risky is a wrong answer, and how much data would Earth need to decide it?

Explain it another way

Intuitive

Texting a friend whose replies always take 25 minutes: you'd never ask them to help you cross a busy road. You'd agree a plan in advance and handle surprises yourself.

Technical

Light-time τ = d/c. Earth-in-the-loop decision latency ≥ 2τ + t_ops. Data volume per sol D = R·t_pass·N_pass − overhead. Storage margin = (capacity − peak queue)/peak queue.

Mathematical

At d = 401 × 10⁶ km: τ = 4.01 × 10⁸/2.998 × 10⁵ ≈ 1,338 s ≈ 22.3 min. At 128 kbit/s for 10 min, two passes: 128 × 600 × 2 = 153,600 kbit ≈ 154 Mbit per sol.

Applied

Mars rovers carry autonomous navigation software that builds 3D maps from stereo cameras and chooses safe paths, so they can drive farther per sol than if every metre were planned on Earth.

Worked example 1

A rover generates 300 Mbit per sol. Its link is 128 kbit/s for 10-minute passes, 2 passes per sol. Is there margin?

Downlink = 128 × 600 × 2 / 1000 = 153.6 Mbit. Deficit 146 Mbit per sol: the queue grows every day. Options: compress images (perhaps 4×), add a pass, or collect less.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

min

min

Practice 4. Which decision must a Mars rover make on board?

Apply it

For the rover Build's Level 4 plan, write a table of every decision in a sol (route choice, checkpoint, dust response, battery pause) and allocate each to rover or Earth, citing the delay and the data needed.

Reflect

What would change about rover design if Mars were as close as the Moon (about 1.3 light-seconds)?

Write your answer on paper or in your own notes. Lite never stores what you write.

← The rocket equation and the Δv budgetRegisters and bit masks: where software touches silicon →