Sensors

Hall Effect Sensors Explained

By SensorHall Editorial Team · · 4 min read

Hall effect sensors detect magnetic fields and turn them into electrical signals. Because they have no moving parts and need no physical contact, they are found almost everywhere: in wheel speed sensing, brushless motors, laptop lid detection, current measurement and the buttons of game controllers.

This article explains the physical effect behind them, the main types available, and the practical points that decide whether a design works well.

The Physical Effect

In 1879, Edwin Hall discovered that when current flows through a thin conductor in a magnetic field, a small voltage appears across the width of the conductor, at right angles to both the current and the field. This voltage is called the Hall voltage.

The reason is the Lorentz force. Moving charge carriers are pushed sideways by the magnetic field, so they pile up on one edge of the material. That uneven distribution creates an electric field across the width, which we measure as the Hall voltage.

The Hall voltage is proportional to the strength of the magnetic field component that passes through the plate, and its sign flips if the field direction reverses. Semiconductors such as silicon give a much larger effect than metals, which is why modern sensors use silicon plates.

From Plate to Useful Chip

The raw Hall voltage is very small, only microvolts to a few millivolts. A bare plate is hard to use directly, so commercial sensors integrate extra circuits on the same chip.

  • A bias source that drives a steady current through the plate.
  • A differential amplifier that boosts the tiny voltage.
  • Offset compensation, often using a technique called chopping, that cancels the plate's built-in error.
  • Output stage circuits, which may be analog, digital or both.

Because the plate responds only to the field component perpendicular to its surface, orientation matters. Turn the chip and the output changes.

Linear Versus Switch Types

Hall sensors come in two main families, depending on what the output stage does.

Linear sensors

A linear Hall sensor produces an analog output voltage that tracks the magnetic field. With no field, the output sits near the middle of the supply, often half the supply voltage. A field in one direction pushes it up, and the opposite direction pushes it down. These are used to measure position, distance to a magnet, joystick travel and current.

Switch and latch sensors

A digital Hall sensor compares the field to thresholds and outputs a logic high or low.

  • Unipolar switches turn on when a field of one polarity exceeds a threshold, and turn off when it falls below a slightly lower one.
  • Bipolar and latch types turn on with one polarity and stay on until the opposite polarity arrives, which suits rotating magnet arrangements.
  • Omnipolar switches respond to either polarity.

The gap between the on and off thresholds is hysteresis. It prevents the output from chattering when the field hovers near the threshold.

Common Applications

  • Speed sensing: A toothed wheel or ring magnet passes the sensor, producing pulses whose rate equals rotation speed.
  • Brushless motor commutation: Three sensors read rotor magnet position so the controller knows which coil to energize.
  • Position detection: Sensing a small magnet on a hinge, slider or piston.
  • Current sensing: A conductor's current produces a magnetic field, and a Hall sensor measures it without breaking the circuit, giving electrical isolation.
  • Proximity and lid switches: A magnet in a lid triggers a sensor in the body.

Advantages and Limits

The benefits are clear. There is no mechanical wear, no contact bounce, tolerance to dust and moisture when properly packaged, and a response down to zero frequency, so a still magnet is detected as well as a moving one.

The limits are just as real. Output depends on the air gap between magnet and sensor, and the field falls off quickly with distance. Temperature changes the sensitivity slightly. Strong stray fields from motors, magnets or current-carrying wires can interfere. Hall sensors also draw more power than a simple reed switch.

Design Tips

  1. Check the datasheet for the sensitive axis and mount the chip so the field passes through it correctly.
  2. Choose a magnet and gap that put the field well above the switching threshold but within the linear range.
  3. Add a bypass capacitor close to the supply pin to cut noise.
  4. For analog outputs, filter the signal and consider using the same reference voltage for the ADC as for the sensor so supply drift cancels out.
  5. Keep sensors away from large magnetic parts of the same system unless they are part of the design.
  6. Test across the expected temperature range, since both sensitivity and offset shift.

Frequently Asked Questions

What is the difference between a Hall sensor and a reed switch?

A reed switch is a pair of metal contacts sealed in glass that close in a magnetic field, so it has mechanical parts that can wear. A Hall sensor is a solid-state chip with no moving parts, which gives longer life and cleaner switching, but it needs power to operate.

Can a Hall sensor measure current?

Yes. Current through a wire produces a magnetic field, and a Hall sensor placed near it or in a magnetic core gap measures that field. The reading is proportional to current and is electrically isolated from the circuit being measured.

Does a Hall sensor work with any magnet?

It works with any magnet whose field is strong enough at the sensor position and has the correct polarity for that sensor type. Very weak magnets or large air gaps can leave the field below the threshold, so the magnet strength and spacing should be matched to the part.

Related reading