Fault Residuals Based on Distributed Discrete-Time Linear Kalman Filtering Fault Residuals Based on Distributed Discrete-Time Linear Kalman Filtering

The chapter is concerned with the application of distributed discrete-time linear Kalman filtering with decentralized structure of sensors in fault residual generation. Two variants of distributed Kalman filtering algorithms are introduced, giving the incidence of equiva- lent functional realization structure of fault residual filters. The obtained solutions use Kalman filter innovations in a nonstandard way to generate residuals with significantly higher dynamic signal range. The obtained results, offering structures for fault detection filter realization, are illustrated with a numerical example to note the effectiveness of the approach.


Introduction
The castigatory principal aspect for designing a fault-tolerant control (FTC) structure is a functionality of diagnostic operations that solve the fault detection and isolation (FDI) tasks. These techniques most commonly use residuals generated by fault detection filters (FDF), followed by the residual signal evaluation within decision functions. Guarantying adequate sensitivity to faults, the accessory objective is to create residuals with minimal sensitivity to noises. Kalman filtering is an optimal state estimation process applied to a dynamic system that involves random noises, giving a linear, unbiased, and minimum error variance recursive algorithm to optimally estimate the unknown state of a dynamic system from noisy data taken from sensors [1,2].
Practically, a bank of Kalman filters is used to achieve sensor and actuator fault detection applied to a steady-state system, while the statistical characteristics of the system are not required to be known after a fault has occurred [3,4]. In these methods, the faults are assumed to be known, and the Kalman filters are designed for such kind of sensor or actuator faults. Another approach based on Kalman filtering is the analysis of the innovation sequence, since faults displace its zero mean and change its covariance matrix [5]. The associated problem is quick detection of changes in these parameters from their nominal values. Evidently, research in Kalman filter based-FDI is the subject of wide range of other publications (see, e.g., [6][7][8][9] and the reference therein). Other applications can be found in [10].
The state estimation obtained by the Kalman filter prediction-correction equations at every time instant can be solved almost optimally and substantially faster by applying a distributed approach [11][12][13][14]. With this setup can be exploited the fact that the correction error can be decaying exponentially with time instant sequence to reach the optimal values [15][16][17][18].
The chapter exploits a variant of distributed methods to apply the distributed correction stage filtering equations on each sensor level as well as an approach based on quasi-parallel central computation. Benefiting from the distributed Kalman filtering algorithm, two residually equivalent signal structures are presented for the discrete-time linear noisy systems.
The outline of this chapter is as follows: Section 1 delineates the problem and draws the basic starting points of solutions. Dealing with the discrete-time noisy systems description, the equations describing Kalman filters for uncorrelated measurement and system noises are traced out in Section 2, to delineate distributed approaches in Kalman filter design, suitable for supporting the fault residual generation, presented in Section 3. Section 4 gives a numerical example, illustrating the properties of the proposed method, and Section 5 presents some concluding remarks.
Throughout the chapter, the notations are narrowly standard in such a way that x T and X T denote the transpose of vector x and matrix X, respectively, and diag Á ½ denotes a block diagonal matrix-for a square matrix X > 0 means that X is a symmetric positive definite matrix. The symbol I n indicates the nth order unit matrix; IR denotes the set of real numbers; IR n and IR nÂr refer to the set of all n-dimensional real vectors and n Â r real matrices, respectively; and Z þ is the set of all positive integers.

