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

Capacitive

Conventional FDC1004: Basics of Capacitive Sensing and Applications typically measure the change in capacitance between sensors attached to the exterior walls of a tank made of non-conductive material, like plastic. In Figure 2-1, the level-detecting sensors are represented by LEVEL and GND, while additional pairs of capacitive sensors provide a reference for the liquid (RL, GND below) and for the outside environment (RE, GND). These sensors enable environmental tracking, such as temperature-related shifts, in the liquid and the surrounding environment.

This conventional level-sensing method imposes a non-zero potential on the liquid being measured, which makes it susceptible to grounded interference or parasitic capacitance on the system, such as a hand close to or touching the tank. Note that, in general, capacitive sensing can have difficulty sensing the level of thicker solutions like clothes washing detergent, or conductive solutions such as salt water. A downside to the capacitive approach is liquid sticking to the walls of the container. This can severely impact the accuracy of the system if the liquid is a solvent or cleaning solution with a higher viscosity.

GUID-3AB4FAC1-9EC5-4807-8D55-3A643699E705-low.gif Figure 2-1 Capacitive Liquid Level Sensing

Another implementation for capacitive liquid level sensing is the Capacitive Sensing: Out-of-Phase Liquid Level Technique which uses a symmetrical sensor layout as well as equal-and-opposite waveforms for the level sensors (LEVEL, GND above). The result is that the liquid under measurement is at or near zero potential, which reduces the system’s sensitivity to interference or parasitic capacitance, such as a hand or other grounded object near the tank. The OoP technique could be implemented in Figure 2-1by replacing the GND sensor in the LEVEL/GND sensor pair with a sensor driven by a signal equal-and-opposite to the LEVEL sensor’s waveform.

An OoP sensor array implemented as a flex PCB is available as the Capacitive-Based Liquid Level Sensing Sensor Reference Design. It is compatible with the FDC1004 4-Channel Capacitance-to-Digital Converter for Capacitive Sensing Solutions, a 4-channel, 16-bit, capacitance-to-digital converter with active shield driver. For more information on capacitive liquid-level sensing please see the E2E FDC1004 Frequently Asked Questions page.