Hall effect sensor explained

A Hall effect sensor (also known as a Hall sensor or Hall probe) is any sensor incorporating one or more Hall elements, each of which produces a voltage proportional to one axial component of the magnetic field vector using the Hall effect (named for physicist Edwin Hall).

Hall sensors are used for proximity sensing, positioning, speed detection, and current sensing applications[1] and are common in industrial and consumer applications. Hundreds of millions of Hall sensor integrated circuits (ICs) are sold each year[2] by ~50 manufacturers, with the global market around a billion dollars.[3]

Principles

See main article: article. In a Hall sensor, a fixed DC bias current[4] is applied along one axis across a thin strip of metal called the Hall element transducer. Sensing electrodes on opposite sides of the Hall element along another axis measure the difference in electric potential (voltage) across the axis of the electrodes. The current's charge carriers are deflected by the Lorentz force in the presence of a magnetic field perpendicular to their flow. The sensing electrodes measure the potential difference (the Hall voltage) proportional to the axial component of the magnetic field that is perpendicular to both the current's axis and the sensing electrodes' axis.[5]

Hall effect sensors respond to static and changing magnetic fields. Inductive sensors instead only respond to changes in fields.

Amplification

Hall effect devices produce a very low signal level and thus require amplification. The vacuum tube amplifier technology available in the first half of the 20th century was too large, expensive, and power-consuming for everyday Hall effect sensor applications, which were limited to laboratory instruments. Even early generation transistor technology was unsuited; it was only with the development of the low-cost silicon chip-based integrated circuit (IC) micro-technology that the Hall effect sensor became suitable for mass application. Devices sold as Hall sensors nowadays contain both the sensor as described above and a high gain IC amplifier in a single package. These Hall sensor ICs may add a stable voltage regulator in addition to the amplifier to allow operation over a wide range of supply voltage and boost the Hall voltage for a convenient analog signal output proportional to the magnetic field component. In some cases, the linear circuit may cancel the offset voltage of Hall sensors. Moreover, AC modulation of the driving current may also reduce the influence of this offset voltage.

Hall sensors are called linear if their output is proportional to the incident magnetic field strength. This output signal can be an analog voltage, a pulse-width modulation (PWM) signal, or be communicated digitally over a modern bus protocol.[6] Hall sensors may also be ratiometric if their sensitivity is also proportional to their supply voltage. With no magnetic field applied, their quiescent output voltage is typically.[7] They may have rail-to-rail output (e.g., A1302).[8]

Hall switch

While the Hall element is an analog device, Hall switch ICs often additionally incorporate threshold detection circuitry to form an electronic switch which has two states (on and off) that output a binary digital signal.

Their outputs may be open collector NPN transistors (or open drain n-type MOSFETs) for compatibility with ICs that use different supply voltages. Rather than a voltage being produced at the Hall sensor signal output wire, an output transistor is turned on, providing a circuit to ground through the signal output wire.

Hysteresis

Schmitt trigger filtering may be applied (or integrated into the IC) to provide a clean digital output that is robust against sensor noise. The hysteresis thresholds for switching (specified as B and B) categorize digital Hall ICs as either unipolar switches,[9] omnipolar switches,[10] or bipolar switches,[11] which may sometimes be called latches.[12] Unipolar (e.g., A3144)[13] refers to having switching thresholds in only one polarity of the magnetic field. Omnipolar switches have two sets of switching thresholds, for both positive and negative polarities, and so operate alternatively with a strong positive or a strong negative magnetic field.

Bipolar switches have a positive B and a negative B (and thus require both positive and negative magnetic fields to operate). The difference between B and B tends to be greater for bipolar switches described as latches, which remain in one state much longer (i.e. they latch onto their last value) and require a greater field strength to change states than bipolar switches require. The naming distinction between "bipolar" and "latch" may be a little arbitrary, for instance, the datasheet for the Honeywell SS41F describes it as "bipolar", while another manufacturer describes their SS41F[14] with comparable specifications as a "latch".

Characteristics

Directionality

Hall elements measure only the sensing axis component of the magnetic field vector. Because that axial component may be positive or negative, some Hall sensors can sense the binary direction of the axial component in addition to its magnitude. An additional perpendicularly-oriented Hall element (e.g. in) must be incorporated to determine a 2-D direction, and another perpendicularly-oriented Hall element must be added to detect the full 3-D components of the magnetic field vector.

Solid state

