How Magnetometers Work
The Core Principle
Every magnetometer, no matter how sophisticated, relies on one fundamental idea: a magnetic field causes a measurable physical change in some material or system. The trick is finding clever ways to detect and quantify that change.
Different magnetometer types exploit different physical effects — electrical voltages, nuclear spin, quantum interference, or changes in light absorption. Each approach offers different trade-offs between sensitivity, size, cost, and power consumption.
Hall Effect Sensors
The Sensor in Your Smartphone
The Hall effect, discovered by Edwin Hall in 1879, is the most widely used principle in modern magnetometers. It's the technology inside every smartphone compass and most consumer magnetometer apps.
How It Works, Step by Step
- An electrical current (I) flows through a thin semiconductor plate
- A magnetic field (B) passes through the plate perpendicular to the current
- The magnetic force pushes the moving charge carriers (electrons) sideways
- This creates a voltage difference (VH) across the plate perpendicular to both the current and the field
- The Hall voltage is directly proportional to the magnetic field strength
The Hall voltage is VH = (I × B) / (n × e × d), where I is the current, B is the magnetic field, n is the charge carrier density, e is the electron charge, and d is the plate thickness. Stronger field = higher voltage = bigger reading on your screen.
In a smartphone, three Hall effect sensors are arranged at right angles to each other, measuring the X, Y, and Z components of the magnetic field simultaneously. The phone's processor combines these into a total field magnitude and direction — that's what you see in a magnetometer app.
Pros and Cons
- Pros: Tiny, cheap, low power, solid-state (no moving parts), fast response, works in three axes
- Cons: Limited sensitivity (~1 µT resolution), affected by temperature, needs calibration
Magnetoresistive Sensors
Some smartphones and many industrial sensors use magnetoresistive technology instead of (or alongside) the Hall effect. These sensors exploit the fact that certain materials change their electrical resistance when exposed to a magnetic field.
There are several variants:
- AMR (Anisotropic Magnetoresistance) — Resistance changes depending on the angle between the current flow and the magnetic field. Used in automotive and compass applications.
- GMR (Giant Magnetoresistance) — Uses ultra-thin magnetic/non-magnetic layered films. A Nobel Prize-winning discovery (2007) that enabled modern hard drives.
- TMR (Tunnel Magnetoresistance) — Uses quantum mechanical tunneling through an insulating barrier. Highest sensitivity of the MR family.
Magnetoresistive sensors are typically 10-100 times more sensitive than basic Hall effect sensors, making them popular for precision compasses and navigation systems.
Fluxgate Magnetometers
The fluxgate magnetometer is the workhorse of geophysical surveying. Invented in the 1930s, it remains one of the most popular magnetometer types for mid-range precision measurements.
How It Works
- A ferromagnetic core (like a small iron rod or ring) is driven into magnetic saturation by an alternating current (AC) in a "drive" coil
- When the core is saturated, it can't absorb any more magnetic flux
- If an external magnetic field is present, it makes the core easier to saturate in one direction and harder in the other
- This asymmetry creates a signal in a "sense" coil wound around the core
- The signal's amplitude is proportional to the external field strength
Fluxgate magnetometers were developed during World War II primarily for detecting submarines from aircraft. The Magnetic Anomaly Detector (MAD) systems used in anti-submarine warfare are fluxgate-based and are still in use today.
Fluxgate sensors can measure fields as weak as 0.1 nanotesla (nT) with proper electronics, making them about 10,000 times more sensitive than a smartphone magnetometer.
Proton Precession Magnetometers
This type exploits a nuclear physics phenomenon: hydrogen protons act like tiny spinning magnets that naturally align with whatever magnetic field they're in.
How It Works
- A container of hydrogen-rich fluid (like kerosene or water) is surrounded by a coil
- A strong DC current through the coil temporarily polarizes the protons in a different direction
- When the current is turned off, the protons "precess" (wobble) back to align with the ambient magnetic field — like a spinning top wobbling around the direction of gravity
- The precession generates a tiny oscillating signal in the coil
- The frequency of this signal is precisely proportional to the magnetic field strength
The relationship is beautifully exact: the Larmor frequency equals 42.577 Hz per microtesla. In Earth's field (~50 µT), the protons precess at about 2,130 Hz. By measuring this frequency very precisely, you get an extremely accurate field measurement.
Proton precession magnetometers are inherently calibrated by fundamental physics constants. They don't drift over time and don't need external calibration, making them ideal for establishing absolute field measurements that other instruments are compared against.
SQUID Magnetometers
SQUID stands for Superconducting Quantum Interference Device. These are the most sensitive magnetometers ever created, capable of detecting fields as weak as a few femtotesla (10-15 T) — about a billion times weaker than Earth's field.
How It Works
SQUIDs exploit a quantum mechanical effect called the Josephson effect:
- A superconducting loop is interrupted by one or two thin insulating barriers (Josephson junctions)
- At superconducting temperatures (near absolute zero), electron pairs can quantum-tunnel through these barriers
- The tunneling current is exquisitely sensitive to the magnetic flux threading through the loop
- Even a tiny change in the external magnetic field creates a measurable change in the current
The downside: SQUIDs must be cooled to cryogenic temperatures (typically -269°C using liquid helium), making them expensive and impractical for portable use. They're used in specialized settings like medical brain imaging, fundamental physics research, and mineral exploration.
Optically Pumped Magnetometers
These sophisticated sensors use laser light and atomic vapor to achieve extraordinary sensitivity — approaching SQUID performance but without the need for cryogenics.
How It Works
- A glass cell contains an alkali metal vapor (usually cesium or rubidium)
- A laser beam "pumps" the atoms into a specific quantum energy state
- The atoms absorb and re-emit photons at rates that depend on the local magnetic field
- By monitoring the transmitted light intensity, the field can be measured with extraordinary precision
Optically pumped magnetometers are used on spacecraft (NASA uses them extensively), in military submarine detection, and increasingly in medical imaging as room-temperature alternatives to SQUIDs.
Sensitivity Comparison
How do all these sensors compare? The interactive chart below shows the typical sensitivity range of each magnetometer type on a logarithmic scale:
Longer bar = higher sensitivity (can detect weaker fields). Scale is logarithmic — each step represents roughly 10-100x improvement.