2.1. Proposed Fault Diagnosis Method for Nonlinear Systems
This work considers a CSTR as a case study, a benchmark system widely used in chemical and biotechnological processes for the validation of fault diagnosis methodologies [
29,
30]. Although the proposed approach is validated on a CSTR, the methodology is general and can be extended to other nonlinear dynamic systems where only input–output measurements are available.
The proposed fault diagnosis method, illustrated in
Figure 1, is designed for scenarios in which an explicit first-principles mathematical model of the system is unavailable or unreliable. The approach relies exclusively on measured input–output data and consists of three tightly coupled stages: data-driven system identification, uncertainty-aware fault detection, and residual-based fault isolation.
In the identification stage, an ANFIS is trained using nominal (fault-free) input–output data to capture the nonlinear dynamics of the CSTR. The ANFIS identification process is used to structure an equivalent convex TS representation of the system, avoiding analytical model derivation while explicitly accounting for identification-induced uncertainty.
Based on the identified TS models, a set of zonotopic PI observers is designed for fault detection. The observer structure explicitly incorporates modeling uncertainty and measurement noise, and robustness is guaranteed through an performance criterion. At each sampling instant k, the observers generate zonotopic state estimates , which provide set-based enclosures of the true system state.
Fault detection is performed by comparing the zonotopic state estimates with measurement-consistent sets derived from sensor readings. A fault is detected when the intersection becomes empty, indicating an inconsistency between the predicted system behavior and the measured data. This set-based mechanism naturally leads to adaptive detection thresholds, eliminating the need for fixed heuristic limits.
Finally, in the fault isolation stage, the activation patterns of the residuals are analyzed using a fault signature matrix (FSM). The FSM enables a logical decision process to identify the faulty component based on the structured residual responses, leading to reliable fault isolation under uncertainty and noise.
From an implementation perspective, the complete procedure is divided into offline and online stages. In the offline stage, the nominal fault-free input–output measurements are first organized into the regressive structures defined for C, T, , and . Four ANFIS models are then trained to identify the corresponding nonlinear dynamics. The consequent parameters of the trained ANFIS models are arranged into the local matrices of the convex TS representation, and the associated identification uncertainty is incorporated into the uncertain model. The zonotopic PI observer gains are subsequently obtained by solving the LMI conditions. Once this stage is completed, the ANFIS parameters and observer gains remain fixed during online monitoring.
During the online stage, the available current and delayed measurements are used to construct the corresponding regressive vectors and evaluate the ANFIS membership functions. The normalized firing strengths determine the convex combination of the local TS submodels at each sampling instant. The zonotopic PI observers then propagate the predicted state enclosures while accounting for identification-induced uncertainty and measurement noise. For each monitored output, a measurement-consistent set is constructed and compared with the corresponding predicted zonotope. If their intersection is nonempty, the measurement is considered consistent with the predicted nominal behavior; otherwise, the associated residual is activated. Finally, the binary residual activation pattern is compared with the predefined fault signature matrix (FSM), and the corresponding fault scenario is assigned as the final diagnostic label.
2.2. Description of Data Measurements in the CSTR SYSTEM
The CSTR system, shown in
Figure 2, operates continuously, converting species A into species B through a second-order exothermic reaction. A cooling jacket regulates the reactor’s temperature, preventing thermal instabilities. The system has three main inputs: the inlet reactant concentration
, the inlet temperature
, and the coolant temperature
. These inputs control the reaction rate and the heat management of the reactor. On the output side, the product concentration
, reactor temperature
, coolant temperature
, and coolant flow-rate
are continuously monitored to ensure optimal performance.
The simulations were generated using the “Feedback-controlled CSTR Process for Fault Simulation” benchmark, Version 1.1.0.1 [
31]. The benchmark represents a three-state jacketed CSTR in which species A is converted into species B through a second-order exothermic reaction. All simulations reported in this study were executed in MATLAB/Simulink (R2025b).
The reactor operates under closed-loop temperature control. The reactor temperature T is regulated by manipulating the coolant flow rate using a controller with and . The manipulated coolant flow is constrained to L/min, and the reactor-temperature setpoint is K. The initial conditions are mol/L, K, and K.
Each simulation was performed for 1200 min at a sampling rate of four samples per minute, corresponding to a data sampling interval of s and 4800 samples per measured variable. The nominal input conditions are mol/L, K, and K. To provide excitation of the nonlinear dynamics, pseudorandom Gaussian perturbations were superimposed on the nominal inputs. The perturbation applied to has variance 0.002, while those applied to and have variance 2. Independent seeds were generated using randi(100000).
Zero-mean Gaussian process and measurement noise were additionally included in the simulations. The process-noise generators were configured with variance
, while the additive measurement-noise generators used variance 0.05. These values correspond to standard deviations of
and approximately 0.2236, respectively. The corresponding Simulink Random Number blocks use seeds generated through
randi(100000) and a block sample time of 1 simulation time unit. The complete simulation, controller, initialization, input-excitation, and noise settings are summarized in
Table 2.
As a data-driven methodology, the proposed scheme relies on time-series information from both input and output sensors. To capture such behavior effectively, the estimation process employs a regressive structure that incorporates data from the two preceding time steps
k. The output variables estimated from the inputs are organized in a regressive structure, as summarized in
Table 3.
These regressive structures act as inputs for the ANFIS, allowing them to identify the estimated variables, leading to the development of the Takagi–Sugeno convex system used for designing the zonotopic PI observer.
2.3. CSTR System Identification Using ANFIS
The identification of the system relies on regressive input structures, as detailed in
Table 3. These inputs are arranged to match the CSTR dynamics and are processed by the ANFIS-based neural network, whose configuration is depicted in
Figure 3. To ensure model fidelity, the training phase is carried out using only nominal data, free from faults. As shown in the figure, the input set comprises temperature measurements at the current and two previous time steps
,
,
, along with inlet concentration
, feed temperature
, and coolant temperature
. These variables feed the fuzzy inference mechanism within the ANFIS to model system behavior and generate an estimate of the output temperature
.
The ANFIS framework is designed to capture the nonlinear dynamics associated with each state variable of the CSTR. As outlined in
Table 3, the input vectors for the network are constructed individually for each variable, incorporating relevant temporal regressors that reflect the system’s dynamic behavior. The structure of these inputs ensures that the model effectively learns the temporal dependencies inherent to the process. Accordingly, the input vector
for the ANFIS is constructed by concatenating the current and past temperature values along with process inputs, as defined by
The number of membership functions
determines the structural complexity of the ANFIS model and was therefore treated as an identification parameter rather than as a tuning parameter of the fault-diagnosis stage. Validation-based selection of ANFIS membership-function configurations has been previously employed to assess model generalization [
32]. In the present work, two membership functions were assigned to each input. As the number of fuzzy rules grows according to
and each ANFIS model contains six inputs (
), the adopted configuration results in
fuzzy rules. Increasing
to three or four would increase the rule base to
and
rules, respectively, substantially increasing the number of consequent parameters to be identified and the computational burden of both the identification stage and the resulting TS representation. Therefore,
was retained as a parsimonious configuration that provides satisfactory validation performance while maintaining a computationally tractable model complexity.
Layer 1: This layer performs the fuzzification of the input data using triangular membership functions. Two membership functions (
) are assigned to each ANFIS input. Each membership function
is parameterized by the three premise parameters
,
, and
and is defined as
In the present implementation,
triangular membership functions are assigned to each of the
regressive inputs. Therefore, the complete grid-partitioned ANFIS structure contains
Takagi–Sugeno fuzzy rules.
Layer 2: This layer constructs the fuzzy rules by combining the outputs of the membership functions from the previous layer. Each of the
nodes contains a fixed-function node that computes the firing strength of a rule by multiplying the incoming signals and forwarding the resulting product:
Layer 3: In this layer, the firing strengths obtained in Layer 2 are normalized. Each node computes the ratio between the firing strength of the
i-th rule and the sum of all firing strengths, ensuring that the resulting values sum to one. These normalized values are referred to as rule weights.
Layer 4: This layer calculates the contribution of each rule to the final output. Each node multiplies the normalized firing strength from Layer 3 by a linear function of the input variables. This linear function, often referred to as the consequent part of the rule, is parameterized by coefficients adjusted during training.
Output: This layer is where the final output of the ANFIS is computed as the weighted sum of all rule contributions received from Layer 4. It aggregates all the inferred outputs into a single value representing the estimated system response.
The initial ANFIS structure was generated using grid partitioning of the six regressive input variables, with two triangular membership functions assigned to each input. This configuration results in 64 Takagi–Sugeno fuzzy rules. The initial membership functions were distributed over the ranges represented by the nominal training data.
Parameter estimation was performed using the hybrid ANFIS learning algorithm. During each training epoch, the consequent parameters were estimated through least-squares optimization, while the premise parameters of the triangular membership functions were updated through the gradient-based learning step. The initial step size was set to 0.01, with decrease and increase rates of 0.8 and 1.1, respectively. A maximum of 150 epochs was considered, and a minimum improvement of was adopted as the stopping criterion.
To reduce overfitting and avoid information leakage between temporally correlated observations, the training–validation partition was performed simulation-wise. Of the 30 independent fault-free simulations, 24 complete simulations were used for training and 6 complete simulations were reserved exclusively for validation. No samples from the validation simulations were used during ANFIS parameter estimation. The complete ANFIS architecture and training configuration used for the four identified output models are summarized in
Table 4.
Once the ANFIS model has been trained and both the normalized firing strengths (
4) and the consequent parameters (
5) have been identified, a Takagi–Sugeno (TS) fuzzy representation can be derived. As an illustrative case, the formulation of the estimated temperature variable
is presented as follows:
The components of expression (
7) can be reformulated and grouped as follows:
where
denotes the state vector, and
denotes the input vector. The superscripts 1, 2, and 3 correspond to the ANFIS output components. The resulting polytopic model is expressed in a discrete-time state-space form as follows:
where
is the number of fuzzy rules,
are the normalized firing strengths (premise functions), and the matrices
,
, and
define the system dynamics. The vector
is an affine term representing the offset learned by the ANFIS network. The output vector is given by
.
Remark 1. The convexity of the polytopic model in (9) is strictly guaranteed by the structural constraints of the ANFIS Layers 1–3. Specifically, the normalization performed in Layer 3 (see Equation (4)) ensures that the weighting functions satisfy the convex sum property: and for all [33]. As each is derived from non-negative membership functions (2) and their T-norm product (3), the resulting firing strengths are intrinsically non-negative. This property ensures that the global nonlinear dynamics are always contained within the convex hull of the local submodels , providing the necessary mathematical foundation for the LMI-based stability analysis of the zonotopic observer. It is worth noting that the CSTR system is affected by uncertainties stemming from unmodeled reaction dynamics and external disturbances. In this framework, the matrices
and
capture the parametric uncertainties associated with the dynamic model, while the matrix
accounts for measurement noise:
The uncertainty matrices
and
are constructed from the parameter error covariance matrix
, which is obtained during the hybrid learning phase of the ANFIS model. This matrix is partitioned as follows:
Here, and are the covariance submatrices of the consequent parameters corresponding to and .
The covariance information of the consequent parameters is obtained from the least-squares stage of the hybrid ANFIS training procedure. For a given identified output, the consequent parameters associated with the
ith fuzzy rule are collected as
Because the normalized firing strengths
are fixed during the consequent-parameter update, the ANFIS output is linear with respect to the consequent parameters. Therefore, the training data can be written in regression form as
where
is the regression matrix containing the input regressors weighted by the corresponding normalized firing strengths,
collects the consequent parameters of all fuzzy rules, and
e denotes the identification residual. After least-squares estimation, the covariance matrix of the consequent-parameter estimates is computed as
where the residual variance is estimated as
with
denoting the number of training samples and
the number of estimated consequent parameters. The rule-specific covariance blocks
,
, and
are subsequently extracted according to the arrangement of the consequent parameters in the TS representation. The diagonal elements of
and
are converted into parameter-wise standard deviations and are used to construct the uncertainty matrices
and
. To extract the uncertainty matrices, the diagonal elements (variances) are reshaped and square-rooted to obtain the standard deviations of each parameter, leading to the following:
Equations (
16) and (
17) provide the structured uncertainty matrices used in the uncertain state-space model (
10), capturing the parameter-wise confidence derived from ANFIS training. The operator reshape denotes the standard transformation of a vector into a matrix of specified dimensions, consistent with column-major ordering. It is worth noting that no uncertainty is introduced in the affine term
. This decision is justified by the fact that
acts as a constant offset in the model, and its influence on the system dynamics is typically negligible compared to the multiplicative terms
and
. Furthermore, during ANFIS training, the estimation of
via least-squares methods tends to exhibit low variance relative to the state and input-dependent parameters. The matrix
denotes the scaling of the additive measurement noise
, which reflects sensor noise affecting the CSTR output measurements.
The affine term has a different role from the coefficients contained in and . Once ANFIS training is completed, is a fixed consequent coefficient associated with the ith local model and does not multiply either the state vector or the input vector . Consequently, uncertainty associated with and enters the state dynamics through the multiplicative terms and , respectively, while uncertainty associated with , if explicitly included, would enter as an additive contribution.
To quantitatively assess the relevance of this affine-term uncertainty, its propagated contribution was evaluated over the fixed validation dataset. The magnitude of the uncertainty associated with the state- and input-dependent terms was computed as
while the contribution associated with the affine term was evaluated as
The corresponding RMS uncertainty measures over the
K validation samples are defined as
The relative contribution of the affine-term uncertainty is then quantified as
Table 5 summarizes the resulting values for the four identified outputs. The affine-term uncertainty contributes less than
of the total propagated ANFIS uncertainty in every case, ranging from
for
C to
for
. Therefore, the dominant identification-induced uncertainty is associated with the state- and input-dependent consequent parameters contained in
and
. These results quantitatively support retaining
as the fixed affine offset obtained during ANFIS training and neglecting its uncertainty in the present observer formulation.
The uncertainty matrices and are constructed from the diagonal entries of the ANFIS parameter covariance submatrices and . This choice provides a structured and computationally tractable approximation in which each uncertain parameter is bounded individually according to its estimated variance. As a result, the uncertainty description can be directly embedded into the TS model while preserving the original dimensions of and , which facilitates the subsequent zonotopic propagation and observer design.
It should be noted, however, that this approximation neglects the cross-correlations among the identified consequent parameters. Therefore, the resulting uncertainty model captures the marginal dispersion of each parameter, but not the full correlation structure encoded in the complete covariance matrix. In practical terms, this means that the proposed formulation provides a structured parameter-wise uncertainty description rather than a full statistical characterization of parameter dependence. The following section will describe the robust fault diagnosis stage based on zonotopic PI observers.
2.4. Structure of Zonotopic PI Observer
Following the approach in [
34], the effect of uncertain parameters can be aggregated into a single disturbance term. Consequently, Equation (
10) is reformulated as follows:
with
where
is the uncertainty distribution matrix of suitable dimensions, and
is a vector that captures the impact of uncertainty.
Zonotopes are adopted due to their favorable balance between computational efficiency and expressive power for uncertainty representation. Unlike general polytopes, whose complexity grows exponentially with the system dimension, zonotopes admit a generator-based description that scales linearly. This property enables efficient computation of Minkowski sums and linear transformations, making zonotopes particularly suitable for real-time state estimation. In the proposed framework, zonotopes are used to propagate bounded disturbances and identification-induced uncertainty, allowing the construction of adaptive, set-based thresholds for robust fault detection.
A zonotope can be interpreted as a compact geometric representation of all states that are consistent with the available model and bounded uncertainty information. A zonotope is characterized by a center c, representing the nominal or central estimate, and a generator matrix R, whose columns describe the directions and magnitudes in which the estimate may vary. Consequently, the zonotope represents a bounded set of admissible states rather than a single point estimate.
The operations used in the proposed observer have a direct geometric interpretation. A linear map transforms both the center and the generators, while a Minkowski sum combines different uncertainty contributions by augmenting the generator matrix. During recursive propagation, the number of generators may continuously increase; therefore, the inclusion-preserving operator
is used to reduce the generator complexity while maintaining an outer enclosure of the original set. In the proposed framework, these operations allow identification-induced uncertainty and measurement noise to be propagated together with the estimated state. The process uncertainty and measurement noise are formally modeled using zonotopic sets, defined as follows:
where
denotes a zonotope centered at
c with generator matrix
R. Specifically,
and
are the centers of the zonotopes
and
that enclose the process uncertainty and measurement noise, respectively. The corresponding generator matrices are
and
, where
and
denote the zonotope orders.
The zonotopic observer is initialized from a bounded set centered at the nominal initial state. Specifically,
with
Accordingly, the initial state is assumed to satisfy mol/L, K, and K. This nonzero initial generator matrix accounts for a small bounded uncertainty around the nominal initial condition and prevents the observer from starting from an artificially exact point estimate.
To enhance state estimation in the presence of persistent disturbances and modeling uncertainties, a discrete-time PI observer structure is developed within the TS framework. This formulation extends the conventional proportional observer by incorporating an integral action on the output estimation error, thereby improving robustness and sensitivity to incipient faults.
Although PI observer structures have been previously studied in the literature, the following development is specifically tailored to TS models obtained exclusively from input–output data. In contrast to classical formulations, the proposed observer is embedded within a zonotopic framework and incorporates
robustness to explicitly handle identification-induced uncertainty and measurement noise. Following the design methodology proposed by [
24], the PI observer is formulated as follows:
where
is the estimated state vector,
is the integral state, which accumulates the output estimation error over time,
is the estimated system output,
and
are the proportional and integral observer gains associated with the
i-th submodel, and
are the normalized activation functions determined by the scheduling vector
.
Unlike classical PI observer formulations, the proposed structure operates on zonotopic state enclosures derived from data-driven TS models, enabling adaptive, set-based residual generation under bounded uncertainty.
This structure also facilitates the synthesis of observer gains via LMIs, ensuring robust convergence of the estimation error dynamics under bounded uncertainty and noise.
It is emphasized that the PI observer structure itself is not claimed to be novel; rather, the contribution lies in its integration with data-driven TS modeling, zonotopic state estimation, and -based robustness guarantees.
This formulation is a generalization of the PI observer introduced in [
24,
25] to the case of fuzzy TS models with multiple submodels and nonlinear weighting.
The error is obtained from the relation
, and the error dynamic
is
From the definition of the estimation error in (
30), and by substituting the system (
22) and observer (
27) into this relation, the error dynamics can be expressed as follows:
The integral state is updated as follows:
Thus, the extended error dynamics become
with the extended state vector:
Finally, the complete extended error dynamics can be written as
where
The extended error dynamics in (
35) provide the basis for the subsequent
LMI-based synthesis of the zonotopic PI observer gains, explicitly accounting for identification-induced uncertainty and measurement noise in a data-driven TS framework.
A zonotopic observer that encloses the system states under uncertainty (
22) can be expressed as
, derived from the observer formulation (
27) and Proposition 1, assuming bounded uncertainties and zonotopic representation under the following assumption.
Proposition 1. Given the uncertain TS system (22) and the PI observer (27), with bounded disturbances and noise , the predicted zonotope iswhere is an inclusion-preserving generator reduction to fixed order q. Proof. Let
with the reduced form
. From the PI-TS observer, for each submodel
i we have
weighted by
and summed over
i.
We propagate sets using standard zonotope operations: (i) Linear map: ; (ii) Minkowski sum: ; and (iii) Scalar multiplication: with .
We apply (i)–(iii) term by term for a fixed
i:
Deterministic terms such as (
42)–(
45) contribute only to the zonotope center, while terms (
41), (
46) and (
47) contribute to the generator matrix. We then combine these contributions via Minkowski sum (ii), and weight them by
using (iii). As
and
, the convex combination of centers and the linearity of the image yield
which produces the first block in (
37) and (
38) by (i). Similarly, as the same uncertainty
and noise
affect all submodels,
which form the second and third blocks in (
38). The deterministic terms
,
,
, and
only shift the center (no new generators are added), yielding (
37). Finally, the reduction operator
in (
39) preserves set inclusion while bounding complexity.
Therefore,
is given by (
37)–(
39). □
Note from expression (
38) that the deterministic terms
,
,
, and
have no impact on the generator matrix
and influence only the center
of the zonotope
. Assuming that the estimated state belongs to the zonotope
, with its reduced generator matrix
, and that the disturbances and noise are bounded as
and
, the estimation error
is enclosed at the next step by the zonotope:
with the generator matrix given by
To ensure robustness against bounded disturbances and measurement noise, the observer gains and are designed according to an performance criterion. The goal is to minimize the worst-case amplification from the disturbance input to the estimation error by solving a convex optimization problem subject to LMI constraints.
The reduction order q is an implementation parameter of the zonotopic propagation and is independent of the LMI-based observer synthesis. Its purpose is to prevent the continuous growth of the number of generators during recursive set propagation while preserving an outer enclosure of the estimated set. In all simulations, the reduction order was fixed to . For the considered observers, the state dimension is ; hence, this setting corresponds to a maximum reduced generator budget equal to five times the state dimension. The selected value was adopted as a practical compromise between retaining geometric information in the zonotopic representation and maintaining bounded computational complexity. No optimality claim is made regarding . A systematic optimization of the reduction order is not addressed in the present work and constitutes a possible direction for future investigation.
For the CSTR implementation, the normalized disturbance and measurement-noise variables satisfy
and
, respectively. Their actual magnitudes are introduced through the uncertainty-distribution and measurement-noise scaling matrices
Consequently, the bounded model-uncertainty contribution satisfies the componentwise bounds , while the bounded measurement-noise contribution satisfies . Equivalently, and . These bounds are propagated explicitly through the zonotopic observer at each sampling instant.
2.5. Robust Zonotopic PI Observer Design
To ensure that the uncertain TS system (
22), identified exclusively from data, and the proposed zonotopic PI observer (
27) achieve convergence, the origin of the extended error dynamics (
35) must be asymptotically stable. The objective is to derive sufficient conditions that guarantee
robustness of the estimation error dynamics in the presence of identification-induced uncertainty and measurement noise. These conditions are summarized in the following theorem.
Theorem 1. Consider the discrete-time TS system subject to additive uncertainty and measurement noise, together with the proposed zonotopic PI observer designed for TS models obtained from input–output data. For a prescribed disturbance attenuation level , the extended error system (35) satisfies the performance criterion with attenuation index γ if there exist a symmetric positive-definite matrix , design matrices , and a scalar , such that the following inequality holds for all :where the matrix is defined aswithThen, the designed observer ensures the internal stability of the extended error dynamics and guarantees that the performance criterionis satisfied for all admissible disturbances. Taking into account that , the zonotopic conditionis fulfilled, and the corresponding LMI conditions are derived using the Schur complement and convex relaxation. Proof. Let
be the Lyapunov candidate function with
. The extended error dynamics are given by
and the residual is defined as
where
and
is the disturbance vector that includes process and measurement uncertainty.
The
performance condition is expressed as
We expand
as
For the residual term:
Adding both contributions, we define the total inequality:
with
Applying the Schur complement, and defining
and
, the inequality becomes a convex LMI in variables
P,
, and
.
Using the convex relaxation from [
33], the term
is upper-bounded by
which yields tractable LMIs. Taking into account
, the zonotopic condition
is satisfied. This concludes the proof. □
Remark 2. Rather than selecting the attenuation level γ empirically, the observer synthesis can be formulated as the following convex optimization problem:where . Therefore, represents the smallest disturbance-attenuation level admitted by the proposed LMI conditions. The optimization is performed offline, and the observer gains and obtained from the solution are subsequently fixed for online implementation. For the numerical implementation, the LMI conditions of Theorem 1 were formulated in MATLAB (R2025b) using YALMIP as the optimization modeling interface and solved with the SeDuMi 1.3 semidefinite-programming solver. To numerically enforce the strict matrix inequalities, a feasibility margin of
was adopted. Accordingly, each strict LMI condition
was implemented as
The
disturbance-attenuation bound was minimized subject to the complete set of LMI feasibility constraints. The resulting optimization problem was feasible, and yielded
Once a feasible solution
is obtained, the proportional and integral observer gains are recovered using the same variable transformations introduced in the proof of Theorem 1:
For the present ANFIS-derived TS representation,
local models are considered. The complete numerical set of proportional and integral observer gains used in the simulations is reported in
Appendix A.
The LMI optimization is performed only once during the offline observer-design stage, after the ANFIS-based TS model and its uncertainty description have been obtained. The resulting matrices P, , and , and, consequently, the gains , remain fixed throughout online operation. Therefore, no semidefinite optimization problem is solved at each sampling instant. During online operation, only the normalized activation weights are updated according to the current scheduling variables, and the corresponding precomputed local observer contributions are combined through the Takagi–Sugeno interpolation mechanism.
The main numerical settings employed for the
observer synthesis are summarized in
Table 6.
2.6. Fault Detection and Isolation Stage
The FD procedure based on zonotopic PI observers combines state estimation from the ANFIS with uncertainty and noise propagation handled by the zonotopic framework. Faults are detected by verifying whether the estimated zonotope intersects the measurement strip at each time step. A fault is flagged whenever this intersection is empty, indicating inconsistency between prediction and measurement. For each residual channel
s, fault detection is performed without introducing a manually tuned fixed threshold. Let the predicted zonotope at time
k be
, and let
denote the measurement row associated with the
sth residual. The projection of the predicted zonotope onto the corresponding measurement direction is the interval
The measurement-consistent interval is defined as
where
is the corresponding measurement-noise bound obtained from
. Hence, the adaptive residual threshold is
Using the residual
the binary residual activation is computed as
Numerically, the set-intersection test is therefore implemented as an interval-overlap test. The predicted and measurement-consistent intervals intersect if and only if
Accordingly, an empty intersection is equivalently detected when
Thus, no additional linear or nonlinear optimization problem is required for the online intersection test. The decision is obtained directly from the center and generator matrix of the propagated zonotope and the prescribed measurement-noise bound. For fault isolation, the binary residual vector is defined as
The predefined fault signature matrix used in the CSTR case study is
where the rows correspond to residuals
and the columns correspond to fault scenarios
. Fault isolation is performed by comparing the observed binary signature
with the columns of
. An exact match with column
j assigns fault
, while
corresponds to nominal operation.
The set of candidate fault scenarios is defined a priori according to the physical faults considered in the CSTR benchmark. However, the binary entries of the FSM are obtained offline from dedicated single-fault simulations rather than being assigned solely from process knowledge. For each fault scenario
, the zonotopic detection procedure is applied and the corresponding residual activation pattern is recorded. Specifically, the FSM entry is defined as
where inconsistency is determined through the adaptive set-based criterion
. Thus, the candidate fault set is specified from process knowledge, while the residual signatures forming the FSM are derived from the simulated fault responses. No additional statistical or machine-learning classifier is used to construct the FSM. During online fault isolation, let
denote the observed binary residual signature and let
denote the
jth column of
. The set of candidate faults compatible with the observed signature is defined as
The isolation decision is then defined as follows:
Accordingly, a fault label is assigned only when the observed residual signature uniquely matches one column of the FSM. A nonzero signature that does not provide a unique match is retained as an ambiguous diagnostic event rather than being forcibly assigned to one of the predefined fault classes.
The present FSM was constructed and validated for single-fault scenarios. Simultaneous faults are therefore not assumed to be uniquely isolable by the current matrix. If two faults
and
occur simultaneously, a first logical approximation to the resulting residual signature would be the element-wise Boolean union,
where ∨ denotes the element-wise logical OR operation. However, such a combined signature is not necessarily unique, and nonlinear interactions between simultaneous faults may further modify the residual response. Consequently, simultaneous-fault isolation is not guaranteed by the current FSM. Its systematic treatment would require augmenting
with dedicated combined-fault signatures and performing an isolability analysis for the enlarged fault set.
The complete online fault-detection and isolation procedure, including zonotope propagation, adaptive residual evaluation, numerical intersection testing, and FSM-based fault isolation, is summarized in Algorithm 1.
| Algorithm 1 Zonotopic fault detection and isolation scheme |
Require: Measured inputs and outputs ; ANFIS-derived TS models ; precomputed observer gains ; initial zonotope ; reduction order ; ; ; uncertainty matrices and ; ; and fault signature matrix . Ensure: Fault-detection decision and isolated fault label.
- 1:
Initialize and the integral observer state . - 2:
for each sampling instant k do - 3:
Evaluate the ANFIS membership functions and compute the normalized TS weights . - 4:
Propagate the zonotopic PI observer using the precomputed gains and . - 5:
Reduce the generator matrix as , with . - 6:
for each residual channel do - 7:
Compute the residual . - 8:
Compute the projected zonotope half-width . - 9:
Obtain the measurement-noise bound from . - 10:
Compute the adaptive threshold . - 11:
if then - 12:
▹ empty intersection - 13:
else - 14:
▹ nonempty intersection - 15:
end if - 16:
end for - 17:
Form the binary residual signature . - 18:
if then - 19:
Declare nominal operation. - 20:
else - 21:
Compare with the columns of . - 22:
if for a unique j then - 23:
Isolate fault . - 24:
else - 25:
Report an unclassified residual signature. - 26:
end if - 27:
end if - 28:
end for
|
It is noted that
is an offline observer-design parameter used to obtain the fixed gains
and
through the
LMI synthesis. It is reported among the algorithm parameters for reproducibility, but the LMI problem and
are not recomputed during online diagnosis. The generation of residuals
relies on the estimated variables presented in
Table 3, and specialized zonotopic PI observers will be developed specifically for tracking these residuals: