Next Article in Journal
Modern Displacement Measuring Systems Used in Geotechnical Laboratories: Advantages and Disadvantages
Previous Article in Journal
Photographic Reproduction and Enhancement Using HVS-Based Modified Histogram Equalization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

A Data-Driven Scheme for Fault Detection of Discrete-Time Switched Systems

1
Department of Control Science and Engineering, Harbin Institute of Technology, Harbin 150001, China
2
School of Electronics and Information, Jiangsu University of Science and Technology, Zhenjiang 212003, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(12), 4138; https://doi.org/10.3390/s21124138
Submission received: 11 May 2021 / Revised: 9 June 2021 / Accepted: 11 June 2021 / Published: 16 June 2021
(This article belongs to the Section Fault Diagnosis & Sensors)

Abstract

:
This paper is concerned with the fault detection issue for a class of discrete-time switched systems via the data-driven approach. For the fault detection of switched systems, it is inevitable to consider the mode matching problem between the activated subsystem and the executed residual generator since the mode mismatching may cause a false fault alarm in all probability. Frequently, studies assume that the switching laws are available to the residual generator, by which the residual generator keeps the same mode as the system plant and then the mode mismatching is excluded. However, this assumption is conservative and impractical because many switching laws are hard to acquire in practical applications. This work focuses on the case of switched systems with unavailable switching laws. In view of the unavailability of switching information, the mode recognition is considered for the fault detection process and meanwhile, sufficient conditions are presented for the mode distinguishability. Moreover, a novel decision logic for the fault detection is proposed, based on which new algorithms are established for the data-driven realization. Finally, a benchmark case on a three-tank system is used to illustrate the feasibility and usefulness of the obtained results.

1. Introduction

With the increasing complication of industrial systems, high requirements are brought with the safety and reliability, which are critical to the stability and system performance. As is well known, fault detection has served as an effective tool to guarantee the safety and reliability of dynamic systems. Nowadays, the study on fault detection has drawn considerable attention from the literature [1,2,3,4,5,6,7,8,9]. The model-based fault detection takes up an important role in the fault detection field. By constructing the process model, the analysis and control issues have been excessively studied and numerous results of the model-based fault detection have been reported, see, e.g., [10,11,12,13,14] and the references therein. Recently, with the rapid development of communication technology, data-driven methodologies have been extensively addressed for the fault detection problems. Different from the model-based methodology, which requires a time-consuming and complicated modelling process from practical applications, the data-driven methodology gets rid of the modelling complexity and meanwhile sufficiently exploits the process data information. Therefore, great efforts have been made for the data-driven fault detection of various dynamical systems and practical applications, see, e.g., [15,16,17,18,19,20,21] and the references therein.
Moreover, increasing interest has been paid to the research on switched systems owing to their capacity in modelling the systems with switching behaviours [22,23,24,25,26,27,28,29,30,31]. As is known, a switched system usually consists of a finite number of distinct subsystems and a law governing the switching dynamics between these subsystems. The application of switched system models is rather widespread, such as flight control systems, communication systems, automotive industry and many other areas. Up to date, much research has been done on the analysis and synthesis of switched systems. For instance, the stability analysis and controller design are investigated for switched systems with constrained switching signals by exploiting the Lyapunov theory in [32,33,34,35]. Moreover, the switched systems with random switching signals are also considered and addressed to deal with the stability and stabilisation issues, such as [36,37,38].
As for the fault detection of switched systems, some results are available in the literature, see, e.g., [39,40,41,42]. It is worth mentioning that most of the existing results for the fault detection of switched systems are carried out on the assumption that the switching law is known and switching information is acquired to the residual generator. Based on this assumption, the modes between subsystem and residual generator are perfectly matched, which thus excludes the influence of system switching on the fault detection. In [43,44], the model-based approaches are investigated for switched systems with the determinate switching law, and in [45], a combination of switching observer and Bond Graph method is proposed while the switching signal is known. In [46,47], parity space method is applied to fault detection of the switching system, but the possibility that the switching signal is unknown is not considered. However, it is more frequent that the switching laws cannot be known or acquired in practice. In this case, the assumption of the switching information available to the residual generator is no longer applicable. Therefore, this work aims to cope with the fault detection for switched systems with unavailable switching laws.
Based on the discussion above, this paper focuses on achieving the data-driven fault detection for a class of discrete-time switched linear systems. Different from existing results, it is assumed that in this paper, the switching laws cannot be available to the mode-dependent residual generator. In this case, the mode mismatching between subsystem and residual generator may occur in the fault detection process, which may lead to incorrect residual signals and thus cause a false fault alarm. To handle this problem, the mode recognition is taken into account and sufficient criteria are proposed to ensure that the modes of the switched system are distinguishable. A novel decision logic including the mode recognition is developed in the data-driven fault detection, which avoids the false fault alarm caused by the mode mismatching and thus improves the accuracy of the fault detection. Then algorithms are presented to show the procedures of offline computation and online detection. The effectiveness and advantages of the developed method are demonstrated by the case study on a three-tank benchmark system. The paper is organised as follows. Section 2 provides the system descriptions and some preliminaries. In Section 3, the main results are presented including the sufficient criteria of mode distinguishability and novel algorithms for data-driven fault detection. Section 4 utilises the benchmark study of a three-tank model to illustrate the effectiveness and Section 5 concludes this work.
Notations. The notations used in this paper are standard. R n means the n-dimensional Euclidean space. RH m × n stands for the set of all m × n -dimensional real-rational transfer functions of stable systems. N + represents the set of all positive integers. H 2 defines the subspace of all signals ϖ ( k ) satisfying ϖ ( k ) = 0 for t < 0 and energy boundedness. · 2 is the Euclidean norm. σ max ( · ) defines the maximal singular value of a matrix. The superscript T " represents the transpose of a matrix and the superscript " represents the orthogonal complement. The dimension of a matrix is assumed to be compatible with algebraic operations if it is not explicitly stated.

2. System Descriptions and Preliminaries

2.1. System Descriptions

