Beruflich Dokumente
Kultur Dokumente
I. INTRODUCTION
Rapid advances in electronic technologies have made a
variety of inexpensive sensing, monitoring, and control
capabilities available. Liquid-level monitoring plays an
important role in todays automotive, oil, water, pressure, and
gas industries to name a few. For example, pumping oil into a
storage tank requires liquid-level monitoring to prevent
spillage. Draining liquid out of a silo into bottles also requires
liquid-level monitoring for volume control.
For development of inexpensive sensing and monitoring
Niu et al. [3] has proven the use of multifunctional pressuretype liquidometer (MPTL) as a novel method of liquid level
and density measurement with application in airtight container
such as oil storage tank. Zhang et al. [4] has demonstrated an
asymmetric FabryProt fiber-optic pressure sensor is capable
to precisely measure liquid levels. In vivo blood pressure
sensing applications, Brox et al. [5] reported in producing a
novel micromachined capacitive pressure sensor fabricated on
a metal substrate without using a photolithographic process.
The research project was funded by the School of Engineering and Physics,
the University of the South Pacific, Fiji.
Page | 1
Fig. 3: Layout for the designed model (a) 3D Layout (b) 2D line
drawing
B. Selection of Parts
1) Microcontroller
Arduino Mega 2560 [9] is used as a microcontroller for
this project to build a stand-alone system, hence the system
does not need to be required to connect to the computer.
Arduino provide an open-source computing platform. A
simple I/O development board is used to write the
programming. Moreover Arduino Mega 2560 boards can be
interfaced through any of the computer operating systems
such as Mac, OS X, Windows, and Linux. The pin
allocated for interfacing the components is shown below in
Fig. 4.
Page | 2
2) Pressure Sensor
BMP085 Pressure Sensor [11] is used for level
monitoring in this context. BMP085 is optimized for use in
outdoor applications and for research purposes due to its
ultra-low power and low voltage electronics. It is based on
piezo-resistive technology for high accuracy, linearity and
long term stability. A schematic shown in Fig. 5 illustrates
the mounting of BMP085 in an air column.
Microcontroller
3) LCD Display
A 16 X 2 LCD Display screen is used in this project.
The main purpose of the LCD is to display the current
status of the system such as fuel level of the tanks and event
status. A push button connected to external interrupt pin is
used to display the volume in the tanks at any given time.
4) Relay
OMRON G2R-1 Relay [13] was selected for use in this
project. The relay was soldered onto a printed-circuit board
(PCB) along with the ULN2003AN integrated chip(IC)
(Fig. 6). The chip is embedded with high power Darlington
transistor which amplifies the signal from the Arduino
microcontroller to powered up the relay.
Display
Alarm
Motor controller
Service tank
Pump
Bunker tank
Generator
Fuel Service
truck
D. Algorithm Design
1) Pressure Sensor Reading
The pressure sensor comes with a driver code. It is
connected to the serial data pin of the Arduino. There are
two pressure sensor and both will be operated by only one
driver code. Bunker tank pressure sensor will be read first
and data will be processed before the service tank pressure
sensor is read and processed. The code will switch between
these two continually.
2) Bunker Tank
5) Solenoid Valve
Page | 3
and a reset will be required. This will represent that the user
has to correct the problem and then reset the system.
Another point where the system will be required to be reset
is when the volume of fuel in the bunker tank goes below
critical_2 (200mL). A critical volume of 400mL is put in
place to raise an alarm to show that volume in the tank is
getting low and needs attention.
As stated earlier, a service truck fills the bunker tank
daily. To make the process automatic, a solenoid valve was
placed in the supply line to the bunker tank. When the truck
starts to fill, the solenoid button needs to be pressed to
allow the fuel to flow in the line. Once the fuel reaches
bunker limit volume (1500mL), the solenoid will
automatically turn off. All appropriate LCD and LED
output will be displayed.
3) Service Tank
The service tank also has similar limitations and
operation as above. The service tank is to be represented by
a 1L container with 200mL volume deviations. A volume
of 700ml is set as the safe filling limit and the pump should
be turned off here. The label of 800mL is the service
overflow volume and the system will require a reset at this
point. Here the label of 200mL is the critical_2 volume for
Start
Initialize
Read sensor Bunker
Is solenoid button
pressed (interrupt)
Yes
Yes
Is volume <1500ml
Turn on
Solenoid
No
Yes
Turn off
solenoid,
off Led
Yes
Is volume =1500ml
No
Is reset pressed
No
Is volume >1600ml
Yes
light led,
display
LCD
Hold to
read reset,
LCD
display
No
display LCD, set
empty bunker flag
Yes
Is volume <200ml
Page | 4
A
Read sensor Service
Calculate volume
Button pressed - display vo
olume
Yes
Turn on pump
B
No
B
Yes
Is volume = 700ml
Calculate vol
l
displaced
No
Yes
Is volume>=
800ml
Compare vo
ol
with set vol
l
Yes
No
A
Is comparis
son ok
Yes
Is volume<=
200ml
D
No
o
light led, disp
play
LCD,
No
B
III. RESULTS
Table 1 shows the total cost that was
w incurred to
design the final model. It indicated that thhe cost is not too
much to build this model and hencee can be fully
integrated for installation at the finall site with recalibration of the sensor.
TABLE I.
Item
Quantity
Arduino
MEGA
Programming
software
Pressure
sensor
BMP085
Small water
pump
Source
Radio Spares
[8]
Arduino
Development
[9]
Unitt price
(FJD
D) ($)
Price
(FJD) ($)
1
113
113
Adafruit [10]
3
37
74
Local market
4
45
45
Wires, power
supply
varying
Local market
7
75
75
Miscellaneous
items
varying
Local market
1
100
100
Total
$407.00
(1)
this was the only tank that has the automated start and stop
filling process. Since the pressure sensor was identical,
bunker tank reading was not taken into consideration. Table
1 shows the results obtained when pump is turned off.
Equation (2) obtained from (1) is employed for the volume
calculations
(2)
y = 0.98x + 101466
where, y is the pressure sensor reading and x is the
volume in the tank.
Trial
1
102159
708
102154
702
102153
701
102160
709
102162
710
Solenoid valve
Pressure sensor
bunker
Pipe line
Service
Service tank
outlet
LCD
Relay board
Arduino Mega
Average
706
Trial
101757
297
101760
300
101752
292
101751
291
101756
296
Average
Control panel
295
Page | 6
IV. DISCUSSION
BMP085 pressure sensor has very high resolution which
affects final reading and output controls as temperature
fluctuated, since both temperature and pressure are
dependent variables. A software code can be written to
compensate for this variation. The results obtained were
satisfactory as all controls were properly actuated upon
sensor readings. The controls such as for switching off pump
upon reaching safe filling limit, overflow indications, alarms
triggering at critical levels were all functional.
The error range was calculated to be 9ml for both
scenarios (pump turning on and turning off volume). This
can be attributed to variations such as temperature
fluctuation, time taken for the pump to turn on/off, that is,
the volume in the tank reduces below the set lower limit due
to the time taken for the pump to turn on, moreover, the time
taken to completely stop the flow as the pump turns off
slightly increases the volume in the tank from the set upper
limit. These variations can be reduced by calibrating the
pressure sensor in accordance with temperature variations
either with built in temperature sensor as in BMP085 or an
external temperature measurement sensor, example,
Resistance Temperature Device (RTD) or thermistor. The
error caused due to variation in time caused by an actuators
functions can be minimized in an actual system by taking
several readings and calculating the error. This error can be
compensated for by using it to re-calibrate the sensor to an
optimum volume which gives the output of the required
amount.
The set up in this paper used water in relative to liquid
fuel. Since the pressure sensor is equipped with electronics
and if used with fuel, safety issue becomes a major concern.
FEA uses Industrial Diesel Oil (IDO) which has a minimum
flash point of 60C and is identified as moderate hazardous
towards fire by the National Fire Protection Association
(NFPA). Looking at these factors, concern towards safety is
paramount. Following approach can be taken place to make
this system safer:
increases productivity
ACKNOWLEDGMENT
For the successful completion of this project, assistance
from various parties was taken whom we would like to
acknowledge. Firstly, the technical staff of the School of
Engineering and Physics for providing with resources such
as use of lab facilities and equipment, and technical guidance
towards model construction. Next, we would like to
acknowledge the Staff of Fiji Electricity Authority for
allowing us to use their premises for designing the site layout
and providing useful data whenever required. Finally, the
engineering Staff at The University of the South Pacific for
providing with designs solution ideas and guidance
throughout the course of this project.
REFERENCES
[1]
Page | 7
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
Page | 8