The article explains 3 simple automatic water level controller circuit designs which can be used for controlling the water level of an underground water tank by switching the pump motor ON and OFF, depending upon the relevant levels of water in the tank and the position of the immersed sensor points.
1) Using IC 4093
As we all know water (in it’s impure form) that we get in our homes through our house water supply system, has a low resistance to electrical energy.
In simple words, water conducts electricity albeit very minutely. Normally the resistance of tap water might be in the range of 100 K to 200 K.
This resistance value is quite enough for electronic for exploiting it for the project described in this article that is for a simple water level controller circuit.
We have used four NAND Gates here for the required sensing, the whole operation may be understood with the below given points:
How the Sensors are Positioned
Referring to the above simple automatic water level controller indicator circuit, we see that point B which is at the positive potential is placed somewhere at the bottom section of the tank.
Point C is placed at the bottom of the tank, while point A is pinned at the top most section of the tank.
As long as water remains under point B, potentials at point A and point C remain at negative or ground level. It also means that the inputs of the relevant NAND gates are also clamped at logic low levels because of the 2M2 resistors.
The outputs from N2 and N4 also remain at low logic, keeping the relay and motor switched OFF. Now suppose the water inside the tank starts filling and reaches point B, it connects point C and B, input of gate N1 becomes high making the otput of N2 also high.
However due to the presence of D1, the positive from the output of N2 does not make any difference to the preceding circuit.
Now when the water reaches point A, input of N3 becomes high and so does the output of N4.
N3 and N4 gets latched due to the feedback resistor across the output of N4 and input of N3. The high output from N4 switches ON the relay and the pump starts emptying the tank.
As the tank gets vacated, the position of water at some point of time goes below point A, however this does not affect N3 and N4 as they are latched, and the motor keeps running.
However once the water level reaches below point B, point C and the input of N1 reverts to logic low, output of N2 also becomes low.
Here the diode gets forward biased and pulls the input of N3 also to logic low, which in turn makes the output of N4 low, subsequently switching OFF the relay and the pump motor.
Following parts are required for making this water over flow controller circuit.
R1 = 100K,
R2, R3 = 2M2,
R4, R5= 1K,
T1 = BC547,
D1, D2 = 1N4148,
RELAY = 12V, 400 OHMS,
N1, N2, N3, N4 = 4093
The above discussed circuit was successfully built and tested by Mr. Ajay Dussa, the following images sent by Mr. Ajay confirm the procedures.
2) Using IC 4017
Here's the Circuit Requirement:
"I have just discovered this site with these circuits and wonder if you possibly can guide me….. I have a very similar necessity.
I want a circuit to avert a submersible bore pump (1100W) functioning dry, ie exhausting its water supply. I need the pump to shut off when the water level reaches approximately 1M above the pump intake, and start up again as soon as the water level reaches about 3M above the intake.
The pump body at earth potential would likely impart the typical reference. The probes and associated wiring to the surface area had been in place at those ranges.
Any assistance you can render would be much acknowledged. I will be able to put up circuits but hardly possess the understanding to figure the specific circuitry out. Many thanks in eager expectation."
Simulation and Working
Let's assume the setup is exactly as shown in the above figure, In fact this circuit needs to be initiated in the existing position that's shown in the figure.
Here we can see three probes, one having common ground potential attached at the bottom of the tank and is always in contact with water.
The second probe is around 1 meter above the tank bottom level.
The uppermost probe above 3 meters above the bottom of the tank level.
In the shown position, both the probes are at the positive potentials via the respective 2M2 resistors, which renders the output of N3 positive, and the output of N1 negative.
Both these outputs are connected with pin#14 of the IC 4017 which is used as a sequential logic generator for this application.
However during first power switch ON the initial N3 positive output does not have any effect on the IC 4017 sequencing, because at switch ON the IC gets reset through C2 and the logic is unable to shift from its initial pin#3 of the IC.
Now let's imagine water beginning to fill the tank and reaching the first probe, and this causes the output of N3 to go negative, which again has no impact on the output of IC 4017.
As the water fills and finally reaches the uppermost probe, this causes the output of N1 to go positive. Now this impacts the IC 4017 which shifts its logic from pin#3 to pin#2.
Pin#2 being connected with a relay driver stage, activates it and subsequently activates the motor pump.
The motor pump now starts drawing water out of the tank and keeps emptying it until a time when the tank level begins receding and goes below the upper probe.
This reverts the output of N1 at zero, which does not impact the IC 4017 output, and the motor keeps running and emptying the tank, until finally the water goes below the lower probe.
When this happens, the N3 output turns positive, and this impacts the IC 4017 output which shifts from pin#2 to pin#4 where it is reset through pin#15 back to pin#3.
The motor stops here permanently... until the time when the water again starts filling the tank and its level yet again rises and reaches the uppermost level.
Using IC 4049
Another simple circuit for controlling tank overflow can be built using a single IC 4049 and used for the intended purpose.
The following image shows the complete schematic.
Here we find the IC 4049 being used not only to start and stop a pump motor but also to indicate the various levels of the water through LEDs.
More information about this concept can be studied in this article.
Customizing the first IC 4093 based Circuit
This customized ideal water level controller circuit idea was proposed and requested to me by Mr. Bilal Inamdar. The designed circuit attempts to enhance the above simple circuit into a more personalized form.
The circuit is exclusively designed and drawn by me.
Objective of the circuit
Well simply I want add a acrylic sheet bellow my tank which will contain tube lights. In short acrylic ceiling. The tank level can't be observed because of the sheet. This is Also needed for terrace tank 1500 Ltrs to observe level indoors without going outside.
How it will help
It will help in many scenarios like to observe terrace tank level, to observe and operate overhead tank level and to observe underground tank water level and operate the motor. Also it will save precious water from wasting due to overflow (go green). And release the tension caused due to human error ( forgetting to turn the pump on &filling the water also turn off the motor)
Application area :-
Size - height = 12" width = 36" length = 45"
the tank is used for drinking, washing & bath.
The tank is 7 foot above the flooring.
The tank is kept in the bathroom.
Material of the tank is plastic (or PVC or fiber whatever non conductive)
The tank have three connection
Inlet 1/2", outlet 1/2" and whirlpool (overflow) 1".
The water fills from inlet. The water comes from outlet for use. The overflow connection prevent water overflowing on the tank and channelized it to drainage.
The hole of outlet is lower and the overflow and inlet is higher on the tank (ref height)
The tank probes and level
|_A probe (overflow)
|_D probe (Medium)
|_C common probe
As per the scenario I will now explain how the circuit should work
1) Input of the circuit 6v AC/DC (for backup) to 12 AC/DC (for backup)
2) The circuit should mainly work on AC ( my mains is 220-240vac) with use of transformer or adaptor this will avoid probe rusting which occurs due to positive negative stuff.
3) The dc will drives from 9v battery easily available or from aa or aaa battery.
4) We have lots of power cut so please consider backup dc solution.
5) the probe used are aluminum wire 6mm.
6) The resistance of water changes as per location so the circuit must be universal.
7) There must be a sound which is musical as well as different for very high and very low. It can go bad so next sound is preferable. A buzzer is not suitable for big room 2000 sqft.
8) The reset switch must be a normal door bell switch which can be put in existing electric board.
9) There must be at least 6 led
Very high, very low, ok, low, mid, motor on/off. The mid must be considered for future expansions.
10) The circuit should indicate led of light gone when there is no AC current.
And switch to dc back. or add two led for indication On AC and On battery.
1) Probe B - if the water goes below this a indication led of very low must glow. The motor should start. The alarm should sound. The sound must be unique for very low level.
2) if the reset switch is pressed than the sound must go off everything else remains the same ( circuit armed, led glowing, motor)
3) if the water touch probe B the sound must be killed automatically. The very low indication led turn off the Low indication led turn on nothing else
4) Probe D - if the water touch probe The low indictor turn off. The ok level led turns on
5) Probe A - if the water touches this probe the than
The motor turns off
The ok level led goes off and the very high level led glows.
The bell/ speaker turns on with different tune for very high. Also if the reset button is pressed in this case than also there must be no other effect rather than killing the sound.
Last but not least the circuit diagram should be expandable to E,F,G etc for very big tank (like mine on terrace)
One more thing I m not able to know how the mid level should be indicated.
Too tired to write more sorry. Name of the project (just a suggestion) Perfect Water Tank level automation or perfect tank water level controller.
Parts List for the above customized water level controller diagram:
R1 = 10K,R2 = 10M,R3 = 10M,R4 = 1K,T1 = BC557,Diode = 1N4148Relay = 12 volt, contacts as per pump current rating.All Nand gates are from IC 4093
Circuit functioning of the above configuration
Assuming the water level to be at point A, the positive potential from point "C" in the tank reaches the input of N1 through water, making the output of N2 go high. This triggers N3, N4, transistor/relay and horn#2.
As the water comes down, below point "A" the gates N3, N4 maintain the situation due to the latching action (feedback from its output to input).
Therefore horn#2 remains switched ON.
However if the upper reset switch is pressed, the latch is reversed and maintained to negative, switching OFF the horn.
In the meantime, since point "B" is also at positive potential, keeps the output of the middle single gate low, keeping the relevant transistor/relay and horn#1 switched OFF.
The output of the lower two gates is high but has no effect on the transistor/relay and horn#1 because of the diode at the base of the transistor.
Now suppose, the level of the water falls below point "B", the positive from point"C" is inhibited and this point now goes logic low via the 10M resistor (correction required in the diagram which is showing 1M).
The output of the middle single gate immediately becomes high and switches ON the transistor/relay and horn#1.
This situation is maintained as long as the water level is below point B.
However horn#1 can be switched OFF by pressing the lower PB, which reverts the latch made from the lower couple of gates N5, N6. The output of the lower two gates becomes low, pulling the base of the transistor to ground via the diode.
The transistor relay switches OFF and hence horn#1.
The situation is maintained until the water level again rises above point B.
Parts List for the above circuit is given in the diagram.
Circuit functioning of the above configuration
Assuming the water level to be at point A, the following things can be observed:
The relevant input pins of the gates are at high logic due to the positive from point "C" coming via the water.
This produces a logic low at the output of the upper right gate, which in turn makes the output of the upper left gate high, switching ON the LED (bright glow, showing the tank is full)
The input pins of the lower right gate is also high, which makes its output low and therefore the LED marked LOW is switched OFF.
However this would have made the lower left gate output high, switching ON the LED marked OK, but due to the diode 1N4148 it keeps its output low so that the "OK" LED remains OFF.
Now suppose the water level falls below point A, the upper two gates reverts their position switching OFF the LED marked HIGH.
No voltage flows through 1N4148 and so the lower left gate switches ON the LED marked "OK"
As the water falls below the point D, the OK LED still glows because the lower right gate still remains unaffected and continues with a low output.
However the moment water level goes below point B, the lower right gate reverts its output because now both its inputs are at logic low.
This switches ON the LED marked LOW and switches OFF the LED marked OK.
Parts List for the above circuit is given in the diagram
IC 4093 PIN-OUT Diagram
Please remember to ground the input pin of the remaining three gates which are not used.
In all three ICs would be required constituting 16 gates, only 13 will be used and 3 will remain unused, the above precaution must be followed with these unused gates.
All the relevant sensor points coming out from different circuits must be joined together and terminated to the appropriate tank sensor points.