Next Article in Journal
Positional Numeral Systems over Polyadic Rings
Next Article in Special Issue
DPI-TD3: Data-Driven Evasive Maneuver Strategy for Adaptive Control of Exo-Atmospheric Vehicles
Previous Article in Journal
CNN–Attention–LSTM with Bayesian Optimization for Multi-Level Sump Well Anomaly Early Warning
Previous Article in Special Issue
Data-Driven Transferable Modeling for Cross-Project Software Vulnerability Detection via Dual-Feature Stacking Ensemble
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Data-Driven Certified Mode Detection for Switched Discrete-Time Takagi–Sugeno Systems with Adaptive Observation Window

1
Department of Computer Engineering and Networks, College of Computer and Information Sciences, Jouf University, Sakaka 72341, Saudi Arabia
2
Department of Information System, College of Computer and Information Sciences, Jouf University, Sakaka 72341, Saudi Arabia
3
Department of Computer Science, College of Computer Science and Information, Jouf University, Sakaka 72341, Saudi Arabia
4
Control and Energy Management Laboratory, National School of Engineering of Sfax, University of Sfax, P.O. Box 1173, Sfax 3038, Tunisia
5
Higher Institute of Applied Sciences and Technology of Kairouan, University of Kairouan, Kairouan 3100, Tunisia
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(9), 1532; https://doi.org/10.3390/math14091532
Submission received: 10 April 2026 / Revised: 28 April 2026 / Accepted: 28 April 2026 / Published: 30 April 2026
(This article belongs to the Special Issue Advances and Applications for Data-Driven/Model-Free Control)

Abstract

This paper addresses active-mode detection for switched discrete-time Takagi–Sugeno systems from noisy input–output data under candidate-dependent input correction and uncertainty in data-driven observability subspaces. A lifted input–output formulation is developed in which each candidate mode is associated with a mode-dependent forced-response correction and a nominal observability subspace identified offline from representative data. Based on this construction, a practical residual criterion is introduced together with an ideal residual criterion defined by the exact residual projector. An online verifiable sufficient condition is then derived to guarantee consistency between the practical and ideal residual orderings, yielding a conservative but theorem-consistent certification mechanism. To quantify the effect of measurement uncertainty, a component-wise noise-to-signal ratio (NSR) analysis is established, leading to explicit conservative NSR bounds when signal-floor conditions are available offline. These results motivate an adaptive observation-window strategy driven by an explicit online NSR estimate. In addition, an uncertainty-corrected discernibility index based on principal angles between estimated observability subspaces is introduced to assess offline mode separability. Simulations on a switched T–S benchmark show high practical detection accuracy, sound but conservative certification, informative NSR bounds, and stable adaptive-window regulation, including under reviewer-motivated switching stress tests and baseline comparison experiments.

1. Introduction

Switched and hybrid dynamical systems are inherent to numerous and diverse engineering contexts, such as autonomous systems, fault-tolerant control, cyber–physical systems, transportation, and process industries. Their dynamics are a combination of continuous dynamics with non-continuous transitions between modes, rendering the state estimation, active-mode detection, and closed-loop supervision a far more difficult issue than in the single-mode case. Control-theoretically, switched systems analysis has been built up widely in the areas of stability, detectability, switching logic and controller synthesis; see, e.g., the monograph of Liberzon [1]. Meanwhile, adaptive and data-driven control are now a paradigm of uncertain and partially unknown systems [2], and system-identification techniques have offered the foundation of dynamical model reconstruction based on measured data [3,4]. Subspace identification is one of such techniques and it has been quite appealing to the multivariate state-space reconstruction as well as the geometric analysis of data [5,6].
The Takagi–Sugeno (T S) fuzzy framework provides a useful trade-off between modeling and analysis properties where nonlinearities are important but can be represented by a convex rule-based model. This is why it is extensively applied in filtering, observer design, fault diagnosis, fault-tolerant control and resilient control under switching, delays, uncertainties and cyber-attacks. Finite-time observer-based H fuzzy control of nonlinear jump systems [7], asynchronous filtering of discrete-time TS fuzzy networks under deception attacks [8], security control of TS fuzzy cyberphysical systems under sensor and actuator attacks [9], and resilient event-based control of TS fuzzy jump systems in single-step semi-Markov jump systems [10] are representative examples. New switched-system fault-tolerant designs also have integrated clustering, classification, and LMI-based compensation [11]. These publications affirm the applicability of T–S and switched formulations to contemporary safety-critical applications.
At the same time, data-driven mode detection and mode-dependent control have recently received growing attention for switched linear systems whose exact models are not fully available. Recent contributions include data-driven mode detection and stabilization of unknown switched linear systems [12], online data-driven model predictive control for switched linear systems [13], and LMI-based mode-detectability analysis for noisy switched linear systems estimated by minimum-distance criteria [14]. In related adaptive and data-driven directions, recent work has also considered tuning and uncertainty adaptation mechanisms in control systems, such as fictitious-reference iterative tuning for autopilots [15] and robust adaptive control under projection-based uncertainty compensation [16]. In spite of these advances, robust online mode certification for switched nonlinear or switched T–S systems remains much less developed than practical mode classification itself. Recent developments in learning-enhanced and intermittent control also reinforce the relevance of uncertainty-aware online decision mechanisms. Representative examples include deep-neural-network-based output-dependent intermittent control for uncertain nonlinear systems and direct data-driven intermittent control with Lyapunov-guided attraction-region estimation and neural feedback-loop design. These works further motivate the need for detection and certification mechanisms that remain compatible with data-driven adaptation and robustness requirements [17,18].
A major difficulty is that practical residuals computed online are influenced not only by measurement noise, but also by input mismatch, premise-estimation error, and uncertainty in the estimated observability subspaces. Consequently, a small practical residual does not automatically imply that the corresponding candidate mode is the true active one in a theorem-consistent sense. This is especially acute when a heuristic detector, a certifiable detector with explicit online sufficient conditions, is desired. The current work deals with this challenge by a lifted input–output formulation, where the candidate modes are linked to candidate-dependent input correction terms, and a nominal observability subspace estimated offline with data. The resultant framework is in the form of a relationship between mode detectability and the geometry of lifted observability subspaces, residual-projector perturbation bounds, and amplification terms of explicit input-mismatch effects.
Practical constraints of fixed observation-window strategies are also the inspiration behind the proposed approach. Shorter observation windows can respond rapidly to switches, though this can be very sensitive to noise; longer window periods can enhance discrimination, and reduce the relative contribution of measurement uncertainty, but can lag in detecting a switch, or may fail the local constant-mode condition. We augment the mode-detection mechanism to explicitly represent this trade-off, with a component-wise noise-to-signal ratio (NSR) analysis and an adaptive observation-window policy. The resulting update law is investigated in the stochastic-approximation spirit, in the classical tradition of Robbins and Monro [19] and the dynamical-systems tradition [20], and using probabilistic support via martingale convergence methods [21]. This connection offers a principled manner to connect online NSR regulation to the adaptation of the asymptotic windows.
Some key tools of matrix analysis and robust optimization are also instrumental in the development of the analysis provided in this paper. Specifically, the derivation of the conservative and explicit sufficient conditions is based on the projector perturbation arguments and the subspace geometry of which the classical results of matrix perturbation are necessary [22]. The robust inequalities are formulated along standard LMI-oriented reasoning based upon the Schur complement [23], the literature on convex optimization [24], the S-lemma/S-procedure literature [25], and results regarding uncertainty-handling related to generalized versions of Petersen’s lemma [26]. The paper, in this way, unites data-driven lifted modeling, subspace geometry, and robust certification into a built-in switched T–S detection system.
Though the current paper is not dedicated to fractional-order systems, it is conceptually related to a number of recent observer and identification studies designed to deal with uncertain nonlinear and fractional-order dynamics, such as generalized Barbalat-type instruments, to achieve adaptive observer design [27]; unknown-input observer synthesis of fractional (one-sided) Lipschitz systems [28]; and bias-compensated identification [29]. These publications depict the wider approach in perspective, where observer design, uncertainty compensation and data-based approximation remain in progress for more real and less model-driven scenarios.
Against this background, the contribution of the paper is threefold. First, we derive a candidate-dependent lifted residual formulation for switched discrete-time T–S systems with known input, in which the input correction is incorporated consistently into the residual evaluation of every candidate mode. This leads to a practical residual cost and a corresponding ideal residual cost, whose gap can be bounded explicitly. Second, we establish an online verifiable sufficient condition guaranteeing that the practical residual ordering is consistent with the ideal residual ordering, thereby yielding a theorem-consistent mode certification result. Third, we develop a component-wise NSR analysis together with an adaptive observation-window policy, and we relate the latter to a projected stochastic-approximation recursion whose limiting behavior is characterized by a mean-drift equation. In addition, a discernibility index is introduced to quantify uncertainty-corrected separation between mode-dependent observability subspaces. It should be emphasized that the proposed framework is intentionally two-layered: the practical online mode decision is produced by residual minimization, whereas the robust residual-gap result is used as a high-confidence theoretical certification layer that may only be triggered on a subset of windows.
To further clarify the novelty with respect to recent related works, we emphasize that the present contribution is not limited to the use of lifted representations, subspace identification, or residual-based classification taken separately, since these ingredients have appeared in various forms in the switched-systems and data-driven control literature. Rather, the novelty lies in their integration into a single theorem-consistent framework tailored to switched discrete-time T–S systems with premise uncertainty and candidate-dependent input correction. In contrast with closely related recent works on data-driven mode detection or switched linear systems, which mainly address practical classification, stabilization, or predictive control, the present paper adds an explicit online certification layer based on a robust residual-gap condition, a component-wise NSR analysis linked to adaptive observation-window regulation, and an uncertainty-corrected discernibility index for offline geometric separability assessment. In this sense, the contribution of the paper is both integrative and methodological: it provides not only a practical detector, but also a principled mechanism for deciding when a mode estimate can be certified under explicit robustness margins.
In summary, the objective of this work is not only to detect the active mode of a switched T–S system from noisy measured data, but also to determine when such a decision can be certified online under explicit robustness margins, and how the observation horizon should be adapted to maintain a prescribed signal-to-noise quality. To further broaden this perspective, we differ from purely data-driven classification schemes and purely model-based detectability studies by offering a framework for data-driven calibration, online residual geometry and adaptive-window regulation, which is certifiable. Simulations showing the practical detection accuracy, conservatism in certification, informativeness of NSR-boundedness and adaptability in the observation window finally validate the theory. The rapid growth in the number of data-driven approaches to science and engineering today raises the expectation that the new generation of smart systems will not only have predictive but also knowledge integration, uncertainty quantification and scalable real-world application capabilities. Data analytics are playing a major role in the fast-tracked industrialization of perovskite solar cells through material selection, process optimisation and processability [30]. Similarly, in catalysis, the recent finding of data-driven design of dual-atom catalysts highlights machine learning as a powerful tool for mapping structure with properties and to accelerate discovery [31]. Just like for many physical systems, software engineering is moving towards data-driven techniques, and with machine learning-based risk and test case prioritisation, we have opportunities to achieve better and faster software quality assurance [32]. In the field of environmental operations, the recent rise of a data-driven approach to weather forecasting has re-emphasised the importance of understanding uncertainty in weather models for consistency, interpretability and trust [33]. Likewise, in biomedical engineering, the AI-driven, data-driven optimization of nanocarriers demonstrates that such methods can be applied to improve the design of drug carriers by considering their performance, reliability and biological compatibility [34]. Taken together, these papers indicate that the future of data-driven research is in the development of powerful, uncertainty-sensitive and application-sensitive tools capable of connecting theory, computations and deployment in a range of different applications.
The rest of this paper is structured in the following way. Section 2 defines the mode-detection problem of switched discrete-time T-S systems, the lifted input–output representation and the candidate-dependent residual construction. In Section 3, the key theoretical findings are outlined, such as the robust residual-gap certification condition, the NSR-based detectability analysis, the adaptive observation-window policy and the discernibility index. Section 4 presents the results of simulations that confirm the suggested framework with respect to practical detection accuracy, certification that is consistent across all the theorems, informativeness of the NSR, and adaptive-window behavior. Lastly, the closing statements along with suggestions for future research are provided. In Appendix B, the paper summarizes the key symbols employed in the paper.