This paper investigates the discrete-time switched linear system as below
x k + 1 = A σ k x k + B σ k u k + ξ k , y k = C σ k x k + D σ k u k + ν k ,
where x ( k ) R n x , u ( k ) R n u , y ( k ) R n y respectively denotes the system state, input and output signals. The symbol σ ( k ) defines the switching signal which is a piecewise constant function taking values in a finite set £ = { 1 , 2 , , M } . M ( N + ) stands for the number of subsystems. ξ k and ν k stand for the system and measurement noise vectors which are normally distributed and statistically independent from x ( 0 ) and u ( k ) . In the following, A i , B i , C i , D i are used to represent the system matrices A σ k , B σ k , C σ k , D σ k for σ k = i £ .
For system (1) with ξ k = 0 , ν k = 0 , its transfer matrix G i ( z ) , i £ describes the input-output behaviours of the system in the frequency domain as follows
y z = G i z u z ,
where z is the complex variable. From the state space representation (1), there holds that
G i z = C i ( z I A i ) 1 B i + D i ,
and usually, it is denoted that
G i z = A i B i C i D i .

2.2. SKR-Based Residual Generators

Assume that G i ( z ) , i £ is a proper real-rational matrix. The left and right coprime factorisations are represented by
G i z = M ^ i 1 z N ^ i z = N i z M i 1 z ,
where N i ( z ) RH n y × n u , M i ( z ) RH n u × n u , N ^ i ( z ) RH n y × n u , M ^ i ( z ) RH n y × n y . Then there exist X i ( z ) RH n u × n u , Y i ( z ) RH n u × n y , X ^ i ( z ) RH n y × n y , Y ^ i ( z ) RH n u × n y satisfying
X i z Y i z M i z N i z = I n u × n u ,
and
M ^ i z N ^ i z X ^ i z Y ^ i z = I n Y × n Y .
The stable kernel representation (SKR) for each subsystem of system (1) is defined as follows.
Definition 1.
For given system G i ( z ) , i £ , if for any input u ( z ) , it holds that
K i u z y z = 0 ,
then the stable linear system K i is called a SKR of G i ( z ) .
It can be easily derived from the left coprime factorization in Equation (2) that
K i = N ^ i z M ^ i z .
Let r i ( z ) be the residual signal of G i ( z ) , i £ . The SKR-based residual generator is given by
r i ( z ) = K i u z y z = N ^ i z M ^ i z u z y z .

2.3. K-Gap Metric

For the fault detection of systems with multiple modes, to measure the distance between the kernel subspaces of different modes is necessary. As is known, the K-gap metric works as an effective tool in measuring the distance between two kernel subspaces. Hence, this subsection introduces the concept of the K-gap metric. Firstly, the graph of subsystem G i , i £ is defined by
K i = u i y i : N ^ i s M ^ i s u i y i = 0 , u i y i H 2 ,
which is a closed subsystem in H 2 representing the kernel subspace of G i . The definition of the directed K-gap between two different graphs K i and K j , i j is described as below.
Definition 2
([48]). For any i j , the equation
δ k K i , K j = sup u i y i K i inf u j y j K j u i y i u j y j 2 u i y i 2
is called the directed K-gap of K i and K j .
Further, the K-gap metric of K i and K j is defined by
δ k K i , K j = max δ k K i , K j , δ k K j , K i .

2.4. Structure of Data Matrices

In this subsection, the data structure is presented for the data-driven design of the fault detection in the latter text. For input u ( k ) and output y ( k ) , define the following stacked data vectors
u s k = u k u k + s 1 , y s k = y k y k + s 1 ,
where s N + is the data length. For a given N N + , the Hankel matrices and the extended state vector are defined by
U k , s = u k u k + 1 u k + N 1 u k + 1 u k + 2 u k + N u k + s 1 u k + s u k + N + s 2 = u s k u s k + N 1 , Y k , s = y k y k + 1 y k + N 1 y k + 1 y k + 2 y k + N y k + s 1 y k + s y k + N + s 2 = y s k y s k + N 1 , X k , 1 = x k x k + N 1 .
Moreover, the past and future Hankel matrices are denoted by
Z p = U p Y p = U k s , s Y k s , s , Z f = U f Y f = U k , s Y k , s .
The data-driven SKR for each subsystem of system (1) is presented based on the data structure.
Definition 3.
For given system G i ( z ) , i £ , if for any u s ( k ) , x ( 0 ) , it holds that
K i , d , s u s k y s k = 0 , k 0 ,
then the matrix K i , d , s is called a data-driven realisation of the SKR of G i ( z ) .
According to the formula (3), the data-driven residual generator is obtained as
r i ( k ) = K i , d , s u s k y s k .

3. Main Results

3.1. Problem Descriptions

This paper is concerned with the data-driven fault detection for discrete-time switched systems with unavailable switching laws. It is noteworthy that in the literature, most studies on the fault detection of switched systems are carried out on the assumption of the switching law availability. As shown in Figure 1, the available switching signal is transmitted to the system plant and residual generator simultaneously. In this case, the residual generator keeps the same mode with the system plant to generate the residual signal for fault detection, which in other words means that the system switching has no influence on the fault detection implementation.
However, in engineering practice, it is more likely that the switching laws of a switched system cannot be known or acquired. For the switched system with unavailable switching laws, the fault detection becomes more complicated and challenging because of the possible mode mismatching between subsystem and residual generator. For example, when the system plant is activated in the mode i, the residual generator may work in the mode j ( i j £ ) because of the unavailability of the switching laws. The mode mismatching between subsystem and residual generator may cause a terrible effect on the residual signal and thus the evaluation function. Even in the fault-free case, the evaluation function exceeds the threshold and a fault alarm is triggered. To handle this problem, this work establishes a set of decision logic as shown in Figure 2, in which the mode recognition is taken into account in the fault detection implementation. Thus, the mode mismatching influence is eliminated and the accuracy of the fault detection is improved. It is noteworthy that the mode recognition is carried out based on the distinguishability of different system modes, which will be discussed in detail in the following subsection.

3.2. Mode Distinguishability Conditions

