SSZT079 april   2022 DRV5032 , TMAG5123 , TMAG5124

 

  1.   1
  2.   2
    1.     3
    2.     Myth No. 1: Hall-effect Sensors Provide Only Simple on and off Information.
    3.     Myth No. 2: Low-power Solutions Are Not Achievable with Hall-effect Sensors.
    4.     Myth No. 3: Hall-effect Sensors Have a Very Limited Operational Range.
    5.     Myth No. 4: Hall-effect Sensors Require Three Wires for Offboard Sensing.
    6.     Myth No. 5: There Is No Flexibility in Magnet Placement When Using Hall-effect Sensors.
    7.     Conclusion

Manny Soltero

Hall-effect sensors are commonly used in automotive and industrial systems for applications including proximity detection, linear displacement measurement and rotary encoding. Currently, the high system performance requirements of modern applications have led to IC manufacturers increasing sensitivity accuracy, integrating more functionality, expanding available sensing directionalities and lowering power consumption in their devices - helping extend the use of Hall-effect sensors for decades to come.

This article discusses various common misconceptions about Hall-effect sensors as well as real-world applications.

Myth No. 1: Hall-effect Sensors Provide Only Simple on and off Information.

Many electromechanical designs require the detection of an object by using a sensor, which provides a simple logic signal indicating its presence or absence. One example is opening and closing a laptop, indicating when to power on or off. Another example is an intrusion event in a door and window sensor. These applications typically use a simple Hall-effect switch that toggles its output voltage once an internal magnetic threshold has been crossed. While these Hall-effect switches are useful, they are not the only type of Hall-effect sensor available – latches and linear devices are also quite common. In contrast to a switch, a latch, which is mainly used in rotary encoding, will toggle its output only in the presence of an opposite magnetic polarity to what it had previously experienced. For precise displacement measurements, linear Hall-effect sensors are preferable because they can define, with high resolution, where an object is relative to the sensor – providing much more than on and off information. Figure 1 illustrates the transfer functions for each type of sensor, including the variations available.

GUID-B86CEEA4-88F1-4C4F-8ECC-5C88315B9E12-low.jpg Figure 1 Hall-effect Switches (a) and (b), Latch (c) and Linear Sensors (d) and (e) Output Responses.

Myth No. 2: Low-power Solutions Are Not Achievable with Hall-effect Sensors.

While it’s true that some Hall-effect sensors consume current in the single-digit milliampere range, making them unsuitable for battery-operated applications, there are other Hall-effect switches that support low sampling rates (5 Hz or less) and consume an average current less than 1 µA. These devices cycle between a high-power active measurement state and an ultra-low-power sleep state to achieve low power consumption. Because the active state (tactive) duration is much shorter than the sleep interval (ts), the total average current consumption is very low (see Figure 2).

GUID-FA7CE6E4-896D-4541-A932-9A9791AC701C-low.png Figure 2 Timing Diagram Resulting in Low-power Consumption.

Myth No. 3: Hall-effect Sensors Have a Very Limited Operational Range.

There are also those who believe that Hall-effect sensors don’t have a good range for practical use because magnetic fields decay exponentially over distance. However, Hall-effect sensors with high sensitivities can detect useful magnetic fields from a good distance away. Take for example the DRV5032. Table 1 shows the head-on sensing distances of all of the device variants offered using a small low-cost ferrite magnet (12 mm by 12 mm by 6 mm). The lowest-sensitivity DRV5032ZE can detect this magnet from 4.0 mm to 7.5 mm, while the DRV5032FA version ranges between 18.7 mm and 44.6 mm. If using a stronger, same-sized NdFeB-grade-52 magnet, this detection distance increases to almost 3 in.

Table 1 Head-on Sensing Distances for Two DRV5032 Hall-effect Switch Variants.
DRV5032 variations Maximum BOP Distance of maximum BOP (mm) Minimum BRP Distance of minimum BRP (mm)
DRV5032FA ±4.8 18.7 ±0.5 44.6
DRV5032ZE ±63 4.0 ±30 7.5

Myth No. 4: Hall-effect Sensors Require Three Wires for Offboard Sensing.

The vast majority of Hall-effect sensors on the market have only three pins – VCC (power supply), output and GND (ground) – and so the general thought is that three wires must be wired to the sensor. This is not true. As shown in Figure 3a, an open-drain, voltage-output, three-pin Hall-effect switch connects remotely with only two wires. When sensing a magnetic field, the device will produce a current output through the GND pin. If no field is detected, the device’s output will not produce any current and, in turn, produce no output current through the GND pin. Note that determining the logic state of the resistor requires an analog-to-digital converter (which may be integrated into a microcontroller) and an external resistor. The problem with this configuration is that it can produce invalid voltage levels under noisy conditions.

Ensuring reliable data transmission requires a current-output device to reduce or eliminate signal distortion. The TMAG5124 is a two-pin solution requiring only a power-supply voltage and ground to operate. Figure 3b shows how to implement the device by using the GND pin to transmit either a low- or high-level current (both in the milliampere range).

GUID-7CA637F2-4A72-4A87-B71F-65AE06FCB15C-low.png Figure 3 Two-wire Remote Sensing Using a Voltage-output Hall-effect Switch (a) and a Current-output TMAG5124 (b).

Myth No. 5: There Is No Flexibility in Magnet Placement When Using Hall-effect Sensors.

Magnet placement relative to the sensor depends on many factors – some are system-level factors, while others are inherent to the sensor itself. External system factors that dictate the placement of the magnet are mainly the magnet size, magnet material type and the temperature operating range. The larger the magnet, the larger the magnetic field produced. Of the most common magnets used, neodymium iron boron (NdFeB) magnets produce the strongest magnetic fields, so they are generally smaller in size. It’s also important to consider heat when selecting a magnet, as it typically degrades the magnetic field produced.

The main factors impacting magnet placement that are specific to the sensor are sensitivity levels, sensing directionalities (in plane vs. out of plane), package offerings, number of sensors onboard and configurability. A Hall-effect sensor with higher sensitivity can detect a magnet farther away. Most Hall-effect switches and latches detect magnetic fields perpendicular to the surface of the package, but some can detect horizontally (or in plane) with the package. A good example of this is the TMAG5123, which provides even more mechanical flexibility in designs when vertical displacement is not possible. Another example is the use of 2D dual-channel latches that have the ability to monitor multiple axes; you can place them virtually anywhere in relation to the magnet.

Conclusion

The use of Hall-effect sensors is so widespread that almost daily I hear about a new application that is novel and interesting. My expectation is that this set of five myths will spur an idea for your next-generation design.