Because Hall sensor ICs are solid-state devices, they are not prone to mechanical wear. Thus, they can operate at much higher speeds than mechanical sensors, and their lifespan is not limited by mechanical failure (unlike potentiometers, electromechanical reed switches,[15] relays, or other mechanical switches and sensors). However, Hall sensors can be prone to thermal drift due to changes in environmental conditions and to time drift over the lifetime of the sensor.[16]

Hall effect devices (when appropriately packaged) are immune to dust, dirt, mud, and water. These characteristics make Hall effect devices better for position sensing than alternative means such as optical and electromechanical sensing.

Bandwidth

The bandwidth of practical Hall sensors is limited to the hundreds of kilohertz, with commercial silicon ones commonly limited to 10–100 kHz., the fastest Hall sensor available in the market has a bandwidth of 1 MHz but uses non-standard semiconductors.[17]

Susceptibility to external fields

Magnetic flux from the surroundings (such as other wires) may diminish or enhance the field the Hall probe intends to detect, rendering the results inaccurate. Hall sensors can detect stray magnetic fields easily, including that of Earth, so they work well as electronic compasses: but this also means that such stray fields can hinder accurate measurements of small magnetic fields. To solve this problem, Hall sensors are often integrated with magnetic shielding of some kind.

Mechanical positions within an electromagnetic system can instead be measured without the Hall effect using optical position encoders (e.g., absolute and incremental encoders) and induced voltage by moving the amount of metalcore inserted into a transformer. When Hall is compared to photo-sensitive methods, it is harder to get an absolute position with Hall.

Differential Hall sensors

While a single Hall element is susceptible to external magnetic fields, a differential configuration of two Hall elements can cancel stray fields out from measurements,[18] analogous to how common mode voltage signals are canceled using differential signaling.

Materials

The following materials are especially suitable for Hall effect sensors:[19]

Applications

Hall effect sensors may be used in various sensors such as rotating speed sensors (bicycle wheels, gear-teeth, automotive speedometers, electronic ignition systems), fluid flow sensors, current sensors, and pressure sensors. Hall sensors are commonly used to time the speed of wheels and shafts (e.g. Figure 1), such as for internal combustion engine ignition timing, tachometers and anti-lock braking systems.

Common applications are often found where a robust and contactless alternative to a mechanical switch or potentiometer is required. These include: electric airsoft guns, triggers of electropneumatic paintball guns, go-kart speed controls, smartphones, and some global positioning systems.

Position sensing

One of the most common industrial applications of Hall sensors used as binary switches is in position sensing (e.g. Figure 2).

Hall effect sensors are used to detect whether a smartphone's cover (that includes a small magnet) is closed.[20]

Some computer printers use Hall sensors to detect missing paper and open covers and some 3D printers use them to measure filament thickness.

Hall sensors are used in some automotive fuel-level indicators by detecting the position of a floating element in the fuel tank.[21]

Hall sensors affixed to mechanical gauges that have magnetized indicator needles can translate the physical position or orientation of the mechanical indicator needle into an electrical signal that can be used by electronic indicators, controls or communications devices.[22]

Magnetometers

Hall effect magnetometers (also called tesla meters or gauss meters) use a Hall probe[23] with a Hall element to measure magnetic fields or inspect materials (such as tubing or pipelines) using the principles of magnetic flux leakage. A Hall probe is a device that uses a calibrated Hall effect sensor to directly measure the strength of a magnetic field. Since magnetic fields have a direction as well as a magnitude, the results from a Hall probe are dependent on the orientation, as well as the position, of the probe.

Ammeters

Hall sensors may be utilized for contactless measurements of direct current in current transformers. In such a case the Hall sensor is mounted in a gap in the magnetic core around the current conductor.[24] As a result, the DC magnetic flux can be measured, and the DC in the conductor can be calculated.

When electrons flow through a conductor, a magnetic field is produced. Thus, it is possible to create a non-contacting current sensor or ammeters. The device has three terminals. A sensor voltage is applied across two terminals and the third provides a voltage proportional to the current being sensed. This has several advantages; no additional resistance (a shunt, required for the most common current sensing method) needs to be inserted in the primary circuit. Also, the voltage present on the line to be sensed is not transmitted to the sensor, which enhances the safety of measuring equipment.

Improving signal-to-noise

Integrating a Hall sensor into a ferrite ring (as shown) concentrates the flux density of the current's magnetic field along the ferrite ring and through the sensor (because flux flows through ferrite much better than through air),[4] which greatly reduces the relative influence of stray fields by a factor of 100 or better. This configuration also provides an improvement in signal-to-noise ratio and drift effects of over 20 times that of a bare Hall device.