To achieve the mode recognition, it is required that any two modes of the switched system are distinguishable. In the following, the discussion on the mode distinguishability is sufficiently presented. Consider the subsystem G i , i £ of switched system (1) with the associated SKR K i . The definition of the cluster is recalled here for later use.
Definition 4
([48]). Given a scalar r i ( 0 , 1 ) , the set
S i { K : δ k K , K i r i }
is called S i cluster with the cluster centre K i and cluster radius r i .
On the basis of Definition 4, the definition of mode distinguishability is established as below.
Definition 5.
We say that the modes G i , i £ of switched system (1) are distinguishable if for any K S i , there does not exist S j , j i £ such that K S j .
Here, we are in a position to propose a sufficient theorem for the mode distinguishability.
Theorem 1.
Consider the SKR K i with the corresponding cluster S i , i £ . K i is the cluster centre and r i is the cluster radius. If for any i j £ , there holds that
δ k K i , K j > r i + r j ,
then the modes of switched system (1) are distinguishable.
Proof of Theorem 1. 
Firstly, suppose that the system modes are not distinguishable. According to Definition 5, it holds that for some K S i , there exists mode j i £ such that K S j . Due to K S i and K S j , the following inequalities hold
δ k K , K i r i
and
δ k K , K j r j .
On the other hand, it is easy to get
δ k K , K j δ k K i , K j δ k K , K i .
Substituting condition (5) yields
δ k K , K j > r i + r j r i = r j ,
which is contradictory to the inequality (7). Therefore, it can be concluded that the system modes are distinguishable, and the proof is completed. □
Theorem 1 presents a sufficient condition (5) to ensure that the modes of switched system are distinguishable. As shown in condition (5), the cluster radius r i is considered to be mode dependent, which gives rise to more freedom and thus less conservatism. By setting r i = r , i £ , a degraded version of Theorem 1 could be derived as in the following corollary.
Corollary 1.
Consider the SKR K i with the corresponding cluster S i , i £ . K i is the cluster centre and r is the cluster radius. If for any i j £ , there holds that
δ k K i , K j > 2 r ,
then the modes of switched system (1) are distinguishable.

3.3. Mode Distinguishability Realisation

The above subsection constructs the sufficient conditions for the mode distinguishability of switched system (1). The essential issue is to ensure the K-gap metric of any two SKRs larger than the sum of their radii. Since this paper is concerned with the data-driven studies, this subsection aims to develop the data-driven realization of the K-gap metric. To this end, the normalised data-driven SKR is investigated in the first place.
Definition 6
([49]). If the data-driven SKR in Definition 3 satisfies K i , d , s K i , d , s T = I , then it is called the normalised data-driven SKR.
In the following, the normalised data-driven SKR is denoted as K ¯ i , d , s to avoid confusion with the general version of SKR.

3.3.1. Normalised Data-Driven SKR in the Open-Loop Case

For subsystem G i , i £ , denote
Γ i , s = C i C i A i C i A i s 1 , H i , u , s = D i 0 0 C i B i 0 0 C i A i s 2 B i C i B i D i .
The extended state space representation of subsystem G i , i £ is modelled by
Y k , s i = Γ i , s X k , 1 i + H i , u , s U k , s i + H i , ξ , s Ξ k , s i + V k , s i ,
where H i , ξ , s has the same structure with H i , u , s and Ξ k , s i , V k , s i have the same structure with U k , s i as defined in Section 2.4. H i , ξ , s Ξ k , s i + V k , s i indicates the noise influence on the output. Rewrite (8) as
U k , s i Y k , s i = Ψ i , s U k , s i X k , 1 i + 0 H i , ξ , s Ξ k , s i + V k , s i , Ψ i , s = I 0 H i , u , s Γ i , s .
Clearly, Ψ i , s is a data-driven realisation of the SKR K i , d , s . The identification of K i , d , s = Ψ i , s is built according to the following LQ decomposition
Z p i U f i Y f i = L i , 11 0 0 L i , 21 L i , 22 0 L i , 31 L i , 32 L i , 33 Q i , 1 Q i , 2 Q i , 3 .
Since
U f i Y f i = L i , 21 L i , 22 L i , 31 L i , 32 Q i , 1 Q i , 2 + 0 L i , 33 Q i , 3 ,
and
L i , 33 Q i , 3 = H i , ξ , s Ξ k , s i + V k , s i ,
it is implied that
Ψ i , s L i , 21 L i , 22 L i , 31 L i , 32 = Ψ i , s , u Ψ i , s , y L i , 21 L i , 22 L i , 31 L i , 32 = 0 .
Performing the singular value decomposition of K i , d , s = Ψ i , s = Ψ i , s , u Ψ i , s , y yields
K i , d , s = U i Σ i V i T = U i Σ 1 , i 0 V 1 , i T V 2 , i T .
As a consequence, the normalised data-driven SKR K ¯ i , d , s in the open-loop case is obtained as
K ¯ i , d , s = V 1 , i T .

3.3.2. Normalised Data-Driven SKR in the Closed-Loop Case

