M BUZZ CRAZE NEWS
// news

Can anyone identify this curve produced by a capacitive sensor?

By Jessica Wood
$\begingroup$

Background

I have made a tubular capacitive liquid level sensor (This is a professional one, for example). It outputs a frequency that is inversely proportional to the capacitance.

The problem

I have taken readings and put them into an Excel spreadsheet, along with the depth of water when they were taken. They seem to be logarithmic, but they are not. I have taken the natural logarithm and normalized the values, and plotted this versus the percentage of submersion of the sensor.

This is the graph:

enter image description here

X is percentage submerged, Y is reading. "Log Normalized" is the plot of the normalized logarithm values. "Linear" is the plot of the expected/wanted values. "Diff" is the difference between the "Log Normalized" value and the "Linear" value for each pair of those values.

In the final application, I will have a reading, and will will need to find the depth of the water the sensor is in.So I have a point along "Log Normalized", I know its Y-position, and I want to find its X-position (percentage submerged). If I can identify "Diff", I can use that formula to get "Linear" from "Log Normalized".

This is the spreadsheet:spreadsheet of readings

Cross-posted on electronics.stackexchange.com.

$\endgroup$ 7 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy