discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/270684132
CITATIONS READS
0 556
2 authors:
Some of the authors of this publication are also working on these related projects:
Enhancement of the gain of UWB planner antennas using PRS View project
Simulation and Design of a color image watermarking algorithm using Fractal Mathematics View project
All content following this page was uploaded by Dr. Pravin R. Prajapati on 11 January 2015.
ABSTRACT:
This paper describes the control of level in water tank and boilers in the thermal plants
for safety purpose and for domestic use. Efficient FPGA based water level controller is
described which turn on the motor pump when water in the overhead tank falls below the
lowest level and turns it off when the upper tank is full. It also turn off motor when lower
tank level is falls below the lowest level in respective of condition of upper tank level.
Moreover, if the pump is running dry due to non availability of water, it will sense dry
run condition and turn off motor automatically. For indication of motor on, motor off and
dry run conditions LEDs are connected. Manual facility to turn on and off of motor also
included. The embedded system is designed with Spartan 3 FPGA family, level sensors,
LED indicators and dry run sensors for automatic level control of water tank.
Index Terms: Field Programmable Gate Array (FPGA), Fuzzy Controller, RTL
Schematic, Dry Run, HDL code, Slices, Synthesis.
2
3.0 IMPLEMENTATION OF
THE WATER LEVEL
CONTROLLER:
The device used for the implementation is
Spartan -3 1.2V FPGA family XC3S400-
4PQ208.The Spartan TM -3 family is
supported by the complete set of Xilinx
integrated Software Environment
(ISE)[1] development tools, with
additional support available from a
variety of partners. Figure 3 (Resistor Transistor Logic) RTL
schematic
The design for the water level controller The above figure 3 shows the gate level
using FPGA family XC3S400-4PQ208 is implementation design of the water level
shown below in figure 2. controller. Here in the figure 3 the inputs
are the level sensors of the upper tank and
lower tank. Another input is the output of
the wire, which indicates the presence of
water in the line. Depending on these five
inputs the digital design shown above
will make the motor on / off. Also if the
motor is on, the status of sensor for the
dry running condition is checked and if it
will give the 0 result, the motor will be
off and the LED will indicate the DRY
Figure 2 (Resistor Transistor Logic) RTL
condition. The comparison of the water
schematic
level sensors of the upper tank and the
lower tank is made by the design shown
The above figure 2 is the RTL schematic
below in figure 4.
generated after synthesis of the HDL
Code. Again the detail of the design is
generated by double clicking on the
symbol generated by the synthesis tool.
The pop up window will show the
internal detail of the block shown above
in figure 2. The detail inside the block is
shown in figure 3 below.
3
the water levels detected by the input
vector, the device is programmed to make The Delay summary Report:
the motor on or off. The design is also
having the feature of stopping the motor The number of signals not 0
in dry condition. Means when motor is on completely routed for this design is:
and water is not transfer because of any
reason the design will stop the motor to The average connection delay for 0.545
protect from the dry condition. The this design is:
simulation result is shown below in figure The maximum pin delay is: 1.283
5:
The average connection delay on 0.675
the 10 worst nets is:
4
B to water. LED1 goes off and the delivered from the water pipe
relay de-energies to turn the pump doesnt touch any of the
off. This would be the case when suspended water-level sensors.
water touches the overflow limit. 2. Mount the dry run sensor firmly
2. Remove points A from the water onto the water pipe such that elec-
assuming that water level goes below trodes E and F are shorted by
lower limit. Relay will be energies water flowing out of the pipe.
and motor will be on. 3. Use a properly shielded cable to
3. Similar task can be done for upper carry signals from the tank to
tank. water level controller unit.
The complete circuit diagram of the
water level controller is shown below 6. CONCLUSION
in figure 6.
The objective to use the FPGA for
+12V 12V, 100
Ohm Relay
water level control is to improve the
Upper Tank
R1
functioning of the level controller in the
4 Bypass
D R5
T1
330
ohm 1
IC
PC817
T5
Switch
230 V
Motor
industries and domestic use. The FPGA
R9
3
L AC
50Hz
N
used for the water level control is much
C
R2
2 more superior in technology, more
Sensor 3
R6
R3
efficient and effective, more precise in
Sensor 2
R10 T2 Spartan-3,
1.2V
FPGA
level control, simpler in use and more
Sensor 1
Family
XC3S400-
4PQ208
economic as compared to the
Sensor 0
R7
R4
LED for
conventional methods. The role of the
R11 Wire Dry Run
T3
indication
level indicator becomes so critical that
B
To Point A
it is malfunctioning can lead to total
R8
T4
R1-R4 =10k Ohm
disruption of the system functioning of
A R12 R5-R8 =10k Ohm
R9-R12 =100k Ohm
the level control of tank. So rust free
R
Lower Tank
T1-T5 =BC 548
and alkali free sensor should be used.