Model-based approaches (Sampath et al., 1995), (Zaytoon and
Lafortune, 2013), are generally used when there is sufficient
knowledge of the internal functioning of the system. They are
efficient and able to validate the consistency and completeness
of the faults to be diagnosed. However, to work properly, these
approaches require accurate and deep analytical models of the
domain and the major difficulty is the high cost of
implementing the models (Saddem and Philippot, 2014), (De
Souza et al, 2020), (Moreira and Lesage, 2019). Indeed, the
temporal complexity of implementing most models is
exponential.
Knowledge-based approaches have a high diagnostic capacity
thanks to symptoms of faults they model. However, its major
limit lies in the formalization of the expert’s knowledge and its
updates (Dousson et al, 2008), (Subias et al., 2014).
Data-based approaches (Venkatasubramanian et al., 2003),
(Dou and Zhou, 2016), (Han et al., 2017) do not require
knowledge of the internal workings of the system. They do not
need an explicit formal model. They use available historical
data. From this data, they give predictions. These approaches
learn from each experience to improve their performance.
They rely on ML techniques to achieve their objectives.
However, they require a data preparation step to extract the
most relevant data that will be formatted according to the ML
technique to be used.
In this paper, we are interested in the diagnosis of DES using
the data-based approach.
3. PROPOSED APPROACH
3.1 Automated Production System
An APS system consists of three parts: the operative part (OP),
the control part (CP), and the Human Machine Interface (HMI)
(Figure 1).
Figure 1: Structure of an APS
OP represents all material resources that physically operate on
the system. CP is the set of information processing and
acquisition means that ensure the piloting and the control of
the process. There are two types of information exchanges
between CP and OP i) CP sends orders to the actuators and
pre-actuators of OP to obtain the desired effects ii) OP sends
reports (sensor values) to CP. HMI allows communication
between the CP and the human operator. The human operator
gives instructions via HMI and receives various signals from
CP such as light indicators, sound indicators, messages
displayed on the screens, etc.
Most APS that have sensors and actuators delivering binary
signals are controlled by PLC that perform three successive
operations: that perform three successive operations: (a)
Reading the inputs, which consist of the recording of the states
of sensors. (b) Executing the program. (c) Updating the outputs
(actuators). These operations are cyclical, i.e. one cycle after
the other. The diagnosis, therefore, consists in cyclically
reading the sensor’s values and the CP's orders and analyzing
them to detect and isolate faults.
3.2 Proposal
This paper we proposes a new solution for the online diagnosis
of APSs that have discrete dynamics. Our solution is based on
methods from the field of artificial intelligence (AI). Thus, we
use AI techniques to diagnose on line the occurrence of faults
of an APS. The development and deployment of ML models
involve a series of steps:
i. The definition of the problem, which consists of
understanding the problem to be solved, determining the
objectives (prediction, clustering, etc.), defining the
criteria for success and the constraints to be respected.
ii. Data acquisition, which consists of identifying and
collecting data required to support the problem. These data
can come from several sources and can be structured (such
as database records, trees, graphs…) or unstructured (such
as images, texts, voices…)
iii. Data preparation, which consists of formatting the data
according to the ML algorithm to be used. It includes
transformation, normalization, cleaning, and selection of
training data.
iv. The training and validation of the algorithm. This requires
dividing the available data into three parts: training data,
validation data, and test data. We use cross-validation (CV
for short). The training set is split into k smaller sets. First,
the model is trained using k−1 of the folds as training data.
Then, the resulting model is validated on the Kth fold. The
test data is used for testing.
v. The test consists in evaluating the performance of the
algorithm.
vi. The deployment of the algorithm.
3.3 Understanding the problem
For this step, a study and an analysis of the system are
necessary: definition of the list of the APS’s components and
their operating specifications. In this work, we are interested
in the online diagnosis of APS with sensors and actuators
delivering binary signals. Four faults are possible for each
component: stuck to 0; stuck to 1; an unexpected move from 0
to 1 and an unexpected move from 1 to 0. The monitored APS
can be normal, failed, or uncertain. Uncertain state means that
the system may be normal or faulty: there are not enough
discriminating observations to decide its state. The objective is
therefore to return the online status of the plant. If a fault
occurs in a component of the plant, the diagnostic may return
this fault. Therefore, on needs to have a list of the components
of the plant to fix the number and the name of each fault that
may occur. A specification of the APS operation allows us to
establish a control program for the plant. We assume that this