Research Article | Open Access

# A Neuro-Augmented Observer for Robust Fault Detection in Nonlinear Systems

**Academic Editor:**Huaguang Zhang

#### Abstract

A new fault detection method using neural-networks-augmented state observer for nonlinear systems is presented in this paper. The novelty of the approach is that instead of approximating the entire nonlinear system with neural network, we only approximate the unmodeled part that is left over after linearization, in which a radial basis function (RBF) neural network is adopted. Compared with conventional linear observer, the proposed observer structure provides more accurate estimation of the system state. The state estimation error is proved to asymptotically approach zero by the Lyapunov method. An aircraft system demonstrates the efficiency of the proposed fault detection scheme, simulation results of which show that the proposed RBF neural network-based observer scheme is effective and has a potential application in fault detection and identification (FDI) for nonlinear systems.

#### 1. Introduction

One of the basic requirements for successful residual-based fault detection and identification (FDI) is that during fault-free operation, the residuals should be zero in the deterministic case or zero-mean and uncorrelated in stochastic case. While this condition is easy to meet in linear systems, it is a difficult task for nonlinear systems. Reference [1] presents a fault-tolerant control (FTC) scheme for a class of multi-input-multi-output stochastic systems with actuator faults, in which the actuator fault diagnosis is based on the state estimation and the nominal controller is designed to compensate for the loss of actuator effectiveness. However, for nonlinear systems, the common approach of linearizing the nonlinear system with Taylor series expansion about an operating point may work reasonably well for control design, but the errors from the unmodeled nonlinear terms affect the residual in a way that renders residual-based FDI techniques unusable. Reference [2] proposes a fault-tolerant tracking control method based on adaptive control technique for near-space-vehicle attitude dynamics, in which Takagi-Sugeno fuzzy model is used to describe the nonlinear system, and then an adaptive tracking control scheme is developed based on on-line actuator faults estimation.

One way of eliminating this problem is to develop state observers that estimate the actual state vector that includes the linear and nonlinear terms. State observers of nonlinear dynamic systems are, therefore, becoming a growing topic for fault detection and identification (FDI) [3–6]. Several observer design methods have been proposed in recent years for nonlinear dynamic systems [7–9]. However, effective and accurate observer design methods for generic nonlinear systems are still an open research issue. Neural networks (NN) provide one of the newer approaches to robust FDI for nonlinear systems [10–12]. The theory and application research of the neural networks is still a hot topic in intelligent control fields. Reference [13] uses three neural networks as parametric structures for facilitating the implementation of the iterative algorithm, to solve the near-optimal control problem of the nonlinear discrete-time systems with control constraints. Reference [14] develops a weighting-delay-based method for stability analysis of a class of recurrent neural networks with time-varying delay, and the optimization method is used to calculate the optimal weighting-delay parameters. Applications of neural networks in FDI can be grouped into two categories of tasks: (1) neural network observers for detecting the faults and (2) neural network classifiers for classifying fault patterns.

In this paper we focus on the first group of tasks: we present a new method for fault detection using a neural-networks-augmented state observer. The novelty of our approach is that instead of using the entire nonlinear system for designing the neural network-based observer, we only use the unmodeled part that is left over after a conventional linearization with Taylor series. Instead of the multilayered back-propagation neural networks, we choose radial basis function (RBF) neural network, which is faster to train and does not have the problem of local minima [15]. This allows us to build a state observer with an output tracking error that approaches zero asymptotically. The technique is applicable to systems that have nonlinearities, but their accurate nonlinear models are either not available or are difficult (or too time-consuming) to use. However, it assumes that the linearized models of these systems are available.

#### 2. Problem Formulation

Consider the affine nonlinear dynamic system as follows: where , , , is a norm-bounded fault vector, , , , , and , are continuously differentiable vector functions. Our goal is to design a nonlinear state observer that is a combination of a conventional observer and a neural network (the neuro-augmented observer).

System (2.1) is linearized at operating point , resulting in the state space model where and are constant matrices. is expanded in a first-order Taylor series approximation at , and . Similarly, . Now we can get .

The nonlinear function in system (2.2) includes an unmodeled nonlinear high-order term. If the system has no fault, that is, , the state observer of system (2.2) is where is the state estimate, and is the observer gain matrix. Define the state estimation error , and we get

The task of observer design is to select a suitable matrix and make the state estimation error tend to zero asymptotically.