Discrete-time linear Kalman filter
In this section, one version of the Kalman filtering concept is applied for the discrete-time linear multi inputs and multi outputs (MIMO) plants with the system and output noises of the form where q i ð Þ ∈ IR n , u i ð Þ ∈ IR r , and y i ð Þ ∈ IR m are vectors of the system state, input and measurement output variables, respectively; v i ð Þ ∈ IR n and o i ð Þ ∈ IR m are vectors of the system and measurement noise; and F ∈ IR nÂn , G ∈ IR nÂr , and C ∈ IR mÂn are conditioned by 1 ≤ m, r ≤ n. Kalman filter is used only for diagnostic purposes. Zero-mean Gaussian white noise processes are considered such that where E Á f g is the a statistical averaging operator, is the Kronecker delta-function and the covariance matrices Q ∈ IR nÂn and R ∈ IR mÂm are symmetric positive definite matrices.
It is assumed that the deterministic system initial state q 0 and that the system and measurement noises are uncorrelated, i.e., S ¼ 0.
Determining the optimal system state vector estimate, q e iji À 1 ð Þdenotes the predicted estimation of the system state vector q i ð Þ at the time instant i in the dependency on all noisy output measurement vector sequence y j ð Þ; j ¼ 0; 1; …; i À 1 f g up to time instant i À 1; q e iji ð Þ is the corrected estimation of the system state vector q i ð Þ at the time instant i in the dependency on all noisy output measurement sequence y j ð Þ; j ¼ 0; 1; …; i f g up to time instant i; and e iji À 1 ð Þ¼q i ð Þ À q e iji À 1 ð Þand e iji ð Þ ¼ q i ð Þ À q e iji ð Þ are prediction and correction errors. Definition 1. [19] If the Kalman filter, associated with the plant (1), (2) with uncorrelated system and measurement noises, is defined by the set of equations then with q e 0j0 ð Þ ¼ q 0 , P 0j0 ð Þ ¼ Q ∘ , where Q ∘ ∈ IR nÂn is a positive definite matrix, yielding where are the covariance matrices of prediction and correction errors and J i ð Þ ∈ IR nÂm is the Kalman filter gain matrix, all at time instant i.
The discrete-time Kalman filter equations can be algebraically manipulated into a variety of forms [6,16,20]. From the point of view of distributed filtration, it is necessary to achieve such form of the equation for calculating the Kalman gain J i ð Þ that yields the matrix C from the matrix inversion operation (see (11)). If the system and measurement noises are uncorrelated, then for the Kalman filter gain, one can propose the following: Lemma 1. If the system and measurement noises are uncorrelated, then the Kalman filter gain and the correction error covariance matrix can be computed using (12) and Proof. Substituting (11) into (13), one can obtain that Exploiting the Sherman-Morrison-Woodbury formula of the form [21].
where square invertible matrices A, D, and a matrix B of appropriate dimensions are such that yields, since the covariance matrices are positive definite, where Then, evidently, and (31) implies (17).
Note, since C T R À1 C is at least a positive semi-definite matrix, it is evident from (17) that P iji ð Þ is never larger than P iji À 1 ð Þ. Moreover, the result is an unbiased filter with the estimates of minimum error variances. More details can be found in [12,22]. Corollary 1. Considering that q e iji À 1 ð Þis known and q e iji ð Þ is the best estimate of q i ð Þ that minimizes the cost criterion Then, evaluating (26) it follows, with the optimal setting of a state vector estimate q i ð Þ ¼ q iji ð Þ, that the minimum expected cost is given by which implies Therefore, using the above relations, at the ith step Eq. (28) gives Pre-multiplying the left side by P iji ð Þ and post-multiplying the right side by P iji À 1 ð Þthen it follows from (17) which can be proved recursively as follows Comparing (29) with the covariance matrix of the filtering error given by (13), it is evident that which is identical to (16).

Fault residual generation using distributed Kalman filtering
The obtained equations, Eqs. (16) and (17), allow the use of the open form of the Kalman filter equations if Writing separately, then, (7)-(11), (16), and (27) imply It is evident from the above given formulation that the relation of (40) gives the possibility to compute corrections from the data obtained at all sensor nodes.
Theorem 1. Defining the residual vector as where then while the filter gain matrices, as well as recurrences of the covariance matrices are given by (43)-(45).
Proof. Considering that there are components of the system state vector estimate that are dependent on the control signal as well as ones that are not dependent on the control signals, since the correction step does not depend on the control inputs, (40) can be rewritten as Prescribing that Eqs. (52) and (53) can be separated as and using (47), (54) gives (50), and (55) implies (51).
Substituting (53) in (39) yields and, evidently, (56) implies (48)  In principle, it is possible to define the residue generation by results of the local system state correction at Kalman filtration at the time instant i.