2. Problem Formulation

Consider a discrete-time switched nonlinear system with a finite mode set Q = { 1 ,   2 ,   ,   Q } . The active mode at time t is denoted by the switching signal σ ( t ) Q . For each mode q Q , the plant is represented by a Takagi–Sugeno (T–S) fuzzy model with unmeasured premise variables:
x ( t + 1 ) = i = 1 r q h q , i ( ζ ( t ) ) A q , i x ( t ) + B q , i u ( t ) , y ( t ) = i = 1 r q h q , i ( ζ ( t ) ) C q , i x ( t ) + v ( t ) , when σ ( t ) = q ,
where x ( t ) R n is the state, u ( t ) R n u is the known input, y ( t ) R m is the measured output, and  v ( t ) R m is the measurement noise.
Here, v ( t ) is an additive measurement-noise term acting on the output equation only; it is not a process disturbance entering the state dynamics.
Assumption 1.
For each detection instant t k , the active mode is constant on the observation window
W k , L : = { t k , t k + 1 , , t k + L 1 } ,
that is, there exists an unknown q k Q such that σ ( t ) = q k for all t W k , L .
Assumption 1 is standard in window-based mode detection: it ensures that the residual test over W k , L is associated with a single active mode. The objective is to identify the unknown mode q k from noisy input–output data.

2.1. Premise-Variable Estimation and Scheduled Model

The premise variable ζ ( t ) R n ζ is not measured directly. Instead, an estimate ζ ^ ( t ) is obtained from the available measurements through a known estimation map
ζ ^ ( t ) = Φ y ( 0 : t ) , u ( 0 : t ) ,
where Φ ( · ) may be an algebraic reconstruction, a filtered estimate, or an observer- based approximation.
The following bounds are assumed to hold for all admissible trajectories and all modes
ζ ( t ) ζ ^ ( t ) 2 Δ ζ , h q ( ζ ) h q ( ζ ^ ) 1 κ ζ ζ ζ ^ 2 ,
where h q ( ζ ) : = [ h q , 1 ( ζ ) , , h q , r q ( ζ ) ] and κ ζ > 0 is a Lipschitz constant of the rule-weight vector.
Remark 1.
The Lipschitz condition on the membership vector h q is standard for smooth premise maps, but it may become restrictive when the membership functions are very steep or nearly discontinuous. In such cases, the constant κ ζ may be large, which in turn makes the associated uncertainty bounds more conservative.
Using the estimated premise trajectory, define the scheduled matrices
A ^ q ( t ) : = i = 1 r q h q , i ( ζ ^ ( t ) ) A q , i , B ^ q ( t ) : = i = 1 r q h q , i ( ζ ^ ( t ) ) B q , i , C ^ q ( t ) : = i = 1 r q h q , i ( ζ ^ ( t ) ) C q , i .
The mismatch between the true and estimated scheduled matrices is induced by the premise estimation error and will be treated as a bounded uncertainty.

2.2. Lifted Input–Output Model over a Detection Window

For a fixed window W k , L , define the stacked output and input vectors
Y k , L : = y ( t k ) y ( t k + 1 ) y ( t k + L 1 ) R m L , U k , L : = u ( t k ) u ( t k + 1 ) u ( t k + L 1 ) R n u L .
Given the estimated premise trajectory Z ^ k , L : = [ ζ ^ ( t k ) , , ζ ^ ( t k + L 1 ) ] , the corresponding local lifted observability matrix for mode q is defined by
O q , L Z ^ k , L : = C ^ q ( t k ) C ^ q ( t k + 1 ) A ^ q ( t k ) C ^ q ( t k + 2 ) A ^ q ( t k + 1 ) A ^ q ( t k ) C ^ q ( t k + L 1 ) A ^ q ( t k + L 2 ) A ^ q ( t k ) R m L × n .
Likewise, let T q , L ( Z ^ k , L ) R m L × n u L denote the associated lower block-triangular Toeplitz matrix collecting the known forced response due to the input sequence.
Since the forced response is mode-dependent, the input-corrected lifted output must also be defined mode-by-mode. For each candidate mode r Q , define
Y ¯ r , k , L : = Y k , L T r , L Z ^ k , L U k , L .
In particular, if the active mode on W k , L is q, then
Y ¯ q , k , L = O q , L Z ^ k , L x ( t k ) + w q , k , L + V k , L ,
where V k , L : = [ v ( t k ) , , v ( t k + L 1 ) ] is the stacked measurement noise and w q , k , L collects the lifted modeling error induced by the premise mismatch ζ ζ ^ .
For clarity, throughout the remainder of the paper we use Y ¯ q , k , L to denote the candidate-dependent input-corrected lifted output associated with mode q, and  V k , L to denote the stacked measurement-noise vector over the window.
For a competing mode p q , one has
Y ¯ p , k , L = Y ¯ q , k , L + Δ T p , q , L Z ^ k , L U k , L ,
where
Δ T p , q , L Z ^ k , L : = T q , L Z ^ k , L T p , L Z ^ k , L .
Thus, in the nonzero-input case, the residual comparison must account not only for observability-subspace uncertainty and premise mismatch, but also for the candidate-dependent input-mismatch term Δ T p , q , L U k , L .
We assume that if v ( t ) v ¯ , then
V k , L 2 m L v ¯ , w q , k , L 2 η q , L Δ ζ ,
for some known or estimable constant η q , L > 0 . In addition, for each pair ( p , q ) , the input-mismatch term is assumed to satisfy
Δ T p , q , L Z ^ k , L U k , L 2 ξ p , q , L U k , L 2 ,
where ξ p , q , L 0 is a known or estimable constant. A conservative offline choice is
ξ p , q , L : = sup Z ^ k , L Z ^ adm T q , L Z ^ k , L T p , L Z ^ k , L 2 ,
so that (11) follows directly from the submultiplicative property of the induced matrix norm.
A constructive offline estimate of η q , L can be obtained from mode-labeled validation windows by evaluating the lifted modeling mismatch
w q , k , L = Y ¯ q , k , L O q , L ( Z ^ k , L ) x ( t k ) V k , L ,
and then setting
η q , L off : = max k K q val w q , k , L 2 Δ ζ + ε η ,
where K q val is a mode-labeled validation index set and ε η > 0 is a small regularization constant used only to avoid numerical division by zero. In practice, one may further replace the maximum by a high empirical quantile in order to reduce sensitivity to isolated outliers while preserving conservatism.

2.3. Data-Driven Estimation of the Observability Subspace

For each mode q, assume that a set of mode-labeled identification data is available offline, from which block Hankel matrices H y ( q ) and H u ( q ) are constructed. The lifted observability matrix is estimated by a subspace-identification map
O ^ q , L = S q H y ( q ) , H u ( q ) ,
where S q ( · ) denotes a consistent subspace-identification routine (for instance, an MOESP/N4SID-type estimator or an equivalent least-squares realization step on block Hankel data). In this work, O ^ q , L is interpreted as a nominal observability-subspace basis for mode q, identified offline from mode-labeled data; the deviation between this nominal basis and the local scheduled lifted operator O q , L ( Z ^ k , L ) is absorbed into the uncertainty bound below.
The identification error is modeled by the bound
O ^ q , L O q , L Z ^ k , L 2 ϵ q ,
where ϵ q is obtained from an offline validation procedure (e.g., residual cross-validation or an empirical confidence bound on held-out trajectories).
Define the estimated signal projector and residual projector by
P ^ q , L : = O ^ q , L O ^ q , L , Π ^ q , L : = I m L P ^ q , L .