Reference [16] provides a method to check the stability of estimation error. However, it does not indicate how to choose the observer gain matrix and how to approximate the nonlinear term. For the state estimation error equation (2.4), if then the state estimation error at time is From (2.5) we can see that minimizing and driving it to zero would make the estimation error also approach zero asymptotically. Thus, the success of the observer depends on the successful approximation of the nonlinear term that resulted from the unmodeled portion of the original system. In order to achieve that goal, we propose the following structure shown as Figure 1, which incorporates an RBF neural network into the state estimation loop.

The RBF neural network is used to approximate the nonlinear term , thereby driving to zero, and thus improving the accuracy of state estimation. With that, we can expect the residuals during fault-free (healthy) situations to remain small, which is essential for successful FDI design.

#### 3. Design of Neuro-Augmented Observer Based on RBF Neural Network

An RBF neural network observer is introduced for system (2.2), expressed by where is the neural network nonlinear estimator. It is realized by a three-layer RBF neural network. The first layer is direct input layer, and the hidden layer consists of several nodes. Each node contains a parameter vector called a center. The node calculates the Euclidean distance between the center and network input vector and then passes the result through a nonlinear function. The output layer is a set of linear combiners. The overall input-output response of the RBF neural network is a mapping , then we get where is input vector; are the number of inputs and outputs; is the number of nodes in the hidden layer; are the weights of the linear combiners of the output layer; are the centers of hidden nodes; are the widths of the Gaussian function. The nonlinear activation function is selected as Gaussian function, and then .

Define Then

*Assumption 3.1. *The RBF neural network can approximate the nonlinear function arbitrarily closely, that is, there exists an ideal weight matrix , satisfying , where is the input vector.

*Assumption 3.2. *For the system (2.2) and observer (3.3), the nonlinear term satisfies the global Lipschitz condition, that is, .

Theorem 3.3. *The state estimation error approaches zero asymptotically , provided *(i)*, where are positive definite symmetric matrices and and , respectively, denote the minimum eigenvalue and maximum eigenvalue of the matrices,*(ii)* the Lyapunov equation holds, *(iii)*the weight tuning law of RBF neural network is adopted as follows:
**where is the i th column of and is the learning rate in range of .*

*Proof. *Select the Lyapunov function
where . Since the state estimation error is , see from (2.4), we get
Adding and subtracting in (3.8), we get
Considering , , and , the above equation can be converted to
Then we get
where is the th column of . And then
If the weight tuning law of the RBF neural network is or , then
then . Therefore, the RBF neural network observer is stable, and .

#### 4. Numerical Simulation Study

A fourth-order longitudinal aircraft model [15] is employed to demonstrate the effectiveness of the proposed method. The longitudinal perturbation equation is linearized in horizontal flight at a speed m/sec and at a height of 12000 m. The system matrices , , and have the following forms: where is state vector and the state variables are forward velocity, attack angle, pitch angle, and pitch angular velocity, respectively. is control input vector, is the left elevator, and is the right elevator.

Nonlinear state observer (3.3) is designed by placing the poles of at −2, −3, −4, and −5. The observer gain matrix is

The nonlinear term is approximated by RBF neural network estimator . It is realized by a three-layer RBF neural network with a 6-8-4 structure. The input layer consists of 6 nodes, and the input vector is . The hidden layer consists of 8 nodes. The output layer is the estimation of nonlinear term . The RBF neural network can be off-line trained during fault-free operation. In practice, will be variable with the changes of flight conditions. Therefore the off-line training and on-line learning can be combined to approximate the nonlinear term , in order to improve the adaptability of the neural network observer.

In the simulation, the left-elevator-stuck fault occurs from sec. The residuals are shown in Figure 2. In Figure 2, we get that the state residuals change significantly at 2 sec and the fault-free residuals before 2 sec are zeros. Faults can be detected by comparing the output residuals with preselected thresholds, which are typically derived from the magnitudes of the residuals during fault-free cases.

#### 5. Conclusions

A new nonlinear observer based on RBF neural network is designed in this paper. The novelty of this work is that instead of approximating the entire nonlinear system with neural network, only the unmodeled part of nonlinear system after linearization is approximated. Furthermore, an RBF neural network that has better performance than the traditional neural networks is employed to design the state observer. The proposed neuro-augmented observer can generate residuals that are essential for fast fault detection. Simulation results of an aircraft model demonstrate the effectiveness of the proposed neuro-augmented observer and exhibit the application prospect of the robust fault detection scheme.

#### References

