Fire and Gas Detection System
Fire and Gas Detection System
This is to certify that the Capstone Project work titled “GAS LEAK & FIRE
DETECTION DEVICE” that is being submitted by ASHWIN VINOD
(17BES7042) is in partial fulfillment of the requirements for the award of Bachelor
of Technology, is a record of bonafide work done under my guidance. The contents
of this Project work, in full or in parts, have neither been taken from any other
source nor have been submitted to any other Institute or University for award of
any degree or diploma and the same is certified.
Approved by
(Ashwin Vinod)
Date – 28/01/2021 Signature
Index
1.ABSTRACT
2.INTRODUCTION
3.BACKGROUND
4.PROBLEM DEFINITION
5.OBJECTIVE
6.METHEDOLOGY
7.RESULTS AND DISCUSSION
8.CONCLUSION AND FUTURE SCOPE
9.REFERENCES
10.CODES IN APPENDIX
ABSTRACT
We are living in a fast moving world. We have a lot of work to tend to, a lot of tasks to
manage simultaneously. Thus, we keep favoring our work to be done.
Now, in the quest of easy access and simplicity, we tend to overlook the safety
precautions. This happens in many situations. For instance, when people buy cars, they
tend to check factors like cost, mileage and comfort, rather than safety measures such
as ABS, airbags, traction control, etc.
This situation arises even when we buy gas equipment for households. All we see is a
15KG cylinder, however, it’s essentially a 15KG container of highly inflammable
gases.
Once a cylinder system is set, which is the case in loads and loads of Indian
households, the only time this is checked is when the gas is over. People hardly check
the gas line as the material is reinforced.
Now, there are solutions available for detecting gas leaks. There are also sensors which
detect fire or flames. However, these also have their own demerits.
Safety is necessary. So there is no reason for it to be hazardous or costly. And that is
what this project aims to do.
INTRODUCTION
This project is made with the objective to prove that flame and gas detection is possible in an
optimum and cost effective solution. What makes this project is it’s simplicity. This is
because of the components and it’s working principles that make it very simple for usage.
The use of conventional smoke detectors may seem low cost, however, the sensing method
involved is ionization of smoke particles. This is done using traces of radioactive Uranium.
Having such hazardous materials might be dangerous.
There are other methods also available, for instance, using we can detect flames instead of
smoke. This means, in such an event that a flame ignites, an ideal sensor that is capable of
sensing flames, can send off an alarm.
However, sensing principles available to detect flames or fires are also logistically expensive
to use. For instance, thermal sensors are a very good source to detect flames, and even give
out temperature readings for that matter. But, for applications restricted to households, such
expensive equipment would not be required.
BACKGROUND
For this project, I used a systematic method to find out the optimal sensing technique for gas
and flame detection. For this, I went through various methods that already exist and map all
the pros and cons of each method.
There are various ways we can detect gases. For this, we must also bear in mind that LPG,
the common household gas, consists of Propane and Butane. So, based on this composition, I
have found these methods to detect gas:
● Catalytic Bead
Electrically heated, up to a few hundred degrees, active and reference beads containing
platinum wire coils are located on opposite arms of a Wheatstone bridge circuit. This
method uses a device based on resistance. The drawback of this method is the
complication and many working parts involved in a Wheatstone bridge, asides from
the fact that these cost a little under USD10000.
● Infrared Imaging
IR imaging sensors typically scan a laser across the field of view of a scene and look
for backscattered light at the absorption line wavelength of a specific target gas. An IR
imaging sensor also costs around USD803. This is a very effective method to measure
LPG levels and even distinguish them between atmospheric gases.
● Ultrasonic
They identify the acoustic emission generated when a pressurized gas expands through
a small orifice in a low-pressure area (the leak). Now, the sensor used is effective,
however, the method by which it detects gases is on acoustic differences. This may
also include other hydrocarbons, but the range we intend to target is pretty restrictive.
Apart from this, it costs INR8000, which doesn’t serve our project goal.
● Semiconductor
When it comes into contact with the monitored gas, the electrical resistance in the
sensor is decreased. Metal-Oxide semiconductors are also called (MOS).
Now, since this method is pretty straightforward, MQ-2 sensors (MOS sensors) are not
as expensive as other alternatives. So, under INR200, we can obtain a sensor module
and this will help out in interfacing.
● Photoelectric Detectors
When a light beam is directed towards a photocell in a photoelectric detector; the light
reaching the receiver drops when smoke interferes with the beam, initiating a signal.
This might have helped if all the flames or fires caused had smoke in them, however,
since smoke won’t arise until any incomplete combustion is observed. But since LPG
is inflammable, smoke may not arise as soon as a flame is ignited. Even though this
sensor may come for as low as INR100, the sensing method is not corresponding to
the application of the project.
This is the ideal sensor as the sensing method is appropriate for this application and
the sensor cost is optimal.
PROBLEM DEFINITION
When we examine the central issue and the motivation behind it, we discover the major
challenges that one faces with the absence and the ease offered with the presence of the
same.
Gas explosions are not only a danger to household occupants but a significant potential
health hazard, in addition to the possibility of fires.
● Smoke detectors only detect smoke (gas sensing equipment bought separately.)
● The complexity of such end products makes it difficult to understand and subsequently
makes troubleshooting hard for consumers.
OBJECTIVE
Materials required
• 8051 microcontroller (AT89C51)
• Semiconductor based gas sensor module(MQ-2 sensor)
• Flame detection sensor(IR based)
• Piezoelectric buzzers(Alarm sound)
• Conductive copper plate or breadboard
Fig:1. Circuit diagram with the sensor (YG1006) for flame detection module
Based on the circuits of the sensor module, the below circuit with the 8051 is
made.
P.S: The Rx photodiode in the original working is replaced with a normal diode
with a variable resistance to simulate the situation.
• Gas detection module
The semiconductor based gas sensors primarily work on the principle of
resistance. So, any change in the clear air around the sensor would lead to a
change in the resistance.
The star-shaped structure is formed by the sensing element and six connecting
legs that extend beyond the Bakelite base. Out of six, two leads (H) are
responsible for heating the sensing element and are connected through
Nickel-Chromium coil, a well known conductive alloy.
• Piezoelectric Buzzers
They are used to alert the user in the event of a fire(in the range of the sensor)
and gas. Using 2 separate buzzers for each sensing system.
To create a code for the project, some of the basic practices in programming were used,
which have proven to be effective in coding and debugging. This helps in visualising the
working components of the project and understanding functionality of the system as a whole.
Fig.5 shows how the flow of the program will be.
RESULTS AND DISCUSSION
Being a simulation model, this project has two major divisions to present in the name of a
result.
Fig.4 highlights how the fire detection circuit and the gas detection modules are
connected to the controller with the buzzers connected and placed separately from the
sensing apparatus (this being a simulation, can be adjusted in real life). The Vcc is
mentioned in the circuit (+5V) and it will be common for all components operating.
This circuit diagram can easily be made connecting wires and a breadboard.
Software simulation and working:
In presence of any hydrocarbon gases, flame or both, the system works successfully and
alerts the user about the same. What makes this more effective is the fact that the cost of
making would make this a rather effective solution to an ever present problem.
● Future Scope:
This system can be made rather smarter by incorporating more modern boards like
Arduino Uno and making use of it’s advanced features.
For instance, we can connect the Arduino and monitor the temperature and gas level
by using the built in ADC present in Arduino.
We can also make this an effective IoT system by broadcasting alerts in the form of
SMSs using a GSM module.
REFERENCES
• https://pdf.alldatasheet.com/datasheet-pdf/view/731746/LUXPIA/LYG1006.html
• https://4.imimg.com/data4/AV/UT/MY-23669504/flame-sensor-module-arduino.pdf
• https://datasheetspdf.com/pdf-file/622943/Hanwei/MQ-2/1
• https://5.imimg.com/data5/BG/QX/MY-1833510/mq2-gas-sensor-module.pdf
Paper referred:
#include <stdio.h>
#include <reg51.h>
void main(void)
{
P2=0; /* Initially whole system is turned OFF*/
MSdelay(3000); /* Power-on delay for system */
while(1)
{
/*Fire detection section*/
if(!flame_sensor) /* YG1006 active to detect flames in its
spectrum(active high O/P of sensor) */
buzzer_flame = 0; /* alarm inactive for no flame
detected */
else
buzzer_flame = 1; /* alarm active as flame detected */
/*Gas detection section*/
if(!gas_sensor) /*MQ-2 active to detect gas which */
buzzer_gas = 0; /*alarm inactive for no gas detected*/
else
buzzer_gas = 1; /*alarm active as gas detected*/
}
}
void MSdelay(unsigned int val)
{
unsigned int i,j;
for(i=0;i<=val;i++)
for(j=0;j<112;j++); /* Delay of 1 ms for 11.0592MHz Frequency */
}