2.4. Residual Criterion and Theoretical NSR

For each candidate mode q, define the practical residual energy over the window W k , L as
J ^ q ( k , L ) : = Π ^ q , L Y ¯ q , k , L 2 2 .
The detected mode is the one that minimizes the practical residual cost:
q ^ k = arg min q Q J ^ q ( k , L ) .
To quantify component-wise noise sensitivity, let E j R L × m L be the selector matrix extracting the j-th output channel over the window:
E j Y k , L = y j ( t k ) y j ( t k + 1 ) y j ( t k + L 1 ) .
The theoretical component-wise noise-to-signal ratio (NSR) for candidate mode q is defined as
θ q , j ( k , L ) : = E j V k , L 2 E j P ^ q , L Y ¯ q , k , L 2 , j = 1 , , m .
Since V k , L is not available online, θ q , j ( k , L ) is a theoretical quantity used for analysis; in practice it is replaced by a calibrated estimate θ ^ q , j ( k , L ) obtained from residual statistics and sensor-noise bounds.
In the simulations and in the online adaptive-window implementation, the candidate-mode/channel NSR estimate is taken as
θ ^ q , j ( k , L ) = L v ¯ j E j P ^ q , L Y ¯ q , k , L 2 + ε , j = 1 , , m ,
where v ¯ j is the offline-calibrated noise bound for channel j, and  ε > 0 is a small numerical regularization constant. This choice is online-reproducible because it depends only on the measured data, the candidate-dependent corrected lifted output, and the offline-calibrated projector.

2.5. Robust Detectability

Mode q is said to be Θ ¯ -detectable on window W k , L if, whenever σ ( t ) = q for all t W k , L , the practical residual gap between mode q and every competing mode p q dominates an uncertainty margin:
J ^ p ( k , L ) J ^ q ( k , L ) > δ q , p Y ¯ q , k , L 2 , ϵ q , ϵ p , Δ ζ , U k , L 2 , p q ,
for all windows satisfying
θ q , j ( k , L ) Θ ¯ j , j = 1 , , m .
Here, δ q , p ( · ) is a non-negative uncertainty margin accounting for: (i) the subspace-identification errors ϵ q , ϵ p , (ii) the premise-estimation error Δ ζ , (iii) the induced perturbation of the residual projectors, and (iv) the candidate-dependent input mismatch Δ T p , q , L U k , L . An explicit computable expression of δ q , p will be derived later from the adopted projector-perturbation and forced-response mismatch models.

2.6. Problem Statement

Given noisy input–output data, unknown system matrices, and unmeasured premise variables, the objectives are to:
  • Derive computable bounds on the observability-subspace uncertainty, the premise-induced lifted model mismatch, and the input-mismatch term, i.e., bounds on ϵ q , η q , L Δ ζ , and  ξ p , q , L U k , L 2 ;
  • Establish tractable sufficient conditions (possibly first as robust BMIs and then through suitable relaxations) guaranteeing robust mode detectability and computable admissible NSR bounds;
  • Design an adaptive observation-window policy that selects the smallest feasible L while preserving robust detectability;
  • Define a mode-discernibility metric based on the separation between estimated observability subspaces, suitable for T–S modes with overlapping premise regions.

3. Main Results

This section provides robust sufficient conditions for mode detectability under observability-subspace uncertainty, premise-estimation error, and candidate-dependent input mismatch. We first derive a robust residual-gap certification result, then provide a conservative upper bound on the admissible NSR. Next, we present a corrected adaptive observation-window policy and its convergence guarantee. Finally, we define a subspace-based discernibility index and summarize sufficient detectability conditions.
For each mode q, define the practical residual cost
J ^ q ( k , L ) : = Π ^ q , L Y ¯ q , k , L 2 2 , Π ^ q , L = I m L P ^ q , L ,
where Y ¯ q , k , L is the candidate-dependent input-corrected lifted output defined in (6). We adopt the projector-perturbation model
Π q , L Π ^ q , L 2 η ¯ q , L , η ¯ q , L : = c Π , q ϵ q + d q , L Δ ζ ,
for some known constants, c Π , q > 0 and d q , L > 0 . The constants c Π , q and d q , L depend on the conditioning of the nominal observability subspace and can be estimated offline.
Theorem 1
(Robust certification of residual ordering with input mismatch). Assume that mode q is active on window W k , L . For each candidate mode r Q , define the practical residual cost
J ^ r ( k , L ) : = Π ^ r , L Y ¯ r , k , L 2 2
and the corresponding ideal residual cost
J r ( k , L ) : = Π r , L Y ¯ r , k , L 2 2 ,
where Π r , L is the exact residual projector and Π ^ r , L its estimate.
Assume moreover that, for every r Q ,
Π r , L Π ^ r , L 2 η ¯ r , L .
For a competing mode p q , define
z q : = Y ¯ q , k , L , z p : = Y ¯ p , k , L = z q + Δ T p , q , L Z ^ k , L U k , L .
If, for every p q ,
J ^ p ( k , L ) J ^ q ( k , L ) > μ q , L z q 2 2 + μ p , L z q 2 + ξ p , q , L U k , L 2 2 ,
where
μ r , L : = 2 η ¯ r , L + η ¯ r , L 2 , r Q ,
the right-hand side of (19) is a worst-case robustness margin obtained from triangle-inequality and induced-norm relaxations; it is therefore intentionally conservative and does not exploit possible cancellation effects that may occur on individual trajectories, then
J q ( k , L ) < J p ( k , L ) , p q .
Consequently, the ordering induced by the practical residuals is robust with respect to projector uncertainty and candidate-dependent input mismatch, and the active mode q is correctly certified.
Proof. 
For readability, the complete proof of Theorem 1 is deferred to Appendix A. The main idea is to compare the practical and ideal residual energies through a projector-perturbation decomposition and then incorporate the candidate-dependent input-mismatch bound.    □
Remark 2.
Although Theorem 1 is intentionally formulated in a fully explicit way, its purpose is not to serve as the primary online decision rule, but rather as a theorem-consistent sufficient certification result. The length of our statement comes from the fact that the margin needs to account for the projector error, mismatch depending on the candidate, and amplifications from the lifted output. In practice, the detected mode is still found via residual minimization, while Theorem 1 is used only to certify those windows for which the measured residual gap is sufficiently large relative to the worst-case uncertainty margin.
Remark 3.
Theorem 1 should be interpreted as a sufficient certification result rather than as a condition expected to hold on every detection window. In practical operation, the detected mode is still obtained from the residual minimization step, while certification is issued only when the measured residual gap is sufficiently large to dominate the worst-case uncertainty margin. Thus, the theorem plays the role of a conservative theoretical guarantee, not that of the primary online classifier.
Remark 4
(Online verifiability). The sufficient condition (19) can be checked online at each detection instant. Indeed, the practical residuals J ^ p ( k , L ) and J ^ q ( k , L ) , the corrected lifted output norm z q 2 , and the input norm U k , L 2 are directly available from the measured data, while the constants μ r , L and ξ p , q , L are precomputed offline from identification and uncertainty bounds.
Remark 5.
A global semidefinite surrogate of the form Π ^ p , L Π ^ q , L γ I is generally too restrictive, since the difference between two orthogonal projectors is typically indefinite. For this reason, we do not use such a condition as a central tractable certificate. In practice, computational surrogates should instead be derived either on a relevant data subspace or from a dedicated robust BMI/LMI relaxation that explicitly incorporates the projector and input-mismatch uncertainties.
We next quantify a conservative admissible NSR bound.
Assumption 2.
For the considered operating conditions and informative trajectories of interest, the active mode produces a nonvanishing projected signal on channel j; that is, there exists a deterministic constant s ̲ q , j ( L ) > 0 such that
E j P ^ q , L O q , L ( Z ^ k , L ) x ( t k ) + w q , k , L 2 s ̲ q , j ( L )
for all admissible trajectories under consideration.
Theorem 2
(Conservative upper bound on the component-wise NSR). Fix a mode q, an output channel j, and a window length L. Under Assumption 2, and if
E j V k , L 2 L v ¯ j
and
s ̲ q , j ( L ) > L v ¯ j ,
then the component-wise NSR satisfies
θ q , j ( k , L ) Θ ¯ q , j ub ( L ) : = L v ¯ j s ̲ q , j ( L ) L v ¯ j .
Consequently, any design threshold Θ ¯ j such that
Θ ¯ j Θ ¯ q , j ub ( L )
guarantees θ q , j ( k , L ) Θ ¯ j for mode q at window length L.
Proof. 
Let
s q , j ( k , L ) : = E j P ^ q , L O q , L ( Z ^ k , L ) x ( t k ) + w q , k , L .
Since
Y ¯ q , k , L = O q , L ( Z ^ k , L ) x ( t k ) + w q , k , L + V k , L ,
we have
E j P ^ q , L Y ¯ q , k , L = s q , j ( k , L ) + E j P ^ q , L V k , L .
By the reverse triangle inequality and P ^ q , L 2 = 1 ,
E j P ^ q , L Y ¯ q , k , L 2 s q , j ( k , L ) 2 E j V k , L 2 .
Using Assumption 2, we obtain
E j P ^ q , L Y ¯ q , k , L 2 s ̲ q , j ( L ) E j V k , L 2 s ̲ q , j ( L ) L v ¯ j .
Condition (21) makes the denominator strictly positive. Therefore,
θ q , j ( k , L ) = E j V k , L 2 E j P ^ q , L Y ¯ q , k , L 2 L v ¯ j s ̲ q , j ( L ) L v ¯ j ,
which proves (22). The final claim follows immediately.    □
Remark 6.
The existence of a strictly positive signal floor s ̲ q , j ( L ) is a restrictive assumption. It is typically satisfied only on a prescribed set of informative trajectories, for example when the projected state component is bounded away from the nullspace of the observability operator or when the input provides sufficient excitation over the window.
In practice, the signal floor s ̲ q , j ( L ) can be obtained offline either from lower bounds on the estimated observability Gramian, or from empirical lower confidence bounds computed on mode-labeled validation trajectories.

