EXP_5Automatic Water Level Controller2
EXP_5Automatic Water Level Controller2
EXPERIMENT-5
Aim of the Experiment:
To Design an Automatic water level controller using LabVIEW.
Apparatus Required:
SL List of Equipment’s Specifications Quantity
No.
1 DC pump motor 6V,80-120L/hr 1
2 Bread board - 1
3 LabVIEW installed PC Windows 10 1
4 DC Supply 30V 1
5 Resistance 18kΩ 2
6 NI DAQ USB 6009 1
7 Water Tank setup - 1
8 Water bucket 5L 1
9 Water pipe 1m 1
10 Connecting Wires - As required
Circuit Diagram:
Theory:
The main purpose of this experiment is to use LabVIEW to control DC Relay to automate the water
level in an overhead tank using DC motor pump. Metallic sensors are used for the detection of the two
levels in the tank. First Metallic contact is at lower level (Minimum level) of water tank and second
is at upper level (Maximum level) of water tank. If Water level is less then Minimum level, the
relay will turn the water pump on to pump water into the water tank. If no, the second scenario is
Water level is grater them Maximum level, the Relay will be instructed to turn off the water pump. If
none of the above conditions achieved, the program will be continued in monitoring level and
whenever the water level drop below Minimum level then again, the relay will turn on the water pump
on to pump water into the water tank. Thus, this system will be continued in detecting the water level
in tank and automatically turn on/off the water pump.
DEPARTMENT OF ELECTRICAL ENGINEERING
NATIONAL INSTITUTE OF TECHNOLOGY ROURKELA-769008
Measurement and Instrumentation Laboratory
Start
Yes
Water level < Minimum? Turn on the pump
Yes
Water level > Maximum? Turn off the pump
No
Pressed Stop Switch?
End
The whole logical operation of the block diagram is summed up in the truth table below
Table 5.1: Truth table of water level controller
Water level bottom Top NOT(T) NOR(B,T) Motor Last AND(X,T̅, OR(X,Y)
cases input Input Output Output state (M-1)) output
(Motor
B T T̅ X (M-1) Y state) M
0 0 1 1 0 0 1
1 0 1 0 1 1 1
1 1 0 0 1 0 0
1 0 1 0 0 0 0
0 0 1 1 0 0 1
Procedure:
1. Connect the circuit on a breadboard as shown in the figure.
2. Draw the given circuit and logic control on LabVIEW panel.
3. Submerse the DC pump motor into bucket of water.
4. Now turn on the switch of DC pump motor.
5. From the LabVIEW control panel start the model.
6. Now, observe and note down the different condition of metallic contact and their
operating condition of DC pump motor for water filling and draining cases of the
tank.
DEPARTMENT OF ELECTRICAL ENGINEERING
NATIONAL INSTITUTE OF TECHNOLOGY ROURKELA-769008
Measurement and Instrumentation Laboratory
Conclusions:
To be written by the students.
Discussion question
To be written by the students.
Precautions:
1. Always Wear Shoes in LAB
2. Disconnect the power source before servicing or repairing electrical
equipment.
3. SAFETY is of paramount importance in the Electrical
Engineering Laboratories.
4. Do not make circuit changes or perform any wiring when power is on.
5. Properly follow the Circuit Diagram