Theorem 2. Defining the residual vector as
where then while the predicted system state at the time instant i is computed centrally and the filtered full system state is covered by the equations Proof. The correction step for the Kalman filter in Eq. (51) can be prescribed locally for the jth node as where Substituting (66), rearranging and postmultiplying the left side by P À1 h iji ð Þ, (65) implies respectively. Since (69) gives with a simple elimination after inserting (72), (71) gives Combining (49) and (51) results in which can be written as Pre-multiplying the left side of (44) by P iji ð Þ leads to and considering (76), relation (75) takes the form Thus, the substitution of (73) into (77) gives and with the notation (78) implies (62). This concludes the proof. Remark 3. Obviously, under the above conditions, the distributed realization of the Kalman filter correction step is optimal in the sense of criterion (26), and therefore the structure of the fault residual generator based on distributed Kalman filtration is optimal.

Illustrative examples 4.1. Example 1
To eliminate specific system dependencies, the Schur discrete-time linear strictly positive system [23] is used for demonstration of the Kalman filtering technique in residual signals construction. The considered system can be put in the system class (1)-(4), with the sampling period t s ¼ 0:8 s, with uncorrelated system and measurement Gaussian noise and the noise covariance matrices Evidently, the residual trajectories indicate that the proposed residual filter generates directional signals in the event of single sensor faults, and has a significantly higher dynamic signal range in the event of single faults of the actuators, as compared to the residual presented using the standard Kalman filter.

Example 2
To produce another example that demonstrates achievable performances of the presented design method, the sign-indefinite Schur discrete-time linear system is used, where [24] Evidently, the residual filter behavior is also acceptable for the system parameters in this example and the system noise environment. The step-like single faults start and continue from the time instant t ¼ 25 s, the time scale is discrete with the sampling period T ¼ 0:05 s.

Example 3
Following the above-mentioned procedures, Example 3 verifies their effectiveness for the linear discrete-time system with the parameters Note, the steady states of F c are absorbing states.
The single fault effects in residuals, when using the proposed algorithm of distributed Kalman filtering (46)-(51) with setting F ¼ F c , q e 0j0 ð Þ ¼ 0 and P 0j0 ð Þ ¼ I 4 are shown in Figure 5. The time scale is discrete with the time sample interval T = 0.1s.
From the figures, we find that the fault responses are satisfactory by using the proposed method also for this system and noise environment.
Analyzing all examples, exactly the same responses are reached using the same parameters as before and assuming the same fault patterns if the residuals are evaluated exploiting formulas (57)-(64) or (46)-(51). It is given by the equivalent principles of distributed computing that are bound by the equivalent relationships (44) and (62), respectively. As a result, in this particular point of view, the proposed distributed algorithm has only one common matrix component, P À1 iji À 1 ð Þ, which has to be transmitted to every separated sensor before carrying out the state correction filtering step at every time instant. Since the correction step at time instant i is done in dependency on the measured value at the same time instant y i ð Þ, it is clear that the shorter the computation at the correction step, the smaller the time-delay introduced into the fault detection system responses.

Concluding remarks
Realization forms for fault detection residual structures, based on distributed Kalman filtering destined for noisy discrete-time linear systems, were derived in this chapter. The main idea deals with introducing a distributed sensor measurement noise corrector step of a Kalman filter, applied in such a way to be locally uncorrelated with other sensor measurements. Two different algorithmic supports, a parallel decentralized Kalman filter and a locally distributed Kalman filter, are constructed to generate fault residuals. Both solutions are discussed in detail to demonstrate the condition of their equivalency. The problem accomplishes the manipulation in the manner giving guaranty of asymptotic stability of a local fault residual detection filter. Simulated example is included to illustrate the applicability of the proposed methods, encouraging the results that are obtained. Note, since the Kalman filter is based on the nominal system parameters G and C, it cannot estimate system states and outputs starting for faulty regimes with modified matrices G f and C f , respectively.
From the point of cloud-based distributed systems, to combine appropriately the network and computational resources, a locally distributed Kalman filter seems to be naturally adaptable, also with cross-correlated sensor noises. Of course, no theoretical justification for this affirmation is presented in the chapter. This is seen as an area for future research by the authors.