3.1. Residual Criterion and Practical Online NSR Estimate

For each candidate mode q, define the practical residual energy over the window W k , L as
J ^ q ( k , L ) : = Π ^ q , L Y ¯ q , k , L 2 2 .
The detected mode is the one that minimizes the practical residual cost:
q ^ k = arg min q Q J ^ q ( k , L ) .
Since V k , L is not available online, θ q , j ( k , L ) is a theoretical quantity used for analysis. In the simulations and in the adaptive-window implementation, the candidate-mode/channel online NSR estimate is taken as
θ ^ q , j ( k , L ) = L v ¯ j E j P ^ q , L Y ¯ q , k , L 2 + ε , j = 1 , , m ,
where v ¯ j is the offline-calibrated noise bound for channel j, and  ε > 0 is a small numerical regularization constant. This estimator is online-reproducible because it depends only on the measured data, the candidate-dependent corrected lifted output, and the offline-calibrated signal projector.

3.2. Adaptive Window Policy

After computing the candidate residuals and selecting
q ^ k = arg min q Q J ^ q ( k , L k ) ,
we define the scalar NSR signal driving the adaptation as
θ ^ ( t k ) = max j = 1 , , m θ ^ q ^ k , j ( k , L k ) .
Thus, the adaptive recursion uses the NSR of the currently detected mode rather than that of the unknown true mode, and it selects the most adverse output channel at the current detection instant.
The observation window is then adapted online through the projected stochastic-approximation law
L k + 1 = clip [ L min , L max ] L k + η k θ ^ ( t k ) Θ ¯ ,
where η k > 0 satisfies
k = 0 η k = , k = 0 η k 2 < .
The positive sign in (24) is chosen so that the window length increases whenever the selected online NSR exceeds the desired threshold.
Lemma 1
(Projected stochastic-approximation convergence). Let
h ( L ) : = E [ θ ^ ( t k ) L k = L ] , F ( L ) : = h ( L ) Θ ¯ .
Assume that:
1. 
There exists L [ L min , L max ] such that F ( L ) = 0 ;
2. 
F ( · ) satisfies the one-sided stability condition
( L L ) F ( L ) c h ( L L ) 2 , L [ L min , L max ] ,
for some constant c h > 0 ;
3. 
The noise sequence
w k : = θ ^ ( t k ) h ( L k )
is a martingale-difference sequence with respect to the natural filtration F k , i.e.,
E [ w k F k ] = 0 , E [ w k 2 F k ] σ w 2
almost surely, for some σ w > 0 .
Then the sequence generated by (24) converges almost surely to L .
Proof. 
Define the projection operator
Π [ L min , L max ] ( x ) : = clip [ L min , L max ] ( x )
and the estimation error
e k : = L k L .
Then (24) can be rewritten as
L k + 1 = Π [ L min , L max ] L k + η k ( F ( L k ) + w k ) .
Since the projection onto a closed interval is nonexpansive, we have
| L k + 1 L | 2 L k L + η k ( F ( L k ) + w k ) 2 .
Therefore,
e k + 1 2 e k 2 + 2 η k e k ( F ( L k ) + w k ) + η k 2 ( F ( L k ) + w k ) 2 .
Taking the conditional expectation with respect to F k and using E [ w k F k ] = 0 , we obtain
E [ e k + 1 2 F k ] e k 2 + 2 η k e k F ( L k ) + η k 2 E ( F ( L k ) + w k ) 2 F k .
Because L k [ L min , L max ] and F ( · ) is continuous on this compact interval, there exists a constant M F > 0 such that
| F ( L k ) | M F for all k .
Hence
E ( F ( L k ) + w k ) 2 F k 2 M F 2 + 2 σ w 2 = : C w .
Using the drift condition (25), we obtain
e k F ( L k ) c h e k 2 .
Substituting these bounds into (27) gives
E [ e k + 1 2 F k ] ( 1 2 c h η k ) e k 2 + C w η k 2 .
Since
k = 0 η k = , k = 0 η k 2 < ,
standard supermartingale arguments imply that e k 2 converges almost surely and that
k = 0 η k e k 2 < a . s .
Because k η k = , the latter is only possible if
e k 0 almost surely .
Therefore,
L k L almost surely ,
which proves the claim.    □
Remark 7.
Condition (25) is a strong monotonicity condition on the mean drift. It is satisfied, for example, if F is continuously differentiable on [ L min , L max ] , F ( L ) = 0 , and  F ( L ) c h < 0 on that interval.
We finally quantify mode separability using principal angles between estimated observability subspaces.
Definition 1
(Discernibility index). Let U q , L and U p , L be orthonormal bases of
Im ( O ^ q , L ) a n d Im ( O ^ p , L ) ,
respectively. The smallest principal angle between the two estimated observability subspaces is defined by
ϑ p q ( L ) = arccos σ max ( U p , L U q , L ) .
Define the uncertainty-corrected discernibility index as
ρ p q ( L ) = ϑ p q ( L ) β p q ( L ) , β p q ( L ) : = c p q ( ϵ p + ϵ q ) + d p q Δ ζ ,
where c p q , d p q > 0 are known or estimable sensitivity constants. Modes p and q are said to be distinguishable at window length L if
ρ p q ( L ) > 0 .
Remark 8.
The constants c p q and d p q quantify the sensitivity of the principal angles to observability-subspace perturbations and premise mismatch. In practice, they can be estimated offline either from first-order singular-subspace perturbation bounds or from empirical sensitivity sweeps on mode-labeled validation data, where the principal angles are recomputed under bounded perturbations of the estimated observability subspaces and of the premise trajectory.
Remark 9.
The discernibility index is used in this work as an offline geometric separability diagnostic and calibration tool. More precisely, for a given window length L, it indicates whether the estimated observability subspaces of two modes remain sufficiently separated after accounting for uncertainty. It is not used directly in the online decision loop of Algorithm 1, whose real-time operation is based on candidate-dependent residual evaluation and theorem-consistent certification.
Corollary 1
(Summary of sufficient detectability conditions). Fix a window length L and assume that mode q is active on W k , L . Suppose that, for every p q ,
1. 
The robust residual-gap condition (19) holds;
2. 
The discernibility index satisfies ρ p q ( L ) > 0 ;
3. 
The assumptions of Theorem 2 hold and the chosen threshold satisfies
Θ ¯ j Θ ¯ q , j ub ( L ) , j = 1 , , m .
Then mode q is robustly detectable on W k , L .
Proof. 
By Item 1 and Theorem 1, the practical residual gap is large enough to compensate for both projector uncertainty and candidate-dependent input mismatch. Hence the corresponding ideal residual ordering is preserved:
J q ( k , L ) < J p ( k , L ) , p q .
Item 2 ensures that the estimated observability subspaces of modes q and p remain separated after accounting for identification error and premise uncertainty. Hence the residual comparison is not degenerate and the competing modes remain distinguishable.
Finally, by Item 3 and Theorem 2, the component-wise NSR satisfies
θ q , j ( k , L ) Θ ¯ q , j ub ( L ) Θ ¯ j , j = 1 , , m .
Therefore, both the robust residual-gap condition and the admissible NSR requirement are satisfied. It follows that the active mode q is robustly detectable on the window W k , L .    □

3.3. Overall Workflow of the Proposed Framework and Algorithmic Summary

To facilitate easy understanding and practical application, we present the workflow of the proposed data-driven certified mode detection. It showcases the interaction between the offline calibration process and the online certified mode detection process of candidate-dependent lifted correction, mode selection based on residuals, theorem-consistent certification, noise-to-signal ratio (NSR) observer, and online observation-window adaptation. The discernibility index is not part of the online recursion itself; instead, it is used offline to assess whether a chosen window length yields sufficient subspace separation between competing modes before deployment.
Figure 1 provides an overall view of the proposed methodology. The upper branch summarizes the offline data-driven calibration of the observability subspaces and uncertainty bounds, whereas the lower branch illustrates the online certified mode-detection procedure. In particular, the figure highlights the distinction between practical mode selection, theorem-consistent certification, and NSR-based adaptive-window regulation.
The online framework of the proposed approach is illustrated in Algorithm 1. Specifically, the detector combines three complementary mechanisms: residual-based mode selection, theorem-consistent certification, and NSR-driven window adaptation. The practical mode estimate is given by the residual comparison, the certification step filters out decisions that fail to meet the robustness margin of Theorem 1, and the adaptive update of L k regulates the observation horizon based on the selected online NSR signal. The following section interprets the simulation results from this algorithmic perspective, with emphasis on practical detection accuracy, certification coverage, NSR-bound informativeness, switching stress tests, and adaptive-window behavior.
Algorithm 1: Certified online mode detection with adaptive observation window
Mathematics 14 01532 i001

4. Simulation Results

In this section, the theoretical findings of Section 3 are validated on a representative two-mode discrete-time switched T–S benchmark with nonzero input, measurement noise, and candidate-dependent input correction. In addition to the fixed-window analyses used to assess practical detectability, theorem-consistent certification, NSR-bound informativeness, and subspace discernibility, the simulations also address three reviewer-motivated questions: (i) the behavior of the detector when Assumption 1 is violated by a mode switch inside the observation window, (ii) the explicit implementation of the online NSR estimator used in the adaptive-window law, together with trajectory-based numerical evidence on its drift behavior, and (iii) a comparison with a baseline minimum-residual detector without certification.