For switched system (1), consider the feedback control system given by
x ˜ k + 1 = A ˜ i x ˜ k + B ˜ i w k y k , u k = C ˜ i x ˜ k + D ˜ i w k y k ,
where x ˜ k is the controller’s state and w k is the tracking reference. Suppose that the closed-loop of the i-th subsystem is well posed and internally stabilised by K i ( z ) = [ A ˜ i , B ˜ i , C ˜ i , D ˜ i ] . A similar representation as Formula (8) can be derived as below
U k , s i = Γ ˜ i , s X ˜ k , 1 i + H ˜ i , u , s W k , s i H ˜ i , u , s Y k , s i ,
where Γ ˜ i , s and H ˜ i , u , s are composed of K i ( z ) = [ A ˜ i , B ˜ i , C ˜ i , D ˜ i ] and have the similar structure with Γ i , s and H i , u , s , respectively. For the i-th controller, X ˜ k , 1 i = x ˜ k x ˜ k + N 1 and W k , s i is a Hankel matrix composed of vector w k . By substituting Equation (13) into Equation (8), the following formula holds
T i , s Y k , s i = Γ i , s X k , 1 i + H i , u , s Γ ˜ i , s X ˜ k , 1 i + H i , u , s H ˜ i , u , s W k , s i + H i , ξ , s Ξ k , s i + V k , s i ,
where T i , s = I + H i , u , s H ˜ i , u , s . Note that the well-posedness of the i-th closed-loop guarantees the invertibility of matrix T i , s . By denoting
M k , s i = U k , s i + H ˜ i , u , s Y k , s i = Γ ˜ i , s X ˜ k , 1 i + H ˜ i , u , s W k , s i ,
the Formula (14) can be rewritten as
Y k , s i = T i , s 1 Γ i , s X k , 1 i + T i , s 1 H i , u , s M k , s i + T i , s 1 H i , ξ , s Ξ k , s i + V k , s i .
Define
Z ˜ p i = M p i Y p i , Z ˜ f i = M f i Y f i , M p i = U p i + H ˜ i , u , p Y p i , M f i = U f i + H ˜ i , u , f Y f i .
Similarly, by utilising the LQ decomposition
Z ˜ p i M f i Y f i = L ˜ i , 11 0 0 L ˜ i , 21 L ˜ i , 22 0 L ˜ i , 31 L ˜ i , 32 L ˜ i , 33 Q ˜ i , 1 Q ˜ i , 2 Q ˜ i , 3 ,
and referring to [50], a data-driven SKR of G i , i £ can be derived as
K i , d , s = K ˜ i , m , f K ˜ i , y , f + K ˜ i , m , f H ˜ i , u , f ,
where
K ˜ i , m , f K ˜ i , y , f L ˜ i , 21 L ˜ i , 22 L ˜ i , 31 L ˜ i , 32 = 0 .
Then consider the singular value decomposition
K i , d , s = U ˜ i Σ ˜ i V ˜ i T = U ˜ i Σ ˜ 1 , i 0 V ˜ 1 , i T V ˜ 2 , i T .
The normalised data-driven SKR K ¯ i , d , s in the closed-loop case is given by
K ¯ i , d , s = V ˜ 1 , i T .

3.3.3. Data-Driven Realisation of the K-Gap Metric

Based on the obtained normalised data-driven SKR K ¯ i , d , s either in the open-loop or the closed-loop case, a theorem will be proposed to show how to realise the data-driven calculation of the K-gap metric between any two different modes. Before that, some preliminaries are restated here for the use of the deduction of the theorem.
Definition 7
([51]). Consider a truncation operator τ s cutting off a time signal ϑ after s + 1 sample times and is accordingly as
τ s : ϑ L [ 0 , ) ϑ t r L [ 0 , s ) .
A truncated or data-driven K-gap metric δ k d , s K i , K j ( i j £ ) of two subsystems G i , G j with the corresponding SKRs K i , K j is defined by
δ k d , s K i , K j = max { δ k d , s K i , K j , δ k d , s K j , K i }
with
δ k d , s K i , K j = sup z i , s τ s K i inf z j , s τ s K j z i , s z j , s 2 z i , s 2 .
The following lemma shows that the truncated result approximates to the real value of the K-gap metric as s .
Lemma 1
([51]). For two subsystems G i , G j ( i j £ ) with the corresponding SKRs K i , K j , the following formula is satisfied as s ,
δ k d , s K i , K j δ k K i , K j .
Theorem 2.
Consider two SKRs K i , K j ( i j £ ) with normalised data-driven SKRs K ¯ i , d , s , K ¯ j , d , s . The data-driven realisation of the K-gap metric can be obtained by
δ k d , s K i , K j = max { δ k d , s K i , K j , δ k d , s K j , K i } ,
where
δ k d , s K i , d , s , K j , d , s = σ max K ¯ i , d , s T K ¯ j , d , s T K ¯ j , d , s K ¯ i , d , s T .
Proof of Theorem 2. 
Due to the normalisation property of matrices K ¯ i , d , s , K ¯ j , d , s , they respectively construct the orthonormal basis of the kernel spaces K i , K j . The truncated kernel spaces are given by
τ s K i = C K ¯ i , d , s T , τ s K j = C K ¯ j , d , s T .
According to Definition 7,
δ k d , s K i , K j = sup z i , s C K ¯ i , d , s T inf z j , s C K ¯ j , d , s T z i , s z j , s 2 z i , s 2 = sup α inf β K ¯ i , d , s T α K ¯ j , d , s T β 2 K ¯ i , d , s T α 2 .
It is obvious that with respect to β , the Equation (20) has only one minimal value in the global domain. Hence, let
β K ¯ i , d , s T α K ¯ j , d , s T β T K ¯ i , d , s T α K ¯ j , d , s T β = 0 .
The solution of Equation (21) is calculated as
β = K ¯ j , d , s K ¯ i , d , s T α .
Substituting (22) into Equation (20) gives rise to
δ k d , s K i , K j = sup α K ¯ i , d , s T K ¯ j , d , s T K ¯ j , d , s K ¯ i , d , s T α 2 K ¯ i , d , s T α 2 ,
which thus implies the expression (19). □

3.4. Data-Driven Fault Detection