The range of a given feedthrough sensor may also be extended upward and downward by appropriate wiring. To extend the range to lower currents, multiple turns of the current-carrying wire may be made through the opening, each turn adding to the sensor output the same quantity; when the sensor is installed onto a printed circuit board, the turns can be carried out by a staple on the board. To extend the range to higher currents, a current divider may be used. The divider splits the current across two wires of differing widths and the thinner wire, carrying a smaller proportion of the total current, passes through the sensor.

Current clamp

See main article: article and Current clamp. A variation on the ring sensor uses a split sensor which is clamped onto the line enabling the device to be used in temporary test equipment. If used in a permanent installation, a split sensor allows the electric current to be tested without dismantling the existing circuit.

The output is proportional to both the applied magnetic field and the applied sensor voltage. If the magnetic field is applied by a solenoid, the sensor output is proportional to the product of the current through the solenoid and the sensor voltage. As most applications requiring computation are now performed by small digital computers, the remaining useful application is in power sensing, which combines current sensing with voltage sensing in a single Hall effect device.

By sensing the current provided to a load and using the device's applied voltage as a sensor voltage it is possible to determine the power dissipated by a device to form a wattmeter.

Motion sensing

Hall effect devices used in motion sensing and motion limit switches can offer enhanced reliability in extreme environments. As there are no moving parts involved within the sensor or magnet, typical life expectancy is improved compared to traditional electromechanical switches. Additionally, the sensor and magnet may be encapsulated in an appropriate protective material.

Ignition timing

Commonly used in distributors for ignition timing (and in some types of crank- and camshaft-position sensors for injection pulse timing, speed sensing, etc.) the Hall Effect sensor is used as a direct replacement for the mechanical breaker points used in earlier automotive applications. Its use as an ignition timing device in various distributor types is as follows: a stationary permanent magnet and semiconductor Hall Effect chip are mounted next to each other separated by an air gap, forming the Hall Effect sensor.

A metal rotor consisting of windows or tabs is mounted to a shaft and arranged so that during shaft rotation, the windows or tabs pass through the air gap between the permanent magnet and semiconductor Hall chip. This effectively shields and exposes the Hall chip to the permanent magnet's field respective of whether a tab or window is passing through the Hall sensor. For ignition timing purposes, the metal rotor will have several equal-sized windows or tabs matching the number of engine cylinders (the #1 cylinder tab will always be unique for discernment by the Engine Control Unit).

This produces a uniform output similar to a square wave since the shielding and exposure time are equal. This signal is used by the engine computer or ECU to control ignition timing.

Anti-lock braking

The sensing of wheel rotation is especially useful in anti-lock braking systems. The principles of such systems have been extended and refined to offer more than anti-skid functions, now providing extended vehicle handling enhancements.

Brushless motors

Some types of brushless DC electric motors use Hall effect sensors to detect the position of the rotor and feed that information to the motor controller. This allows for more precise motor control. Hall sensors in 3 or 4-pin brushless DC motors sense the position of the rotor and to switch the transistors in the right sequence.[25]

Hall-effect thruster

See main article: article and Hall-effect thruster. A Hall-effect thruster (HET) is a device that is used to propel some spacecraft, after it gets into orbit or farther out into space. In the HET, atoms are ionized and accelerated by an electric field. A radial magnetic field established by magnets on the thruster is used to trap electrons which then orbit and create an electric field due to the Hall effect. A large potential is established between the end of the thruster where neutral propellant is fed, and the part where electrons are produced; so, electrons trapped in the magnetic field cannot drop to the lower potential. They are thus extremely energetic, which means that they can ionize neutral atoms. Neutral propellant is pumped into the chamber and is ionized by the trapped electrons. Positive ions and electrons are then ejected from the thruster as a quasineutral plasma, creating thrust. The thrust produced is extremely small, with a very low mass flow rate and a very high effective exhaust velocity/specific impulse. This is achieved at the cost of very high electrical power requirements, on the order of 4 kW for a few hundred millinewtons of thrust.

Integrated digital electronics

Hall sensors ICs often integrate digital electronics.[26] This enables advanced corrections to the sensor characteristics (e.g. temperature-coefficient corrections), digital communication to microprocessor systems, and may provide interfaces for input diagnostics, fault protection for transient conditions, and short/open-circuit detection.

Some Hall sensor ICs integrated a DSP, which can allow more processing techniques directly within the sensor package.

Some Hall sensor ICs integrate an analog-to-digital converter and I2C (Inter-integrated circuit communication protocol) IC for direct connection to a microcontroller's I/O port.[27]

The ESP32 microcontroller even has an integrated Hall sensor which hypothetically could be read by the microcontroller's internal analog-to-digital converter, though it does not work.[28]

