Professional Documents
Culture Documents
INTRODUCTION
The life on earth exists because of air and water. What happens if both are polluted? This is the
situation in most of the urban areas. Air and water are being polluted at a rapid rate due to the
excess use of chemicals, fertilizers, emissions of Fuels from vehicle, leakage of Fuel from
household etc. Fuel emissions create respiratory illness and also environmental problems like acid
rain, ozone layer depletion etc. Fuels are volatile compounds which are colorless, odorless and
tasteless. So, when these compounds spread in air it will be difficult to identify with human naked
eye. At present several methods are available which detect the Fuel leakage. But the drawback of
these systems is it uses a static network of sensors. By using this static network the correct source
of leakage cannot be identified. The Fuel as soon as it leaked it will spread very fast in air. Thus,
a proper device should be required to detect the leakage.
Fuel Management Systems (FMS) are utilized to keep up, control and screen the fuel utilization in
an association that utilizations transport, including: rail, street, air and water as methods for
business. At present the associations are confronting a significant issue of dealing with the fuel
transportation because of manual observing. This manual checking gives a wasteful method for
computing and examining the fuel ingestion and can prompt budgetary misfortunes for the
organization.
In the by most associations there is no logging or evaluating component to watch that the quantity
of liters composed on the receipt relate to the real measure of fuel in the tank. The driver takes the
vehicle to the fuel station, fills the tank and gets the receipt from the pump station manager or
supervisor, referencing the quantity of liters of fuel filled into the vehicle tank, date and the sum.
The driver gives this receipt to the individual responsible for the association, which keeps up the
record and sends the sum to the pump station manager or proprietor toward the month's end.
This situation is influenced by numerous potential imperfections: the driver does not know whether
the measure of fuel filled in the fuel tank is equivalent to the sum pronounced on the receipt.
1
Another defect of the framework is brought about by deceiving data made by the pump station
administrator. A third model would be the association of the staff from organization's
administration work force which submit extortion by adulterating data with respect to the measure
of fuel filled. Fuel burglary in moving vehicles is expanding step by step nowadays. Also, the high
fuel costs add to the disappointment of a fuel robbery. This task centers around the fuel burglary
issue and advances a successful answer for this issue. It detects the measure of fuel in tank and
outwardly shows it to the utilized. It effectively recognizes fuel burglaries utilizing an exceptional
strategy.
It distinguishes whether the vehicle is off. On the off chance that if the fuel diminishes while
vehicle is off it triggers an event and this event is connected to message sending usefulness. Fuel
level detecting gauge will be attached with µC through ADC. Amount of the fuel will be shown
on LCD. SIM card will be interfaced with µC with the help of GSM. Parallelly, if the fuel level in
the tank diminishes while vehicle is in OFF state, at that point an alarm will be sent to client's cell
phone in text structure.
In general, an embedded electronic platform which can instrument a moving vehicle with chemical
sensing system for Fuel leakage detection and environment monitoring. This system consists of an
ARM microcontroller which is 64 bits. Global Positioning System (GPS) used for detecting the
location of Fuel leakage. Four MQ series sensors are attached to the system which is used for
detecting Liquefied Petroleum Gas or Liquid Petroleum Gas (LPG), methane, ammonia, carbon
monoxide and humidity. A camera is attached to this system for monitoring the area where there
is possibility for the Fuel leakage. The vehicle moves through a predefined path. This device works
in two modes firstly it works in predefined path. Secondly it move by manually i.e. as instructions
given by the controller.
The LPG or propane which is combustible blend of hydrocarbon fuels. This is utilized as fuel in
numerous applications like homes, lodgings, enterprises, autos, vehicles due to its attractive
properties which incorporate high calorific worth. Because of the high calorific value which
produce the less smoke, creates less sediment, and does not make much destruction to nature.
Natural fuel is another generally utilized fuel in homes. The two fuels consume to create clean
energy, but there is a significant issue about their spillage noticeable all around in air. The fuels
2
being heavier than air don't scatter effectively and may prompt suffocation when breathed in
additionally when fuel spillage into the air may prompt blast. Because of the blast of LPG fuel, the
quantity of deaths has been expanded lately.
To keep away from these issues there is a requirement for a framework to identify and furthermore
counteract spillage of LPG or Leakage of LPG. Fuel spill discovery is the way toward
distinguishing conceivably risky fuel spills or leaks by methods for different sensors. These
sensors as a rule utilize an alarm to alert individuals when a perilous or dangerous fuel is identified.
3
1.1 Existing System
As of late, fuel use wellbeing can't be idealistic. Right now, the principle fuel network recognition
is the utilization of compact/handheld fuel leak finders, vehicle-attached Fuel system checking
framework, and the inconvenience is that the both location frameworks can't accomplish ongoing
fuel data gathered. Along these lines, so as to conquer this downside, utilization of a sensor based
proposed framework to accomplish and defeat the impediments in the previous framework is
proposed.
As in the current system the ability to monitor the fuel pilferage or the fuel adulteration and the
leakage of fuel and the drawback is that the two systems cannot gain an on-going fuel information
collected. So, in order to overcome this drawback, the author uses a sensor based proposed system
to achieve and overcome the disadvantages in the earlier system.
4
1.2 Objectives of Proposed Project
The remote observing and control to fuel pipelines and fuel storerooms at spots, for example, fuel
spillage can be acknowledged by utilizing this proposed framework. This proposed system
contains the data acquisition section and the collection section. Data acquisition section contains
the pressure sensor, flow sensor, Fuel sensor for monitoring the pressure, speed, and leakage of
the Fuel. The sensor values will be in analog format so, the proposed framework has the necessities
for the simple to advanced converter to change over the incentive into computerized. The values
will be uploaded in internet via GPS modem using the PC. When any abnormality occurs in the
sensor value then the buzzer will be invoked and alert the person.
To design and development fuel leakage detector such as PETROL, LPG, and other petroleum
products.
To enhance the security and safety measurements for the petroleum products.
To prevent the theft of the fuel and to make the automatic tap locking system.
Senthil Raja et al [2] portrays about the present framework which utilizes Wireless based
correspondence for checking the vehicle's position. At first, the procedure includes estimating fuel
level pursued by evoking the data and sends it to the server for further location. At long last, the
message is sent alongside vehicle position and fuel level in the tank. This empowers in
distinguishing the dimension or level of fuel at various occasions at whatever point the tank is
opened. This improvement in sensors will be an extraordinary aid to eliminate fuel burglary and
vehicle situating issue.
Ahmed M et al [3] portrays that another ultrasound-based procedure was created to decide oil,
emulsion and water level in the oil tank. It comprises of a minimized, programmable ultrasound-
based multilayer level estimating gadget for a feed forward neural system is actualized. The
benefits of this strategy over current strategies incorporate contactless separation estimation,
higher exactness, lower costs, simpler arrangement and nonionizing radiation is utilized. The other
bit of leeway of this innovation to light-based technique is its inhumanity toward a dusty and
smoky condition and the autonomy of the article material and surface. Starter preliminaries were
completed on the device.
Anirudha Mule et al(4) In this paper the author has made advanced fuel meter. Here, the creator is
showing measure of fuel present in tank carefully. The value is in numerical digits (ex: 1lit, 1.5 lit,
2lit etc). Fuel theft is likewise a major issue everywhere throughout the world. In this paper the
task at whatever point there is fuel theft, because of the noise of the buzzer, the individuals know
about the fuel theft and furthermore during fuel robbery an instant message is conveyed on the cell
phone to the proprietor or owner of the bicycle.
CHAPTER-3
IMPLEMENTATION OF BLOCK
DIAGRAM
The Block Diagram of the proposed system states that the tracking of the fuel road tanker for anti-
pilferage and anti-adulteration in which how we can overcome from its disadvantages and it needs
be rectified from the existing system, so the following detailed block diagram will give the
complete explanation about the proposed system as follows,
FUEL
LEVEL
REGULATOR
PC
Mobile
Phone
APP
Monitoring unit
The Block Diagram shown in Figure 2 and 3 incorporates the hardware components PIC
microcontroller, pressure sensor, flow sensor, Wi-Fi, Alarm unit and Knob control level sensor
along with the controlling unit whereas the software requirement needed is MPLAB.
7
3.1.1 Program Memory Organization
The PIC16F87XA devices have a 13-bit program counter capable of addressing an 8K word x 14-
bit program memory space. The PIC16F876A/877A devices have 8K words x 14 bits of Flash
program memory along a wraparound when accessing a location above the physically
implemented address.
The data memory is partitioned into multiple banks which contain the General-Purpose Registers
and the Special Function Registers. Bits RP1 and RP0 are the bank select bits. Each bank extends
up to 7Fh which totally amounts to 128 bytes. The SFR conquer the lower locations of each bank
Above the SFRs are GPRs, implemented as static RAM. All implemented banks contain SFR.
Some frequently used SFR from one bank may be mirrored in another bank for quicker access and
code reduction. Figure 4 explains the pin diagram of PIC 16F877A.
8
Fig 3. Architecture of PIC16F877A
9
Fig 4. Pin diagram of 16F877A
10
3.2 Fuel Sensor
The fuel sensor as shown in Figure 5 has high affectability to Propane, Butane and FUEL, likewise
reaction to Natural gas. The sensor can also be utilized to identify distinctive flammable gas,
particularly Methane, it is with ease and reasonable for various application. It detects the spillage
of FUEL sends the alarm signal to the microcontroller then again turn on Buzzer when it achieves
the risk level.
11
3.3 MQ-6 (Gas Sensor)
The gas sensor is a hardware device as shown in Figure 6 that identifies the nearness of gases in a
territory, regularly as a feature of a security framework. Gas indicators can be utilized to recognize
burnable, combustible and dangerous gases.
A flow sensor is a hardware device used to quantify the volume or mass of a gas or fluid. The flow
sensor center around estimating gasses and fluids in a pipe or tankers. Flow sensor focus on
measuring gasses and liquids in a pipe or tankers etc.
3.6 Regulator
The essential rule of Regulator is the formation of turning magnet inside the versatile piece of the
Regulator, rotor. The demonstration by regulator indicates fixed magnet and rotor shows pivoting
magnet. The isolated DC source powers the stator electromagnet. The relative edge between these
magnets is kept up close to 90 degrees. At the point when gas break happens this observing
framework detects the leak by methods for sensor and the value is given to the microcontroller. At
the point when fuel break happens this observing framework detects the leak by methods for sensor
and the value is given to the microcontroller.
3.7 LCD
LCD (liquid crystal display) as shown in Figure 9 is the innovation utilized for showcases in
notebook and other littler PCs. Like light-emitting diode (LED) and gas-plasma technologies,
LCDs permit presentations to be a lot slenderer than cathode ray tube (CRT) innovation. LCDs
expend significantly less power than LED and gas-displays shows since they deal with the
guideline of blocking light instead of producing it. LCD Display is vital prerequisite to put a
13
presentation about framework checking and controlling execution, which shows the different
messages, for example, the location of spillage of gas, booking of cylinder if there should arise an
occurrence of refilling of cylinder. Additionally the framework likewise, shows the activities
completed in the microcontroller. For crafted by showing the alarm messages Liquid crystal
developer (LCD) of 16*2 characters working on +5-volt supply and worked 4-bit mode is
actualized.
14
3.8 Wi-Fi Modem (ESP-12)
The WI-FI modem is profoundly adaptable attachment and play modem dependent on tri-band
ESP8266. ESP8266 can fit practically all the space prerequisites in much ongoing real-time
application. This worldwide framework for correspondence communication innovation making it
exceptionally simple to send and get the messages bolster the AT commands. These commands
can be actualized by interfacing to the receiver and transmitter pins of microcontroller. MQ6 gas
sensor distinguishes the spillage of gas, weight sensor gives the dimension in cylinder, and
microcontroller will make the defensive and fundamental action. This prominent data/status
happening must be passed on to the client. It requires just less memory to store and get the
messages.
A GPS route hardware device or a GPS modem is fit for getting data from GPS satellites and after
that to figure the device geographical position. Utilizing reasonable programming software, the
device may show the position on a map, and it might offer directions. The Global Positioning
System (GPS) is a global navigation satellite system (GNSS) made up of a system of 30 satellites
set into space by the U.S. Branch of Defense.
15
3.10 UART
A power supply is a hardware device or framework that provisions electrical or different sorts of
energy to a yield burden or gathering of loads. The term is most ordinarily connected to electrical
energy supplies, less regularly to mechanical ones, and once in a while to other people.
Buzzer plays very important role in our project. A buzzer is turned on whenever petrol theft is
going on or petrol is stolen. Buzzer will be turned on as soon as there is decrease in petrol level
without ignition key. Loud noise of buzzer will draw attention of persons in the surrounding so
they can come to know that something wrong is happening with the bike. This can save further
fuel theft. A 12-volt buzzer for demonstration purpose in this prototype.
16
CHAPTER 4
Microchip’s huge range of hardware and software development tools embedded inside 1 software
package is called MPLAB Integrated Development Environment (IDE). MPLAB Integrated
Development Environment (IDE) is an expandable, exceptionally configurable programming
program that joins amazing assets to enable you to find, arrange, create, investigate and qualify
inserted plans for the vast majority of Microchip's microcontrollers and computerized signal
controllers. MPLAB IDE runs as a 32-bit application on MS Windows. It is easy to use. A host of
free software components for super-charged debugging and fast application development.
Select the Project tab in the menu bar when open the MPLAB IDE and select the new option. A
window will be displayed asking to select the main source file of the project. The following
screenshots show the project creation and how to choose the compiler in the new project window.
Firstly, select the Project tab in the menu bar. Select the Language Tool suite option. A window
will be displayed. Select the CCSC Compiler from the drop-down list in the Active Tool suite
field. The correct directory location for the compiler is displayed.
17
Fig 14. Select the tool suite option
As seen in Figure 14, select the configure tab in the menu bar. Alongside, select the Select Device
option. The correct PIC is selected from the list provided when a window appears.
Project Manager: Integration and communication between the IDE and the language tools is
handled by the project manager.
Editor: Serves as a window into the debugger with the editor which is a full featured programmer’s
editor in text.
Assembler/Linker and Language Tools: The assembler can be utilized independent to assemble
a solitary document or can be utilized with the linker to manufacture a task from isolated source
records, libraries and recompiled objects. The linker is in charge of situating the ordered code into
memory regions of the objective microcontroller.
Debugger: The Microchip debugger permits breakpoints, single venturing, watch windows and
every one of the highlights of an advanced debugger for the MPLAB IDE. It works related to the
proofreader to reference data from the objective being repaired back to the source code.
18
Execution Engines: There are programming test systems in MPLAB IDE for all PIC small scale
MCU and dsPIC DSC gadgets. These test systems utilize the PC to reenact the directions and some
fringe elements of the PIC miniaturized scale MCU and dsPIC DSC hardware devices.
Discretionary in-circuit emulators and in-circuit debuggers are likewise accessible to test code as
it keeps running in the applications equipment
19
4.1.2 HOW TO USE MICROLAB IDE
The following are the steps to use the software platform MPLAB IDE:
Step 1
20
Step 2
Select the target controller
Step 3
Click finish
21
Step 4
Step 5
Select CCCS compiler Click Next
22
Step 6
Browse the location to save the project Name the project and save it.
Step 7
23
Step 8
24
4.2 Embedded C
It is known as set of language augmentations for Programming in C language by the Standards of
C board of trustees to face the shared characteristic problems that exist. The problems that are
against C expansions for various embedded systems is improvised by Embedded C. Verifiably,
Embedded C programming needs expansions which are non-standard to the language in C so as to
help exotic highlights. Embedded C uses a majority section of the sentence structure and the
semantics of the basic C.
Focal points
• For all implanted devices, C compilers are permissible practically being used today. There is a
huge section of experienced C software engineers.
• As C combines low level assembly language and high level languages, C behaves as a ‘middle-
level computer language ' or high level assembly language’.
• It is genuinely proficient.
• It gives simplicity and permission to I/O of the executives for enormous installations.
• Java is been utilized in many installed systems, but the programs require the JVM which is the
Java virtual machine. This expends a great deal of resources. Henceforth it is not used for smaller
embedded devices.
25
4.3 Flash Magic:
26
CHAPTER 5
WORK CARRIED OUT
As the project undertaken requires, knowledge about Embedded-C and MPLAB IDE Software,
The software was downloaded and installed. Starting from the basics, architecture, pin diagram,
instructions sets and programming have been learnt. Familiarizing with the software tool using for
the project. Extensive studies from the literature survey have been done with the available
references as well as extensive studies on features and pin functionalities of the microcontroller,
PIC16F877A Architecture of controller and Instruction sets. Using the MPLAB IDE with multiple
compilation units and the Embedded C basics. Working of all other components such as Buzzer,
Relay, GPS Module which are used in the circuit. Integrating of the components and to yield the
necessary output. Learning the programming and hardware concepts. Programming
Microcontroller as per our requirements. Verifying and validating of all the components used.
Developed and testing of the project.
27
CHAPTER 6
EXPECTED OUTCOMES
28
Fig 24. Output of the display message
29
Fig 25. Output of message detected when gas is leaking
When the gas leakage takes place it will give notification to the microcontroller as well as it will
display the message on the LCD or if gas leakage doesn’t takes place it will remain normal.
30
Fig 27. Output of message detected when flow level is normal
When the gas flow level tanker is opened it will gets activated and it will give notification to the
microcontroller as well as it will display the message on the LCD or if gas flow level tanker is not
opened it will remains normal.
When the fuel level increases or decreases in the tanker which gives notification to microcontroller
and output will be displayed on LCD or if fuel level remains constant then it will remains normal.
31
Fig 29. Output of message detected when pressure is fluctuating
When fuel level decreases or increases the threshold value and the sensor will gets activated which
gives notification to microcontroller and output displayed on LCD or if pressure remains constant
then it will be normal.
The oil burglaries frequently occurred by siphoning from oil tanks during transportation or
penetrating a gap into raw petroleum pipelines. The colossal monetary misfortune, human losses,
and ecological contamination were acquired once the oil robbery can't be found and ceased
convenient. A wise enemy of burglary framework or anti-theft system dependent on the IoT was
planned in this paper to distinguish and monitor the criminal practices progressively under various
situations. The novel anti-theft system against burglary framework can't just find and locate the
robbery position definitely by utilizing GPS, yet additionally avoid oil mouse from taking oil from
pipeline ahead of time by recognizing unusual unique changes in situ. The savvy terminals,
particularly versatile ones, ought to be utilized generally to get, recognize, and manage cautioning
messages online whether oil burglary in oil tank truck or in remote long-separate unrefined
petroleum pipeline. The usage of astute enemy of robbery framework is confronting various
troubles in the midst of security and protection, non-bound together expert gauges, and remote or
wireless sensors utilized in enormous scale. The mix of the management methods and propelled
data innovation is liked to clever enemy of robbery IoT framework for oil and fuel industry over
the coming decades
32
6.1 Advantage:
Highly reliable.
Fast response.
Low Cost
Precise and portable Flexible and easy to monitor
6.2 Applications:
33
CHAPTER 7
CONCLUSIONS
This venture shows and talks about the issues identified with fuel the management frameworks
and beating these issues through a mechanized electronic framework. The proposal presents
contemplations about both the equipment and programming some portion of the framework which
includes estimation of fuel level, weight and spillage through their individual sensors and sending
these estimations through Wi-Fi system and furthermore sends careful area by utilizing GPS to the
organizer's cell phone just as to the PC remotely.
34
CHAPTER 8
REFERENCES
[1] Paper Anirudha Mule et al. Paper titled: “Digital fuel meter and fuel theft detection”
Available: International Journal of Innovative Research in Science and engineering, Vol 2, Issue 3
(2016)
[2] A.Avinashkumar et al. Paper titled: “Digital fuel level indicator in two-wheeler along with
distance to zero indicator”. Available: IOSR Journal of Mechanical and Civil Engineering (IOSR-
JMCE), 11:80{84 Mar- Apr. 2017.
[3] Ganesh Katkar et al. titled: “Fuel Checker and Theft Indication” Available: IJARIIE-ISSN(O)-
2395-4396,Vol-3 Issue-3 2017.
[4] P.Senthil Raja et al. Paper titled: “Detection of fuel theft in heavy vehicle”
[5] Tatsuo Nakagawa et al. Paper titled: “Low Cost Intelligent Real Time Fuel Mileage Indicator
for Motorbikes” , vol. 2, no. 5 11. (2013)
[6] T. Senthilkumar et al. Paper titled: “Level Measurement With Frequency- Modulated
Millimeter Wave Through Opaque Container1” , vol. 4, no. 3 12. (2013)
[7] Paper titled: "Design and implementation of a new non radio active-based machine for
detecting oil water interfaces in oil tanks" volume-56 issue-5,oct.2017
[8] Paper titled: Design and Construction of Door Locking Security System Using GSM, vol. 6,
no.1
35