In this subsection, the data-driven realisation of the fault detection is presented for the switched system (1). For each subsystem G i , i £ , the residual evaluation function is constructed by
J i k = r i k 2 2 = s 1 n = 0 r i T k + n r i k + n ,
and the threshold is set as
J i , t h = sup k J i k .
The following Algorithm 1 is proposed to show how to determine the data-driven residual generator and the threshold for each subsystem based on the offline process data.
Algorithm 1Offline Data-Driven Procedure
Step 1:Collect the process data u i , y i of each subsystem G i , i £
Step 2:Choose s , N and build the Hankel matrices U k , s i , Y k , s i , Z p i for open-loop case
or Z ˜ p i , M f i , Y f i for closed-loop case
Step 3:Perform LQ decomposition (10) or (16) and calculate the data-driven SKR K i , d , s
Step 4:Utilise the singular value decomposition to get the normalised data-driven SKR K ¯ i , d , s
in (11) or (17)
Step 5:Calculate the K-gap metric δ k d , s K i , K j of any two modes according to (18) and compare it
with given scalar λ > 0
If δ k d , s K i , K j > λ , i j £ , go to Step 6 If there exist some i j £ such that δ k d , s K i , K j λ , return to Step 1 and update the data
Step 6:Construct the data-driven residual generator according to (4)
Step 7:Run the evaluation function (24) and set the threshold J i , t h
By virtue of the constructed residual generator in Algorithm 1, the online residual signal r i ( k ) and evaluation function J i ( k ) can be obtained with the online data. By comparing J i ( k ) with J i , t h for each mode, the decision logic is implemented as follows.
If J i ( k ) > J i , t h , i £ faulty If there exists i £ such that J i ( k ) J i , t h fault - free
Then the online procedure of the data-driven fault detection for switched system (1) is described in the following Algorithm 2.
Algorithm 2Online Fault Detection
Step 1:Collect the online process data u s ( k ) , y s ( k )
Step 2:Run the residual generator (4) with each SKR K i , d , s , i £
Step 3:Obtain the residual signal r i ( k ) and the evaluation function J i ( k ) according to (24)
Step 4:Implement the decision logic (26)

4. Benchmark Study

The benchmark study on a three-tank system has been demonstrated in this section, which can be regarded as the prototype for many industrial systems. As sketched in Figure 3, a basic structure of three-tank system includes three water tanks, two connecting pipes, four drain pipes and two water pumps. All the six pipes can be opened or closed by the adjustable ball valves PV 1 , PV 2 , PV 3 , LV 1 , LV 2 , LV 3 through a controller or manual adjustment. Through Pump 1 and Pump 2, water is pumped into Tank 1 and Tank 2 with the incoming mass flow rates Q 1 and Q 2 , respectively. The liquid levels h 1 , h 2 and h 3 of three-tank can be measured by the liquid level sensors with the maximum allowable water level h m a x . The water pump will stop working when the liquid level is higher then h m a x . The incoming mass flow rates of two pumps Q 1 and Q 2 and the liquid levels h 1 , h 2 and h 3 are chosen as system inputs and measured outputs, respectively.
In this work, the three-tank system operates around the working point h 1 = 45 cm, h 2 = 15 cm and h 3 = 30 cm. Different combinations of the adjustable ball valve’s state compose the different modes of the system. Consider the three-tank system with three modes as shown in Table 1. Specifically, the mathematical model for each mode is described as follows.
For the first mode, open the valves PV 1 , PV 2 , PV 3 fully, open the valve LV 1 by 80% and close the valves LV 2 ,LV 3 . The dynamics of this system mode is formulated by
A h ˙ 1 = Q 1 α 1 s n s g n ( h 1 h 3 ) 2 g | h 1 h 3 | 80 % β 1 s l 2 g h 1 , A h ˙ 2 = Q 2 + α 3 s n s g n ( h 3 h 2 ) 2 g | h 3 h 2 | α 2 s n 2 g h 2 , A h ˙ 3 = α 1 s n s g n ( h 1 h 3 ) 2 g | h 1 h 3 | α 3 s n s g n ( h 3 h 2 ) 2 g | h 3 h 2 | .
For the second mode, open the valves PV 1 , PV 2 , PV 3 fully and close the valves LV 1 , LV 2 , LV 3 . The dynamics of this system mode is given by
A h ˙ 1 = Q 1 α 1 s n s g n ( h 1 h 3 ) 2 g | h 1 h 3 | , A h ˙ 2 = Q 2 + α 3 s n s g n ( h 3 h 2 ) 2 g | h 3 h 2 | α 2 s n 2 g h 2 , A h ˙ 3 = α 1 s n s g n ( h 1 h 3 ) 2 g | h 1 h 3 | α 3 s n s g n ( h 3 h 2 ) 2 g | h 3 h 2 | .
For the third mode, open the valves PV 1 , PV 3 fully, open the valves LV 1 , LV 2 by 20%, 80%, respectively and close the valves PV 2 , LV 3 . Correspondingly, the dynamics of this mode is described by
A h ˙ 1 = Q 1 α 1 s n s g n ( h 1 h 3 ) 2 g | h 1 h 3 | 20 % β 1 s l 2 g h 1 , A h ˙ 2 = Q 2 + α 3 s n s g n ( h 3 h 2 ) 2 g | h 3 h 2 | 80 % β 2 s l 2 g h 2 , A h ˙ 3 = α 1 s n s g n ( h 1 h 3 ) 2 g | h 1 h 3 | α 3 s n s g n ( h 3 h 2 ) 2 g | h 3 h 2 | .
The parameters of the three-tank model are listed in Table 2. With the linearisation technique, the three-tank system can be formulated in the switched system form (1) with the switching law displayed in the Figure 4. The total running time is 12,000 s and the switching of system modes occurs at 5000 s and 8000 s, respectively. The data of system input and output are collected as shown in Figure 5 with the sampling interval T s = 2 s.
Collect the offline data in the fault-free case and apply Algorithm 1 for each mode. By choosing a proper data length, the Hankel matrices are constructed, based on which the LQ decomposition is implemented and the data-driven SKR is derived. Then the normalised data-driven is calculated via the singular value decomposition. By calculating and comparing the K-gap metric, the residual generators, evaluation functions and thresholds are obtained and exhibited in Figure 6. Observing these curves, it is clear that the three modes are distinguishable. Then the online algorithm, i.e., Algorithm 2, is implemented to show the effectiveness in fault detecting. By collecting the online process data, the residual generator for each mode is presented and further, the residual signals and evaluation function values when there is no fault occurring in the three-tank system are obtained as displayed in Figure 7, from which one can see that the false alarm rate is extremely low. In other words, the designed decision logic improves the mode matching of system plant and residual.
Then consider the system with the plugging fault at 10,000 s, which is caused by closing the valve PV 1 by about 30%. Correspondingly, the fault detection result is shown in Figure 8. Moreover, a 5% offset fault in the liquid level sensor of Tank 2 at 3500 s and a leakage fault caused by opening the valve LV 3 by about 20% at 6500 s are taken into account. The fault detection results corresponding to the two cases are respectively given in Figure 9 and Figure 10. It can be concluded from these figures that Algorithm 2 effectively detects the fault in progress and thus, the usefulness of the proposed method is demonstrated.

