Gas Leakage Detector and Monitoring System
Автор: Yekini N. Asafe, Adigun J. Oyeranmi, Oloyede A. Olamide, Akinade O. Abigael
Журнал: International Journal of Engineering and Manufacturing @ijem
Статья в выпуске: 5 vol.12, 2022 года.
Бесплатный доступ
Leakage of gas is a major issue in the industrial sector, residential buildings, and gas-powered vehicles, one of the preventive methods to stop accidents associated with gas leakage is to install gas leakage detection devices. The focus of this work is to propose a device that can detect gas leakage and alert the owners to avert problems due to gas leakages. The system is based on a microcontroller that employs a gas sensor as well as a GSM module, an LCD display, and a buzzer. The system was designed for gas leakage monitoring and alerts with SMS via an Arduino microcontroller with a buzzer and an MQ2 gas sensor. The circuit contains a Microcontroller MQ2 gas sensor, buzzer, LCD display, and GSM module, when the sensor detects gas leakage it transmit the information to the Microcontroller while the microcontroller makes a decision and then forwarded a warning message to the user as SMS to a mobile phone for decision to be taken accordingly. The output of this research will be significant in averting problems associated with gas leakages now and in future.
Gas Leakages, GSM module, Gas Leakage Detector, Gas Sensor, GSM module
Короткий адрес: https://sciup.org/15018594
IDR: 15018594 | DOI: 10.5815/ijem.2022.05.05
Текст научной статьи Gas Leakage Detector and Monitoring System
Gas leakage is a major problem within the industrial sector, residential premises, and gas-powered vehicles like CNG (Compressed Natural Gas) buses and cars where the use of gas has become an important source of energy (STET, 2012) to the afore mention area in this era. The issue of Liquefied Petroleum Gas leakage has been so disastrous that it has resulted in serious harm, including the loss of life and property worth millions of dollars around the world. The catastrophic pipeline explosion has happened in different parts of Nigeria in that resulted into death and injure of many people and loss of property [1].
Gas is the most commonly used fuel in Nigerian homes and industry in which some required measures have to be strategized in other to protect against incidents and accidents such as suffocation and explosion associated with its usage. LPG is a highly inflammable gas made up of a mixture of butane (C4H10) and propane (C3H8) through buthylene and prophylene and another hydrocarbon present in small quantity, due to the odorless of these chemical ethyl mercaptans is added as an odorant to give a powerful scent so that when leakage occurs it can be perceived [2], however in a situation of the minimum quantity of gas leakage, some people have a poor sensing ability to perceive and so, more reliable and effective device use in detecting gas (gas leakage detector) has to be installed in homes, industries, and vehicles of LPG usage to avoid explosion. LPG leakage refers to several factors such as leakage in the pipe, hose not properly fixed, and hearing of whistling or hissing sound around the cylinder, valve not fitted properly.
There are different ways of detecting gas leakage in which there has been existing LPG detector which only sound out an alarm when there is leakage and there is still improvement that could be made to the existing ones, in which a microcontroller activate the alarm and send a message through SMS to the appropriate personnel. The crux of the paper is to create a device that can detect LPG leakage as part of a safety measure and automatically send an SMS to the appropriate personnel and will activate an alarm immediately after gas leakage is detected in other to prevent wastage of the gas and also explosion which could lead to damaging of properties and other calamities [3]. The focus of this work is to design a system that monitors gas leakage in an enclosed system using an Arduino Uno microcontroller and an alarm system are used to alert people within leakages neighborhood while SMS will be sent to the premises owner or safety organization to towards making decision to avert damages and loss of lives/properties. The objectives among others if the design is implemented are:
i. To prevent loss of lives and properties when gas leakages occur
ii. To enable prompt action by the premises owner and safety organization towards avert problems that may be associated with gas leakages.
iii. To enable people around the gas leakages premises take action to prevent damages escalation.
2. Literature Review2.1. Liquid Problem Gas Detection
2.2. Classification of Leakages Detection
There are different classes of leakage detection which have been used to monitor the leakage, several criteria are classified into their classification, some of which are critical principles and abilities needed from humans. The detection is classified into three, which are automated detection, manual detection, and semi-automated detection. Automated Detection involves monitoring of detecting leakage without the help of the operator, once the detector device is installed and been connected to the display of the personnel in charge and can be automatically shut down from the display unit. (SCADA); Manual Detection - These are methods in which the device can only be operated by humans. Like thermal imager or light detection and ranging (Lidar) devices; Semi-automated detection – solutions that necessitate a certain amount of input or assistance in carrying out certain tasks (e.g. statistical or digital signal processing methods) (Batzias et al., 2011). The technology used in leakages detection can be classified into two categories which are, Direct method
2.3. FPGA-GSM Based Gas Leakage Detection
2.4. Embedded Real-Time System For Gas Leakage Detection
This section presents the review of some studies that are related to gas leakages detection.
Liquid problem gas is a flammable mixture of hydrocarbon gases used as fuel in heating appliances, cooking equipment, and specifically as a vehicle fuel (it is often referred to as autogas). It is an odorless gas due to ethyl mercaptan is added as an odorant to be easily detected when leakage occurs for safety precaution. LPG is made by refining petroleum or wet natural gas and is almost entirely derived from fossil fuels sources being manufactured during the refining of crude oil as theory emerged from the natural state. It was classified as a hazardous material because of its explosive potentials when under pressure, due to this hazardous property leading to fire explosion. The gas detection process was made by the chemically infused paper that change its color when it’s been exposed to gas before the development of the electronics gas detector. The electronics leakage detector was an active approach to initial fault detection in other to achieve the utmost safety of humanity and properties as a whole they introduced an android base automatic gas detection).different approaches have been used alongside several research in the detection of leakage and were also implemented alongside some incident toward some decades. The existing leakage detection is optical sensor method, cable sensor, negative pressure, vapor sampling, signal processing, mass volume, and pressure point analysis, in which have been implemented using a different framework. Some groups of researchers have classified the technology as two fitting categories, which are software and hardware method but research continues and to technical nature research effort which led them to three group methods [4].

