Research Careers Contact

GlossaryHall effect sensor

Hall effect sensor

A Hall effect sensor is a sensor that outputs a voltage proportional to the magnetic field passing through it. It detects magnet position for motor commutation, measures current without contact and senses position in switches and encoders.

How it works

When current flows through a thin conductor or semiconductor in a magnetic field, the field pushes the moving charges toward one side, creating a small voltage across the material at right angles to the current. This is the Hall effect, which NIST also describes as a standard way to measure semiconductor properties. Sensor chips integrate the Hall element with amplification, offset correction and temperature compensation.

Outputs come in several forms. Linear sensors give an analog voltage proportional to field strength. Switches and latches give a digital output that changes when the field crosses a threshold, with hysteresis to prevent chatter. Angle sensors combine several elements to read the direction of a magnet spinning above them, giving absolute rotor angle. Current sensors route the measured current through a conductor beside the element, so the field is measured without an electrical connection to the circuit.

Hall effect sensor vs optical encoder

An optical encoder reads a patterned disk with light and gives very high resolution, but needs a clean environment and more space. A Hall sensor reads a magnet, tolerates dust, oil and vibration, and costs less. Three digital Hall sensors give a BLDC motor six positions per electrical cycle, enough for commutation, while magnetic angle sensors offer finer, absolute angle for joint control.

Why it matters

Hall sensors let a motor make full torque from standstill, because the controller knows rotor position before the rotor moves. They also allow isolated current measurement and compact, sealed position sensing. Their weak points are sensitivity to stray fields, drift with temperature and mechanical alignment with the magnet.

How to get it right

  • Set magnet size and air gap from the sensor's field range, with mechanical tolerances included.
  • Keep high-current traces and other magnets away from Hall elements, or account for their fields.
  • Calibrate offsets for linear and angle sensors, and check them across temperature.
  • Align Hall sensor timing with the motor's back EMF for clean commutation.
  • Filter digital outputs in firmware to reject noise spikes.

Hall effect sensors in robotics and drone hardware

Robot joint motors often use Hall sensors for commutation and startup, with a magnetic angle sensor or encoder for fine position. Wheels and actuators use Hall switches for limits and homing. Current sensing on battery and motor lines often uses Hall-based parts where isolation matters. The assembly tolerance between magnet and sensor sets accuracy, so it belongs in both the mechanical design and the test plan.

Learn more