5. Conclusions

In this paper, a data-driven approach is developed for the fault detection of discrete-time switched system. Considering the difficulties in acquiring the switching laws in many practical applications, this paper assumes that the switching laws are unavailable to the mode-dependent residual generators in the fault detection implementation. The unavailable switching information may lead to the mode mismatching between system plant and residual generator, for which the mode recognition is considered in this work. Firstly, sufficient criteria are constructed to ensure that the modes of the switched system are distinguishable. Then a decision logic including the mode recognition is presented for the fault detection. Furthermore, offline and online algorithms are elaborated to show the data-driven realisation of the fault detection for the underlying system. A three-tank benchmark system is studied to show the effectiveness of the methods proposed in this paper.
It is worth mentioning that the main contribution of this work is to achieve the data-driven fault detection for switched systems even without available switching laws, which is of great significance from the viewpoint of practice. Actually, the mode recognition approach proposed in this paper is effective in dealing with the analysis and synthesis problems for switched systems with unavailable switching laws and could be further applied to some other research topics of switched systems. In the future, we would like to extend our research to fault-tolerant control for switched systems based on the fault detection method of this work.

Author Contributions

Investigation, H.Z.; Methodology, Y.W.; Supervision, H.L.; Writing—original draft, H.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by National Natural Science Foundation of China under Grant 61803185, 62073104, U20A20186.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

There is no conflict of interest.

