Hall effect sensor

This article may require copy editing for grammar, style, cohesion, tone, or spelling. You can assist by editing it. (February 2024) (Learn how and when to remove this message)

|

Devices that measure magnetic field strength using the Hall effect

Figure 1: a wheel containing two magnets passing by a Hall effect sensor. The voltage from the sensor peaks twice for each revolution. This arrangement is used to measure and regulate the speed of rotating objects, including disk drives.

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 B 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 about 50 manufacturers, with the global market around a billion dollars.[3]

## Principles

[edit]

Hall element circuit symbol

Main article: Hall effect § Theory

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 both to static magnetic fields and to changing ones. (Inductive sensors, in contrast, only respond to changes in fields.)

### Amplification

[edit]

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.[4] 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 half of the supply voltage.[7] They may have rail-to-rail output (e.g., A1302).[8]

### Hall switch

[edit]

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.[4] 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

[edit]

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 BOP and BRP) 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 BOP and a negative BRP (and thus require both positive and negative magnetic fields to operate). The difference between BOP and BRP 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

[edit]

### Directionality

[edit]

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 § Dual Hall sensor ICs) 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

[edit]

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

[edit]

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

### Susceptibility to external fields

[edit]

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

[edit]

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

[edit]

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

* Gallium arsenide (GaAs)
* Indium arsenide (InAs)
* Indium phosphide (InP)
* Indium antimonide (InSb)
* Graphene

## Applications

[edit]

Figure 2: the magnetic piston (1) in this pneumatic cylinder will cause the Hall effect sensors (2 and 3) mounted on its outer wall to activate when it is fully retracted or extended. Engine fan with Hall effect sensor

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

[edit]

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

[edit]

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

[edit]

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.

Hall effect current sensor with internal integrated circuit amplifier. 8 mm opening. Zero current output voltage is midway between the supply voltages that maintain a 4 to 8-volt differential. The non-zero current response is proportional to the voltage supplied and is linear to 60 amperes for this particular (25 A) device.

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.

Diagram of Hall effect current transducer integrated into ferrite ring Multiple 'turns' and corresponding transfer function

#### Improving signal-to-noise

[edit]

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

[edit]

Main article: 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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

Main article: 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

[edit]

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 include DSP, which can allow more processing techniques directly within the sensor package.[1]: 167

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

[edit]

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

[edit]

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

[edit]

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.[4] 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.[4] Alternatively, the Hall elements may be oriented at 90 degrees to provide sensing in two axes.[36][37]

## See also

[edit]

* Reed switch
* MEMS magnetic field sensor

## References

[edit]

