Low-Power Logic Gate Protects Fluid Sensor From Leakage Current

March 12, 2009
How to make fluid level sensors insensitive to mains-power leakage currents while operating from batteries.

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.

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!