Documente Academic
Documente Profesional
Documente Cultură
CHAPTER 1
INTRODUCTION
CNG/LPG consists of mixture of propane and butane which is highly flammable
chemical. It is odorless gas due to which Ethane oil is added as powerful odorant, so
that leakage can be easily detected. There are other international standards like EN589,
amyl Mercaptane and Tetrahydrothiophene which are most commonly used as odorants.
LPG is one of the alternate fuels used now days. Sometimes liquefied petroleum gas is
also known as LPG, LP gas, Auto gas etc. This gas is commonly used for heating
appliances, hot water, cooking, and various other purposes also. LPG is also used as an
alternate fuel in vehicles due to soaring in the prices of petrol and diesel. Some people
have low sense of smell, may or may not respond on low concentration of gas leakage.
In such a case, gas leakage security systems become an essential and help to protect
from gas leakage accidents.
Bhopal gas tragedy was an example of gas leakage accident in India. This was
worlds worst gas leakage industrial accident. Gas leakage detection is not only
important but stopping leakage is equally essential. Unlike a traditional gas leakage
alarm system which only senses a leakage and sounds an alarm, the idea behind our
solution is to turn off the main power supply and gas connection as soon as a gas
leakage is detected apart from sounding the alarm. In addition to this, a call is sent to an
authorized person informing him about the leakage.
The main units of this security system are sensor unit, microcontroller unit and
GSM modem. For detecting dangerous & flammable gas leaks in any closed
environment such as a car, house, service station or storage tank, a gas sensor is used
which detects natural gas, LPG and coal gas. This sensor can also be used to sense
other gases like iso-butane, propane and even cigarette smoke.
Initially, the microcontroller sends signal to the GSM module and if the GSM
module is connected properly with the microcontroller it sends an acknowledgement
signal back to the Microcontroller. When the system is on the gas valve is open and
power supply is on. Then if there is any gas leakage in the atmosphere it is detected by
the gas sensor unit using MQ-6 sensor. After the sensor unit detects the gas leakage, a
signal is sent to the ADC unit of the microcontroller which then sends activation signal
to other external devices connected to it such as buzzer and GSM module. Then the
DEPT.OF ELECTRONICS AND COMMUNICATION
AXISCET, AMBANOLY
GSM module gets activated which sends a warning CALL to the user, buzzer generates
a sound and power supply is turned off. At the end, when the gas leakage is successfully
stopped then with the help of reset button the whole system is made to reach its initial
stage. The MQ-6 Gas Sensor is a semiconductor type gas sensor which detects gas
leakage by comparing the concentration of ethanol which is present as a mixture in the
LPG with air. It then gives analog voltage as output.
1.1 PURPOSE
The purpose of this manual is to provide explanation and operation of CNG/LPG
leakage detection and accident prevention system using GSM.
1.2 SCOPE
This report provides details of CNG/LPG leakage detection system components
and development of security system.
AXISCET, AMBANOLY
CHAPTER 2
LITERATURE SURVEY
Ashish Shrivastava et.al [1] proposed the leakage detection and real time gas
monitoring system. In this system, the gas leakage is detected and controlled by means
of turn of the power supply and gas valve. At the end, when the gas leakage is
successfully stopped then with the help of reset button the whole system is made to
reach its initial stage. The MQ-6 Gas Sensor is a semiconductor type gas sensor which
detects gas leakage by comparing the concentration of ethanol which is present as a
mixture in the LPG with air. It then gives analog voltage as output.
Tanvira Ismail et.al [2] discussed the system in which the leakage is detected by
the gas sensor and produces the results in the audio and visual forms. It provides a
design approach on software as well as hardware. After the sensor unit detects the gas
leakage, a signal is sent to the ADC unit of the microcontroller which then sends
activation signal to other external devices connected to it such as buzzer and GSM
module
Ratnesh Prabhaker et.al [3] described that the system in which two types of
gases namely LPG and CNG are detected for home safety as well for vehicles. The main
units of this security system are sensor unit, microcontroller unit and GSM modem. For
detecting dangerous & flammable gas leaks in any closed environment such as a car,
house, service station or storage tank, a gas sensor is used which detects natural gas,
LPG and coal gas. This sensor can also be used to sense other gases like iso-butane,
propane and even cigarette smoke.
Rajeev Kumar et.al [4] proposed the smart sensor technology (MQ-6). In this
flexible reliable smart gas detection system is developed and the system resetting
manually after every situation. The main units of this security system are sensor unit.
For detecting dangerous & flammable gas leaks in any closed environment such as a
car, house, service station or storage tank, a gas sensor is used which detects natural
gas, LPG and coal gas. This sensor can also be used to sense other gases like iso-butane,
propane and even cigarette smoke.
AXISCET, AMBANOLY
AXISCET, AMBANOLY
CHAPTER 3
SYSTEM DESIGN AND DEVELOPMENT
3.1 SYSTEM REQUIREMENTS:
The complete project specifications are analyzed and the requirements have been
documented as follows. The various hardware and software requirements are shown in
Table 3.1 and Table 3.2.
TABLE 3.1 HARDWARE REQUIREMENTS
ATmega16A
Microcontroller
12V
Relay
BC 337
NPN
BC 547
NPN
SimconSIM900A
GSM Module
5V
Buzzer
Solenoid Valve
MQ-6
Gas Sensor
AVR Microcontroller
FLOWCODE 5
programming
Stimulation Circuit designing
IC burning
FLYPRO V3.39
AXISCET, AMBANOLY
AXISCET, AMBANOLY
In the initial step, the gas leakage is detected by the gas sensor MQ-6. This
detects the gas leakage and gives the signal to the microcontroller. The ATmega16A is
the ADC inbuilt microcontroller, this converts the gas sensor analog output is to digital
signal. After that in second step the microcontroller receive the signal and it sends
activation signals to other external devices attached with it. Such as buzzer,
GSM module. In the last step, many tasks have been performed such as buzzer activates
simultaneously GSM module sends a call to the authority, and cut signals to gas valve
and relay. As a result main power and gas supplies turn off. At the end, when the gas
leakage is successfully stopped then with the help of reset button the whole system
reached to the initial stage.
AXISCET, AMBANOLY
3.3 FLOWCHART
AXISCET, AMBANOLY
AXISCET, AMBANOLY
10
AXISCET, AMBANOLY
The figures 3.3 and 3.4 show the controller and power supply section. For the
initial condition of the system main power supply of the room is turn ON and gas valve
is open.
If the gas leakage is detected by the gas sensor MQ-6. This detects the gas
leakage and gives the signal to the microcontroller. The ATmega16A is the ADC inbuilt
microcontroller, this converts the gas sensor analog output is to digital signal. After that
in second step the microcontroller receive the signal and it sends activation signals to
other external devices attached with it. Such as buzzer, GSM module. In the last step,
many tasks have been performed such as buzzer activates simultaneously GSM module
sends a call to the authority, and cut signals to gas valve and relay. As a result main
power and gas supplies turn off. At the end, when the gas leakage is successfully
stopped then with the help of reset button the whole system reached to the initial stage.
11
AXISCET, AMBANOLY
12
AXISCET, AMBANOLY
In general, PCB effects can be divided into two broad categoriesthose that
most noticeably affect the static or dc operation of the circuit, and those that most
noticeably affect dynamic or ac circuit operation, especially at high frequencies. Here
the PCB layout is constructed Circuit Wizard software. The PCB layout of the system is
shown in figure no. 3.5
13
AXISCET, AMBANOLY
CHAPTER 4
HARDWARE DESCRIPTION
The hardware of the CNG/LPG leakage detection and accident prevention
system using GSM consist of microcontroller, gas sensor, GSM module, gas valve,
buzzer and relay.
tools
including:
compilers,
macro
assemblers,
program
14
AXISCET, AMBANOLY
One 16-bit Timer/Counter with Separate Prescalers, Compare Mode and Capture
Mode.
Real Time Counter with Separate Oscillator.
Four PWM Channels.
8-channel, 10-bit ADC z 8 Single-ended Channels.
7 Differential Channels in TQFP Package Only.
8 Single-ended Channels
15
AXISCET, AMBANOLY
16
AXISCET, AMBANOLY
17
AXISCET, AMBANOLY
4.2.1 FEATURES
High sensitivity to LPG, iso-butane, propane.
Small sensitivity to alcohol, smoke.
Fast response.
Stable and long life
4.2.2 APPLICATION
They are used in gas leakage detecting equipment in family and industry, are
suitable for detecting of LPG, iso-butane, propane, LNG, avoid the noise of alcohol and
cooking fumes and cigarette smoke.
18
AXISCET, AMBANOLY
4.3
GSM
MODULE
(GLOBAL
SYSTEM
FOR
MOBILE
COMMUNICATIONS)
GSM (Global System for Mobile communications) is a cellular network, which
means that mobile phones connect to it by searching for cells in the immediate vicinity.
GSM networks operate in four different frequency ranges. Most GSM networks operate
in the 900 MHz or 1800 MHz bands.
Some countries in the Americas use the 850 MHz and 1900 MHz bands because
the 900 and 1800 MHz frequency bands were already allocated. The rarer 400 and 450
MHz frequency bands are assigned in some countries, where these frequencies were
previously used for first-generation systems.GSM-900 uses 890915 MHz to send
information from the mobile station to the base station (uplink) and 935960 MHz for
the other direction (downlink), providing 124 RF channels (channel numbers 1 to 124)
spaced at 200 kHz. Duplex spacing of 45 MHz is used. In some countries the GSM-900
band has been extended to cover a larger frequency range. This 'extended GSM', EGSM, uses 880915 MHz (uplink) and 925960 MHz (downlink).
There are eight radio timeslots (giving eight burst periods) grouped into what is
called a TDMA frame. Half rate channels use alternate frames in the same timeslot. The
channel data rate is 270.833kbit/s, and the frame duration is 4.615ms.
In this project we use SIM900A GSM Module. The fig no. 3.8 shows the
SIM900A GSM Module. The data sheet of SIM900A GSM Module is shown in
Appendix 3.
19
AXISCET, AMBANOLY
12 V DC* / 24 V DC* / 36 V DC / 48 V DC
Current:
6 VA
20
AXISCET, AMBANOLY
4.5 BUZZER
A buzzer or beeper is an audio signaling device, which may be mechanical,
electromechanical, or piezoelectric. Buzzers are very widespread in usage and are found
on an incredible number of different devices. Buzzers are frequently employed to give a
user or operator an audio indication of the stage of a mechanical device. Buzzers are
very widespread in usage and are found on an incredible number of different devices.
A use for buzzers with which most people are likely familiar is on alarm clocks.
When the clock reaches a particular state of time, in this case the buzzer sounds to alert
the user that its time to wake up
21
AXISCET, AMBANOLY
CHAPTER 5
SOFTWARE/TOOLS ENVIRONMENT
5.1 SOFTWARE 1: FLOWCODE 5
Flowcode is one of the Worlds most advanced graphical programming
languages for microcontrollers. The great advantage of Flowcode is that it allows those
with little experience to create complex electronic systems. Flowcode is available in
twenty languages and supports a wide range of devices. Separate versions are available
for the PICmicro (8-bit), AVR/Arduino, and dsPIC/PIC24 and ARM series of
microcontrollers.
hardware solutions including those from Matrix such as Formula Flowcode, E-blocks,
MIAC and ECIO.
Flowcode 5 is available in around 20 languages: from Greek to Chinese, with all
characters and non-Latin fonts fully supported. Whilst English is the default language
of engineers internationally, having software in your language allows you to concentrate
on developing your programs, increasing your creativity and productivity.
5.1.1 BENEFITS
Save time and money Flowcode facilitates the rapid design of electronic systems
based of microcontrollers.
Easy to use interface simply drag and drop icons on-screen to create an
electronic system without writing traditional code line by line.
Fast and flexible Flowcode has a host of high level component subroutines
which means rapid system development. The flowchart programming method
allows developing microcontroller programs.
Error free results Flowcode works. What you design and simulate on-screen is
the result you get when you download to your microcontroller.
Open architecture Flowcode allows you to view C and ASM code for all
programs created and customize them. Access circuit diagram equivalents to the
system you design through our data sheets and support material.
Fully supported Flowcode is supported by a wide range of materials and books
for learning about, and developing, electronic systems.
DEPT.OF ELECTRONICS AND COMMUNICATION
22
AXISCET, AMBANOLY
23
AXISCET, AMBANOLY
modules.
24
AXISCET, AMBANOLY
5.2.1 OVERVIEW
The main theme of the Proteus 8.3 release is integration. Development has
therefore been focused on taking the various discrete parts of an electronic design and
coupling them together to achieve a better workflow. In order to achieve this, three
major architectural changes were necessary; a unified application framework, a
common database and a live netlist.
5.2.2 APPLICATION FRAMEWORK
Proteus 8.3 consists of a single application with many modules (ISIS, BOM,
ARES, 3D Viewer, etc.). Modules open in tabs within the application window but can
then be dragged and dropped to create additional windows and enable side-by-side
viewing. The Proteus 8.3 application includes a dedicated home page which, along with
easy access to help and project launch, contains a news and information panel.
25
AXISCET, AMBANOLY
26
AXISCET, AMBANOLY
27
AXISCET, AMBANOLY
28
AXISCET, AMBANOLY
CHAPTER 6
ASSEMBLY & SOLDERING
6.1 ASSEMBLY
Assembly consists of soldering of components and wires on to the PCB and
mechanical fitting of wired PCB and other assemblies. Testing is carried out even at a
design phase itself in breadboard level to verify the design, so that little or no circuit
changes are required after designing the PCB.
6.2 SOLDERING
Soldering is a delicate manual skill which only comes with practice. Remember
that your ability to solder effectively will determine directly how well the prototype or
product functions during its lifespan. Poor soldering can be an expensive business causing product failure and downtime, engineer's maintenance time and customer
dissatisfaction. At hobbyist level, bad soldering technique can be a cause of major
disappointment which damages your confidence.
Turning to the actual techniques of soldering, firstly it's best to secure the work
somehow so that it doesn't move during soldering and affect your accuracy. In the case
of a PCB, various holding frames are fairly popular especially with densely populated
boards: the idea is to insert all the parts on one side ("stuffing the board"), hold them in
place with a special foam pad to prevent them falling out, turn the board over and then
snip off the wires with cutters before making the joints. Once they are heated the solder
can be applied. The solder should flow through and around the component and the
track. Having completed soldering the circuit the extended legs on the components need
to be trimmed using wire clippers. The circuit is now ready for testing.
6.3 TESTING
After soldering the components on to the PCB, the board is thoroughly cleaned
for any residual flux and wire leads. All the components are checked for their value and
for the proper orientation, if applicable. Before ICs are inserted into the sockets, power
applied to the board and voltages are measured at the IC power point. Power is switched
off before the ICs are inserted.
29
AXISCET, AMBANOLY
CHAPTER 7
ADVANTAGES AND DISADVANTAGES
7.1 ADVANTAGES
The Project is easy to use and it gives remote indication to the user.
The Sensor used in this Project has excellent sensitivity combined with a quick
fast response time.
In the long run the maintenance cost is very less when compared to the present
systems.
7.2 DISADVANTAGES
The life time of gas sensor is depending on the type of gas to be detected.
The gas will flow only after the safety valve is opened.
30
AXISCET, AMBANOLY
CHAPTER 8
APPLICATIONS AND SCREEN SHOTS
8.1 APPLICATIONS
To protect ourselves from any gas leakage in cars, industries, homes, hospitals,
storage tanks, pipelines etc.
To safeguard ourselves from gas leakage in heating gas fired appliances like
boilers, domestic water heaters.
To provide safety from gas leakage in cooking gas fired appliances like ovens,
stoves etc.
31
AXISCET, AMBANOLY
32
AXISCET, AMBANOLY
33
AXISCET, AMBANOLY
34
AXISCET, AMBANOLY
CHAPTER 9
RESULT
This system has been tested by taking a small amount of LPG/spirit gas
near to the sensor. MQ-6 gas sensor detects the LPG gas and sends a signal to the
microcontroller. After that microcontroller send an active signal to other externally
connected devices. As a result a buzzer rings. Simultaneously main power and gas
supply turns off with the help of relay and GSM module send a call to the user. When
reset button impressed, the system refreshes itself and whole system regains its initial
position
35
AXISCET, AMBANOLY
CHAPTER 10
CONCLUSION
In this system we have describe a new approach for gas leakage detection
system at a low concentration. The leakage is detected with the help of MQ-6 gas
sensor. Sensor sends signal to microcontroller. In the next step microcontroller sends an
active signal to other externally connected devices. This system can be implemented for
detecting various gases either in domestic area such as places of educational institutions,
residential and industrial areas which avoids endangering of human lives. This system
provides quick response rate and the diffusion of the critical situation can be made faster
than the manual methods.
36
AXISCET, AMBANOLY
CHAPTER 11
FUTURE SCOPE
The solution provided can be further enhanced by displaying in the LCD unit
how much amount of gas is leaked. We can also incorporate the location detection
feature for the gas leakage area for which using GPS. By placing a weight sensor we
can observe the remaining amount of gas in the cylinder and we can automatically the
book the cylinder using GSM module via SMS.
37
AXISCET, AMBANOLY
CHAPTER 12
REFERENCES
1. GSM Based Gas Leakage Detection System [Ashish Shrivastava, Ratnesh
Prabhaker, Rajeev Kumar and Rahul Varma.](International Journal of Emerging
Trends in Electrical and Electronics (IJETEE ISSN: 2320-9569))
2. GSM Based Gas Leakage Detection System with Preventive Measures [Tanvira
Ismail, Devoleena Das, Jyotirmoy Saikia, Jyotirmoy Deka] (International Journal Of
Electronics And Communication Engineering & Technology (IJECET))
3. GSM based LPG leakage detection and controlling system [Prof.M.Amsaveni,
A.Anurupa, R.S.Anu Preetha, C.Malarvizhi, and M.Gunasekaran]
(The International Journal Of Engineering And Science (IJES ISSN: 2319 1805))
4. WWW.ATMEL .COM (ATmega16A)
5. WWW.SIMCOM.COM (SIM 900A)
6. WWW.HWSENSOR .COM (MQ-6 GAS SENSOR)
7. ELECTRONICS FOR YOU
8. WIKIPEDIA
38
AXISCET, AMBANOLY