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

TTI Transportation Resource Center

April 8, 2024
From sensors to vehicle electrification, from design to production, on-board and off-board a TTI Transportation Specialist will help you keep moving into the future. TTI has been...

Cornell Dubilier: Push EV Charging to Higher Productivity and Lower Recharge Times

April 8, 2024
Optimized for high efficiency power inverter/converter level 3 EV charging systems, CDE capacitors offer high capacitance values, low inductance (< 5 nH), high ripple current ...

TTI Hybrid & Electric Vehicles Line Card

April 8, 2024
Components for Infrastructure, Connectivity and On-board Systems TTI stocks the premier electrical components that hybrid and electric vehicle manufacturers and suppliers need...

Bourns: Automotive-Grade Components for the Rough Road Ahead

April 8, 2024
The electronics needed for transportation today is getting increasingly more demanding and sophisticated, requiring not only high quality components but those that interface well...

Comments

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