Embedded System of LPG Gas Leakage Detection Using Arduino Microcontroller and Kalman Filter Algorithm

Authors

  • Rakha Pramana Departement of Electrical Engineering, Faculty of Engineering, Universitas Negeri Semarang

DOI:

https://doi.org/10.25299/itjrd.2025.21437

Keywords:

Arduino, MQ-2 Sensor, Liquefied Petroleum Gas (LPG), Kalman Filter

Abstract

Liquefied Petroleum Gas (LPG) leaks frequently occur in small commercial areas, particularly in food stalls that use LPG as fuel. This is a serious issue that can lead to risks of fire or explosion. To address this problem, a study was conducted to develop an LPG leakage detection system based on Arduino, equipped with an MQ-2 sensor, Kalman filter, and exhaust fan. The MQ-2 sensor is used to detect LPG leaks in the air, while the Kalman filter reduces noise and improves the accuracy of sensor measurements, allowing the system to operate more reliably and stably. The system is designed to provide a quick and accurate response in detecting gas leaks, delivering early warnings and automatically taking preventive actions. The test results show that the Kalman filter, with constants R=10 and Q=0.01, produces smoother and more stable sensor readings compared to the absence of a filter. Additionally, sensor placement distance is a crucial aspect in optimizing system performance. Therefore, this system is expected to be an effective solution to enhance safety in small commercial areas and provide better protection for users against the risks of LPG leaks

Downloads

Download data is not yet available.

References

A. B. Edward et al., “Development of a Smart Monitoring System for Advancing LPG Cylinder Safety and Efficiency in Sub-Saharan Africa,” Procedia Comput Sci, vol. 232, pp. 839–848, 2024, doi: https://doi.org/10.1016/j.procs.2024.01.084.

B. Jena, S. Kumar Pradhan, R. Jha, S. Goel, and R. Sharma, “LPG gas leakage detection system using IoT,” Mater Today Proc, vol. 74, pp. 795–800, 2023, doi: https://doi.org/10.1016/j.matpr.2022.11.172.

Q. Ma et al., “Study on the characteristic of boiling expansion process of superheated LPG and its vapor cloud explosion,” J Loss Prev Process Ind, vol. 78, p. 104831, 2022, doi: https://doi.org/10.1016/j.jlp.2022.104831.

Q. Ma, M. Du, Y. Sun, M. Zhong, Z. Chen, and J. Chen, “Study on the influence of ignition position on explosion characteristics and patterns in LPG filling station,” Appl Therm Eng, p. 126726, 2025, doi: https://doi.org/10.1016/j.applthermaleng.2025.126726.

Z. Tasnim, S. Das, R. Islam, J. Biswas, F. M. J. M. Shamrat, and A. Khater, “Sensor based Smart Automated Gas Leakage Detection and Prevention System,” in 2022 6th International Conference on Trends in Electronics and Informatics (ICOEI), 2022, pp. 460–466. doi: 10.1109/ICOEI53556.2022.9777130.

J. Lee, Y. Kim, A. Rehman, I. Kim, J. Lee, and H. Yun, “Development of an AI-based image/ultrasonic convergence camera system for accurate gas leak detection in petrochemical plants,” Heliyon, vol. 10, no. 7, p. e28905, 2024, doi: https://doi.org/10.1016/j.heliyon.2024.e28905.

R. R. Sharma, “Design of Distribution Transformer Health Management System using IoT Sensors,” September 2021, 2021, [Online]. Available: https://api.semanticscholar.org/CorpusID:239421460

B. Ravisankar, R. Gurubaran, D. Manoj, R. Nagendran, V. Gowrishan, and R. Satheesh, “Smart Detection System for LPG Gas Leakage using IoT,” in 2022 6th International Conference on Computing Methodologies and Communication (ICCMC), 2022, pp. 421–430. doi: 10.1109/ICCMC53470.2022.9753894.