Two-wire interface

Hall sensors normally require at least three pins (for power, ground, and output). However, two-wire ICs only use a power and ground pin, and instead communicate data using different current levels. Multiple two-wire ICs may operate from a single supply line, to further reduce wiring.[29]

Human interface devices

Hall effect switches for computer keyboards were developed in the late 1960s by Everett A. Vorthmann and Joseph T. Maupin at Honeywell.[30] Due to high manufacturing costs these keyboards were often reserved for high-reliability applications such as aerospace and military. As mass-production costs have declined, an increasing number of consumer models have become available.

Hall effect sensors can also be found on some high-performance gaming keyboards (made by companies such as SteelSeries, Wooting, Corsair), with the switches themselves containing magnets.[31]

Although Sega pioneered the use of Hall effect sensors in their Sega Saturn 3D controller[32] and Dreamcast stock controller[33] from the 1990s, Hall effect sensors have only started gaining popularity for use in consumer game controllers since the early 2020s, most notably in analog stick/joystick and trigger mechanisms,[34] for enhanced experience due to their contactless, high-resolution, low-latency measurements of position and movement and their longer lifespan due to lack of mechanical parts.

Applications for Hall effect sensing have also expanded to industrial applications, which now use Hall effect joysticks to control hydraulic valves, replacing the traditional mechanical levers with contactless sensing. Such applications include mining trucks, backhoe loaders, cranes, diggers, scissor lifts, etc.

Dual Hall sensor ICs

Some ICs include two Hall elements. This is useful for counting a series of increments (an incremental encoder) to make a linear or rotary encoder, whereby a moving or rotating arrangement of magnets produces an alternating magnetic pattern sensed as a quadrature encoded pattern. That pattern can then be decoded to provide both the speed and direction of movement or simply counted up and down to determine the position or angle. (When only one Hall element is used, the direction of linear or rotary encoders cannot be determined). The two elements placed at a precise distance apart from each other on the die may either be oriented in the same direction,[35] in which case the magnetic pole-to-pole pitch should ideally be two times the Hall element-to-element pitch. Alternatively, the Hall elements may be oriented at 90 degrees to provide sensing in two axes.[36] [37]

See also

Further reading

