A Fuzzy Inference Engine Based Alarm Generation For Critical Condition in Industry Environment
A Fuzzy Inference Engine Based Alarm Generation For Critical Condition in Industry Environment
Abstract - In this paper, fuzzy set-based inference systems are desensitized to frequent false alerts, can result in critical
explored as decision support system for application in critical warnings being overlooked, thus compromising safety and
alarm generation in an industrial plant setup. The parameters efficiency. To overcome these issues, fuzzy inference systems
used in alarm generation are Temperature, Pressure and Water (FIS) are being implemented. Fuzzy logic handles imprecise
Level. The fuzzy systems explored are Mamdani, Sugeno and
ANFIS. The three fuzzy systems are evaluated on simulated data.
and noisy data effectively, allowing for dynamic thresholds that
The evaluation employs both 3-Fold and 10-Fold cross-validation adapt to changing process conditions. By incorporating expert
techniques to ensure robustness. Performance metrics, including knowledge into fuzzy rules, FIS can mimic human reasoning,
Accuracy, Sensitivity, and Specificity, are utilized to assess the providing more nuanced and accurate alarm generation. This
effectiveness of each system. Results indicate that the Mamdani results in reduced false alarms, improved detection accuracy,
and ANFIS systems consistently outperform Sugeno, with the and overall enhanced reliability of the alarm systems, thereby
ANFIS system exhibiting better results across all metrics. significantly improving safety and operational efficiency in
Specifically, for the 3-Fold cross-validation, ANFIS achieved an industrial environments.
accuracy of 88.68% ± 1.27, a sensitivity of 91.09% ± 1.59, and a Fuzzy logic-based inference systems have become highly
specificity of 85.93% ± 1.70. For the 10-Fold cross-validation,
ANFIS achieved an accuracy of 88.78% ± 1.25, a sensitivity of
effective instruments in the field of advanced control
91.11% ± 1.60, and a specificity of 86.13% ± 1.86 showing the techniques, especially when it comes to managing the
better performance and accurate alarm calls in the system. imprecision and uncertainties present in many industrial and
Additionally, the provided standard deviations highlight the environmental contexts. Of the many fuzzy inference models
reliability and consistency of the observed results. These findings available, the Mamdani and Sugeno models are two of the more
outweigh the potential of fuzzy set-based inference systems, well-known options, with unique benefits and approaches. The
particularly ANFIS which stands better followed by Mamdani, as objective of this study is to implement an automated alarm
reliable decision support tools for critical alarm generation in system in various industries of critical environments using
industrial plant setups, offering enhanced precision and reliability fuzzy inference models namely Sugeno, Mamdani and ANFIS.
in detecting abnormal conditions.
Keywords - Fuzzy logic, Mamdani, Sugeno, ANFIS, Industrial
The implementation of automated alehavesystems to
alarm automation, Consistency, Reliability. regulate vital parameters, such water flow, has become essential
in many industrial and environmental domains to guarantee
I. INTRODUCTION efficiency, safety, and legal compliance. Fuzzy logic-based
techniques have become well-liked instruments in the growing
Many traditional alarm systems in industrial environments field of advanced control methodologies because they can
have failed due to their reliance on fixed thresholds, which do effectively manage the inherent complexity and uncertainty of
not adapt to the dynamic nature of industrial processes. This these systems. On the other hand, choosing the right fuzzy
rigidity often leads to frequent false alarms or missed inference model is essential to guaranteeing the effectiveness
detections, as these systems are sensitive to noise and minor and dependability of these systems in practical settings. Fuzzy
fluctuations that are not indicative of critical issues. logic was first proposed by a professor at the University of
Additionally, traditional alarm systems lack contextual California of Berkeley named Lotfi A.Zadeh (1965). Zadeh
awareness, meaning they cannot account for variability in proposed the theory that the objects of fuzzy sets have no exact
process conditions, which further reduces their reliability. This boundaries and are not necessarily right or wrong and are
problem of "alarm fatigue," where operators become
expressed in degrees. Fuzzy systems are based on the notion of imprecise conditions in industrial processes. Unlike traditional
a fuzzy set, which maps the domain of the input to the domain binary logic, fuzzy logic accommodates the inherent vagueness
of the output. The fundamental difference between classical set of real-world data, enabling a more nuanced representation of
theory sets and fuzzy sets is the output value of the set. In system states and behaviours. This flexibility makes fuzzy
classical sets, there are only two output values of zero and one. inference engines well-suited for dynamic and complex
In fuzzy sets, there are many output values with highest degree industrial environments, where conditions can vary widely, and
of membership. conventional alarm systems may fail to provide timely and
In recent years, the Adaptive Neuro-Fuzzy Inference accurate warnings. The use of a fuzzy inference engine-based
System (ANFIS) has emerged as a formidable tool for modeling approach for alarm generation holds several advantages. By
complex systems, blending the adaptability of neural networks incorporating linguistic variables and fuzzy sets, it enables the
with the interpretability of fuzzy logic. ANFIS offers a unique formulation of rules that capture expert knowledge and
synergy, harnessing the nonlinear modeling capabilities of experience, enhancing the system's ability to recognize and
neural networks while retaining the intuitive rule-based respond to critical conditions effectively. Moreover, fuzzy
reasoning of fuzzy logic. This hybrid approach enables ANFIS inference engines can adapt and learn from historical data,
to effectively capture intricate relationships within data, making allowing for continuous refinement and improvement of alarm
it particularly well-suited for applications in critical industrial generation strategies over time. This paper proposes the
environments where uncertainties abound. By seamlessly development and implementation of a fuzzy inference engine-
integrating neural network learning mechanisms with fuzzy based alarm generation system tailored specifically for
logic inference rules, ANFIS not only achieves high predictive industrial environments. By leveraging the principles of fuzzy
accuracy but also provides insights into the underlying logic, this system aims to enhance safety, efficiency, and
decision-making process. Its ability to adapt to changing data reliability in industrial processes by providing timely and
patterns and learn from experience renders ANFIS invaluable accurate alarms in response to critical conditions. Through a
in scenarios where traditional modeling techniques may fall comprehensive analysis and evaluation, the effectiveness and
short. Thus, ANFIS stands at the forefront of advanced control practicality of the proposed approach will be demonstrated,
methodologies, offering a powerful solution for tackling the offering insights into its potential applications and benefits in
complexities inherent in real-world systems. In recent years, the real-world industrial settings.
Adaptive Neuro-Fuzzy Inference System (ANFIS) has emerged
as a formidable tool for modeling complex systems, blending B. LITERATURE SURVEY
the adaptability of neural networks with the interpretability of Most of the natural phenomena are subjective and not
fuzzy logic. ANFIS offers a unique synergy, harnessing the objective. In the natural course of decision range of values used
nonlinear modeling capabilities of neural networks while is not precise. Hence, there is a need to model imprecision. In
retaining the intuitive rule-based reasoning of fuzzy logic. This 1965, L A Zadeh [1] proposed fuzzy sets and fuzzy extension
hybrid approach enables ANFIS to effectively capture intricate principle to model the imprecise data. There are two major
relationships within data, making it particularly well-suited for fuzzy inference engines [2] viz, Takagi-Sugeno-Kang model
applications in critical industrial environments where (briefly referred as Sugeno model) and Mamdani model. Deepa
uncertainties abound. By seamlessly integrating neural network et al [3], surveyed fuzzy inference models and artificial
learning mechanisms with fuzzy logic inference rules, ANFIS intelligence for automation and alarm generation in industry. In
not only achieves high predictive accuracy but also provides a recent study, [4] a supervised learning model, Adaptive Neuro
insights into the underlying decision-making process. Its ability Fuzzy Inference System (ANFIS) is used to optimize wind
to adapt to changing data patterns and learn from experience energy in solar photovoltaics.
renders ANFIS invaluable in scenarios where traditional Having successful usage of fuzzy models in different
modeling techniques may fall short. Thus, ANFIS stands at the applications in the current study authors have developed a
forefront of advanced control methodologies, offering a prototype of fuzzy inference system using Mamdani, Sugeno,
powerful solution for tackling the complexities inherent in real- and ANFIS for predicting hazardous alarms in an industrial
world systems. setup.
A. BACKGROUND C. MOTIVATION
In industrial environments, ensuring safety and efficiency Modern industrial settings rely on automated monitoring
is paramount, often requiring real-time monitoring and systems to identify potential dangers. However, traditional
response to critical conditions. Traditional alarm systems in threshold-based alarms often struggle with the complexity of
these settings rely on rigid thresholds and rules, which may not these dynamic environments. These systems frequently trigger
adequately capture the complexity and uncertainty inherent in false alarms or miss critical events, leading to unnecessary
industrial processes. As a result, there is a growing interest in downtime, safety risks, and reduced efficiency. This research is
adopting more adaptive and robust approaches for alarm driven by the need for more accurate alarm systems in the face
generation, particularly leveraging the capabilities of fuzzy of changing external factors and operating parameters.
inference engines. Fuzzy inference engines offer a promising Conventional threshold-based alerts often produce inaccurate
solution by allowing for the modelling of uncertain and results, causing disruptions and compromising safety. There's a
pressing need for intelligent alarm generation systems that can
identify subtle patterns and deviations hinting at potential B. Data Used
catastrophes. Furthermore, the ever-evolving nature of To conduct a comprehensive assessment of the FIS models,
industrial processes demands a shift towards more advanced we meticulously generated datasets that closely emulated real-
alarm generation methods. Traditional systems struggle to world environmental conditions. Leveraging the powerful
adapt to fluctuating operating conditions, potentially delaying computational tools available in the MATLAB environment,
critical warnings. Increased automation and efficiency across we employed the normrnd function to produce normally
sectors necessitate intelligent alarm systems with real-time distributed random data. This function allowed us to simulate
analysis capabilities to make informed decisions. This research realistic fluctuations in key variables, such as temperature,
proposes a novel approach using fuzzy inference engines to pressure, and water level, by specifying appropriate mean
bridge the gap in existing alarm generation techniques. Fuzzy values and standard deviations.
logic excels at capturing the inherent complexity and The FIS models are subsequently subjected to diverse testing
uncertainty of industrial processes. By incorporating fuzzy scenarios to gain valuable insights into their robustness and
logic, this research aims to enhance the accuracy, reliability, reliability, facilitating informed decisions regarding their
and flexibility of alarm systems. This will empower industries deployment in real-world industrial applications. This
to proactively manage risks and optimize efficiency. The comprehensive evaluation allows for the identification of
successful application of fuzzy logic across various industrial potential weaknesses or limitations within the FIS models,
domains highlights its potential. However, a deep dive into guiding further refinement and optimization efforts.
using fuzzy inference engines specifically for critical condition Additionally, by simulating rare but critical events, such as
detection in industrial settings remains lacking. This research equipment malfunctions or process deviations, the testing
addresses this gap by proposing a systematic methodology for process ensures that the FIS models exhibit resilience and
designing and implementing a fuzzy inference engine-based effectiveness in detecting and responding to anomalous
alarm generation system tailored to the needs of industrial situations.
applications. The goal is to refine current alarm generation
technologies, paving the way for safer, more robust, and C. Dataset Preparation:
efficient industrial operations in our increasingly This section outlines the comprehensive process for creating the
interconnected and complex world. This research project aims dataset that was utilized to assess the Mamdani, Sugeno, and
to contribute significantly to the advancement of alarm ANFIS models' performance.
generation technologies, ultimately promoting safer, more We created datasets for temperature, pressure, and water level
reliable, and efficient industrial processes. using MATLAB's ‘normrnd’ function in order to replicate
actual environmental conditions.
D. CONTRIBUTION AND ORGANIZATION OF PAPER
This paper introduces a fuzzy inference engine-based Table 1. Dataset Description
approach for alarm generation in industrial environments. Our
contributions include proposing a more adaptable and accurate PARAMETER LOW MEDIUM HIGH HAZARDOUS
method compared to traditional systems, improving precision Temperature(T) 40±12 70±10 100±20 180±40
to reduce false alarms, and emphasizing context-awareness for Pressure(P) 10±5 50±20 100±30 160±40
informed decision-making. The paper is structured to provide Water level(W) 10±5 20±8 32±6 -
an overview of challenges, a review of relevant literature,
details on methodology and experiments, analysis of results,
and concluding remarks. Through this organization, we aim to For temperature, pressure, and water level, we devised
comprehensively present our novel approach and its linguistic phrases to describe the subtle fluctuations in
implications for industrial automation and safety. environmental conditions. The four linguistic labels low,
medium, high, and hazardous were used to categorize each
II. MATERIALS AND METHODOLOGY metric. According to their mean (m) and standard deviation (s)
(expressed as (m+s)), these terms were represented by suitable
A. Study Design membership functions.
The primary objective of this study was to rigorously Temperature(T)
evaluate the performance of fuzzy inference systems (FIS) in Low: 𝑇 ∼𝑁 (𝑚low , 𝑠𝑙ow )
predicting alarms for water flow control systems. By leveraging Medium: 𝑇 ∼ 𝑁 ( 𝑚medium , 𝑠medium)
the capabilities of FIS models, specifically the Mamdani and High: 𝑇 ∼𝑁 (𝑚high , 𝑠high)
Sugeno approaches, we aimed to develop an effective alarm Hazardous: T~N(mhazardous, shazardous)
prediction system that could accurately forecast potential issues Pressure (P)
in water flow management based on environmental factors. Low: 𝑃 ∼ 𝑁 (𝑚low , slow)
This research endeavor was driven by the need to enhance the Medium: 𝑃 ∼ 𝑁 ( 𝑚medium, 𝑠medium )
reliability and proactive monitoring of water flow systems, High: 𝑃 ∼ 𝑁 ( 𝑚high , 𝑠high )
ultimately contributing to improved operational efficiency and Hazardous: 𝑃 ∼ 𝑁(mhazardous , 𝑠hazardous )
risk mitigation strategies. Water Level (W)
Low: W~N (mlow, slow)
Medium: W~N (mmedium, smedium) extracted from data using techniques such as clustering or rule
High: W~N (mhigh, shigh) induction.
Hazardous: W~N( mhazardous, shazardous)
c) Flow Diagram:
The standard deviation (s) and mean (m) values were carefully The procedure of creating datasets was essential to
selected to represent the diversity within each category as well assessing how well fuzzy inference systems (FIS)
as normal environmental conditions. These membership performed in water flow control systems for the purpose of
functions played a key role in the fuzzy inference systems' predicting alarms. To replicate realistic environmental
fuzzification, which allowed the models to manage the inherent conditions, datasets were carefully created using the
unpredictability and uncertainty in the input data. MATLAB environment.
A dataset of 5810 samples with three features,
D. Overall Methodology temperature, pressure, and water level was considered. The
{normrnd} function's parameters, which comprise mean
values and standard deviations that represent normal
environmental fluctuations, were carefully selected to
replicate the variability found in real-world circumstances.
These datasets allowed for a thorough assessment of the
Mamdani and Sugeno FIS models' effectiveness in water
flow control system alert prediction through training and
testing.
V. DISCUSSION