4.1. Benchmark and Simulation Setup

We consider a two-mode switched T–S fuzzy system with state dimension n = 2 , output dimension m = 2 , and scalar input n u = 1 . Each mode is described by two local T–S rules with state-dependent membership functions. The premise variable is chosen as the first state component and is estimated online from the first measured output. The observation-window length is allowed to vary in the range
L { L min , , L max } , L min = 4 , L max = 20 ,
while the nominal validation window used for the main fixed-window theoretical checks is L = 6 .
The offline calibration is performed for each admissible window length using 220 mode-labeled windows per mode. The main online validation trajectory contains 900 time steps and a piecewise-constant switching sequence with repeated mode changes. The measurement noise is Gaussian, clipped componentwise so that
v ( t ) 0.05 .
For the adaptive-window study, a separate constant-mode trajectory is used in order to isolate the behavior of the NSR-driven recursion from mode-switching effects. In the adaptive study, the online NSR estimator is implemented explicitly as
θ ^ q , j ( k , L ) = L v ¯ j E j P ^ q , L Y ¯ q , k , L 2 + ε ,
and the scalar quantity driving the update is chosen as the worst channel of the detected mode, namely
θ ^ ( t k ) = max j = 1 , , m θ ^ q ^ k , j ( k , L k ) , q ^ k = arg min q Q J ^ q ( k , L k ) .
The adaptive-window policy is initialized at L 0 = L min and uses the target threshold
Θ ¯ j = 0.35 ,
which is more consistent with the empirically observed scale of the selected-mode NSR than the earlier exploratory value 0.12 .

4.2. Offline Calibration and Uncertainty Quantification

The offline stage provides empirical uncertainty bounds for the nominal observability subspaces, projector perturbations, input-mismatch terms, and channel-wise signal floors. Table 1 reports the calibrated quantities at the nominal window length L = 6 .
The corresponding input-mismatch bounds defined in (11) are
ξ 1 , 2 , 6 = 0.2406 , ξ 2 , 1 , 6 = 0.2399 .
These values confirm that the candidate-dependent forced-response mismatch is non-negligible and must be accounted for in the robust residual-gap analysis.

4.3. Subspace Discernibility

Using the nominal observability-subspace bases at L = 6 , the uncertainty-corrected discernibility indices defined in (30) are
ρ 12 ( 6 ) = 0.1621 0.0556 = 0.1065 , ρ 21 ( 6 ) = 0.1621 0.0556 = 0.1065 .
Both values are strictly positive, which confirms that the two estimated observability subspaces remain sufficiently separated after accounting for subspace-estimation uncertainty and premise mismatch. Hence the geometric distinguishability condition required in Corollary 1 is satisfied.

4.4. Validation of Robust Residual-Gap Certification

The practical mode detector selects the mode minimizing the candidate-dependent residual cost
J ^ q ( k , L ) = Π ^ q , L Y ¯ q , k , L 2 2 .
Over 879 windows satisfying the constant-mode assumption of Assumption 1, the detector achieves a practical accuracy of
97.72 % .
This shows that the residual-based detector performs well in practice despite measurement noise, premise estimation error, and mode-dependent input correction.
The online verifiable robust residual-gap condition of Theorem 1,
J ^ p ( k , L ) J ^ q ( k , L ) > μ q , L z q 2 2 + μ p , L z q 2 + ξ p , q , L U k , L 2 2 ,
is satisfied on only two windows, but in both cases the certified ordering is fully consistent with the ideal residual ordering, yielding a certified correctness rate of
100 % .
This behavior is illustrated in Figure 2. Since this quantity is defined as J ^ p ( k , L ) J ^ q ( k , L ) , it may also become negative on some windows; in that case, the robust certification inequality necessarily fails. The blue curve represents the measured residual gap J ^ p ( k , L ) J ^ q ( k , L ) , and the orange curve is the theoretical robustness margin on the right-hand side of the sufficient condition above. Neither of the two curves is likely to converge to the other in the asymptotic sense: the orange curve is an uncertainty margin that is always a worst case, whereas the blue curve is a measured value that depends on the data. The fact that the orange curve is above the blue curve on most windows shows that the condition is highly conservative, not necessarily that the theoretical result is wrong. The numerical result thus verifies the intended purpose of Theorem 1: a high-confidence certificate of verification, not a commonplace trigger. Accordingly, the low certification coverage observed in the simulations should not be interpreted as weak practical detection performance. Rather, it reflects the deliberately conservative role of Theorem 1, whose purpose is to certify only those windows for which the practical residual ordering remains robust under worst-case uncertainty margins.

4.5. Validation of the NSR Upper Bound

The conservative channel-wise NSR upper bounds obtained from Theorem 2 at L = 6 are
Θ ¯ 1 , 1 ub ( 6 ) = 0.7449 , Θ ¯ 1 , 2 ub ( 6 ) = 0.5713 ,
Θ ¯ 2 , 1 ub ( 6 ) = 0.4270 , Θ ¯ 2 , 2 ub ( 6 ) = 0.4026 .
Unlike the earlier vacuous case where the denominator in (22) vanished, the present calibration yields finite and informative upper bounds because the signal-floor condition of Assumption 2 is satisfied.
Table 2 compares these theoretical bounds with empirical NSR statistics on the true active mode.
The result suggests that the empirical NSR is below the theoretical limit on most of the windows, but there are spikes in the NSR above the limit on some samples. This is in line with the theory of Theorem 2: the outcome gives a conservative sufficient upper bound (using a deterministic signal floor) and is thus informative but not tight. This behavior is captured in Figure 3 for mode 1, channel 1: the empirical NSR is generally much smaller than the theoretical level, but there are occasional spikes of short length that are above the limit.
This type of temporary violation should not be viewed as a general refutation of the analytical framework. On the contrary, it suggests that the sufficiency of the NSR bound is only anticipated to hold on informative intervals during which the projected signal floor is sufficiently far from zero. Temporary weakness of the interpreted projected signal may still result in large instantaneous NSR values (even with bounded measurement noise) and thus exhibit the exhaustive upper bound as locally conservative or uninformative. In this regard, the violations are naturally consistent with the conservative Assumption 2, as well as with the worst-case nature of the sufficient bound.

4.6. Stress Test Under Intra-Window Switching

To evaluate the effect of violating Assumption 1, we next consider windows in which a single mode switch occurs inside the observation horizon. Four scenarios are tested at L = 6 : a constant-mode case, and three switched cases in which the switch occurs after 25 % , 50 % , or 75 % of the window. Table 3 summarizes the resulting detector behavior.
The results reveal three clear effects. First, when the window is constant-mode, the detector remains perfectly accurate on this stress-test set. Second, when a switch occurs early in the window (switch_25), the detector tends to favor the post-switch mode because it occupies most of the available samples. Third, when the switch occurs late (switch_75), the detector overwhelmingly follows the pre-switch mode. The mid-window case (switch_50) is the most challenging: in that case the window contains comparable contributions from both modes, and the detector strongly favors the pre-switch mode. Since a 50%–50% split does not define a unique dominant mode in a strict sense, the pre-switch and post-switch hit rates are more informative there than the dominant-mode accuracy alone. In all switched scenarios, the theorem-based certification rate is zero, which is consistent with the fact that the sufficient certificate is derived under the constant-mode assumption and becomes even less likely to hold when that assumption is violated.
Figure 4 presents the detector behavior when a switch occurs inside the observation window.
Figure 5 further illustrates the transition mechanism around a single switching instant. Before the switch, J ^ 1 ( k , L ) is smaller than J ^ 2 ( k , L ) , indicating consistency with mode 1. Around the switching time, the two residuals approach each other, and once a sufficient fraction of post-switch data enters the window, J ^ 2 ( k , L ) becomes the smaller residual while J ^ 1 ( k , L ) increases. This behavior confirms that the detector reacts to the effective mixture of pre-switch and post-switch samples present in the window, rather than to the switching instant alone.

4.7. Explicit Online NSR Estimator and Adaptive Observation-Window Policy

We next evaluate the adaptive-window policy using the explicit online NSR estimator introduced above. The experiment is conducted on a constant-mode trajectory so that the adaptation behavior is not confounded by mode changes. In contrast with the earlier exploratory setting, the study uses the design threshold Θ ¯ j = 0.35 , which is more consistent with the empirically observed magnitude of the selected-mode NSR.
A trajectory-based drift study is first performed by fixing L and averaging the online quantity θ ^ ( t k ) = max j θ ^ q ^ k , j ( k , L ) over a long constant-mode run. Figure 6 reports both the mean and the median NSR as functions of L. The mean selected-mode NSR lies in the interval approximately [ 0.5370 , 0.5982 ] , whereas the median selected-mode NSR lies in the smaller interval [ 0.2359 , 0.2644 ] . Consequently, the mean drift F ( L ) = h ( L ) Θ ¯ remains positive over the tested interval, with values between approximately 0.1862 and 0.2482 , while the median-based drift remains negative, between approximately 0.1141 and 0.0856 . This indicates that the central tendency of the online NSR is below the chosen threshold, but that rare high-amplitude spikes substantially affect the empirical mean.
The corresponding adaptive trajectory is shown in Figure 7. The window starts at L min = 4 , stays there during low-NSR periods, then increases progressively during sustained excursions of the filtered selected-mode NSR, reaching an interior range around L 14 –15 before settling back toward L 14 . This is a substantial improvement over the earlier exploratory run that tended to saturate near the upper bound. The filtered NSR remains much smoother than the raw selected-mode NSR and reacts mainly to sustained, rather than instantaneous, excursions. The simulation therefore supports a practical interpretation of the adaptive law: the recursion regulates the effective observation horizon in response to the long-run NSR tendency, while isolated spikes may still generate transient departures from the target.
From a practical perspective, the role of the adaptive observation-window mechanism is not to induce large or abrupt changes in the horizon, but rather to regulate the effective window length so as to balance responsiveness to mode changes against robustness to measurement noise. In the present benchmark, its visible effect remains moderate because the update is clipped to an admissible integer range, the gain sequence is diminishing, and the selected NSR signal is intentionally conservative. Nevertheless, the simulations show that the mechanism is active and meaningful: it avoids persistent saturation at the upper bound, adapts the observation horizon to sustained NSR excursions, and improves the operating region of the certified detector relative to the fixed-window version. Possible improvements include the use of less pessimistic NSR surrogates, adaptive gain tuning, and extensions to richer switching scenarios or higher-dimensional benchmarks.
It is important to emphasize that the present numerical evidence should not be interpreted as a literal empirical proof of the exact drift condition in Lemma 1. Rather, the results show that the explicit online estimator is reproducible and practically meaningful, that the typical selected-mode NSR remains below the chosen threshold in a median sense, and that the adaptive recursion behaves consistently with that robust tendency while remaining sensitive to rare spikes in the empirical mean.

