Writing Space & geospatial

The stars cannot tell you where you are

Navigating by the stars sounds like the stars are doing the work. From a spacecraft they do half of it. They tell you exactly which way you are facing, and they tell you nothing about where you are.

The reason is distance. Alpha Centauri, the nearest bright star, is 4.3 light years away. Move a spacecraft a thousand kilometres sideways and it shifts against the sky by five millionths of an arcsecond. Fly from Earth to the Moon and it shifts by two thousandths. The sextant on the Apollo command module read angles to 10 arcseconds. To any instrument a crew could carry, the sky from Earth orbit and the sky from lunar orbit are the same sky.

So a star fix in space is always a star measured against something close. The figure below puts you in a spacecraft between Earth and the Moon with a sextant and 1,637 real stars.

A star chart seen from a spacecraft, with Orion and Taurus, a small half-lit Earth, and four stars joined to Earth by blue arcs. A panel in the corner shows a long thin red ellipse.
The view toward Earth, with four stars sighted against it. Each blue arc is one measured angle. The red ellipse in the corner is where the craft could be after those four sightings: under 10 km wide in two directions and still 1,000 km long in the third, which points at Earth.

One star, then two

Start with what the stars do give you. Sight one star and you know where one direction on the sky sits in your instrument. The craft could still be spun by any amount about the line to that star and the sighting would read the same, so the readout says the spin is unknown. A second star in another part of the sky removes that freedom, and the orientation is fixed on all three axes.

How well it is fixed has a closed form. If every sighting places its star to within σ, and s is the direction to a star, the information about the craft’s orientation is

F = (1 / σ²) · Σ (I − s sᵀ)

and the uncertainty is its inverse. Each star says nothing about rotation around itself, which is the s sᵀ being subtracted. Two stars 90° apart at 10″ each give 10″ on the worst axis. Aldebaran and Alcyone, which are 14° apart, give 59″, because both say little about rotation around the direction they roughly share. Spreading the stars out does more than adding stars close together.

This is the whole job of a star tracker, and it is why every spacecraft that needs to point at something carries one. None of it involves knowing where the craft is.

Position needs something close

Earth is 273,500 km away in the figure. Move the craft sideways and Earth moves against the stars behind it, while the stars stay put. The angle between a star and Earth therefore carries position, and how much it carries is simple: one radian of angle per distance to the body. With u the direction to the body and ρ its distance, moving the craft by δr changes the measured angle by

δθ = h · δr      h = (s − (s·u) u) / |s − (s·u) u| / ρ

The vector h points from the body toward the star, across the line of sight. A sighting good to 10″ is good to 10″ × 273,500 km, which is 13.3 km, in that one direction. It says nothing about the two directions at right angles to it.

Try it. Sight Aldebaran against Earth and the readout goes from 1,000 × 1,000 × 1,000 km to 1,000 × 1,000 × 13 km: a slab. Now sight Alcyone, the brightest of the Pleiades, which sits above Earth where Aldebaran sits beside it, and the slab becomes a rod, 1,000 × 14 × 13 km. Add Menkar and Rigel and the rod thins to under 10 km. It does not get any shorter. Look straight at Earth and the panel shows a small circle, because you are looking down the rod. Turn 90° and you see its full length.

The rod points at Earth. Sliding the craft toward Earth or away from it changes none of those angles, so no number of stars sighted against Earth will fix the range. After four sightings the estimate is still 252 km from the truth, nearly all of it along that line.

One way out is to measure how big Earth looks. That works badly from here: Earth is 1.3° in radius, and reading that radius to 10″ gives the range to about 570 km. The better way out is a second body in a different part of the sky. Switch to the Moon, 162,000 km away and 133° round from Earth, and sight Spica against it. One sighting takes the rod from 1,000 km to 20 km and the actual error from 252 km to 12. The Moon is closer, so each of its sightings is worth 7.9 km where Earth’s are worth 13.3.