F. Arzberger et al., “Delta- and Kalman-filter designs for multi-sensor pose estimation on spherical mobile mapping systems,” Rob Auton Syst, p. 104852, 2024, doi: https://doi.org/10.1016/j.robot.2024.104852.

Q. Wang, Z. Liu, Z. Wu, J. Wang, C. Qu, and J. Li, “Drift suppression method based on signal stability detection and adaptive Kalman filter for NMR sensor,” Digit Signal Process, vol. 156, p. 104812, 2025, doi: https://doi.org/10.1016/j.dsp.2024.104812.

A. Ma’arif, Iswanto, A. A. Nuryono, and R. I. Alfian, “Kalman Filter for Noise Reducer on Sensor Readings,” Signal and Image Processing Latters, vol. 1, no. 2, 2019.

N. K. Jumaa, Y. Abdulkhaleq, M. A. M. Nadhim, and T. Abbas, “IoT Based Gas Leakage Detection and Alarming System using Blynk platforms,” Iraqi Journal for Electrical and Electronic Engineering, 2022, [Online]. Available: https://api.semanticscholar.org/CorpusID:247153996

Z. Peng, J. Che, and Y. Qi, “Interval response reconstruction based on Kalman filter,” Structures, vol. 75, p. 108621, 2025, doi: https://doi.org/10.1016/j.istruc.2025.108621.

A. Maarif, R. D. Puriyanto, and F. R. T. Hasan, “Robot Keseimbangan Dengan Kendali Proporsional-Integral-Derivatif (PID) dan Kalman Filter,” IT Journal Research & Development, vol. 4, no. 2, 2020.

G. Wang, Z. Zhang, H. Yang, and Z. Yao, “A clustering variational Bayesian Kalman filter with heavy-tailed measurement noise,” Signal Processing, vol. 234, p. 110010, 2025, doi: https://doi.org/10.1016/j.sigpro.2025.110010.

M. Baltieri and T. Isomura, “Kalman filters as the steady-state solution of gradient descent on variational free energy,” ArXiv, vol. abs/2111.10530, 2021, [Online]. Available: https://api.semanticscholar.org/CorpusID:244477966

J. Du et al., “Estimation of battery state of charge based on changing window adaptive extended Kalman filtering,” J Energy Storage, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:273671562

E. Jamalinia, Z. Zhang, J. Khazaei, and R. S. Blum, “Data-Driven Dynamic State Estimation of Photovoltaic Systems via Sparse Regression Unscented Kalman Filter,” ArXiv, vol. abs/2404.18305, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:269449273

M. Tsyrulnikov and A. Sotskiy, “Regularization of the Ensemble Kalman Filter using a non-parametric, non-stationary spatial model,” Spat Stat, 2023, [Online]. Available: https://api.semanticscholar.org/CorpusID:268248274

C. McGurk, H. Ahmed, M. Foo, A. Pike, Q. Lu, and D. S. Laila, “A comparative analysis of moving average filter and Kalman filter for large diesel engine test cell back-pressure control,” International Journal of Engine Research, vol. 24, no. 7, pp. 3186–3196, 2023, doi: 10.1177/14680874221145749.

C. Huang, F. Qiao, and H. Ma, “Noise reduction of acoustic Doppler velocimeter data based on Kalman filtering and autoregressive moving average models,” Acta Oceanologica Sinica, vol. 39, no. 12, pp. 106–113, 2020, doi: 10.1007/s13131-020-1641-x.

C. Urrea and R. Agramonte, “Kalman Filter: Historical Overview and Review of Its Use in Robotics 60 Years after Its Creation,” J Sens, vol. 2021, no. 1, p. 9674015, 2021, doi: https://doi.org/10.1155/2021/9674015.

Downloads

Published

2025-07-21

How to Cite

Pramana, R. (2025). Embedded System of LPG Gas Leakage Detection Using Arduino Microcontroller and Kalman Filter Algorithm. IT Journal Research and Development, 10(1), 11–20. https://doi.org/10.25299/itjrd.2025.21437

Issue

Section

Articles