tl;dr: After an extended conversation with an old-timer, I realized a few things:
- The single most valuable measurement for the majority of people will be water-depth-in-well.
- The second most valuable will be water-flow-from-well.
- The "bubbler" solution discussed below has another major weakness (in addition to the frailty of air pumps): the introduction of oxygen into the well water will cause oxide formation, leading to mineral encrustation of not only the opening of the tubing, but extending all the way up inside to wherever its normal level would be. He knows because he's had to deal with something almost exactly analogous and it was a major hurdle. Larger size tubing will slow down the process, but eventually the tubing will be blocked.
- We are reexamining the solution that uses a bladder-in-tank with differential pressure sensor. He had specific ideas about how to do this that sound doable (but there are still some details to be dealt with).
- Oh, and he solved the tank problem in about 10 seconds. Put a pressure sensor on the pipe from the tank to the pressure pump. Ignore the spikes that happen when the pump kicks in, and we have exactly the pressure reading we want with cheap, well-understood sensors. Sheesh! It was so obvious once he said it I almost kicked myself.
I thank all of you for your ideas and your analysis. If anyone is interesting in seeing how the project unfolds, keep an eye on waterunderground.net. It's pretty empty at the moment, but should have more content in a month or so.
Backstory
I am designing an open-sourced well & water-usage monitoring system for people in Northern California. The goal is to be able to measure water flow from well-to-tank, tank-to-house, and tank-to-irrigation, plus monitor the water depth in the tank and the well. Our current target parts cost is under \$200 for a system including CPU, 3 flow sensors, and 2 pressure sensors, although we think we may be able to get it closer to \$100 after a few design iterations.
We appear to have the flow sensor portion solved now that we finally have a supplier of Female G1 => U.S. 1" slip adapters to integrate cheap Hall effect sensors into a standard U.S. piping environment. The depth measurement solution is not so straightforward.
I'm asking for a sanity check on my reasoning here before I go off and start buying stuff that is wrong, either in size, type, or altogether.
Problem statement
I need a low-cost way to measure the depth of 2 columns of water with moderately decent accuracy, say +/- 5%. Although our own property is site Alpha 1, we would like a solution that scales up, or down, for other properties with similar needs.
We have:
- A 3,000 gal storage tank that is approx. 8.5' of water when full. Other tanks are of similar height +/- 5'.
- A water well. Our own well is 75' deep w/ 37' of water. Other wells in the area are as shallow as 30' w/ 15' of water, or as deep as 300' w/ 70+' of water.
We have the following criteria:
- No more than \$30 for the tank and (hopefully) no more than \$50 for the well. Lower costs would be great.
- Solution must integrate in some manner (handwave) with an Arduino, BeagleBone Black, or similar low-cost controller.
- A continuous readout is desirable, but something that triggers every 15, 30, or <whatever> minutes would be acceptable.
- No electronics/electrical systems in the well or tank.
- No metal in the well or tank, with the possible exception of material used to weigh down the tubing that goes into the water.
- The solution should work reasonably well (no pun intended) for wells from 35' deep w/ 15' of water, up to wells 300' deep w/60+' of water.
Amongst several solutions considered so far, our current front-runner is a "bubbler", as described in this article:
A bubbler-type level sensor is shown in Figure 3. A dip tube having its open end near the vessel bottom carries a purge gas (typically air, although an inert gas such as dry nitrogen may be used when there is danger of contamination of or an oxidative reaction with the process fluid) into the tank. As gas flows down to the dip tube's outlet, the pressure in the tube rises until it overcomes the hydrostatic pressure produced by the liquid level at the outlet. That pressure equals the process fluid's density multiplied by its depth from the end of the dip tube to the surface and is monitored by a pressure transducer connected to the tube.
We are planning on using:
- A 1/4" to 3/8" open-ended tube weighted down (or better yet, zip-tied to the well's up-pipe) to hang a short distance above the bottom (we can get closer in the tank, but wells tend to silt up so that will be within a couple of feet). The small down-tube is a strong point in favor of this approach because almost nothing is going into the well itself.
- Some (cheap) source of air pressure sufficient (300+ kPa) to blow all of the water out of the tube in the well. Once the value from the sensor plateaus it means we're blowing bubbles and we can convert pressure to feet of water.
- At the top we tee the tube into a differential pressure sensor, such as the Freescale MPX5500DP, which can handle up to 500 kPa, which translates to approx. 160' of water. They have a slightly more accurate one (the 5100 series) for shorter columns, such as in the tank. We selected the differential sensor to allow for varying atmospheric pressure.
- The specifics of the Arduino turning the air pump on/off have not been decided, but I believe it will be straightforward once we know what kind/size of pump we are trying to control.
Note: although we can easily calibrate the reading from the tank sensor, the well may be more problematic. In our own case we have a way to use a drop-line to directly measure the well depth and water column height, in other cases this may be difficult.
Questions
- Is there anything about this approach that is fundamentally flawed?
- Will temperature changes (primarily in the tank, not so much in the well) make any real difference here?
- Other than the volume of air needed for different diameters of tubing, will a pump have to work harder to achieve a given pressure if we use a larger or smaller down-tube?
Update to answer questions:
User null asked if there was unnecessary redundancy in the system; wouldn't just the depth in the tank be sufficient? Not really. Each of the measurements gives us some information the others do not. Although there is some overlap in what is being measured, I see that as an opportunity for a sanity check on the system.
For example, if the measured flow from the well does not have a fairly close correlation (shifted in time because of the tank) with the combined flows to the house and irrigation system, then something is out of whack.
Combining the flow-from-well chart with the well-water-depth chart can give critical information about the well's recharge rate. If recharge is dropping off, then we have some serious trouble coming toward us.
Finally, if our well-water-depth is dropping and we aren't using that much water then it could mean that one of our neighbors, say the the 300 acre vineyard about 1/2 mile up the hill, is over-pumping. Unfortunately, California is the only state without any regulation of below-ground water, so we can't stop them, only get ready to order a 3,500 gallon load of water for $175 a pop.