Marine NavigationAustralia · 2026
Foundations

Marine Heading Sensors and Satellite Compasses

Heading is infrastructure. A single bad sensor location degrades the autopilot, radar overlay, MARPA, true wind and laylines at once — here is how to get it right.

An attitude and heading reference sensor at the centre of a diagram, with magnetic interference reaching it from a speaker, an alternator, a battery and high-current cabling. AHRS speakeralternator batterycabling true
A heading sensor is only as good as its location. Automatic calibration models deviation; it cannot model a speaker.

Heading is the least glamorous number on a marine network and the one whose errors do the most damage, because it is an input to almost everything else.

A six-degree heading error is invisible on the display. It is not invisible in its consequences: it rotates the radar overlay, biases every MARPA solution, corrupts true wind and therefore every layline, and gives the autopilot a false reference to steer against. One badly sited sensor degrades four systems at once, and each of them looks broken in its own way.

That is why this guide treats heading as infrastructure rather than as an accessory.

An attitude and heading reference sensor at the centre of a diagram, with magnetic interference reaching it from a speaker, an alternator, a battery and high-current cabling. AHRS speakeralternator batterycabling true
Fig. 1 — A heading sensor surrounded by the magnetic fields that corrupt it

#Heading is not course over ground

These get conflated constantly, and the difference is physical.

Heading is the direction the bow points. It is an orientation, and it exists whether or not the boat is moving.

Course over ground is the direction the vessel actually travels across the earth. It is derived from successive GNSS positions, so it requires movement to exist at all.

They differ whenever something pushes the boat sideways:

  • current, which can be substantial on the New South Wales coast where the Chart Datum in Australia 2026">East Australian Current runs
  • leeway, the sideways slip a sailing yacht makes under wind pressure
  • drift while manoeuvring or holding station
text
Heading:             040°
Course over ground:  057°

Seventeen degrees of difference is a lot of water going past sideways, and the boat is not misbehaving — it is being set. As the GNSS guide explains, a single-antenna receiver can derive course over ground while moving but cannot tell you where the bow points, and at anchor or near zero speed its derived direction becomes unstable because tiny position changes produce wildly varying directions.

#What a modern sensor actually is

Current heading sensors are not magnetic compasses with a wire attached. They combine three sensor types and fuse the outputs:

  • magnetometers, which sense the earth's magnetic field and provide the absolute reference
  • gyroscopes, which sense rate of rotation and provide short-term stability through motion
  • accelerometers, which sense the gravity vector and provide attitude

Fusing them produces an AHRS — an Attitude and Heading Reference System. The gyroscopes carry heading through the moments when the magnetometers are being thrown around by pitch and roll, and the magnetometers stop the gyroscopes drifting over time. Each covers the other's weakness, which is the same design principle that runs through the whole of marine navigation.

Depending on the model, an AHRS may output heading, rate of turn, pitch and roll. Rate of turn in particular is what lets an autopilot anticipate rather than merely react, and what lets radar processing stabilise a picture during a turn.

#Magnetic interference is the main enemy

A magnetometer measures the magnetic field it sits in. It cannot distinguish the earth's field from the field produced by a loudspeaker magnet forty centimetres away.

Common offenders, roughly in order of how often they cause problems:

  • loudspeakers — a large magnet, frequently mounted in exactly the dry accessible locations that look ideal for a sensor
  • high-current DC cables, especially windlass and thruster feeds, which produce a field only when energised
  • alternators and electric motors
  • batteries
  • steel tools, spare anchors and chain, which may be stowed somewhere different on every passage
  • iron ballast and engine blocks
  • anything with a magnet in it — headphones, phone mounts, magnetic catches

The intermittent sources are the worst. A constant field can be modelled out by calibration; a field that appears only when the windlass runs cannot be, because the calibration was performed when it was absent.

#Siting, and testing before you drill

Aim for low, near the centreline, near the vessel's centre of pitch and roll, on a rigid mounting surface, in a dry location, with a known orientation.

Then test the location before committing to it. Walk a handheld compass slowly around the candidate site and watch the card for deflection. Repeat the test with the engine running, the windlass operating, the thruster energised and heavy DC loads switched on. Ten minutes of this will save a great deal of subsequent confusion, and it is the core of the sensor siting guide.

A convenient installation location is very often a poor magnetic location. That sentence is the whole chapter.

#What calibration does and does not do

Automated compass calibration — usually a slow circle or two at low speed — builds a model of the vessel's local deviation, the error the boat's own magnetism induces at that sensor position. It is genuinely effective and should always be performed.

It models deviation. It does not rescue a sensor mounted beside a major magnetic field, and it cannot model a field that comes and goes. If calibration will not converge, or the result varies between attempts, the answer is almost never to try again — it is to move the sensor.

Recalibrate after moving the sensor, after significant steel work, after adding equipment near it, and if the radar overlay starts drifting.

#Satellite compasses

A GNSS compass sidesteps magnetism entirely. It uses two or more antennas separated by a known baseline and derives orientation from the difference in satellite carrier phase between them.

Advantages:

  • stable at zero speed, so heading is trustworthy at anchor and while manoeuvring
  • immune to local magnetic deviation, so a steel hull is no longer a problem
  • fast, high-rate heading, which benefits radar and autopilot
  • pitch and roll output on advanced models, which allows radar and sonar stabilisation

The cost: price, two antenna positions with a clear sky view, and a baseline that must be aligned to the vessel's centreline within the manufacturer's tolerance. Get that alignment wrong and you have introduced a constant heading bias — the exact fault you bought the unit to avoid.