4.8. Baseline Comparison

To assess the practical added value of certification and adaptive windowing, Table 4 compares three methods on constant-mode windows: (i) a simple baseline detector based only on the minimum residual at fixed L = 6 , (ii) the same fixed-window detector augmented with theorem-based certification, and (iii) the adaptive certified detector.
The comparison confirms three points. First, even the plain minimum-residual detector is already strong in practice. Second, adding certification preserves perfect correctness on the certified subset but, at fixed L, certifies only a very small number of windows. Third, the adaptive certified version improves both practical accuracy and certification coverage relative to the fixed-window certified version, at the cost of a larger average observation length. This supports the claim that the proposed framework is not merely a heuristic classifier: the certification layer adds a rigorous reliability filter, and the adaptive layer improves its practical operating region.

4.9. Discussion

The simulations lead to seven main observations.
  • Practical detectability is strong: The candidate-dependent residual detector achieves 97.72 % accuracy over 879 constant-mode windows in the main fixed-window validation, and the baseline minimum-residual detector reaches 97.84 % accuracy on the dedicated comparison set.
  • Mode geometry is favorable: The positive discernibility indices
    ρ 12 ( 6 ) = 0.1065 , ρ 21 ( 6 ) = 0.1065
    confirm that the estimated observability subspaces remain separated under uncertainty.
  • The robust certificate is sound but conservative: Only two windows satisfy the sufficient condition of Theorem 1, yet both certified cases are correct, yielding 100 % certification consistency.
  • The NSR theorem is informative: Finite analytical bounds are obtained for all channels and both modes. Although some transient windows exceed these thresholds, the empirical NSR remains below the theoretical bound on the majority of samples.
  • Violation of Assumption 1 degrades performance in a structured way: The detector remains accurate in constant-mode windows, but its decision shifts toward the mode occupying the larger fraction of the window when a switch occurs inside the horizon. The most ambiguous case is the mid-window switch, for which the pre-switch and post-switch contributions compete most strongly.
  • The explicit online NSR estimator is operational and informative: Trajectory-based evidence shows that the median selected-mode NSR remains below the chosen threshold, whereas the mean remains sensitive to rare but large spikes. This explains why the adaptive recursion regulates the window in an interior range while still exhibiting transient excursions.
  • Adaptive certification improves the operating region relative to fixed-window certification: The adaptive certified detector achieves practical accuracy 0.9979 and certification coverage 0.0083 , compared with practical accuracy 0.9795 and coverage 0.0023 for the fixed-window certified version, while preserving 100 % certified correctness in both cases.
In summary, the simulations confirm the proposed approach at four levels of complementarity: (i) practical performance, in terms of high residual-based detection rates; (ii) “geometric consistency”, in terms of positive discernibility indices; (iii) robust certification, in terms of sound but conservative residual-gap guarantees; and (iv) adaptive operation, in terms of an explicit online NSR estimator, reviewer-motivated switching stress tests, and an extended certification region under adaptive windowing. The drawbacks are the conservatism of the worst-case sufficient conditions, and the vulnerability of empirical mean NSR statistics to spiky events, which call for future research on less conservative residual-gap margins and more resilient adaptive criteria.

5. Conclusions

This paper considered the problem of online mode detection for discrete-time switched Takagi–Sugeno (T-S) systems, based on noisy input–output measurements, in the presence of candidate-dependent input correction and uncertainty in data-driven observability subspaces. The main ideas underlying the new framework were based on a lifted input–output model, where each candidate mode is paired with a mode-dependent forced-response correction and a nominal observability subspace, which is computed offline from a typical data set. This resulted in a practical residual cost for online mode selection and an ideal residual cost using the exact residual projector. The first contribution of the paper is a sufficient condition to verify online the consistency between the practical residual ordering and the ideal residual ordering. This robust residual-gap inequality explicitly accounts for all the factors of residual-projector perturbation, candidate-dependent input mismatch and finite-window signal amplification. Hence, it offers a theorem-consistent verification mechanism to support practical residual-based detection by pinpointing the situations where an online mode decision can be considered safe from a robustness perspective. The second contribution is a component-wise analysis of the noise-to-signal ratio (NSR) of the projected lifted outputs. For offline computation of signal-floor conditions, conservative bounds on the NSR were derived, allowing for the explicit assessment of detectability for each mode, for each output. These are conservative but serve to provide a quantitative bridging principle between measurement noise, informative signals, and observation-window designs. The third contribution is the design of an adaptive observation-window scheme in response to the estimated NSR. By designing the update law to be a projected stochastic-approximation algorithm, a link was provided between real-time noise scaling and adaptive-window evolution. Moreover, the paper proposed an uncertainty-corrected discernibility index, which is defined in terms of principal angles between the estimated observability subspaces, to measure the mode discernibility under uncertainty. The simulations revealed a number of interesting aspects of the proposed framework. First, the finite detector had good online mode-detection performance. Second, we demonstrated that the robust residual-gap certificate was sound but conservative: it was only triggered on a fraction of the windows but all certified decisions were fully consistent with the ideal residual ordering. Third, the NSR analysis produced finite and meaningful bounds, with a few short windows exceeding the bounds due to transients. Lastly, the adaptive-window policy showed stable adaptation with a moderate level of adaptation and the filtered NSR maintained around the required level. In conclusion, the paper presents a unified framework for data-driven observability tuning, practical mode detection, theorem-consistent residual certification, NSR-based adaptive windows, and geometric discernibility for switched T–S systems. In this respect, the proposed approach integrates a practical residual-based classifier with a theorem-consistent certification layer, thus going beyond heuristic classification while being conservative at the level of certification thanks to explicit robustness margins and adaptive security margins. There are a number of possible avenues for future research. The first direction is to reduce the conservatism of the certification inequalities, for instance, by better bounds on subspace perturbations and/or more optimistic bounds on the candidate-dependent input mismatch. A second avenue is to develop techniques to handle windows with intra-window switching, thus relaxing the assumption of the local constant mode. A third point of view is the application of the framework to fault diagnosis, robust estimation, and trusted detection in cyber-attacked cyber–physical systems. Finally, it would be of interest to explore recursive offline–online learning algorithms for updating the nominal observability subspaces and signal-floor estimates online.

Author Contributions

E.B.A.: Conceptualization, Methodology, Formal analysis, Writing—original draft. S.D.: Methodology, Software, Validation, Writing—review and editing. A.A.: Software, Investigation, Data curation, Visualization. S.A.: Validation, Formal analysis, Writing—review and editing. O.N.: Conceptualization, Supervision, Writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Deanship of Graduate Studies and Scientific Research at Jouf University under grant No. DGSSR-2025-02-01671.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Proof of Theorem 1

Proof. 
Let
z r : = Y ¯ r , k , L R m L , r Q .
For each candidate mode r, write
Π r , L = Π ^ r , L + Δ Π r , L , Δ Π r , L 2 η ¯ r , L ,
where
Δ Π r , L : = Π r , L Π ^ r , L .
We compare the ideal residual cost
J r ( k , L ) = Π r , L z r 2 2
with the practical residual cost
J ^ r ( k , L ) = Π ^ r , L z r 2 2 .
Using Π r , L = Π ^ r , L + Δ Π r , L , we obtain
J r ( k , L ) = ( Π ^ r , L + Δ Π r , L ) z r 2 2 = z r ( Π ^ r , L + Δ Π r , L ) ( Π ^ r , L + Δ Π r , L ) z r .
Subtracting J ^ r ( k , L ) = z r Π ^ r , L Π ^ r , L z r , we get
J r ( k , L ) J ^ r ( k , L ) = z r Π ^ r , L Δ Π r , L + Δ Π r , L Π ^ r , L + Δ Π r , L Δ Π r , L z r .
Taking absolute values in (A1) and using
| z r M z r | M 2 z r 2 2 ,
together with Π ^ r , L 2 = 1 , we obtain
J r ( k , L ) J ^ r ( k , L ) 2 η ¯ r , L + η ¯ r , L 2 z r 2 2 .
Hence
J r ( k , L ) J ^ r ( k , L ) μ r , L z r 2 2 , μ r , L : = 2 η ¯ r , L + η ¯ r , L 2 .
Applying (A2) to the active mode q and to a competing mode p q , we obtain
J q ( k , L ) J ^ q ( k , L ) + μ q , L z q 2 2 ,
and
J p ( k , L ) J ^ p ( k , L ) μ p , L z p 2 2 .
Therefore,
J p ( k , L ) J q ( k , L ) J ^ p ( k , L ) J ^ q ( k , L ) μ q , L z q 2 2 μ p , L z p 2 2 .
Now, by (8) and (11),
z p 2 = z q + Δ T p , q , L U k , L 2 z q 2 + ξ p , q , L U k , L 2 .
Substituting this into (A3), we get
J p ( k , L ) J q ( k , L ) J ^ p ( k , L ) J ^ q ( k , L ) μ q , L z q 2 2 μ p , L z q 2 + ξ p , q , L U k , L 2 2 .
Hence condition (19) implies
J p ( k , L ) J q ( k , L ) > 0 ,
that is,
J q ( k , L ) < J p ( k , L ) , p q .
This proves that the practical residual ordering is robust with respect to both projector uncertainty and candidate-dependent input mismatch. □

