Professional Documents
Culture Documents
Liquid Level Sensing Using Capacitive-to-Digital Converters: by Jiayuan Wang
Liquid Level Sensing Using Capacitive-to-Digital Converters: by Jiayuan Wang
Capacitive-to-Digital Converters
By Jiayuan Wang
Introduction
Procedures such as infusions and transfusions require exact The measured capacitance, Cx, is connected between the
amounts of liquid to be monitored, so they need an accurate, excitation source and the Σ-Δ modulator input. A square-wave
easy-to-implement method for sensing liquid level. This article excitation signal is applied to Cx during the conversion. The
describes the 24-bit capacitive-to-digital converters and level- modulator continuously samples the charge going through the
sensing techniques that enable high-performance capacitive Cx and converts it to a stream of 0s and 1s. The digital filter
sensing of liquid levels. processes the modulator output to determine the capacitance,
which is represented by the density of 1s. The filter output is
Capacitance Measurement Basics scaled by calibration coefficients. The external host can then
read the final result via the serial interface.
Capacitance is the ability of a body to store electrical charge.
The capacitance, C, is given by The four configurations shown
CIN+ in Figure 2 demonstrate
+
how
Q the CDC senses capacitance
CIN+
in single-ended, differential,
CDC
CORE
C= grounded, and floating sensor applications.+– CDC
V CIN+
+ CORE
– CDC
where Q is the charge on the capacitor and V is the voltage CIN+
+ CORE
EXCITATION
– CDC
across the capacitor. Cx SHIELD CORE
EXCITATION
–
Cx
In the capacitor shown in Figure 1, two parallel metal plates SHIELD
EXCITATION
with area A are separated by distance d. The capacitance, C, is Cx SHIELD
(a) SINGLE-ENDED GROUNDED SENSOR
EXCITATION
A Cx SHIELD
C = εO × εR (a) SINGLE-ENDED GROUNDED SENSOR
d (a) SINGLE-ENDED GROUNDED SENSOR
CIN+
where (a) SINGLE-ENDED GROUNDED SENSOR CDC
+
CCIN+– CORE
IN +–
• C is the capacitance in Farads CIN+ CDC
CIN – +CORE
• A is the area of overlap of the two plates = a × b – CDC
CIN+
• d is the distance between the two plates
CIN – + CORE
EXCITATION
– CDC
Cx Cy SHIELD CORE
• εR is the relative static permittivity CIN–
EXCITATION
–
Cx Cy
• εO is the permittivity of free space (εO ≈ 8.854 × 10−12 F m–1) SHIELD
EXCITATION
Cx Cy SHIELD
(b) DIFFERENTIAL GROUNDED SENSOR
EXCITATION
Cx Cy SHIELD
(b) DIFFERENTIAL GROUNDED SENSOR
PROCESSING
C1 CEXCA CDC
LEVEL ≈
C2 CIN2
CEXCB CDC DIGITAL
SENSOR DATA
(ELECTRODES
INSIDE PCB) GROUND
(CONNECTION C1
LEVEL ≈
TO LIQUID) C2
a b
C≈ 0 R
CAPACITIVE
d
SENSOR C1 ˜ LEVEL
C1 ˜ LEVEL
CAPACITIVE REF
SENSOR
C2 ˜ COMPENSATION C2 ˜ REF
R
Conclusion
This article provides an introduction to the capacitive liquid-
level sensing demonstration system.
References
AD7746 Evaluation Kit.
C 1 – C1DRY
Level = × Gain – Offset
C2 – C2DRY
Jiayuan Wang
Jiayuan Wang [ jiayuan.wang@analog.com] joined Analog Devices in
2013 as an applications engineer in the Customer Solution Enablement
Department located in Wilmington, MA. Jiayuan received his master’s
degree from Cornell University in 2013.