#Who genuinely benefits

  • steel and aluminium vessels, where magnetic siting may have no good answer
  • large catamarans, where the sensor is far from the centre of motion and the motion is quick — see catamaran navigation
  • premium radar installations, where overlay and target tracking quality is the point
  • vessels needing reliable heading at zero speed, including anything using dynamic positioning or working an anchor in tight quarters
  • boats with difficult magnetic environments that testing has already proven

For a conventional fibreglass coastal cruiser, a well-sited solid-state magnetic sensor is enough, and the money is better spent on autopilot drive margin or a transmitting AIS.

#Source selection: the fault nobody looks for

A modern NMEA 2000 boat can contain several devices capable of supplying heading — a dedicated AHRS, a GNSS compass, an autopilot computer with its own sensor, sometimes a legacy instrument.

The network does not necessarily use the best one. Verify which source is selected after:

  • a refit or any sensor replacement
  • any firmware update, which has been known to reset source selection
  • adding a device that also publishes heading

The best sensor aboard is useless if the network quietly prefers a weaker one. This is a standing item in commissioning and sea trials for exactly that reason.

#Radar as a diagnostic instrument

The fastest way to find a heading problem costs nothing.

In clear daylight, near a well-charted coastline, overlay radar on the chart and compare the two coastlines.

  • Consistent rotational offset → heading misalignment, calibration error, or the wrong network source
  • Offset that grows during a turn and settles afterwards → sensor lag or a rate-of-turn problem
  • Radial mismatch, bearings correct → a radar range or timing adjustment, not a heading fault

Correct the heading first. Applying a radar bearing offset to compensate for a heading error hides a fault that is still corrupting MARPA, true wind and the autopilot — and it will reappear the next time the compass is recalibrated. The radar tuning guide puts this check before any radar control.

#Bottom line

Treat heading as infrastructure, not as an instrument. Site the sensor for physics and test the site before drilling, calibrate it and believe the result, verify which source the network actually selected, and use radar overlay as a routine health check. A better heading source improves several systems at once, which makes it one of the highest-leverage upgrades on the boat.

Common questions

Short answers to the questions this guide raises most often.

Can GPS replace a heading sensor?

No. A single-antenna GNSS receiver derives course over ground while moving, but it cannot tell you where the bow points, and at anchor or near zero speed its derived direction becomes unstable. Radar overlay, MARPA, true wind and autopilot steering all need a real heading source.

Where should a magnetic heading sensor be mounted?

Away from speakers, motors, alternators, high-current cables, steel tools, batteries and magnets, and ideally near the vessel's centre of motion. A convenient location is very often a poor magnetic location — test the site before permanently installing.

How do I know my heading is wrong?

Overlay radar on the chart in clear weather near a well-charted coastline. If the radar coastline is rotated relative to the charted coastline, suspect heading misalignment, calibration error, sensor lag or the wrong network source before blaming the radar.

These guides pick up where this one stops.

Three navigation satellites transmitting to a vessel on a curved horizon, with the heading arrow pointing 040 degrees and the course over ground arrow pointing 057 degrees, showing the effect of current. HDG 040° COG 057° GPS · GALILEO · BEIDOU

Foundations

Marine GPS and GNSS explained

What a GNSS receiver actually knows, why display precision is not accuracy, how course over ground differs from heading, and how to build position redundancy that survives a network failure.

Foundations8 min read

Read the guide
A radar display showing range rings, a rotating sweep, a coastline return, an approaching vessel with a velocity vector, a receding vessel and a rain cell. 6 NM · DOPPLER

Equipment & Sensors

Marine radar: Doppler, solid-state and open array

Radar is the one recreational technology that independently observes the physical world. What it detects, what it misses, why maximum range is overrated, and how to install and learn it.

Equipment & Sensors9 min read

Read the guide
A plan view of a hull with the autopilot computer displaying a target heading, the rudder deflected, and a feedback path returning rudder angle to the computer. PILOT 040° FEEDBACK DRIVE · RUDDER REF

Equipment & Sensors

Marine autopilot guide

On a shorthanded offshore yacht the autopilot is often the hardest-working system aboard. The control head matters least; the drive, the heading source and the sizing matter most.

Equipment & Sensors7 min read

Read the guide
A sailing yacht profile with labelled positions for the masthead wind, VHF and radar, the GNSS antenna, the heading sensor near the centre of motion, and the hull transducer. wind · VHF · radarGNSS antenna heading sensortransducer SENSOR SITING

Projects & Installation

Sensor siting and installation

Sensor position directly determines sensor performance. A convenient location is very often a poor location, and no display can fix it afterwards.

Projects & Installation7 min read

Read the guide
A network diagram showing a trunk cable with a terminator at each end, four device drops for display, AIS, wind and autopilot, and a power injection point. TERM TERM MFDAISWINDPILOT 12 V IN NMEA 2000 BACKBONE

Equipment & Sensors

NMEA 2000, NMEA 0183 and marine Ethernet

A single bad connector can make a premium display, autopilot or sensor look defective. Treat the network with the same seriousness as the vessel's DC electrical system.

Equipment & Sensors7 min read

Read the guide
A glass helm showing a chart on the main multifunction display with soundings and a vessel symbol, a wind instrument dial, and an autopilot head holding 040 degrees. 1219824 SOG 6.4DPT 12.4 WIND 040° PILOT · AUTO MFD · INSTRUMENTS · PILOT

Projects & Installation

Commissioning and sea trials

A refit is not complete when the display turns on. Commissioning is where calibration, source selection and alarm configuration turn boxes into a system you can trust.

Projects & Installation6 min read

Read the guide

Other guides that depend on the ideas on this page.

This guide is independent editorial information, not a substitute for official regulation. Equipment requirements, licensing and chart currency differ by jurisdiction and change over time — confirm the current position with the AMSA, the Australian Hydrographic Office, ACMA and your state or territory maritime authority before relying on it.