References

  1. Li, L.; Luo, H.; Ding, S.X.; Yang, Y.; Peng, K. Performance-based fault detection and fault-tolerant control for automatic control systems. Automatica 2019, 99, 308–316. [Google Scholar] [CrossRef]
  2. Shenfield, A.; Howarth, M. A novel deep learning model for the detection and identification of rolling element-bearing faults. Sensors 2020, 20, 5112. [Google Scholar] [CrossRef]
  3. Yang, Y.; Ding, S.X.; Li, L. Parameterization of nonlinear observer-based fault detection systems. IEEE Trans. Automat. Control 2016, 61, 3687–3692. [Google Scholar] [CrossRef]
  4. Mistry, P.; Lane, P.; Allen, P. Railway point-operating machine fault detection using unlabeled signaling sensor data. Sensors 2020, 20, 2692. [Google Scholar] [CrossRef]
  5. Yin, S.; Zhu, X. Intelligent particle filter and its application to fault detection of nonlinear system. IEEE Trans. Ind. Electron. 2015, 62, 3852–3861. [Google Scholar] [CrossRef]
  6. Yang, K.; Chu, R.; Zhang, R.; Xiao, J.; Tu, R. A novel methodology for series arc fault detection by temporal domain visualization and convolutional neural network. Sensors 2020, 20, 162. [Google Scholar] [CrossRef] [Green Version]
  7. Chen, Z.; Ding, S.X.; Peng, T.; Yang, C.; Gui, W. Fault detection for non-Gaussian processes using generalized canonical correlation analysis and randomized algorithms. IEEE Trans. Ind. Electron. 2018, 65, 1559–1567. [Google Scholar] [CrossRef]
  8. Song, Y.; Yang, S.; Cheng, C.; Xie, P. A novel fault detection method for running gear systems based on dynamic inner slow feature analysis. IEEE Access 2020, 8, 211371–211379. [Google Scholar] [CrossRef]
  9. Patton, R.J.; Frank, P.M.; Clark, R.N. Issue of Fault Diagnosis for Dynamic Systems; Springer: Berlin, Germany, 2000. [Google Scholar]
  10. Ju, Y.; Wei, G.; Ding, D.; Zhang, S. Fault detection for discrete time-delay networked systems with round-robin protocol in finite-frequency domain. Int. J. Syst. Sci. 2019, 50, 2497–2509. [Google Scholar] [CrossRef]
  11. Zhai, X.; Xu, H.; Wang, G. Robust H-/H fault detection observer design for polytopic spatially interconnected systems over finite frequency domain. Int. J. Robust Nonlinear Control 2020, 31, 404–426. [Google Scholar] [CrossRef]
  12. Liu, J.; Yang, L.; Xu, M.; Zhang, Q.; Yan, R.; Chen, X. Model-based detection of soft faults using the smoothed residual for a control system. Meas. Sci. Technol. 2020, 32, 015107. [Google Scholar] [CrossRef]
  13. Li, R.; Yang, Y. Fault detection for T-S fuzzy singular systems via integral sliding modes. J. Frankl. Inst. 2020, 357, 13125–13143. [Google Scholar] [CrossRef]
  14. Zhang, X.; Zhu, F.; Guo, S. Actuator fault detection for uncertain systems based on the combination of the interval observer and asymptotical reduced-order observer. Int. J. Control 2020, 93, 2653–2661. [Google Scholar] [CrossRef]
  15. Yin, S.; Gao, H.; Qiu, J.; Kaynak, O. Fault detection for nonlinear process with deterministic disturbances: A just-in-time learning based data driven method. IEEE Trans. Cybern. 2017, 47, 3649–3657. [Google Scholar] [CrossRef] [PubMed]
  16. Naderi, E.; Khorasani, K. Data-driven fault detection, isolation and estimation of aircraft gas turbine engine actuator and sensors. Mech. Syst. Signal Pr. 2018, 100, 415–438. [Google Scholar] [CrossRef]
  17. Fravolini, M.L.; del Core, G.; Papa, U.; Valigi, P.; Napolitano, M.R. Data-driven schemes for robust fault detection of air data system sensors. IEEE Trans. Control Syst. Technol. 2019, 27, 234–248. [Google Scholar] [CrossRef]
  18. Luo, H.; Yin, S.; Liu, T.; Khan, A.Q. A data-driven realization of the control-performance-oriented process monitoring system. IEEE Trans. Ind. Electron. 2020, 67, 521–530. [Google Scholar] [CrossRef]
  19. Russell, E.; Chiang, L.; Braatz, R. Data-Driven Methods for Fault Detection and Diagnosis in Chemical Processes; Springer: Berlin, Germany, 2000. [Google Scholar]
  20. Bazanella, A.S.; Campestrini, L.; Eckhard, D. Data-Driven Controller Design: The H2 Approach; Springer: Dordrecht, The Netherlands; New York, NY, USA, 2012. [Google Scholar]
  21. Cheng, C.; Qiao, X.; Luo, H.; Wang, H.; Teng, W.; Zhang, B. Data-driven incipient fault detection and diagnosis for the running gear in high-speed trains. IEEE Trans. Veh. Technol. 2020, 69, 9566–9576. [Google Scholar] [CrossRef]
  22. Huo, X.; Ma, L.; Zhao, X.; Zong, G. Observer-based fuzzy adaptive stabilization of uncertain switched stochastic nonlinear systems with input quantization. J. Frankl. Inst. 2019, 356, 1789–1809. [Google Scholar] [CrossRef]
  23. Zamani, I.; Shafiee, M.; Ibeas, A. Stability analysis of hybrid switched nonlinear singular time-delay systems with stable and unstable subsystems. Int. J. Syst. Sci. 2014, 45, 1128–1144. [Google Scholar] [CrossRef]
  24. Gong, C.S.A.; Li, S.W.; Shiue, M.T. A bootstrapped comparator-switched active rectifying circuit for wirelessly powered integrated miniaturized energy sensing systems. Sensors 2019, 19, 4714. [Google Scholar] [CrossRef] [Green Version]
  25. Bara, G.I. Robust switched static output feedback control for discrete-time switched linear systems. In Proceedings of the 46th IEEE Conference on Decision and Control, New Orleans, LA, USA, 12–14 December 2007; pp. 4986–4992. [Google Scholar]
  26. Yao, D.; Dou, C.; Yue, D.; Zhao, N.; Zhang, T. Event-triggered adaptive consensus tracking control for nonlinear switching multi-agent systems. Neurocomputing 2020, 415, 157–164. [Google Scholar] [CrossRef]
  27. Feng, C.; Wang, Q.; Liu, C.; Hu, C.; Liang, X. Variable-structure near-space vehicles with time-varying state constraints attitude control based on switched nonlinear system. Sensors 2020, 20, 848. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  28. Aminsafaee, M.; Shafiei, M.H. Delayed state feedback predictive control of uncertain nonlinear discrete-time switched systems with input constraint and state delays. IET Control Theory Appl. 2020, 14, 2937–2947. [Google Scholar] [CrossRef]
  29. Zhao, H.; Peng, L.; Yu, H. Distributed model-free bipartite consensus tracking for unknown heterogeneous multi-agent systems with switching topology. Sensors 2020, 20, 4164. [Google Scholar] [CrossRef]
  30. Liberzon, D. Finite data-rate feedback stabilization of switched and hybrid linear systems. Automatica 2014, 50, 409–420. [Google Scholar] [CrossRef]
  31. Daafouz, J.; Riedinger, P.; Iung, C. Stability analysis and control syhthesis for switched systems: A switched Lyapunov function approach. IEEE Trans. Automat. Control 2002, 47, 1883–1887. [Google Scholar] [CrossRef]
  32. Zhao, X.; Yin, Y.; Niu, B.; Zheng, X. Stabilization for a class of switched nonlinear systems with novel average dwell time switching by T-S fuzzy modeling. IEEE Trans. Cybern. 2016, 46, 1952–1957. [Google Scholar] [CrossRef] [PubMed]
  33. Sun, T.; Liu, T.; Sun, X.M. Stability analysis of cyclic switched linear systems: An average cycle dwell time approach. Inform. Sci. 2021, 544, 227–237. [Google Scholar] [CrossRef]
  34. Guan, C.; Fei, Z.; Karimi, H.R.; Shi, P. Finite-time synchronization for switched neural networks via quantized feedback control. IEEE Trans. Syst. Man Cybern. Syst. 2019. [Google Scholar] [CrossRef]
  35. Li, S.; Xiang, Z.; Zhang, J. Dwell-time conditions for exponential stability and standard L1-gain performance of discrete-time singular switched positive systems with time-varying delays. Nonlinear Anal. Hybrid Syst. 2020, 38, 100939. [Google Scholar] [CrossRef]
  36. Yan, Z.; Zhang, W.; Zhang, G. Finite-time stability and stabilization of Ito stochastic systems with Markovian switching: Mode-dependent parameter approach. IEEE Trans. Automat. Control 2015, 60, 2428–2433. [Google Scholar] [CrossRef]
  37. Vargas, A.N.; Costa, E.F.; do Val, J.B.R. On the control of Markov jump linear systems with no mode observation: Application to a DC motor device. Int. J. Robust Nonlinear Control 2013, 23, 1136–1150. [Google Scholar] [CrossRef]
  38. Li, K.; Mu, X. Necessary and sufficient conditions for leader-following consensus of multi-agent systems with random switching topologies. Nonlinear Anal. Hybrid Syst. 2020, 37, 100905. [Google Scholar] [CrossRef]
  39. Wang, D.; Wang, Z.; Li, G.; Wang, W. Fault detection for switched positive systems under successive packet dropouts with application to the Leslie matrix model. Int. J. Robust Nonlinear Control 2016, 26, 2807–2823. [Google Scholar] [CrossRef] [Green Version]
  40. Li, J.; Pan, K.; Su, Q.; Zhao, X. Sensor fault detection and fault-tolerant control for buck converter via affine switched systems. IEEE Access 2019, 7, 47124–47134. [Google Scholar] [CrossRef]
  41. Du, D.; Xu, S.; Cocquempot, V. Finite-frequency fault detection filter design for discrete-time switched systems. IEEE Access 2018, 6, 70487–70496. [Google Scholar] [CrossRef]
  42. Liu, Y.; Arunkumar, A.; Sakthivel, R.; Nithya, V.; Alsaadi, F. Finite-time event-triggered non-fragile control and fault detection for switched networked systems with random packet losses. J. Frankl. Inst. 2020, 357, 11394–11420. [Google Scholar] [CrossRef]
  43. Raza, M.T.; Khan, A.Q.; Mustafa, G.; Abid, M. Design of Fault Detection and Isolation Filter for Switched Control Systems Under Asynchronous Switching. IEEE Trans. Control Syst. Technol. 2016, 24, 13–23. [Google Scholar] [CrossRef]
  44. Liu, X.; Su, X.; Shi, P.; Nguang, S.; Shen, C. Fault detection filtering for nonlinear switched systems via event-triggered communication approach. Automatica 2019, 101, 365–376. [Google Scholar] [CrossRef]
  45. Kazemi, M.G.; Montazeri, M. Fault detection of continuous time linear switched systems using combination of Bond Graph method and switching observer. ISA Trans. 2019, 94, 338–351. [Google Scholar] [CrossRef]
  46. Sun, T.; Zhou, D.; Zhu, Y.; Basin, M.V. Stability, l2-gain analysis, and parity space-based fault detection for discrete-time switched systems under dwell-time switching. IEEE Trans. Syst. Man Cybern. Syst. 2020, 50, 3358–3368. [Google Scholar] [CrossRef]
  47. Garbouj, Y.; Zouari, T.; Ksouri, M. Parity Space Method for Mode Detection of a Nonlinear Switching System Using Takagi-Sugeno Modeling. Int. J. Fuzzy Syst. 2019, 21, 837–851. [Google Scholar] [CrossRef]
  48. Li, L.; Ding, S.X. Gap metric techniques and their application to fault detection performance analysis and fault isolation schemes. Automatica 2020, 118, 109029. [Google Scholar] [CrossRef]
  49. Koenings, T.; Krueger, M.; Luo, H.; Ding, S.X. A data-driven computation method for the gap metric and the optimal stability margin. IEEE Trans. Automat. Control 2018, 63, 805–810. [Google Scholar] [CrossRef]
  50. Luo, H.; Zhao, H.; Yin, S. Data-driven design of fog-computing-aided process monitoring system for large-scale industrial processes. IEEE Trans. Ind. Inform. 2018, 14, 4631–4641. [Google Scholar] [CrossRef]
  51. Li, H.; Yang, Y.; Zhao, Z.; Zhou, J.; Liu, R. Fault detection via data-driven K-gap metric with application to ship propulsion systems. In Proceedings of the 37th Chinese Control Conference (CCC), Wuhan, China, 25–27 July 2018; pp. 6023–6027. [Google Scholar]