Notes and References

  1. Book: Ramsden, Edward . Hall-effect sensors: theory and applications . . 2006 . 978-0-7506-7934-3 . 2, illustrated.
  2. Web site: How the Hall Effect Still Reverberates - IEEE Spectrum . 2023-12-28 . . en.
  3. Web site: 2021-07-01 . Global Industry Analysts: Global Hall-Effect Current Sensors Market to Reach $1.3 Billion by 2026 . 2023-12-28 . www.prnewswire.com . en.
  4. Web site: Hall Effect Sensor Applications Guide . 2023-12-28 . www.allegromicro.com.
  5. Book: Popović, R. S.. Hall effect devices . 2, illustrated . . 2004 . 978-0-7503-0855-7 .
  6. Web site: Linear Hall Sensors (product category) . live . https://web.archive.org/web/20230205002539/https://product.tdk.com/en/products/sensor/linear/linear-hall/index.html . 2023-02-05 . 2024-01-02 . TDK.
  7. Web site: Gilbert . Joe . Dewey . Ray . 2022-05-05 . AN27702: Linear Hall-Effect Sensor ICs . live . https://web.archive.org/web/20231104000208/https://www.allegromicro.com/-/media/files/application-notes/an27702-linear-hall-effect-sensor-ics.pdf . 2023-11-04 . 2024-01-02 . Allegro MicroSystems.
  8. https://www.jameco.com/Jameco/Products/ProdDS/2135881.pdf
  9. Web site: Unipolar Hall-Effect Sensor IC Basics . 2023-12-28 . www.allegromicro.com.
  10. Web site: Omnipolar Switch Hall-Effect IC Basics Allegro MicroSystems . 2023-12-28 . www.allegromicro.com.
  11. Web site: Bipolar Switch Hall-Effect ICs . 2023-12-28 . www.allegromicro.com.
  12. Web site: AN296067: Hall Effect Switch Latching Switch Basics . live . https://web.archive.org/web/20230927181352/https://www.allegromicro.com/en/insights-and-innovations/technical-documents/hall-effect-sensor-ic-publications/latching-switch-hall-effect-ic-basics . 2023-09-27 . 2023-12-28 . www.allegromicro.com.
  13. https://www.elecrow.com/download/A3141-2-3-4-Datasheet.pdf
  14. https://radiolux.com.ua/files/pdf/SS41F.pdf
  15. Web site: Staff Writer . How to Decide Between a Reed Switch or a Hall Switch . I.I. Thomas . 20 April 2021.
  16. Web site: Hertz . Jake . Engineers Deal With Drift in Many Ways. What About a "Zero Drift" Hall-Effect Current Sensor? . All About Circuits . 20 April 2021.
  17. Web site: Crescentini . M. . 2016-09-07 . Experimental Characterization of Bandwidth Limits in Hall Sensors . live . https://web.archive.org/web/20231230033926/https://www.imeko.org/publications/tc4-2016/IMEKO-TC4-2016-01.pdf . 2023-12-30 . 2023-12-30.
  18. Web site: Palvik . Scott . 2019-08-27 . Differential Hall-Effect Sensors: Safer and More Reliable for Two-Wheelers of the Future . live . https://web.archive.org/web/20231230032307/https://www.allegromicro.com/en/insights-and-innovations/technical-documents/hall-effect-sensor-ic-publications/an296173-differential-hall-effect-sensorsor-ic-publications/an296173-differential-hall-effect-sensors . 2023-12-30 . 2023-12-30 . www.allegromicro.com.
  19. Book: Oleg . Petruk . Roman . Szewczyk . Tymoteusz . Ciuk . Włodzimierz . Strupiński . Jacek . Salach . Michał . Nowicki . Iwona . Pasternak . Wojciech . Winiarski . Krzysztof . Trzcinka . 2014 . Sensitivity and Offset Voltage Testing in the Hall-Effect Sensors Made of Graphene . Springer . 267 . 631 . 10.1007/978-3-319-05353-0_60 . 3 . Advances in Intelligent Systems and Computing . 978-3-319-05352-3 .
  20. Web site: ZenFone 5 (A500CG) . 2 September 2017 . asus.com.
  21. Web site: 12 February 2009 . Liquid Level Sensing: Measuring Liquid Levels Using Hall Effect Sensors . 2 September 2017 . infineon.com.
  22. http://www.leveldevilsensors.com/main/electronic-sensors-inc-esi-level-devil-american-made-tank-monitors-and-tank-monitoring-systems/tabk-sensor/ Tank Sensors & Probes
  23. Web site: Hall probes . 2023-12-29 . Lake Shore Cryotronics . en.
  24. Book: Petruk . O. . Digitally Controlled Current Transformer with Hall Sensor . Szewczyk . R. . Salach . J. . Nowicki . M. . 2014 . Springer . 978-3-319-05352-3 . Advances in Intelligent Systems and Computing . 267 . 641 . 10.1007/978-3-319-05353-0_61.
  25. Burke . Mary . February 2004 . Why and How to Control Fan Speed for Cooling Electronic Equipment . Analog Dialogue . 38.
  26. Web site: Hall Effect Sensor Voltage Regulation and Power Management . phareselectronics.com . 26 May 2015 . 29 May 2015 . https://web.archive.org/web/20150529055232/http://phareselectronics.com/products/hall-effect-sensors/voltage-regulation-and-power-management/ . dead .
  27. https://www.mouser.com/c/sensors/magnetic-sensors/?q=I2C or any other part distributor search for "I2C" and "Hall sensor"
  28. https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf ESP32Technical Reference Manual
  29. Web site: Burdette . Eric . 2021-07-08 . AN296233: TWO-WIRE AND THREE-WIRE SENSOR INTERFACES . Allegro MicroSystems.
  30. Book: Vorthmann . Everett A. . Proceedings of the May 14-16, 1969, spring joint computer conference on XX - AFIPS '69 (Spring) . Maupin . Joseph T. . May 1969 . 9781450379021 . 149–159 . Solid state keyboard . 10.1145/1476793.1476823 . https://dl.acm.org/citation.cfm?doid=1476793.1476823 . 7540281.
  31. Web site: Guide to keyboards with Hall Effect switches . 2023-11-19 . hlplanet.com . en.
  32. Web site: A GameCube-style Switch controller without stick drift (Thank god) . 9 January 2023 .
  33. Web site: What is a Hall Effect controller anyway, and do I really need one? . 28 July 2023 .
  34. Web site: Game controllers with hall effect joystick sensors . 26 July 2023 . hlplanet.com.
  35. Web site: Dual Hall-effect latch IC with speed and direction - Medium sensitivity . 2023-12-28 . Melexis . en.
  36. Web site: Dual Hall-Effect Latches Allegro MicroSystems . 2023-12-28 . www.allegromicro.com.
  37. https://www.ti.com/lit/ds/symlink/tmag5111.pdf