Appendix B. Main Notation

Standard notation is used throughout the paper. In particular, R n denotes the n-dimensional Euclidean space, I s the identity matrix of dimension s, · 2 the Euclidean norm, and Im ( · ) and Ker ( · ) the image and kernel of a matrix, respectively. The operators λ min ( · ) and σ min ( · ) denote the minimum eigenvalue and minimum singular value, respectively.
Table A1. System and lifted model notation.
Table A1. System and lifted model notation.
SymbolMeaning
Q = { 1 , 2 , , Q } Finite set of operating modes.
σ ( t ) Q Switching signal indicating the active mode at time t.
x ( t ) R n State vector.
u ( t ) R n u Known input vector.
y ( t ) R m Measured output vector.
v ( t ) R m Measurement noise.
ζ ( t ) R n ζ Premise variable.
ζ ^ ( t ) Estimate of the premise variable.
y ( 0 : t ) , u ( 0 : t ) Measured output and input histories from the initial time up to the current instant t, i.e.,  y ( 0 : t ) = { y ( 0 ) , y ( 1 ) , , y ( t ) } and u ( 0 : t ) = { u ( 0 ) , u ( 1 ) , , u ( t ) } .
A q , i , B q , i , C q , i Local T–S state, input, and output matrices of rule i in mode q.
h q , i ( ζ ( t ) ) Normalized T–S membership function of rule i in mode q.
Y k , L Stacked output vector over the detection window.
U k , L Stacked input vector over the detection window.
Z ^ k , L Estimated premise trajectory over the detection window.
O q , L ( Z ^ k , L ) Lifted observability matrix associated with mode q.
T q , L ( Z ^ k , L ) Lifted forced-response matrix associated with mode q.
Y ¯ q , k , L Candidate-dependent input-corrected lifted output.
Δ T p , q , L ( Z ^ k , L ) Candidate-dependent input-mismatch operator between modes p and q.
ξ p , q , L Offline computable bound on the induced norm of the input-mismatch operator.
O ^ q , L Nominal data-driven estimate of the observability subspace of mode q.
P ^ q , L Estimated signal projector associated with mode q.
Π ^ q , L Estimated residual projector associated with mode q.
Π q , L Exact residual projector of mode q.
Table A2. Detection, NSR, and discernibility notation.
Table A2. Detection, NSR, and discernibility notation.
SymbolMeaning
J ^ q ( k , L ) Practical residual cost for candidate mode q.
J q ( k , L ) Ideal residual cost for candidate mode q.
η ¯ q , L Bound on the residual-projector perturbation of mode q.
μ q , L Robustness coefficient associated with η ¯ q , L .
E j R L × m L Selector matrix extracting the j-th output channel over the detection window.
V k , L Stacked measurement-noise vector over the detection window.
θ q , j ( k , L ) Theoretical component-wise noise-to-signal ratio (NSR) for mode q and output channel j over window ( k , L ) .
θ ^ q , j ( k , L ) Online NSR estimate for candidate mode q and output channel j, computed from the projected candidate-dependent corrected lifted output over window ( k , L ) .
q ^ k Detected mode at time t k , defined by q ^ k = arg min q Q J ^ q ( k , L k ) .
θ ^ ( t k ) Scalar NSR quantity used in the adaptive-window update, defined in this work as θ ^ ( t k ) : = max j = 1 , , m θ ^ q ^ k , j ( k , L k ) , i.e., the worst-channel NSR of the detected mode.
Θ ¯ j Prescribed channel-wise NSR threshold. In the adaptive update, the scalar quantity θ ^ ( t k ) is compared against the corresponding design threshold through the selected-mode worst-channel rule.
Θ ¯ q , j ub ( L ) Conservative analytical upper bound on the NSR from Theorem 2.
s ̲ q , j ( L ) Deterministic signal floor of the noise-free projected signal for mode q and channel j.
( L min , L max ) Minimum and maximum admissible observation-window lengths.
L Limiting window length characterized by the mean-drift equation in Lemma 1.
ϑ p q ( L ) Smallest principal angle between the estimated observability subspaces of modes p and q.
β p q ( L ) Uncertainty correction term used in the discernibility index.
ρ p q ( L ) Uncertainty-corrected discernibility index between modes p and q.
LMI, BMI, NSR, T–SLinear Matrix Inequality, Bilinear Matrix Inequality, Noise-to-Signal Ratio, and Takagi–Sugeno.

References

  1. Liberzon, D. Switching in Systems and Control; Systems & Control: Foundations & Applications; Birkhäuser: Boston, MA, USA, 2003. [Google Scholar] [CrossRef]
  2. Åström, K.J. Adaptive Control. In Mathematical System Theory: The Influence of R. E. Kalman; Springer: Berlin/Heidelberg, Germany, 1995; pp. 437–450. [Google Scholar]
  3. Ljung, L. System Identification: Theory for the User, 2nd ed.; Prentice Hall PTR: Upper Saddle River, NJ, USA, 1999. [Google Scholar]
  4. Verhaegen, M.; Verdult, V. Filtering and System Identification: A Least Squares Approach; Cambridge University Press: Cambridge, UK, 2007. [Google Scholar] [CrossRef]
  5. van Overschee, P.; de Moor, B. Subspace Identification for Linear Systems: Theory—Implementation—Applications; Kluwer Academic Publishers: Boston, MA, USA, 1996. [Google Scholar] [CrossRef]
  6. Qin, S.J. An overview of subspace identification. Comput. Chem. Eng. 2006, 30, 1502–1513. [Google Scholar] [CrossRef]
  7. He, S.; Liu, F. Finite-Time H Fuzzy Control of Nonlinear Jump Systems with Time Delays via Dynamic Observer-Based State Feedback. IEEE Trans. Fuzzy Syst. 2012, 20, 605–614. [Google Scholar] [CrossRef]
  8. Sakthivel, R.; Kwon, O.M.; Park, M.J.; Choi, S.G.; Sakthivel, R. Robust Asynchronous Filtering for Discrete-Time T-S Fuzzy Complex Dynamical Networks Against Deception Attacks. IEEE Trans. Fuzzy Syst. 2022, 30, 3257–3269. [Google Scholar] [CrossRef]
  9. Huang, X.; Chang, C.; Li, J.; Xiao, S.; Su, Q. Cooperative Interaction Observer-Based Security Control for T-S Fuzzy Cyber-Physical Systems Against Sensor and Actuator Attacks. IEEE Trans. Reliab. 2024, 73, 1982–1992. [Google Scholar] [CrossRef]
  10. Li, Z.; Wang, Y.; Zhuang, G.; Chen, F. Probabilistic Dynamic Event-Triggered Resilient Controller Design for T-S Fuzzy Singular Semi-Markov Jump CPSs Against Actuator Failures and Multiple Cyber-Attacks. Int. J. Fuzzy Syst. 2025, 27, 2295–2321. [Google Scholar] [CrossRef]
  11. Yahia, S.; Bedoui, S.; Abderrahim, K. Actuator Fault Tolerant Control in Switched Systems: A Comprehensive Approach Integrating Clustering, Classification, and LMI-Based Compensation. IEEE Access 2025, 13, 44090–44106. [Google Scholar] [CrossRef]
  12. Eising, J.; Liu, S.; Martínez, S.; Cortés, J. Data-driven mode detection and stabilization of unknown switched linear systems. IEEE Trans. Autom. Control 2025, 70, 3830–3845. [Google Scholar] [CrossRef]
  13. Wang, Z.M.; Liu, K.Z.; Cheng, X.L.; Sun, X.M. Online Data-Driven Model Predictive Control for Switched Linear Systems. IEEE Trans. Autom. Control. 2025; early access. [CrossRef]
  14. Motchon, K.M.D.; Guelton, K.; Etienne, L. LMI-Based Conditions for Mode Detectability Analysis of Discrete-Time Switched Linear Systems Estimated with Minimum Distance Algorithm. Automatica 2025, 173, 112024. [Google Scholar] [CrossRef]
  15. Xia, X.; Liu, D.; Baldi, S. Data-Driven Tuning of Autopilots with Fictitious Reference Iterative Tuning. IEEE Trans. Veh. Technol. 2025, 74, 13508–13520. [Google Scholar] [CrossRef]
  16. Zarghami, A.; Toshani, H.; Abdi Jalebi, S. Robust adaptive control of uncertain electric ground vehicles using 1 theory and projection algorithm. Int. J. Dyn. Control 2025, 13, 20. [Google Scholar] [CrossRef]
  17. Mei, J.; Jian, H.; Li, Y.; Wang, W.; Lin, D. Deep neural networks-based output-dependent intermittent control for a class of uncertain nonlinear systems. Chaos Solitons Fractals 2024, 185, 114999. [Google Scholar] [CrossRef]
  18. Mei, J.; Ye, R.; Xiang, Z.; Hu, J.; Wang, W. A Direct Data-Driven Intermittent Control and Learning via Lyapunov-Guided Attraction Region Estimation with Neural Feedback Loop Design. IEEE Trans. Autom. Sci. Eng. 2026, 23, 6504–6519. [Google Scholar] [CrossRef]
  19. Robbins, H.; Monro, S. A Stochastic Approximation Method. Ann. Math. Stat. 1951, 22, 400–407. [Google Scholar] [CrossRef]
  20. Borkar, V.S. Stochastic Approximation: A Dynamical Systems Viewpoint; Texts and Readings in Mathematics; Springer/Hindustan Book Agency: New Delhi, India, 2009; Volume 48. [Google Scholar] [CrossRef]
  21. Williams, D. Probability with Martingales; Cambridge Mathematical Textbooks; Cambridge University Press: Cambridge, UK, 1991. [Google Scholar] [CrossRef]
  22. Stewart, G.W.; Sun, J.G. Matrix Perturbation Theory; Academic Press: Boston, MA, USA, 1990. [Google Scholar]
  23. Zhang, F. (Ed.) The Schur Complement and Its Applications; Numerical Methods and Algorithms; Springer: Berlin/Heidelberg, Germany, 2006; Volume 4. [Google Scholar] [CrossRef]
  24. Pólik, I.; Terlaky, T. A Survey of the S-Lemma. SIAM Rev. 2007, 49, 371–418. [Google Scholar] [CrossRef]
  25. Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
  26. Khlebnikov, M.V.; Shcherbakov, P.S. Petersen’s lemma on matrix uncertainty and its generalizations. Autom. Remote Control 2008, 69, 1932–1945. [Google Scholar] [CrossRef]
  27. Ben Makhlouf, A.; Naifar, O. On the Barbalat lemma extension for the generalized conformable fractional integrals: Application to adaptive observer design. Asian J. Control 2023, 25, 563–569. [Google Scholar] [CrossRef]
  28. Jmal, A.; Naifar, O.; Derbel, N. Unknown input observer design for fractional-order one-sided Lipschitz systems. In Proceedings of the 2017 14th International Multi-Conference on Systems, Signals & Devices (SSD); IEEE: Piscataway, NJ, USA, 2017; pp. 65–69. [Google Scholar] [CrossRef]
  29. Yakoub, Z.; Naifar, O.; Ivanov, D. Unbiased Identification of Fractional Order System with Unknown Time-Delay Using Bias Compensation Method. Mathematics 2022, 10, 3028. [Google Scholar] [CrossRef]
  30. Pan, Q.; Zhong, Q.; Pu, J.; Yu, G.; Chen, J.; Cao, M.; Feng, B. Perovskite solar cells towards industrialization: Overcoming challenges with data-driven strategies. Nanoscale 2026. [Google Scholar] [CrossRef]
  31. Chen, X.; Cheng, H.; Shi, R.; Zhou, T.; He, T.; Liu, Q. Recent Advances in Data-Driven Design of Dual-Atom Catalysts. Adv. Funct. Mater. 2026, 36, e10647. [Google Scholar] [CrossRef]
  32. Varma, N.; Chandra, R.; Iyer, S.; Narayanan, P. Data-Driven Software Quality Assurance: Leveraging Machine Learning for Risk Prediction and Test Optimization. Int. J. Math. Anal. Res. 2026, 2, 1–8. [Google Scholar] [CrossRef]
  33. Bülte, C.; Horat, N.; Quinting, J.; Lerch, S. Uncertainty quantification for data-driven weather models. Artif. Intell. Earth Syst. 2026, 5, 240049. [Google Scholar] [CrossRef]
  34. Kantesaria, R.; Panda, H.S. A review on AI-based data-driven models for optimization of nanocarriers as drug delivery systems. ACS Biomater. Sci. Eng. 2026, 12, 1397–1418. [Google Scholar] [CrossRef]
