Electronic Design

Low-Power Logic Gate Protects Fluid Sensor From Leakage Current

Fluid-level sensing is very common in industrial applications and now is being used in domestic applications to sense water levels in overhead tanks. The greatest challenge for designers is to make these sensors operate with ultra-low power using battery voltages between 2 and 6 V, while making the device insensitive to potential damage from leakage current coming from mains power running pumps and valves.

The design described here uses three sections of a 74HC14 CMOS logic-gate-type hex Schmitt trigger that draws less than 10 pA (see the figure). A large feedback resistance on the order of 1 M? limits the charging and discharging current to less than 5 µA. While sensor capacitance CS is in the 100-pF to 100-nF range, it doesn’t leak the charge into the fluid dielectric because the center electrode is made of steel insulated with Teflon. Series capacitor C1 is 100 times greater than CS and doesn’t affect the measurement since the effective capacitance of the two in combination is closer to the much smaller CS. Even if CS shorts to an electrical current or voltage source, the sensor oscillator remains isolated through capacitor C1.

The sensor is essentially a pair of parallel capacitors with fluid and air dielectrics. Consequently, CS varies when the fluid level (and, therefore, the air level) in the sensor changes. The dielectric constant of water is 80 times greater than that of air, so the effective capacitance depends on the water and its changing level in the sensor column.

The sensor’s output is a signal in the 0- to 10-kHz range, which can be easily counted and measured by a microcontroller. The fluid level is measured as reciprocal of the frequency:

Fluid level = k/f

where k is a constant for a given fluid type. If the fluid type changes, a new constant must be utilized. Users can exploit this fact to detect contamination in the fluid by comparing the signal from same-height fluid levels. This can be effectively used for sensing fat content in milk and adulterated petroleum products or food oils.

C1 must be a high-voltage NPO or X7R capacitor. A 2-kV X7R type was used in this application because NPO capacitors rated that high are very expensive. The device was tested and found to be safe even with such a high voltage leaking at the sensor end. The test current was limited to 1 µA at 1 kV. This fluid measurement technique was less expensive than dc-dc converter isolation and optical isolation methods.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.