1. ^ a b Ramsden, Edward (2006). Hall-effect sensors: theory and applications (2, illustrated ed.). Elsevier. ISBN 978-0-7506-7934-3.
2. ^ "How the Hall Effect Still Reverberates - IEEE Spectrum". IEEE. Retrieved 2023-12-28.
3. ^ "Global Industry Analysts: Global Hall-Effect Current Sensors Market to Reach $1.3 Billion by 2026". www.prnewswire.com. 2021-07-01. Retrieved 2023-12-28.
4. ^ a b c d e f "Hall Effect Sensor | Applications Guide". www.allegromicro.com. Retrieved 2023-12-28.
5. ^ Popović, R. S. (2004). Hall effect devices (2, illustrated ed.). CRC Press. ISBN 978-0-7503-0855-7.
6. ^ "Linear Hall Sensors (product category)". TDK. Archived from the original on 2023-02-05. Retrieved 2024-01-02.
7. ^ Gilbert, Joe; Dewey, Ray (2022-05-05). "AN27702: Linear Hall-Effect Sensor ICs" (PDF). Allegro MicroSystems. Archived (PDF) from the original on 2023-11-04. Retrieved 2024-01-02.
8. ^ https://www.jameco.com/Jameco/Products/ProdDS/2135881.pdf [bare URL PDF]
9. ^ "Unipolar Hall-Effect Sensor IC Basics". www.allegromicro.com. Retrieved 2023-12-28.
10. ^ "Omnipolar Switch Hall-Effect IC Basics | Allegro MicroSystems". www.allegromicro.com. Retrieved 2023-12-28.
11. ^ "Bipolar Switch Hall-Effect ICs". www.allegromicro.com. Retrieved 2023-12-28.
12. ^ "AN296067: Hall Effect Switch | Latching Switch Basics". www.allegromicro.com. Archived from the original on 2023-09-27. Retrieved 2023-12-28.
13. ^ https://www.elecrow.com/download/A3141-2-3-4-Datasheet.pdf [bare URL PDF]
14. ^ https://radiolux.com.ua/files/pdf/SS41F.pdf [bare URL PDF]
15. ^ Staff Writer (27 January 2019). "How to Decide Between a Reed Switch or a Hall Switch". I.I. Thomas. Retrieved 20 April 2021.
16. ^ Hertz, Jake. "Engineers Deal With Drift in Many Ways. What About a "Zero Drift" Hall-Effect Current Sensor?". All About Circuits. Retrieved 20 April 2021.
17. ^ Crescentini, M. (2016-09-07). "Experimental Characterization of Bandwidth Limits in Hall Sensors" (PDF). Archived (PDF) from the original on 2023-12-30. Retrieved 2023-12-30.
18. ^ Palvik, Scott (2019-08-27). "Differential Hall-Effect Sensors: Safer and More Reliable for Two-Wheelers of the Future". www.allegromicro.com. Archived from the original on 2023-12-30. Retrieved 2023-12-30.
19. ^ Petruk, Oleg; Szewczyk, Roman; Ciuk, Tymoteusz; et al. (2014). Sensitivity and Offset Voltage Testing in the Hall-Effect Sensors Made of Graphene. Advances in Intelligent Systems and Computing. Vol. 267\. Springer. p. 631\. doi:10.1007/978-3-319-05353-0_60. ISBN 978-3-319-05352-3.
20. ^ "ZenFone 5 (A500CG)". asus.com. Retrieved 2 September 2017.
21. ^ "Liquid Level Sensing: Measuring Liquid Levels Using Hall Effect Sensors" (PDF). infineon.com. 12 February 2009. Retrieved 2 September 2017.
22. ^ Tank Sensors & Probes Archived 2019-03-18 at the Wayback Machine, Electronic Sensors, Inc., retrieved August 8, 2018
23. ^ "Hall probes". Lake Shore Cryotronics. Retrieved 2023-12-29.
24. ^ Petruk, O.; Szewczyk, R.; Salach, J.; Nowicki, M. (2014). Digitally Controlled Current Transformer with Hall Sensor. Advances in Intelligent Systems and Computing. Vol. 267\. Springer. p. 641\. doi:10.1007/978-3-319-05353-0_61. ISBN 978-3-319-05352-3.
25. ^ Burke, Mary (February 2004). "Why and How to Control Fan Speed for Cooling Electronic Equipment". Analog Dialogue. 38.
26. ^ "Hall Effect Sensor Voltage Regulation and Power Management". phareselectronics.com. Archived from the original on 29 May 2015. Retrieved 26 May 2015.
27. ^ https://www.mouser.com/c/sensors/magnetic-sensors/?q=I2C or any other part distributor search for "I2C" and "Hall sensor"
28. ^ ESP32Technical Reference Manual V4.9 2023 revision history removed mention of the sensor. PCN20221202 gives the following reason for removal: "In the documentation for ESP32 series of products, hall sensor is listed as one of the supported peripherals. However, the hall sensor on ESP32 does not work properly. Therefore, all references to hall sensor in ESP32 documentation need to be removed."
29. ^ Burdette, Eric (2021-07-08). "AN296233: TWO-WIRE AND THREE-WIRE SENSOR INTERFACES" (PDF). Allegro MicroSystems.
30. ^ Vorthmann, Everett A.; Maupin, Joseph T. (May 1969). "Solid state keyboard". Proceedings of the May 14-16, 1969, spring joint computer conference on XX - AFIPS '69 (Spring). pp. 149–159\. doi:10.1145/1476793.1476823. ISBN 9781450379021. S2CID 7540281.149-159&rft.date=1969-05&rft_id=https://api.semanticscholar.org/CorpusID:7540281#id-name=S2CID&rft_id=info:doi/10.1145/1476793.1476823&rft.isbn=9781450379021&rft.aulast=Vorthmann&rft.aufirst=Everett+A.&rft.au=Maupin,+Joseph+T.&rft_id=https://dl.acm.org/citation.cfm?doid=1476793.1476823&rfr_id=info:sid/en.wikipedia.org:Hall+effect+sensor" class="Z3988">
31. ^ "Guide to keyboards with Hall Effect switches". hlplanet.com. Retrieved 2023-11-19.
32. ^ "A GameCube-style Switch controller without stick drift (Thank god)". 9 January 2023.
33. ^ "What is a Hall Effect controller anyway, and do I really need one?". 28 July 2023.
34. ^ "Game controllers with hall effect joystick sensors". hlplanet.com. Retrieved 26 July 2023.
35. ^ "Dual Hall-effect latch IC with speed and direction - Medium sensitivity". Melexis. Retrieved 2023-12-28.
36. ^ "Dual Hall-Effect Latches | Allegro MicroSystems". www.allegromicro.com. Retrieved 2023-12-28.
37. ^ https://www.ti.com/lit/ds/symlink/tmag5111.pdf [bare URL PDF]

## Further reading

[edit]

* naveed, A.; Ihn, T.; Ensslin, K.; Papp, G.; Peeters, F.; Maranowski, K.; Gossard, A. C. (2006). "Classical Hall effect in scanning gate experiments" (PDF). Phys. Rev. B. 74 (16): 165426. Bibcode:2006PhRvB..74p5426B. doi:10.1103/PhysRevB.74.165426. hdl:10067/613600151162165141. S2CID 121163404.
* Nave, R. "Hall Effect". Hyperphysics. Georgia State University Department of Physics and Astronomy. Retrieved 20 April 2021.

## External links

[edit]

* Media related to Hall sensors at Wikimedia Commons