Figure 1. Overall workflow of the proposed data-driven certified mode detection framework for switched discrete-time Takagi–Sugeno systems.
Figure 1. Overall workflow of the proposed data-driven certified mode detection framework for switched discrete-time Takagi–Sugeno systems.
Mathematics 14 01532 g001
Figure 2. Online verification of the robust residual-gap condition at L = 6 . The blue curve shows the practical residual gap J ^ p ( k , L ) J ^ q ( k , L ) , while the orange curve shows the corresponding robustness margin from Theorem 1. The practical residual gap may be positive or negative; any negative value automatically fails the sufficient certification condition. Certification occurs only when the blue curve exceeds the orange one.
Figure 2. Online verification of the robust residual-gap condition at L = 6 . The blue curve shows the practical residual gap J ^ p ( k , L ) J ^ q ( k , L ) , while the orange curve shows the corresponding robustness margin from Theorem 1. The practical residual gap may be positive or negative; any negative value automatically fails the sufficient certification condition. Certification occurs only when the blue curve exceeds the orange one.
Mathematics 14 01532 g002
Figure 3. Validation of the NSR upper bound from Theorem 2 for mode 1, channel 1, at L = 6 . The bound is finite and informative, although several transient windows exceed the theoretical threshold.
Figure 3. Validation of the NSR upper bound from Theorem 2 for mode 1, channel 1, at L = 6 . The bound is finite and informative, although several transient windows exceed the theoretical threshold.
Mathematics 14 01532 g003
Figure 4. Detector behavior when a switch occurs inside the observation window. The dominant-mode accuracy degrades most strongly when the switch occurs around the middle of the window, while certification remains absent in all switched scenarios.
Figure 4. Detector behavior when a switch occurs inside the observation window. The dominant-mode accuracy degrades most strongly when the switch occurs around the middle of the window, while certification remains absent in all switched scenarios.
Mathematics 14 01532 g004
Figure 5. Residual behavior around an intra-window switching event. The dashed line marks the true switch time. The residuals exchange their relative order as more post-switch data enters the observation window.
Figure 5. Residual behavior around an intra-window switching event. The dashed line marks the true switch time. The residuals exchange their relative order as more post-switch data enters the observation window.
Mathematics 14 01532 g005
Figure 6. Trajectory-based empirical NSR estimates and drift function for the explicit online estimator. The mean selected-mode NSR remains above the design threshold because of rare but large spikes, whereas the median selected-mode NSR remains below the threshold over the full tested interval.
Figure 6. Trajectory-based empirical NSR estimates and drift function for the explicit online estimator. The mean selected-mode NSR remains above the design threshold because of rare but large spikes, whereas the median selected-mode NSR remains below the threshold over the full tested interval.
Mathematics 14 01532 g006
Figure 7. Adaptive observation-window length and selected-mode NSR trajectory under the explicit online NSR estimator. The effective window length evolves from 4 toward an interior range around 14–15, while the filtered selected-mode NSR reacts to sustained excursions of the raw NSR.
Figure 7. Adaptive observation-window length and selected-mode NSR trajectory under the explicit online NSR estimator. The effective window length evolves from 4 toward an interior range around 14–15, while the filtered selected-mode NSR reacts to sustained excursions of the raw NSR.
Mathematics 14 01532 g007
Table 1. Offline calibration at L = 6 .
Table 1. Offline calibration at L = 6 .
Mode q ϵ q η ¯ q , L s ̲ q , 1 (L) s ̲ q , 2 (L)
10.20310.06490.28740.3798
20.20300.08500.40010.4092
Table 2. Empirical NSR statistics versus theoretical upper bounds at L = 6 .
Table 2. Empirical NSR statistics versus theoretical upper bounds at L = 6 .
ModeChannelMean NSRMax NSRTheoretical BoundViolations
110.10532.28910.74499
120.16481.16990.571319
210.13882.67540.427031
220.12721.66550.402628
Table 3. Stress test when a switch occurs inside the observation window ( L = 6 ).
Table 3. Stress test when a switch occurs inside the observation window ( L = 6 ).
ScenarioWindowsDominant-Mode Acc.Pre-Switch HitPost-Switch HitCert. Rate
constant_mode2201.00001.00001.00000.0000
switch_252200.58640.41360.58640.0000
switch_502200.50450.86820.13180.0000
switch_752200.98180.98180.01820.0000
Table 4. Comparison with a baseline minimum-residual detector.
Table 4. Comparison with a baseline minimum-residual detector.
MethodPractical Acc.Cert. CoverageCertified Corr.Avg. L
Baseline residual only (fixed L = 6 )0.97846.00
Fixed L = 6 residual + certification0.97950.00231.00006.00
Adaptive residual + certification0.99790.00831.000011.26
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ben Alaia, E.; Dhahri, S.; Alanazi, A.; Almenwer, S.; Naifar, O. Data-Driven Certified Mode Detection for Switched Discrete-Time Takagi–Sugeno Systems with Adaptive Observation Window. Mathematics 2026, 14, 1532. https://doi.org/10.3390/math14091532

AMA Style

Ben Alaia E, Dhahri S, Alanazi A, Almenwer S, Naifar O. Data-Driven Certified Mode Detection for Switched Discrete-Time Takagi–Sugeno Systems with Adaptive Observation Window. Mathematics. 2026; 14(9):1532. https://doi.org/10.3390/math14091532

Chicago/Turabian Style

Ben Alaia, Essia, Slim Dhahri, Afrah Alanazi, Sahar Almenwer, and Omar Naifar. 2026. "Data-Driven Certified Mode Detection for Switched Discrete-Time Takagi–Sugeno Systems with Adaptive Observation Window" Mathematics 14, no. 9: 1532. https://doi.org/10.3390/math14091532

APA Style

Ben Alaia, E., Dhahri, S., Alanazi, A., Almenwer, S., & Naifar, O. (2026). Data-Driven Certified Mode Detection for Switched Discrete-Time Takagi–Sugeno Systems with Adaptive Observation Window. Mathematics, 14(9), 1532. https://doi.org/10.3390/math14091532

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop