Shop OBEX P1 Docs P2 Docs Learn Events
Water Level Sensor — Parallax Forums

Water Level Sensor

mmorelandmmoreland Posts: 89
edited 2013-12-24 22:30 in Accessories
I'm looking at Parallax's eTape Liquid Level Sensor, and I wonder what folks think of using it to sense water depth in a well. It would be used to detect presence or absence of water at the lowest pumping depth in order to prevent a submersible pump from pumping out all the water and running dry.

I'm designing a ground source heat pump system using two wells as in a Standing Column Well system. Water will be pumped from one well through the source coil of the heat pump and be exhausted into the second well. When the first well has been pumped nearly dry, and here's where the depth sensor is needed, the first well pump will stop, and the second well pump will commence pumping water back through the heat pump until the second well is exhausted, and the process will repeat as long as heat is demanded from the heat pump. I'm beginning to design the circuitry for a controller, but it's necessary to have water depth detectors, and I wonder if the Parallax sensors would work in this situation, or is there a simpler way to detect the presence or absence of water in a situation such as this?

Any thoughts?

Michael Moreland
Mendocino, CA

Comments

  • kwinnkwinn Posts: 8,697
    edited 2013-12-21 12:20
    It should work as long as you can seal the connection tabs so water does not get in. Well water tends to have high mineral content which could affect the resistance readings. A simpler idea would be a magnetic float and a reed switch mounted in a small piece of plastic pipe.
  • mmorelandmmoreland Posts: 89
    edited 2013-12-21 12:24
    Regarding your suggestion, do you mean hand building a float switch? I had first imagined using a float switch, but the well casing is an 8" diameter PVC pipe, and it will have the pump and pipe in it, so I'm concerned that there won't be much freedom for a float switch to operate without snagging on something. If the float switch were very small, it might work, but nothing commercially made is small enough to work within an 8" diameter pipe. Can you describe your idea in more detail? mm
  • kwinnkwinn Posts: 8,697
    edited 2013-12-21 13:50
    Yes, I meant a DIY float switch. I made one a few years back, and it has worked quite well. Basically it consisted of a short piece of 3/4 inch PVC pipe with 2 caps and a straight connector as in the attached diagram. The float was a magnet foamed in place in 1/2 inch tubing, a groove was routed in the bottom cap and straight connector, and a reed switch was siliconed into the groove. Mine was tie wrapped to the pipe just above my submersible well pump and the wires ran up on the opposite side from the 220VAC wires that powered the pump.

    If space is very tight you could make it from 1/2 inch pipe as long as you make the magnetic float small enough to fit inside with enough clearance to move.

    PS the tube surrounding the float needs to be one piece to keep the float from hanging up, so the straight connector needs to be sanded/filed inside so it slides over the 3/4 inch pipe.
    369 x 271 - 17K
  • mmorelandmmoreland Posts: 89
    edited 2013-12-21 15:01
    Thank you. Nice design and sketch. If I understand it correctly, the float and magnet move up and down inside the larger tube. Sensor wires are attached to the reed switch. The entire apparatus is stationary and fixed to the pump pipe, so it doesn't have to swing up and down like an ordinary float switch. There's plenty of room for a 3/4" pipe and caps in my well casing. I can make a couple of those.

    Another thought from another point of view: If I hung one wire that was always submerged, that is it extended below the sub pump level or was attached as in the grounding screw to the sub pump, and a second wire with an exposed end or an electrode of some sort that was suspended a few feet above the sub pump intake, would it be possible to detect a change in resistance between the two wires when the water level dropped below the upper wire or electrode, so it would set in motion commands that would turn off the sub pump?
  • LA6WNALA6WNA Posts: 138
    edited 2013-12-21 15:11
    Hi there. Sounds like a exiting project. Just wanted to give you a idea, but I`m not sure if it fits your project. What about one of this pressure transmitters ??:
    http://www.ebay.com/itm/5m-Cable-Throw-in-Type-Liquid-Level-Transmitter-Level-Sensor-Level-Transducer-/170924210980?pt=LH_DefaultDomain_0&hash=item27cbe07b24#ht_776wt_1236
    I`ve ordered one myself for measuring depth i my dam for my micro hydro-powerstation. Have not got it and tested it yet, but I think it`ll work.
    This one can measure down to max 5m depth, but you can get transmitters that measures over a hundered meters down. Not sure what depth we`re talking about in your project?.
    As I said; just an idea.
  • mmorelandmmoreland Posts: 89
    edited 2013-12-21 16:16
    Thanks, Peter, I'll have a look. My wells are 24 ft. deep, and the height of the water in the well is at 12 ft from the surface.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-21 16:35
    mmoreland wrote: »
    Another thought from another point of view: If I hung one wire that was always submerged, that is it extended below the sub pump level or was attached as in the grounding screw to the sub pump, and a second wire with an exposed end or an electrode of some sort that was suspended a few feet above the sub pump intake, would it be possible to detect a change in resistance between the two wires when the water level dropped below the upper wire or electrode, so it would set in motion commands that would turn off the sub pump?

    This is a lot like my initial thought after reading your top post. What about a stick/pole/pipe with two wires which are bare at the ends. Stick the pole down to level to be monitored and test the resistance. The hard water of many wells should be enough to trigger a significant change in conductivity between the wires submerged and unsubmerged states.

    One of the problems with the wires is the need from some sort of ADC to monitor them. You'll also need to figure out a couple of calibration points for the wet and dry values. It sure seems like kwinn's reed switch idea is more straight forward.

    BTW, Is there anything kwinn hasn't done? It sure seems like he has experience in just about every field brought up on these forums. I myself have learned a lot from his posts.
  • kwinnkwinn Posts: 8,697
    edited 2013-12-21 21:02
    mmoreland wrote: »
    Thank you. Nice design and sketch. If I understand it correctly, the float and magnet move up and down inside the larger tube. Sensor wires are attached to the reed switch. The entire apparatus is stationary and fixed to the pump pipe, so it doesn't have to swing up and down like an ordinary float switch. There's plenty of room for a 3/4" pipe and caps in my well casing. I can make a couple of those.

    Another thought from another point of view: If I hung one wire that was always submerged, that is it extended below the sub pump level or was attached as in the grounding screw to the sub pump, and a second wire with an exposed end or an electrode of some sort that was suspended a few feet above the sub pump intake, would it be possible to detect a change in resistance between the two wires when the water level dropped below the upper wire or electrode, so it would set in motion commands that would turn off the sub pump?

    You described it perfectly in the first paragraph. The problem with standard float switches is that they need space to swing and can get hung up in tight or cluttered spaces. This avoids those problems. Since your well is so shallow it might be simpler to keep the float assembly separate from the pump pipe by putting a weight in the bottom of the assembly and hanging it on the side of the well pipe. That way any repairs that might be required would not involve pulling the pump up.

    The idea of measuring resistance would probably work, but it is more complicated than a simple on/off switch.
  • kwinnkwinn Posts: 8,697
    edited 2013-12-21 21:20
    Duane Degn wrote: »
    This is a lot like my initial thought after reading your top post. What about a stick/pole/pipe with two wires which are bare at the ends. Stick the pole down to level to be monitored and test the resistance. The hard water of many wells should be enough to trigger a significant change in conductivity between the wires submerged and unsubmerged states.

    One of the problems with the wires is the need from some sort of ADC to monitor them. You'll also need to figure out a couple of calibration points for the wet and dry values. It sure seems like kwinn's reed switch idea is more straight forward.

    BTW, Is there anything kwinn hasn't done? It sure seems like he has experience in just about every field brought up on these forums. I myself have learned a lot from his posts.

    Thanks Duane, that's very flattering, but there's lots and lots of stuff I don't know. Most of what I have learned comes from meeting a lot of very smart people while working on their equipment. Nothing like working on computers and electronics to get exposure to a wide range of fields.

    BTW, your idea of using two wires and measuring the resistance would work for both measuring actual depth and as an on/off signal. An ADC would be needed to measure the actual depth, and a comparator is all that would be needed for on/off control.
  • prof_brainoprof_braino Posts: 4,313
    edited 2013-12-22 06:44
    Have you considered a ping))) or SR04 ultrasonic sensor? I have an SR04 in the end of a 2" PVC pipe that extends to the bottom of a sump pump well. its win a few mm over the length of the tube, about 1 m. Its been running for the last couple months, and seems to be doing ok.

    The code is in forth, but you can probably get an idea of whats going on and do similar in spin.

    http://code.google.com/p/propforth/wiki/Logger1SR04
  • Tracy AllenTracy Allen Posts: 6,658
    edited 2013-12-22 11:46
    Hi Michael,

    Are you still working with the BASIC Stamp? Chapters 5 and 6 of the old Stamps in Class Applied Sensors (aka Earth Measurements) are about measuring water level with a conductive probe, and then putting it in a feedback loop to control water level.

    I like Kwinn's scheme a lot. Other techniques for detecting water level take advantage of high thermal conductivity, or electrical capacitance, as water covers a probe, or the acoustic resonance of the pipe, or the weight of the water on top of a pressure sensor.

    BTW, How's the solar tracker working out? Getting enough sun there on the coast?
  • RforbesRforbes Posts: 281
    edited 2013-12-22 19:03
    Wow, that's a great idea. I hope it works out well for you! Errr.. no pun intended. :)

    Madison offers a good selection of level sensors and float switches. If you're not opposed to buying and off-the-shelf product, they would probably have what you're looking for.

    I'd like to offer one small suggestion. Assuming the wells in question are private wells and not a public water utility well, you're not required to perform a draw-down test on either of the wells. If you can afford to do them, I'd strongly recommend doing so. The information you gain from the test is invaluable to you, as well as to the environment.

    Using one source and one sink, you will be drawing one of the wells down when the other is filling. The draw-down test simply let's you get verified flow rates that are attainable from each well over a 24 hour period, with rates given at each hour of continuous draw-down.

    Having said that, you will "treat your water table" better if you don't draw the well down too low. In a typical standing column well type system, you're really not depleting the water table (source) of the well because you're pumping out of the well (from the bottom), then dumping right back into it (at the top.) So the only loss in head you have is from the capacity of the system, when the working fluid is in transient.

    It would be better for the eco-system AND your geothermal system to draw short intervals from each well. This minimizes possible collapses in the well cavity (near the actual pump) which in turn minimizes disturbances, and thus silt/sand/whatever from being pumped into your system. If it's a deep well in bedrock, this probably isn't a significant issue. Otherwise, you'll have serious fouling from detritus.

    Thermally, your performance should be better when you draw from one well for an hour (just an example time period) and then reverse and draw from the other for an hour... but I'm not completely sure about this- it's a complex issue, as you know! :)

    I guess that's my long-winded recommendation of saying "Don't worry about a float switch. Just draw for an hour or two from each well, then reverse flow." Of course, this is only if you're going to be pumping from the bottom of the well and discharging to the top of the other. If not, may have to get rid of your check valves or foot valves on each well pump (depending on construction) and that could cause all sorts of fun priming issues and whatnot.

    Good luck!! Please keep us posted, I'm really interested to see how this turns out for you! :)
  • mmorelandmmoreland Posts: 89
    edited 2013-12-22 20:15
    Hi Tracy...nice to see you in the thread! I like Kwinn's scheme a lot, too, and I will use it if I cannot find a means that has no moving parts. Yes, I'm still working with the Basic Stamp, and I'm hoping it will be appropriate for building the controller I need. I own the "Applied Sensors" book, and I will go to it when I return home from the Bay Area. The whole arrangement of pumps and valves will need a controller, I believe, since the water will be coming and going from and to two different directions, but it must pass through the heat pump in only one direction, so I'd hope to build well pump protection into the controller scheme. Each well will have its own submersible pump. I only wish there were smaller than 1/2 hp pumps on the market since they seem like such overkill for the 3-4 gpm needed for the heat pump.

    The solar tracker is working perfectly (I shouldn't say such things and temp the gods), and it's kicking out the kilowatt hours. We're getting a little too much sun here on the coast lately and sorely need some rain, but thanks for remembering and asking about the array. The results of all that teaching you and others did for me have had a lasting result. Of all the connections I've made online and otherwise, this forum gives me hope for the world!

    I will look into your suggestions and, no doubt, be back on the forum asking for help. mm
  • mmorelandmmoreland Posts: 89
    edited 2013-12-22 20:27
    Hello Rforbes, Thank you for your long, thoughtful reply. I own both the wells. They are about 50' apart. I intend to draw from the wells in turn only for short intervals, but I feel I need some sort of pump protection, just in case things go awry. When I described the situation above, I made it seem as if I would pump down each well before switching, but it's not really what I intend to do, but to do as you've described above. I want to pump a sufficient amount out of a well so that there will be some recharge of water at ground temperature, but not so much that the exhaust water will completely displace the receiving well's capacity. This is a little twist on standing column wells in that it seems to be the case that water is returned to the well from which it is being pumped, or it is wasted by being diverted to a drainage thereby bringing new water at ground temperature into the well. I don't want to mess with the general water table except to extract the heat it contains. Water is too precious a commodity here for anyone to treat it casually.

    I intend to perform draw down tests on both wells just so I can have a better idea how much can be safely drawn in an interval such as you describe.

    I'm mainly on this forum to get help in designing and building a controller for the pumps and a motorized 3-way valve, but I'll also post information as I discover it regarding the project as a whole. mm
  • mmorelandmmoreland Posts: 89
    edited 2013-12-24 14:00
    New direction: I got on the forum a bit too soon, before I'd thought this thing out well, although the conversation has helped me greatly to think it through. I'm changing the plan to use one 1/2 hp shallow well jet pump that will run without stopping and starting while two three-way valves alter the flow between the wells according to a timing schedule to be determined once well capacity is ascertained. I won't have to worry about drawing down the wells as Rforbes pointed out, and switching direction of the water will be simplified greatly. The valves have feed back capability, so their direction of flow can be monitored. Once the heat pump thermostat calls for heat, the start up of the heat pump can be delayed a bit while the pump begins moving water through the coils at which time a timing cycle can take over changing the pumping direction, and the heat pump can run until the thermostat opens and the heat pump and all can stop. I'll get back on the thread in a few weeks when I have some results from testing.
  • mmorelandmmoreland Posts: 89
    edited 2013-12-24 22:30
    When I return with additional information or questions, I'm going to move this thread to the Projects Sub-Forum. mm
Sign In or Register to comment.