From there every extra sighting helps by about the square root of the count, and the only large gains left are in the instrument. Slide the sextant error down to 1″ and the whole ellipsoid shrinks tenfold. The figure is one frozen instant with angles taken to the centre of each disc. A real navigator sights the edge, takes the sightings over hours while the craft moves, and solves for velocity along with position.

What flew

Apollo did exactly this. The command module carried two instruments on one mount: a scanning telescope with no magnification and a 60° field for finding the star, and a sextant with 28× magnification and a 1.8° field for the measurement. The sextant had two lines of sight, one fixed and one that swung, so the astronaut could lay a star on top of a landmark on Earth or the Moon and let the computer read the angle between them to 10 arcseconds. That is the default in the figure.

Orion carries the modern version as a backup in case it loses contact with the ground. Its optical navigation camera photographs the lit edge of the Moon or Earth and works out the direction and the range to the body from the picture. On Artemis I the camera’s pixels were 28.2 arcseconds across, the fitted edge was good to a fraction of a pixel, and the pointing error during the certification pass at the Moon was 36.2 arcseconds. Stars were used to calibrate the camera.

The arithmetic is the one in the figure. An angle read to tens of arcseconds, across a few hundred thousand kilometres, is a position good to kilometres.

NORTHSTAR, my navigation research project, has one result on the same geometry. It uses the moment a star disappears behind the Moon’s edge, which is the star-to-limb angle reaching zero at a time a clock can record. Simulated along 52 held-out arcs of the Lunar Reconnaissance Orbiter’s orbit, that located the craft to 4.9 m.

Check it yourself

Stars
Every star of magnitude 5.0 or brighter in the HYG database v4.1, which merges Hipparcos, the Yale Bright Star Catalogue and Gliese: 1,637 stars at their J2000 positions. Constellation figures are from d3-celestial.
Scene
One instant, 1 January 2000 at 12:00 TT. The Moon and Sun are where astropy’s built-in ephemeris puts them. The craft is 65% of the way along the line to the Moon and 80,000 km to one side, which is 273,528 km from Earth and 161,978 km from the Moon.
Arithmetic
10″ is 4.848 × 10−5 radians. Times 273,528 km is 13.3 km; times 161,978 km is 7.9 km. Alpha Centauri is 1.3248 parsecs away in the catalogue, or 4.09 × 1013 km, so 1,000 km subtends 5 × 10−6 arcseconds.
Console
With the figure loaded, StarNav.solve([{star: StarNav.find('Aldebaran'), body: 'earth'}], 10 * StarNav.ARCSEC).axes returns standard deviations of 13.3, 1,000 and 1,000 km. StarNav.sightRow is the vector h.
Simulation
I checked the covariance against 40,000 simulated sets of eight noisy sightings. The spread of the estimates matched the formula to within 1% on every axis.

References

  1. NASA Apollo Lunar Surface Journal. Command and service module reference, Guidance and Navigation, pp. 205–222. The sextant and scanning telescope figures.
  2. R. Inman, G. Holt, J. Christian, K. Smith, C. D’Souza. Artemis I Optical Navigation System Performance. NASA Technical Reports Server, document 20230016854. The purpose of Orion’s camera and its Artemis I numbers.
  3. M. D. Shuster, S. D. Oh. “Three-Axis Attitude Determination from Vector Observations.” Journal of Guidance and Control, 4(1), 1981, pp. 70–77. The orientation covariance.
  4. R. H. Battin. An Introduction to the Mathematics and Methods of Astrodynamics, revised edition. AIAA, 1999. Star and planet sightings as navigation measurements.
  5. D. Nash. HYG Database, version 4.1. CC BY-SA 4.0.
  6. Astropy Collaboration. “The Astropy Project: Sustaining and Growing a Community-oriented Open-source Project and the Latest Major Release (v5.0) of the Core Package.” The Astrophysical Journal, 935(2), 2022, 167.
All writing Get in touch