Fig. 1. Gas Leakage Detection Method Based on Technical Nature
and the Indirect method The direct method is making use of a handheld detector by the patrol team along the pipeline and in the aspect of the very long pipeline, the airplane mounted optical imaging device is used along the pipeline for measuring gas emanation for fast result [5,6].
In the work entitled FPGA-GSM Based Gas Leakage Detection Method by [7]. They investigated a simple FPGA-based system that detected LPG leakages using the MQ6 sensor. In the event of gas leakage, an automatic warning call is sent to the first response team via GSM to avoid any delays. There is no remote monitoring or any mechanism for mitigating gas leaks, such as automatic shut-off of the gas supply.
A domestic applications in residential buildings for an Embedded real-time system for gas leakage detection in which sensor nodes are installed in various households and communicate with a single central node. An alarm is triggered in the event of gas leakage. The concerned personnel is identified and alerted via text messages using the assigned MAC address of the RF module in each sensor unit. The use of exhaust fans is a commonly proposed solution for gas-related accidents, however, this system is only capable of mitigating a possible disaster and not completely averting it, since this approach reduces the risk by expelling gas leakage instead of shutting down the supply [8,9].
2.5. Wireless modularization of gas safety devices.
2.6. Automatic Safety Gas Stove and liquefied petroleum gas booking and monitoring
3. Methodology Materials and Design
Smart home gas safety management system based on wireless modularization of gas safety devices was designed to allow safety in the homes in other to reduce damages. The system is based on the commercially available intelligent Micom meters, which have enhanced standard gas meters with a built-in microcontroller and a cutoff valve. The system is primarily concerned with detecting fire breakouts, and the existing gas meter has been upgraded to communicate with an external smoke and CO detecting sensor, as well as fire extinguishing modules, which are used to extinguish the fire when the temperature exceeds the threshold. The requirement for an existing Micom meter to construct the enhanced gas and fire safety method is a disadvantage of this system, as it lacks independent application. [10] developed a gas leakage detection and location system based on wireless sensor networks. They used wireless sensor networks to detect gas leakages and ensure product safety in the petrochemical industry. The system emphasizes the importance of developing centralized location software by collecting data from wireless RF sensors in order to precisely pinpoint the location of gas leakage and aid in the response time reduction In spite of the absence of remote monitoring and automatic shutoff, the study emphasizes the importance of inter-node communication in developing a dependable leakage detection system [11].
An automatic safety gas stove that uses Infrared (IR) sensors to detect the presence of utensils on the stove. In the absence of utensils, the system relies on motors to turn the stove knob to turn off the gas supply. The system presumes that the gas leak is limited to the stove burner and ignores the possibility of a leakage in the gas supply pipe. Its ability to detect gas leaks is limited due to the absence of any sensing units. The disadvantage of this approach is that it does not take into account scenarios such as gas pipe leakage [12]. Automated Unified System For LPG Using Microcontroller And GSM Module: This was a very cost-effective automated liquified petroleum gas booking and monitoring, which the gas leakage is detected through the weight sensor to detect the level of the gas in the cylinder and an MQ series sensor to monitor leakage through the SMS received by the user and automatically book the cylinder. It also involves an exhaust fan that is switched on and a solenoid valve fitted to the cylinder to close once there is leakage [13].
The proposed system will use an Arduino microcontroller detector system to sense the gas with the help of a sensor. In which the MQ2 sensor used in this system interfacing with Arduino is implemented in this project and the signal from the sensor is sent to the microcontroller which is connected to communicate with the LCD, send a signal to the buzzer to sound an alarm when there is leakage and also send a message through the GSM module. The GSM module is a piece of hardware that connects to a remote network, this does not involve an internet or hotspot wifi which makes it more recommendable than the IOT leakage method which has could fail due to network failure and unaffordable equipment to low-income earners and also has a quick response gas leakage. In this research work, the hardware component to be used is Arduino Uno Micro-controller, GSM Module (SIM800), MQ2 Gas sensor, Buzzer, Power Module, Stripped Vero board, Female and Male Pin header, OLED Display, 3D printed case, Power Switch, LEDs, connectors, and Lithium Polymer Rechargeable Battery. The proposed diagram is model as figure 2.

