Hall sensor | Magnetic Sensor
Application Case

Gas & Water Meter Anti-Tamper Magnetic Detection

Published 2026-11-23

End product

Smart gas meters and water meters need anti-tamper detection against strong magnetic attacks.

How it works

Omnipolar Hall sensors are mounted around the inside of the housing. When an abnormal external magnetic field is detected, the MCU is woken, the event is recorded and an alarm is reported.

Selection considerations

Power consumption must be extremely low for 24/7 monitoring, and a strong magnet approaching from any direction must be recognised.

Ouzhuo solution

Micropower omnipolar Hall ICs with standby current below 2.5 µA and high sensitivity, suited to meters that must stay online for years.

Typical structure and mounting notes

Anti-tamper detection typically places omnipolar switch Hall sensors inside the meter housing on the front, side and top. In normal operation the external field at these points is weak and the sensors stay released. When a strong external magnet approaches, the affected channel changes state, the MCU wakes from sleep, records the event time and reports it. Single-point detection can be bypassed by a magnet at a particular angle, so multiple points with combined judgement are more robust; some meters also record field duration to distinguish brief interference from a magnet left in place.

Mount the Hall sensors close to the inner housing surface and away from internal impeller magnets, transformers, relays and battery-compartment metal parts. The orientation of the detection points should cover different angles. The operating threshold should be above the normal ambient field and below the expected attack field, with margin between the two. No ferrous material should block the path between the Hall sensor and an external magnet, since diverted flux reduces sensitivity. Events should be latched so they are not lost during power-down or sleep transitions.

Meters operate for years in damp and thermally cycling environments, so housing sealing and potting must protect both the Hall sensor and its solder joints. Gas meters have additional electrical safety requirements; confirm protection and certification against the applicable meter standard and customer requirements. For more detail on cover-open and tamper detection, see Meter Cover-Open & Anti-Tamper Detection.

FAQ

  • False alarms in normal use: first check whether the threshold is too sensitive, then look for nearby speakers, transformers or magnets left by installation tools.
  • A magnet applied to the housing is not detected: check the orientation of each detection point for blind spots and whether a ferrous housing is shielding the field.
  • Some directions can bypass detection: add detection points or adjust their angles to cover the directions from which a magnet may approach.
  • Standby current is too high: check the polling duty cycle, wake-up method and pull-up resistor, and avoid continuous sampling.
  • Events are lost after battery replacement or power loss: check whether events are written to non-volatile memory and review the power-up initialization sequence.

Recommended Models