Claim Missing Document
Check
Articles

Found 1 Documents
Search

Implementation of Mamdani Fuzzy Logic in Fire Early Warning Based on Gas Leaks Inas Samara Taqia; Muhammad Rafi Riza Pratama; Muhammmad Eka Fauzan
Journal of Applied Science, Technology & Humanities | JASTH Vol. 3 No. 3 (2026): June 2026
Publisher : Batrisya Education

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.62535/3wta8665

Abstract

Gas leaks represent one of the most critical triggers of residential and industrial fire accidents, particularly in environments reliant on Liquefied Petroleum Gas (LPG). Conventional threshold-based detection systems exhibit fundamental limitations in interpreting the gradual and simultaneous dynamics of multiple hazardous parameters, rendering them prone to delayed responses or false alarms. This study proposes an intelligent early warning system for fire detection based on gas leakage, employing the Mamdani Fuzzy Inference System (FIS) implemented on an Arduino Uno microcontroller. The system integrates three environmental input variables Gas Concentration (MQ-2 sensor), Flame Distance (IR flame sensor), and Ambient Temperature (DHT22 sensor) to determine the proportional speed output of a DC exhaust fan via Pulse Width Modulation (PWM) control. A rule base of 27 IF-THEN rules governs the inference process. The system was validated through MATLAB Fuzzy Logic Toolbox simulation and direct hardware implementation, yielding an average error rate of 0.22% between simulated, hardware computation, and actual outputs. The results demonstrate that the proposed multi-parameter Mamdani fuzzy system provides a significantly more adaptive and precise hazard assessment compared to conventional single-threshold approaches, offering a robust foundation for smart safety system deployment.