Fig. 2. Block diagram of the proposed project
The operational mode of the proposed is depicted with flowchart figure 3.

Fig. 3. Operational mode of the proposed System
4. Implementation 4.1. Construction
Stage 1: Circuit
The first stage of the hardware construction was to put together all the components using a stripped Vero-board, the components were soldered to the circuit board and all connections were tested before proceeding to the next stage as seen in the diagram below.

Fig. 4. Circuit on circuit board
Stage 2: Computer-Aided Design
The next stage was to design the device’s casing using Computer-Aided Design (CAD) software, iTeam decided to use Fusion 360 as it is easy to use and has a free version. The entire device was designed, but the main focus was the enclosure that would later be 3D Printed. After designing the enclosure, the model was exported and sliced using CURA which is slicing software that prepares and generates code from a 3D model that can be sent to a 3D printer. Finally, the Model was printed.

Fig. 5. Design on Fusion 360

Fig. 6. Finished Rendered Design
Stage 3: Assembling
After printing the device casing, we assembled the circuit and other components inside the case ensuring it fit well.

Fig. 7. Fixing of the Components in the Casing

Fig. 8. Prototype of the proposed system
Software Design
The hardware was coded using C++ on Arduino IDE, and the pseudo code is as shown as follows.
#include
#include
#include
LiquidCrystal_I2C lcd(0x27, 16, 2);
//Create software serial object to communicate with SIM800L
SoftwareSerial mySerial(2, 3); //SIM800L Tx & Rx is connected to Arduino #3 & #2 int smoke_sense = 210;
void send_sms(String msg)
{ mySerial.println("AT+CMGF=1"); // Configuring TEXT mode updateSerial();
mySerial.println("AT+CMGS=\"08051230116\"");//change ZZ with country code and xxxxxxxxxxx with phone number to sms updateSerial();
updateSerial();
delay(6000);
mySerial.println("AT+CMGF=1"); // Configuring TEXT mode updateSerial();
mySerial.println("AT+CMGS=\"08051230116\"");//change ZZ with country code and xxxxxxxxxxx with phone number to sms updateSerial();
updateSerial();
} void updateSerial()
{ delay(500);
while (Serial.available())
} while(mySerial.available())
{
}
} void setup()
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(3,0);
lcd.setCursor(2,1);
delay(2000);
//Begin serial communication with Arduino and Arduino IDE (Serial Monitor)
pinMode(A0, INPUT);
pinMode(7, OUTPUT);
Serial.println("Initializing...");
delay(1000);
mySerial.println("AT"); //Once the handshake test is successful, it will back to OK updateSerial();
lcd.setCursor(2,0);
delay(3000);
} void loop()
{
Serial.println(analogRead(A0));
if(analogRead(A0) > smoke_sense)
{ digitalWrite(7, HIGH);
lcd.setCursor(0,0);
lcd.setCursor(0,1);
send_sms("Alert! Alert!, Smoke/Gas Detected at your Apartment!");
delay(1500);
digitalWrite(7, LOW);
} else
{ lcd.setCursor(0,0);
lcd.setCursor(0,1);
{
}
Stage 4: Testing
Finally, the device was tested by using a gas to simulate flame to ensure everything was working fine and it did.
759 X Q X •
/ Sim Module (Lara)
+2349138171540
5 Alert! Alert!, Smoke/Gas Detected at your Apartment!
s Alert! Alert!, Smoke/Gas Detected at your Apartment!
Alert! Alert!, Smoke/Gas Detected at your Apartment!
Alert! Alert!, Smoke/Gas Detected at your Apartment!
5 Alert! Alert!, Smoke/Gas Detected at your Apartment!
5 Alert! Alert!, Smoke/Gas Detected at your Apartment!
S Alert! Alert!, Smoke/Gas Detected at your Apartment!
Alert! Alert!, Smoke/Gas Detected at your Apartment!
Alert! Alert!, Smoke/Gas Detected at your Apartment!
Alert! Alert!, Smoke/Gas Detected at your Apartment!
Alert! Alert!, Smoke/Gas Detected at your Apartment!
Alert! Alert!, Smoke/Gas Detected

Fig. 9. Screen short for testing of the proposed system
5. Conclusion
This work presents the design and implementation of gas leakage detection system. Various works on gas leakages detection system was reviewed and presented. I was discovered that some of the existent research don’t takes in to considerations the cost effectiveness for the purpose of implementation of gas leakages detection at individual/domestic uses, and not easy to be further modified. This research work had advanced in knowledge as it included an embedded system to alert users via multiple mobile phones for further action to be taken when leakage is detected. The device detects gas leakage using a highly sensitive MQ-2 gas sensor to activate a buzzer that alert people of leakages, and also sent an SMS with the information “Gas Leakage Detected” from the SIM800 GSM Module as a backup to alert the appropriate authority or facility owner of a gas leakage. This design could be adopted, funded, and implemented as it has a great potential of mitigating against accidents associated with LPG leakage.
Список литературы Gas Leakage Detector and Monitoring System
- Punch newspaper 2021, Panic as gas leakage occurs in Ikeja. Available at https://punchng.com/breaking-panic-as-gas-leakage-occurs-in-ikeja retrived January 17, 2021.
- A., L. (2017). Wireless gas leak detection improves employee protection, environs, and production value.
- Arpitha, T. K. (2016). FPGA-GSM-based gas leakage detection system. Bangalore. IEEE Annual India Conference (INDICON), 1-4.
- Chengjun, D. X. (2011). Development of gas leak detection and location system based on wireless sensor networks. Shanghai. Third International Conference on Measuring Technology and Mechatronics Automation, 1067–1070.
- Kareem, H. (2019). Embedded real‐time system for detecting leakage of the gas used in Iraqi kitchens. Indonesia J. Elect Eng Comp Sci .vol 14, 1171-1176.
- Loth, J. M. (2003). Technology Assessment of online Acoustic monitoring Leak In fragment in the underground, natural gas Transmission Lines. USA: West Virginia University.
- Manohar, R. a. (2018). Android Introduction to Detection. Hindu: Nwebweze, O. (December 2015) vanguard News .com .
- Murvaya, P. (2011). A survey in Gas leak Detection and localization technology. Journal of loss prevention in the Process Industries, 11-25.
- Park, G. L. (2013). Development of gas safety management system for smart‐home services. Distributor Sensor Network, 9-10.
- Sonkar, B. S. (2015). Microcontroller-based LPG Leakage Detector using GSM Module. International Journal of Electrical and Electronics Research, Vol .111, 264-269.
- Sperl, J. (2005). System pinpoints Leak s on point Arguello Offshore Lines. Oil and Gas Journal. vol .99, no 36, 47-55.
- Yalmar, A. P. (2015). Implementation of automatic safety gas stove. Ann IEEE India Conference (pp. 1-6). New Delhi: INDICON.
- Zhang, X. (2006). Statistical Leak Detection in Gas and Pipelines. pipes and pipelines international ,vol 68 .no 4, 20-30