SLYA076 july   2023 TMAG5273

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Liquid Level Sensing Implementations
    1. 2.1 Capacitive
    2. 2.2 Ultrasonic
    3. 2.3 Magnetic Hall-Effect Implementations
      1. 2.3.1 Different Types of Hall-Effect Sensors
      2. 2.3.2 Implementation Option 1: Floating Magnet with Linear Hall
      3. 2.3.3 Implementation Option 2: Floating Magnet with Array of Latches or Switches
      4. 2.3.4 Flotation Device on Axial Arm
  6. 3Functional Demo Design
    1. 3.1 Float Arm
    2. 3.2 GUI Operation
    3. 3.3 3D Printing Part Orientations and Settings
  7. 4Summary
  8. 5References
    1. 5.1 Device Support
    2. 5.2 Related Documentation

Different Types of Hall-Effect Sensors

The basis of measuring a liquid with a Hall sensor is that a magnet moves along with the water level and a Hall-effect sensor measures the magnetic field from the moving magnet. Based on the measured magnetic field from the magnet, the system can determine what is the position of the magnet.

TI offers several different types of Hall-effect sensors: latches, switches, 1-axis linear, and linear 3D sensors. Linear sensors can provide detailed magnetic data since they represent the magnetic flux density using an analog voltage or a digital numeric representation that changes as the field experienced by the device changes.

The magnetic field from two directions can be obtained using two 1D sensors orthogonal with each other. Alternatively, one 2D or 3D sensor that sense magnetic fields in orthogonal axes can be used instead. Figure 2-3 shows an example mapping of the three axes of sensitivity of a linear 3D Hall-effect sensor, the TMAG5170. The mapping of the X, Y, and Z directions as well as how a positive field is defined can vary among different parts.

GUID-20230712-SS0I-0TGN-9RZC-SM567RFPDKW9-low.pngFigure 2-3 3D Hall Sensor Axis

TI offers linear 3D Hall-effect sensors with different interface options, such as SPI and I2C. These sensors are listed in Table 2-1. Dual-Die sensors such as the TMA5170D-Q1 provide integrated redundancy within a single device package. This is especially important for many automotive applications.

Table 2-1 TI Linear Magnetic Position Sensors
DeviceTypeCharacteristicsDesign Considerations
TMAG5170and TMAG5170-Q13D Hall-EffectCommercial & Automotive grade linear 3D Hall-effect position sensors with SPI available in 8 pin DGK packageComplete magnetic vector sensitivity. This device is able to track a wide range of magnet positions, though careful planning is still required to make sure all input conditions map to a unique position.
TMAG5170D-Q13D Hall-EffectDual-die Automotive high-precision 3D linear Hall-effect sensor with SPI available in 16-pin TSSOP packageIdentical to the TMAG5170, but with stacked sensor dies for integrated redundancy. Developed for functional safety applications, with resources supporting design up to ASIL D.
TMAG52733D Hall-EffectCommercial grade Linear 3D Hall-effect position sensor with I2C interface available in 6 pin SOT-23 packageSimilar to the TMAG5170, but operates over I2C with wider sensitivity tolerance specifications.
TMAG5173-Q13D Hall-EffectAutomotive grade Linear 3D Hall-effect position sensor with I2C interface available in 6 pin SOT-23 packageOperates over I2C with improved performance over the TMAG5273.
TMAG6180-Q1 and TMAG6181-Q12D AMRThese devices are high-precision angle sensors based on Anisotropic Magneto Resistive (AMR) technology. The TMAG6180-Q1 has a 360° angle range, while the TMAG6181-Q1 has an integrated turns counter.Supports both differential & single-ended Sin/Cos outputs for angular speeds up to 60,000 RPM providing an angular error <0.6 degree across temperature with no system-level calibration needed.

Compared with a resistor-wiper implementation, Hall-effect sensors are more reliable, and they are minimally affected by environment changes like humidity, dust, or water. Hall-effect liquid level sensing implementations are not prone to the wear and tear issues of mechanical solutions, which extends the lifetime of these solutions.