SBAA510 October   2021 DRV5032 , TMAG5170 , TMAG5231 , TMAG5273

 

  1.   Trademarks
  2. 1Introduction
  3. 2Reed Switch Overview
  4. 3Hall Effect Sensor Overview
  5. 4Performance Comparison
  6. 5DRV5032 Test Setup and Results
    1. 5.1 DRV5032 Test Setup
    2. 5.2 Understanding the Results
    3. 5.3 DRV5032 Test Results
    4. 5.4 Front Approach Results
    5. 5.5 Side Approach
    6. 5.6 Tamper Susceptibility Testing Setup
    7. 5.7 Tamper Susceptibility Test Results
  7. 6Reed Switch Test Setup and Results
    1. 6.1 Reed Switch Test Setup
    2. 6.2 Reed Switch Test Results
    3. 6.3 Front Approach Results
    4. 6.4 Side Approach Results
    5. 6.5 Tamper Susceptibility Testing Setup
    6. 6.6 Reed Switch Tamper Susceptibility Test Results
  8. 7TMAG5170 Test Setup and Results
    1. 7.1 TMAG5170 Test Setup
    2. 7.2 TMAG5170 Test Results
    3. 7.3 TMAG5170 Tamper Susceptibility Testing Setup
    4. 7.4 TMAG5170 Tamper Susceptibility Test Results
  9. 8Summary

Hall Effect Sensor Overview

Hall effect sensors, unlike Reed switches, are IC devices that can also be used to detect magnetic fields. Some of the Hall Effect sensors Texas Instruments offers, such as the TMAG5273 and the TMAG5170, can even provide 3D spacial magnetic sensing with a linear output. Others offer a binary output just as the Reed switch when a magnetic field is detected on a particular axis. If we were to use a DRV5032 with a 1.8 V supply voltage on VCC and 5 samples per second, the average current consumption would be only 540nA which provides a great low-power option for Reed switch replacement.

Hall Effect sensors detect the voltage difference (V) that develops on a conductor carrying an electrical current (I) in the presence of a magnetic field (B) as shown in Figure 3-1.

GUID-20210810-SS0I-8PGD-F7V7-NCTR12HHF84G-low.png GUID-20210810-SS0I-XMK2-TSKL-P2CTSMVVJTFZ-low.png

Figure 3-1 Hall Effect Sensor Working Principles and Magnetic Flux Direction

By integrating this electrophysical property into an IC, the magnetic field can be detected just as with the Reed switch. If we look at the DRV5032 schematic below, we see an example of this application leveraging a microcontroller to detect the binary output from the device. The distance of detection can be adjusted through the available magnetic threshold sensitivity variations of the product. For the testing included within this paper, we are using the omni-polar FB version of the device in a TO-92 package. More specific information on this device can be found on the DRV5032 product page on TI.com. Hall-effect switches such as the DRV5032 are suitable for applications where a simple open or close status is sufficient. This device is also very low power as well, in the nano-amp range for a 5-sample period per second. This is especially useful in battery powered applications where the design engineer must mitigate as much additional power consumption possible. An example application of the DRV5032 is shown in Figure 3-2.

GUID-20210810-SS0I-R1GK-6RQX-BHST4MKK0Q0X-low.pngFigure 3-2 DRV5032 Application Example

Another great option for more detailed detection scenarios are linear 3D Hall-effect sensors such as the TMAG5170, which was used for testing throughout this document, and the TMAG5273. These devices are better suited for more advanced detection schemes where 3 axis detection is needed or preferred. Leveraging a 3-axis device allows for tamper detection on all three planes by using the normal use magnetic output as a reference point for activities. If the linear output from the device, assuming a normal idle state, is shown to vary at any point, an alert can be sent to the device owner letting them know that the sensor has detected an abnormal condition on that particular door and or window. Figure 3-3 shows an example application of the TMAG5170 with a companion host MCU.

GUID-20210810-SS0I-T6QJ-NDBF-GTLXCZNR5LCW-low.pngFigure 3-3 Application Block Diagram

Linear 3D Hall-effect sensors are also a good option for sensors that require variations in mounting such as the mounting position shown in Figure 3-4. Here the door frame is raised from the door itself which creates a delta distance in both X and Y axes. While the Reed switch can still potentially work here, there are more stringent placement restrictions due to the distance and orientation of the magnet. The 3-axis TMAG devices have the ability to detect the special position of the magnet accounting for the offset added from the door frame.

GUID-20210810-SS0I-CTBK-R5TQ-PMSBTXTXTRVN-low.pngGUID-20210810-SS0I-8PDL-8XNZ-C6T523JSQNCZ-low.png

Figure 3-4 Typical Door Mounted Sensor with Raised Frame