- B. Jiang and F. N. Chowdhury, “Fault estimation and accommodation for linear MIMO discrete-time systems,”
*IEEE Transactions on Control Systems Technology*, vol. 13, no. 3, pp. 493–499, 2005. View at: Publisher Site | Google Scholar - B. Jiang, Z. Gao, P. Shi, and Y. F. Xu, “Adaptive fault-tolerant tracking control of near-space vehicle using Takagi-Sugeno fuzzy models,”
*IEEE Transactions on Fuzzy Systems*, vol. 18, no. 5, pp. 1000–1007, 2010. View at: Publisher Site | Google Scholar - B. Jiang and F. Chowdhury, “Observer-based fault diagnosis for a class of nonlinear systems,” in
*Proceedings of the American Control Conference (AAC'04)*, pp. 5671–5675, July 2004. View at: Google Scholar - H. Hammouri, M. Kinnaert, and E. H. El Yaagoubi, “Observer-based approach to fault detection and isolation for nonlinear systems,”
*IEEE Transactions on Automatic Control*, vol. 44, no. 10, pp. 1879–1884, 1999. View at: Publisher Site | Google Scholar | Zentralblatt MATH - H. Yang and M. Saif, “Fault detection in a class of nonlinear systems via adaptive sliding observer,” in
*Proceedings of the IEEE International Conference on Systems, Man and Cybernetics*, pp. 2199–2204, October 1995. View at: Google Scholar - W. Chen and M. Saif, “Robust fault detection in uncertain nonlinear systems via a second order sliding mode observer,” in
*Proceedings of the 40th IEEE Conference on Decision and Control (CDC'01)*, vol. 1, pp. 573–578, Orlando, Fla, USA, December 2001. View at: Google Scholar - D. N. Shields, S. A. Ashton, and S. Daley, “Robust fault detection observers for nonlinear polynomial systems,”
*International Journal of Systems Science*, vol. 32, no. 6, pp. 723–737, 2001. View at: Publisher Site | Google Scholar | Zentralblatt MATH - C. Edwards, S. K. Spurgeon, and R. J. Patton, “Sliding mode observers for fault detection and isolation,”
*Automatica*, vol. 36, no. 4, pp. 541–553, 2000. View at: Publisher Site | Google Scholar | Zentralblatt MATH - K. Adjallah, D. Maquin, and J. Ragot, “Non-linear observer-based fault detection,” in
*Proceedings of the 3rd IEEE Conference on Control Applications*, vol. 2, pp. 1115–1120, Glasgow, UK, August 1994. View at: Publisher Site | Google Scholar - J. Wang, J. Zhao, and L. Ma, “A robust fault detection and isolation method via sliding mode observer,” in
*Proceedings of the 5th World Congress on Intelligent Control and Automation Conference (WCICA 2004)*, vol. 2, pp. 1727–1730, June 2004. View at: Google Scholar - C. W. Chan, K. C. Cheung, Y. Wang, and W. C. Chan, “On-line fault detection and isolation of nonlinear systems,” in
*Proceedings of the American Control Conference (ACC'99)*, pp. 3980–3984, June 1999. View at: Google Scholar - R. J. Schilling, J. J. Carroll, and A. F. Al-Ajlouni, “Approximation of nonlinear systems with radial basis function neural networks,”
*IEEE Transactions on Neural Networks*, vol. 12, no. 1, pp. 1–15, 2001. View at: Publisher Site | Google Scholar - H. Zhang, Y. Luo, and D. Liu, “Neural-network-based near-optimal control for a class of discrete-time affine nonlinear systems with control constraints,”
*IEEE Transactions on Neural Networks*, vol. 20, no. 9, pp. 1490–1503, 2009. View at: Publisher Site | Google Scholar - H. Zhang, Z. Liu, G. B. Huang, and Z. Wang, “Novel weighting-delay-based stability criteria for recurrent neural networks with time-varying delay,”
*IEEE Transactions on Neural Networks*, vol. 21, no. 1, pp. 91–106, 2010. View at: Publisher Site | Google Scholar - H. Shousong and Z. Chuan, “An approach to robust fault detection for nonlinear system based on RBF neural network observer,”
*Control Theory & Applications*, vol. 16, no. 6, pp. 853–857, 1999. View at: Google Scholar | Zentralblatt MATH - Y. M. Cho and R. Rajamani, “A systematic approach to adaptive observer synthesis for nonlinear systems,”
*IEEE Transactions on Automatic Control*, vol. 42, no. 4, pp. 534–537, 1997. View at: Publisher Site | Google Scholar | Zentralblatt MATH

#### Copyright

Copyright © 2012 Huajun Gong and Ziyang Zhen. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.