Figure 1. Schematic diagram of fault detection for switched systems with available switching laws.
Figure 1. Schematic diagram of fault detection for switched systems with available switching laws.
Sensors 21 04138 g001
Figure 2. Schematic diagram of fault dection for switched systems proposed in this paper.
Figure 2. Schematic diagram of fault dection for switched systems proposed in this paper.
Sensors 21 04138 g002
Figure 3. Structure of the three-tank system.
Figure 3. Structure of the three-tank system.
Sensors 21 04138 g003
Figure 4. Switching law and fault signal of the three-tank system.
Figure 4. Switching law and fault signal of the three-tank system.
Sensors 21 04138 g004
Figure 5. Input and output data.
Figure 5. Input and output data.
Sensors 21 04138 g005
Figure 6. Residual generators, evaluation functions and thresholds designed by Algorithm 1.
Figure 6. Residual generators, evaluation functions and thresholds designed by Algorithm 1.
Sensors 21 04138 g006
Figure 7. Fault detection result in the fault-free case.
Figure 7. Fault detection result in the fault-free case.
Sensors 21 04138 g007
Figure 8. Fault detection result under the plugging fault.
Figure 8. Fault detection result under the plugging fault.
Sensors 21 04138 g008
Figure 9. Fault detection result under the offset fault.
Figure 9. Fault detection result under the offset fault.
Sensors 21 04138 g009
Figure 10. Fault detection result under the leakage fault.
Figure 10. Fault detection result under the leakage fault.
Sensors 21 04138 g010
Table 1. The three modes of the three-tank system.
Table 1. The three modes of the three-tank system.
ModePV 1 PV 2 PV 3 LV 1 LV 2 LV 3
Mode 1:openopenopenopencloseclose
Mode 2:openopenopenclosecloseclose
Mode 3:opencloseopenopenopenclose
Table 2. Parameters of the three-tank model.
Table 2. Parameters of the three-tank model.
ParametersSymbolValueUnit
Cross section area of tanks A 154cm 2
Cross section area of pipes s n 0.5cm 2
Cross section area of drain pipes s l 0.5cm 2
Max. height of tanks H m a x 62cm
Max. flow rate of pump 1 Q 1 m a x 100cm 3 / s
Max. flow rate of pump 2 Q 2 m a x 100cm 3 / s
Coeff. of flow for pipe 1 α 1 0.46
Coeff. of flow for pipe 2 α 2 0.60
Coeff. of flow for pipe 3 α 3 0.45
Coeff. of flow for drain pipe 1 β 1 0.46
Coeff. of flow for drain pipe 2 β 2 0.60
Coeff. of flow for drain pipe 3 β 3 0.45
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhao, H.; Luo, H.; Wu, Y. A Data-Driven Scheme for Fault Detection of Discrete-Time Switched Systems. Sensors 2021, 21, 4138. https://doi.org/10.3390/s21124138

AMA Style

Zhao H, Luo H, Wu Y. A Data-Driven Scheme for Fault Detection of Discrete-Time Switched Systems. Sensors. 2021; 21(12):4138. https://doi.org/10.3390/s21124138

Chicago/Turabian Style

Zhao, Hao, Hao Luo, and Yunkai Wu. 2021. "A Data-Driven Scheme for Fault Detection of Discrete-Time Switched Systems" Sensors 21, no. 12: 4138. https://doi.org/10.3390/s21124138

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