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

Flotation Device on Axial Arm

The magnet can be attached to a flotation device so that the angle of the magnet changes with the height of the float arm. This setup, shown in Figure 2-8, works with a very small magnet compared to the other designs and can be used to measure any size of liquid tank simply by changing the dimensions of the float arm. This implementation only requires one sensor. The sensor can be placed on-axis with the magnet or off to the side.

GUID-20230425-SS0I-XD9R-KBCW-PQ8B41WBKDP8-low.png Figure 2-8 Pivoting Magnet Float Arm Implementation

Common measurement topology include angular position measurements in on-axis or off-axis angular measurements shown in Figure 2-9. Select the on-axis measurement topology whenever possible as this offers the best optimization of magnetic field and the device measurement ranges. The TMAG5273 offers on-chip gain adjustment option to account for mechanical position misalignment.

GUID-20210605-CA0I-7JNZ-4NVH-PH7DG0ZSHHXQ-low.svg Figure 2-9 On-Axis vs. Off-Axis Angle Measurements

Figure 2-10 shows example X and Y sensor data for on-axis measurement, where the strength of the two axes are equal. Figure 2-11 shows example sensor data for off-axis measurement, where the Y-axis is half the strength of the X-axis.

GUID-20210924-SS0I-N0TL-TSXC-PMPNT3MGKBS0-low.svgFigure 2-10 X and Y Sensor Data for Full 360 Degree Rotation for On-Axis Measurement
GUID-20210924-SS0I-GRBT-34JP-PTTHZWQXLSXF-low.svgFigure 2-11 X and Y Sensor Data for Full 360 Degree Rotation for Off-Axis Measurement

Traditional vehicle fuel sensor systems use a rotational float sensor implementation. These conventionally use a foam piece on an arm attached to a resistor wiper. As the float drops or rises in height, the resistance of the wiper changes. Current is passed through the wiper resistance and into a heating coil around a bimetallic strip. As the bimetallic strip heats up it bends one direction, and moves the fuel gauge needle. This system can't compensate for the shape of the fuel tank, and is suscpetible to wear and tear of the resistor wiper and bimetallic strip. It also creates a non-linear behavior in the fuel gauge, where the tank looks full for a while before the fuel level starts to indicate it is decreasing and then the fuel level drops faster as the tank empties. Modern vehicles may use a microcontroller to read a voltage from the wiper resistance and display the fuel level digitally.

A float arm paired with a magnet and hall sensor can provide a low-cost, single-sensor design to liquid level sensing.