Next Article in Journal
Neuromorphic Spatiotemporal Information Processing Using Neuro-Photodetector Systems
Next Article in Special Issue
A Data-Driven Approach of Takagi-Sugeno Fuzzy Control of Unknown Nonlinear Systems
Previous Article in Journal
Curcumin Nanocrystals: Production, Physicochemical Assessment, and In Vitro Evaluation of the Antimicrobial Effects against Bacterial Loading of the Implant Fixture
Previous Article in Special Issue
Reactance Regulation Using Coils with Perpendicular Magnetic Field in the Tubular Core design
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fault Diagnosis for a Class of Robotic Systems with Application to 2-DOF Helicopter

by
Luis Alejandro Ramírez
1,†,
Manuel Alejandro Zuñiga
1,†,
Gerardo Romero
1,*,†,
Efraín Alcorta-García
2,† and
Aldo Jonathan Muñoz-Vázquez
3,†
1
Electronics Department at U.A.M. Reynosa-Rodhe, Universidad Autónoma de Tamaulipas, Reynosa C.P. 88779, Tamaulipas, Mexico
2
Facultad de Ingeniería Mecánica y Eléctrica, Universidad Autónoma de Nuevo León, San Nicolás de los Garza C.P. 66455, Nuevo León, Mexico
3
College of Engineering, Texas A & M University, Higher Education Center at McAllen, McAllen, TX 78504, USA
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Appl. Sci. 2020, 10(23), 8359; https://doi.org/10.3390/app10238359
Submission received: 23 October 2020 / Revised: 18 November 2020 / Accepted: 22 November 2020 / Published: 25 November 2020
(This article belongs to the Special Issue Control and Soft Computing)

Abstract

:
This paper considers a general approach to fault diagnosis using a generalized Hamiltonian system representation. It can be considered that, in general, nonlinear systems still represent a problem in fault diagnosis because there are results only for a specific class of them. Therefore, fault diagnosis remains a challenging research area despite the maturity of some of the available results. In this work, a type of nonlinear system that admits a generalized Hamiltonian representation is considered; in practice, there are many systems that have this kind of representation. Thereupon, an approach for fault detection and isolation based on the Hamiltonian representation is proposed. First, following the classic approach, the original system is decoupled in different subsystems so that each subsystem is sensitive to one particular fault. Then, taking advantage of the structure, a simple way to design the residuals is presented. Finally, the proposed scheme is validated at the two-degree of freedom (DOF) helicopter of Quanser®, where the presence of faults in sensors and actuators were considered. The results show the efficacy of the proposed scheme.

1. Introduction

Most dynamic systems, such as industrial processes, need to operate in a continuous and safe manner; therefore, effective fault diagnosis is key to ensuring that happens. Some of the objectives of fault diagnosis are to detect, identify and localize faults as soon as possible in order to have time to take possible corrective actions. Fault diagnosis has been an area of great interest regarding dynamic systems research. However, despite the maturity of some of the available results reported in the literature, see for example in ref. [1], fault diagnosis remains a challenging research area. The main achievements of fault diagnosis available in the literature are regarding linear systems, for which a complete analysis of fault isolability is available. Simultaneous fault occurrence has also been considered. For nonlinear systems there are also some tools, like the structural analysis, within a fault isolability structural analysis is possible. Some of these challenges are the search of a general approach for nonlinear systems, isolation of faults occurring simultaneously, as well as the fault isolation of different types of faults (sensor, component and actuator faults).
There are many results reported for linear systems, see for example in refs. [1,2,3,4]. As well as some results reported for a class of non-linear systems, as can be seen in refs. [2,5,6,7]. Model-based fault diagnosis of nonlinear systems has been revised in refs. [2,5,6]. One of the first approaches working with fault diagnosis of nonlinear systems has been considered in ref. [8], where an algebraic decoupling approach was proposed. In ref. [7] a geometric approach is proposed and existence conditions for fault decoupling were given; however, the problem of residual generation was actually not completely solved. A soft computing-based approach has been revised in ref. [9]. Soft computing algorithms offer numerically reliable solutions for the fault diagnosis problem of nonlinear systems. However, these approaches does not take advantage of the system structure when the model is known. Fault estimation in non-linear systems has been proposed in refs. [10,11,12] using a sliding mode approach; nevertheless, it is required that a matching condition is satisfied. Another work is in ref. [13], where a way to fault estimation in a class of nonlinear systems by using a sliding observer approach was proposed.
Other papers, such as [14], use different techniques to detect faults in insulators of high voltage transmission lines through the use of drones to take aerial images, which are analyzed using image processing. Detection, classification, and location of faults in electrical power transmission systems are presented in [15]. To do this, the authors use methods based on artificial intelligence. Application of fault detection techniques to hydraulic systems and manipulator robots are presented in [16,17], respectively. In [18] provides a fault detection method and a fault tolerance control mechanism for a quadrotor to achieve a safe flight even when a single rotor is damaged. This method is also based on observers; however, they do not present experimental results, unlike our work. Other results that only consider the control problem for robotic systems such as those presented in this paper, without considering fault detection, are presented in [19,20]. In general, any control algorithm that guarantees the stabilization of the closed-loop system can be used. In this particular paper, a PD controller is used.
A more classical approach for sensor fault diagnosis using Kalman filtering has been considered in ref. [21]. In ref. [22], actuator fault diagnosis was considered by using a nonlinear adaptive observer. It is worth to note that even when the two methods used in fault diagnosis of sensors and actuators rendered good results, they are purpose-specific. A recent result that takes advantage of knowing the system’s structure has been proposed in refs. [23,24], where a Hamiltonian representation is used for fault isolation in a planar vertical take-off and landing (PVTOL) of an aircraft model.
This work considers a general approach to fault diagnosis using a generalized Hamiltonian system representation. Sensor and actuator additive faults are analyzed in a whole frame and then decoupling techniques are used to obtain a set of subsystems, so that each subsystem is sensible only for one fault (or to a specific set of coupled faults). Additionally, an approach to residual design is considered. The proposed approach is applied to a case study: a two-degree of freedom (DOF) helicopter, a laboratory model of the brand Quanser®. The scheme is tested by both simulations and by the implementation of a laboratory facility test. Experimental results confirm the obtained results. There are other methods applied to the problem of fault detection, such as the one presented in [25] where the authors use an observed-based fault-detection schema for Takagi–Sugeno (T-S) fuzzy systems, which consists of approximates a non-linear system by convex combinations of locally linearized systems, using fuzzy rules type “if-then”. This method is suitable to be applied in processes represented by non-linear models in general. However, it is important to mention that the purpose of the present paper is to provide a novel methodology for fault detection in mechanical systems, which can be characterized using a generalized Hamiltonian structure, with an application to the case of a 2-DOF Quanser Helicopter. It is worth remarking that, even if the class of generalized Hamiltonian systems seems to be a bit restrictive at first glance, we can realize that most mechanical systems can be rewritten in the generalized Hamiltonian form. Besides, a larger class of dynamic systems with twice continuously differentiable right-hand sides and affine control input can be transformed into generalized Hamiltonian systems for a well-suited design of the generalized Hamiltonian function. Therefore, even if a study of systems that can be transformed into generalized Hamiltonian systems is of great interest, such a study is beyond the present paper’s scope.
This paper is organized as follows: in the next section, preliminaries such as a review of Hamiltonian system representation and some general concepts on fault diagnosis are discussed. In Section 3 the fault isolation based on the Hamiltonian structure is shown. Actually, this proposal represents a more general result that the one presented by in ref. [23], see also in ref. [24]. In Section 4 the study case is presented by means of a model of a two degree of freedom helicopter with its corresponding Hamiltonian representation. Fault modeling, fault decoupling and residual generation are also discussed in this section. Simulations and experimental results, as well as a discussion of the obtained results compared to different cases, are presented in Section 5. Finally, conclusions are provided in Section 6.

2. Preliminaries

Some well-known results are revised in this section in order to make the paper as thorough as possible.

2.1. Generalized Hamiltonian Systems

Consider a non-linear system
x ˙ = f ( x , u ) ,
y = h ( x ) ,
where x R n is the state vector, u R p and y R m are the input and output of the system, respectively. f and h are continuous and smooth vector fields. Some non-linear systems can be represented in Generalized Hamiltonian form, described in refs. [26,27,28], which is given by:
x ˙ = [ J ( x ) + S ( x ) ] H ( x ) x + F ( x ) + G u ,
where G is a constant matrix, J ( x ) is an interconnection matrix, associated with a simple bi-linear form, that represents the conservative part of the system, S ( x ) is a symmetric matrix that is not necessarily sign defined. Both matrices should satisfy, for every x, the following conditions:
J ( x ) = J T ( x ) ,
S ( x ) = S T ( x ) .
H ( x ) is a function of real values, smooth and positive definite, and can be understood as the generalized energy, defined as
H ( x ) = 1 2 x T M x ,
where M is a constant matrix, symmetric and positive definite, H ( x ) / x is the gradient of H ( x ) . Finally, F ( x ) is a vector field that contains the non linear terms of the system.

2.1.1. Non-Linear Observer for Generalized Hamiltonian Systems

A non-linear observer for the generalized Hamiltonian is considered in refs. [24,27]. Considering the linear mapping of the output y given by
x ˙ = [ J ( y ) + S ( y ) ] H ( x ) x + F ( x ) + G u ,
y = C H ( x ) x ,
where C is a constant matrix of an appropriate dimension. Therefore, an observer for the system (7) and (8) is defined by
x ^ ˙ = [ J ( y ) + S ( y ) ] H ( x ^ ) x ^ + F ( x ^ ) + G u + K ( y η ) ,
η = C H ( x ^ ) x ^ ,
where K is the observer gain, x ^ the estimated state, η the estimated output, in terms of x ^ , and H ( x ^ ) / x ^ = M x ^ is the gradient vector.
The error of state estimation is defined as e = x x ^ , while the estimation error of output is e y = y η .
e ˙ = J ( y ) H ( e ) e + [ S K C ] H ( e ) e + F ˜ ( x , x ^ ) ,
e y = C H ( e ) e ,
where F ˜ ( x , x ^ ) = F ( x ) F ( x ^ ) , and
H ( e ) e = H ( x ) x H ( x ^ ) x ^ = M ( x x ^ ) = M e .
The design conditions are described in the following theorem, see refs. [24,27]:
Theorem 1.
The state x of the nonlinear system (7) and (8) can be estimated by system (9) and (10) if the pair ( C , S ) is observable or at least detectable and the matrix
Ξ = M S 1 2 ( K C + C T K T ) M + Π ,
where Π = 1 2 M F ( x ) x + F ( x ) x T M is negative definite. In the above conditions e * = 0 is locally exponentially stable.
Proof. 
See Appendix A. □

2.2. Fault Diagnosis

Information redundancy is used to determine if a fault occurs in a system. A form of redundancy is achieved by duplicating and tripling measuring elements, actuators and in some cases, components of a system, which is called physical redundancy. Redundancy can also be analytical, when information on the signals being measured is obtained through the use of models and/or output observers.
Generally, the models of a system are used to estimate the value of the output. The difference between the measurement of the output and the estimate is used to construct a signal that ideally depends only on the fault (in case it is present), this signal is called residual, which is close to zero in case there are no faults present in the system. Alternatively, residual can be also defined using the output estimation error of an output observer, see ref. [29] and Figure 1.
Different methods depend on the different types of models that can be obtained. Sometimes, instead of using the model directly, an observer is used (model plus correction factor for the estimation error). In this case, there is an additional degree of freedom in the selection of the observer’s gain that can be used to determine the radius of convergence of the estimation error to zero in the absence of failures. The gain of the observer can be used to discriminate between faults, to emphasize the effect of one residual over the others, as can be seen in ref. [29].
The way in which the gain is selected can, in many cases, allow us not only to achieve detection, but also to isolate faults. Thus, in order to achieve the fault diagnosis, it would only be necessary to identify the fault.
A different situation occurs when the model is not initially available. In this case, there is a wide range of proposals in the literature, as can be seen in ref. [4]. In general, model-free schemes operate in two steps: first, a model or a residual generator is estimated by using input and output data that has no failures; second, once this residual generator (or model) is available, it is used to detect and/or isolate the faults. It should be mentioned that these techniques presuppose a model (of the system) in the form of a difference or differential equation.
Note that even though these last methods emphasize that they do not need a system model (at least initially), they eventually end up inferring the model and implementing it. The latter is, however, transparent to the user.

3. Fault Isolation Based on Hamiltonian Structure

The main idea of this work is to present a general approach to fault detection and isolation based on a Hamiltonian system representation. The results are based on the observation that only additive actuator and sensor faults are being considered.

3.1. Fault Decoupling

Fault decoupling using a nonlinear transformation has been considered in ref. [8], see also in ref. [5]. However, as observed in ref. [30], a class of nonlinear systems can be decoupled from some additive faults using a constant state transformation.
Consider the class of generalized Hamiltonian systems described as in (7) and (8) with the additive actuator and sensor fault representation:
x ˙ = [ J ( y ¯ ) + S ( y ¯ ) ] H ( x ) x + F ( x ) + G u + E f f a ,
y = C H ( x ) x + f s ,
where E f is a constant matrix with n rows and as much columns as actuator faults. f s is a vector whose elements represent sensor faults. y ¯ represent the system output without faults (which is not available).
Consider a decoupling transformation T, which does not requires to be a square matrix (i.e., T n 1 × n , with n 1 < n ):
z = T x z ˙ = T x ˙ = T [ J ( y ) + S ( y ) ] H ( x ) x + F ( x ) + G u + E f f a ,
and T should satisfy T E f i = 0 , with E f i the i-th column of E f , in order to obtain a subsystem robust to the actuator fault f a i . Note that because y ¯ is not available but y is, the subsystem will be sensible to sensor faults. Note that the Hamiltonian structure is not necessarily preserved after the decoupling transformation, because of the constant transformation, it is always possible to represent the decoupled subsystem with a Hamiltonian structure.
To make the analysis of fault dependencies easier, we filled a table with information about the designed properties of the residual with respect to fault dependency. If a perturbation is present, it needs to be included in the analysis to find out whether it is possible or not to distinguish not only between the faults but also the perturbation. A residual generator for the decoupled subsystems can be designed using the procedure described in 2.1.1. However, following in ref. [29] it is required an output observer instead of a state observer. Taking advantage of structure preservation after state transformation, a residual generator can be designed following the procedure presented in this Section 2.1.1.

3.2. Residual Evaluation

After a residual generator is designed. It should be implemented to obtain the signals, called residuals, that will be used to get the information about the faults. Ideally, the residuals are zero if no faults are present and only different from zero when a fault is present. In practical situations, however, the residual will not be zero because of model uncertainty of small perturbations. In order to avoid false alarms a residual evaluation procedure is included. The idea is to use the obtained signals (residuals) as an argument of a function. for simplicity, a memory-less function is used which make the residual positive. In this paper an absolute value function is utilized. The result of the absolute value is compared to a (fix) threshold. An active residual is declared only when the resulting absolute value of the residual is bigger than the threshold. Otherwise the residual is declared as non-active. The analysis of active/non-active residuals brings us the information if a fault is present and in the case which one is.
When a perturbation and a fault are acting on the same channel, that is called a coupled, and there is no way to distinguish between them using this method. Thus, to be able to distinguish between a perturbation and a specific fault it is required that first, the decoupling approach presented in Section 3.1 produces two different subsystems and, then to design a residual generator for each of them.

4. Study Case

An application example is presented in this section. The system is a laboratory device, a two degree of freedom helicopter of Quanser®.

4.1. 2-Dof Helicopter

Consider the Quanser® 2-DOF helicopter, a testing prototype that is on a fixed pedestal (that does the pivot function) and has two motors, one front for lift and one rear or tail for yaw, Figure 2.
The system model can be written in normal way through following nonlinear second order equation, matrix form:
D ( q ) q ¨ + N ( q , q ˙ ) + g v ( q ) = τ ,
where τ is the input vector, g v ( q ) is the vector of gravitational pairs, D ( q ) is the inertial matrix, symmetric and positive definite, N ( q , q ˙ ) models the quadratic effects in velocity generated by centrifugal and Coriolis forces. For the Quanser® system, it is convenient to define the generalized coordinate vector q = [ ϕ , ψ ] T , where ϕ and ψ are the pitch and yaw angles. Consider τ = [ U p , U y ] T , and
D ( q ) = m 1 l 1 2 + m 2 l 2 2 0 0 m 1 l 1 2 cos 2 ( ϕ ) + m 2 l 2 2 cos 2 ( ϕ ) , g v ( q ) = m 1 g l 1 cos ( ϕ ) m 2 g l 2 cos ( ϕ ) 0 .

4.2. Hamiltonian Representation

Similar to ref. [28], consider the generalized moment p ( t ) , defined by
p = D ( q ) q ˙ ,
and the Hamiltonian function
H ( q , p ) = 1 2 p T D 1 ( q ) p + U ( q ) ,
where U ( q ) represents the potential energy of system. Thus, the system (17) can be written as
q ˙ = H ( q , p ) p = D 1 ( q ) p ,
p ˙ = H ( q , p ) q + τ ,
p ˙ = q 1 2 p T D 1 ( q ) p q U ( q ) + τ ,
where q U ( q ) = g v ( q ) .
Equations that represent dynamics of system are the following:
x ˙ 1 = x 3 l 2 ( m 1 + m 2 ) ,
x ˙ 2 = x 4 l 2 cos 2 ( x 1 ) ( m 1 + m 2 ) ,
x ˙ 3 = x 4 2 sin ( x 1 ) l 2 cos 3 ( x 1 ) ( m 1 + m 2 ) g l cos ( x 1 ) ( m 1 m 2 ) + U p ,
x ˙ 4 = U y ,
for x T = [ x 1 x 2 x 3 x 4 ] the state vector with x 1 = ϕ , x 2 = ψ , x 3 = ϕ ˙ and x 4 = ψ ˙ . It is important to mention that the control law τ = [ U p , U y ] T used to stabilize the closed loop control system is a PD type controller that was tuned using the method presented in ref. [31]. Table 1 shows the description of the parameters used in the previous equations.
Now, considering the generalized Hamiltonian function
H = 1 2 x T x ,
with M = I 4 × 4 , starting of (3), results the generalized Hamiltonian function
x ˙ = J ( x ) H ( x ) x + S ( x ) H ( x ) x + F ( x ) + G U p U y u ,
y = C H ( x ) x ,
where,
H x = x , J ( x ) = [ 0 ] R 4 x 4 , S ( x ) = [ 0 ] R 4 x 4 , F ( x ) = x 3 l 2 ( m 1 + m 2 ) x 4 l 2 cos 2 ( x 1 ) ( m 1 + m 2 ) x 4 2 sin ( x 1 ) l 2 cos 3 ( x 1 ) ( m 1 + m 2 ) g l cos ( x 1 ) ( m 1 m 2 ) 0 , G = 0 0 0 0 1 0 0 1
with
C = 1 0 0 0 0 1 0 0 .

4.3. Fault Modeling

For this system, four possible faults are considered, one for each sensor and one for each actuator. The faults could be additive or multiplicative, in this paper, we focus on the case of additive faults, which are modeled as exogenous inputs to the system. The faults can be incipient, abrupt or intermittent, depending on the form in which the faults are manifested, see refs. [1,2,3].

4.3.1. Additive Faults Representation

The additive faults are modeled with inputs in the actuators channel f a i , as well as in the output channel f s i , with i = 1 , 2 , 3 . This corresponds to
x ˙ = J ( x ) H ( x ) x + S ( x ) H ( x ) x + F ( x ) + G u + E f f a 1 f a 2 ,
y = C H ( x ) x + f s 1 f s 2 ,
where
E f = 0 0 0 0 1 0 0 1 .

4.3.2. Fault Decoupling

Sensor Faults

In the case of sensor faults, only one sensor is considered as output. So, a residual is generated through the corresponding observer in the observable part of the system. For this case, the sensor faults, an observer of complete order is considered. The output estimation error will be used as a residual. Thus two residuals are obtained, one for each sensor.
Subsystem 1. For the first sensor, we consider the subsystem formed by the following equations, assuming that x 2 is free of fault:
x ˙ 1 = x 3 l 2 ( m 1 + m 2 ) ,
x ˙ 3 = x 4 2 sin ( x 1 ) l 2 cos 3 ( x 1 ) ( m 1 + m 2 ) g l cos ( x 1 ) ( m 1 m 2 ) + U p ,
x ˙ 4 = U y ,
y s 1 = x 1
Subsystem 2. For the second subsystem we assume that x 1 is free of fault, the following equations form the second subsystem:
x ˙ 2 = x 4 l 2 cos 2 ( x 1 ) ( m 1 + m 2 ) ,
x ˙ 4 = U y ,
y s 2 = x 2

Actuator Faults

Similar to the case of sensor faults, we obtained the decoupled subsystems that are sensitive only to one particular fault, in this way, the residual is generated from an observer based on output feedback.
Subsystem 3. For the first actuator fault ( f a 1 ), the residual occurs in the channel of U p since x 1 is known, and assuming that x 2 is free of fault.
x ˙ 1 = x 3 l 2 ( m 1 + m 2 ) ,
x ˙ 3 = x ˙ 2 l 2 cos 2 ( x 1 ) ( m 1 + m 2 ) 2 sin ( x 1 ) l 2 cos 3 ( x 1 ) ( m 1 + m 2 )
g l cos ( x 1 ) ( m 1 m 2 ) + U p ,
y a 1 = x 1 .
Note that x 4 is not available, it can be obtained from the dynamic of the system as:
x 4 = x ˙ 2 l 2 cos 2 ( x 1 ) ( m 1 + m 2 ) .
Subsystem 4. For to appreciate the fault in the second actuator ( f a 2 ) is considered the following equations.
x ˙ 2 = x 4 l 2 cos 2 ( x 1 ) ( m 1 + m 2 ) ,
x ˙ 4 = U y ,
y a 2 = x 2 .
Remark 1.
Note that for fault decoupling an inspection procedure is used instead of a nonlinear transformation, i.e., for sensor i, the output is selected (omitting all other outputs) as well as all differential equations associated with the states that explicitly appear in the selected output and the ones required to complete the states present in the differential equations selected.
Remark 2.
The subsystem for sensor fault 2 and actuator 2 is the same, so only one will be used.

4.4. Residual Design

The observer-based residuals are built following the method presented in Section 3.
For the construction of the residual generator sensible to sensor fault 1, we considered the first subsystem:
x ˙ 1 = x 3 l 2 ( m 1 + m 2 ) ,
x ˙ 3 = x 4 2 sin ( x 1 ) l 2 cos 3 ( x 1 ) ( m 1 + m 2 ) g l cos ( x 1 ) ( m 1 m 2 ) + U p ,
x ˙ 4 = U y ,
y s 1 = x 1 ,
it leads to its generalized Hamiltonian representation, with
H x = [ x 1 x 3 x 4 ] T .
In this mode, we have to:
J ( x ) = [ 0 ] R 3 x 3 ,
S ( x ) = [ 0 ] R 3 x 3 ,
F ( x ) = x 3 l 2 ( m 1 + m 2 ) x 4 2 sin ( x 1 ) l 2 cos 3 ( x 1 ) ( m 1 + m 2 ) g l cos ( x 1 ) ( m 1 m 2 ) 0 ,
G = 0 1 0 0 0 1 ,
C = 1 0 0
The pair ( C , S ) is detectable agree with the definition 2.1 in ref. [27] since the matrix C λ I 3 × 3 S is of full rank for any value of λ in Z < 0 = { λ ¯ Z : { λ ¯ } < 0 } . So, the residual is defined from the observer,
x ^ ˙ 1 = x ^ 3 l 2 ( m 1 + m 2 ) + L 1 ( y 1 x ^ 1 ) , x ^ ˙ 3 = x ^ 4 2 sin ( x 1 ) l 2 cos 3 ( x 1 ) ( m 1 + m 2 ) g l cos ( x 1 ) ( m 1 m 2 ) + U p , x ^ ˙ 4 = U y , y ^ s 1 = x ^ 1
Note that the residual is designed from a copy of the original subsystem and the correction factor L 1 ( y 1 y ^ 1 ) .
For the fault in the second sensor ( f s 2 ) , and the faults in the two actuators ( f a 1 ) and ( f a 2 ) , the decoupling is similar to the procedure utilized in the fault ( f s 1 ) . In Table 2, a summary of the sensitivity of each one of the different faults is presented, where means that the subsystem is sensitive to the corresponding fault.
In the table we can to see that the subsystem 2 and 4 have the same sensitivity to the faults f s 1 , f s 2 , f a 2 , therefore, one of them does not provide additional information. The four residuals are obtained assuming that only one fault at a time is present, and not all of them simultaneously. A residual is obtained by considering a derivative in time, so obtaining this derivative could be a difficult task in the presence of noise. It is important to notice that the generation of residuals based on observers constitutes a reliable option to reduce noisy effects, by virtue of the inherent filtering characteristic of the observer, see ref. [24].
The considered design allows us to isolate all single faults. However, when more than one simultaneous fault is present, an alarm can be activated, but we cannot know which faults are involved.

5. Results

Two types of results are provided in this section. First, simulation results are used to verify the designed fault isolation schema. After, an experimental laboratory device is used to implement the designed residuals. Two types of faults are considered, actuator and sensor faults.

5.1. Fault Scenaries

Two additive actuator faults and two additive sensor faults are considered. The different considered cases are presented in Table 3.

5.2. Simulation Results

The simulation was performed in Simulink to MATLAB®. The parameters shown in Table 4 were obtained from the actual 2-DOF helicopter of Quanser® and those were used to obtain the simulation results shown in Figure 3 and Figure 4.
Sensor Fault 1. Figure 3 shows the behavior of the residuals when the fault f s 1 is present. When the fault f s 1 occurs, all three residuals present sensitivity to the fault; this can be noticed because they are different from zero, indicating they are sensitive to the fault.
Actuator Fault 1. Figure 4 shows the behavior of the residuals when the fault f a 1 is present. As can be noticed, the residuals r 1 and r 3 respond to this fault because are differ from zero indicating sensitivity to the fault, while the residual r 2 is zero at all times, due its insensitivity to the fault.

5.3. Experimental Results

To validate the proposed scheme, a test on a physical real-time helicopter was performed. The experimental platform shown in Figure 5 and its corresponding schematic diagram in Figure 6 which shows the communication and data directly between the devices and the software. First of all, it is necessary to control the system to carry out the detection of faults. Because the 2-DOF system is in a closed loop, is possible to implement a PID control. The experimental platform consists of two motors, a lift motor that causes the pitch motion, and a tail motor, which produces the yaw motion. DC motors with a nominal voltage of 12 volts. The platform parameters are shown in Table 4. The Labview software was used as a programming platform, it contains the control law to stabilize the system and the algorithm to fault diagnosis; the SCB-68A board from National Instrumens® and an Arduino® Mega 2560 board with 56 input/output pins were used as an interface for communication between the physical system and the software. For the power part, a SparkFun® Monster Moto Shield H-bridge was used with a voltage capacity of 16 volts, 30 amps of current and 20 KHz of PWM frequency. The sensing was carried out by two rotary optical encoders, one placed at the base of the platform, which allows the yaw angle to be measured, ψ , and the other placed in the center of the platform which measures pitch angle ϕ .
The information of the angles and angular velocities of pitch and yaw are obtained through the SCB-68A board, the fault detection and control algorithm processes the information and feeds back the controlled signal to the interface consisting of two devices, the SCB-68A board and the Arduino® Mega 2560, which transforms the signal to PWM; taking the PWM signal as input, the power device supplies the motors with voltage. The data acquired is processed in the Matlab® software to obtain the graphs of the behavior of the residuals.
To produce faults in the physical system, external signals to the system were injected into both sensors and actuators, one at a time. Is important to mention that the produced faults in each of the physical tests, were in a proportion of 50% with respect to the output.
The threshold of the normalized residual evaluation is presented in each of the cases in which the faults occur. The threshold for sensor failure is ± 5 and the threshold for actuators failure is ± 10 , these values were chosen based on the structure and dynamics of the decoupled equations.
Sensor Fault 1. Figure 7 and Figure 8 show the response of the residuals to the sensor fault f s 1 , where the residuals that differ from zero indicate sensitivity to the fault. According to the signature table, all residues response to the fault.
Sensor Fault 2. Figure 9 and Figure 10 show the response of the residuals to the sensor fault f s 2 . As can be noticed, in the case when a fault in sensor two exists, the residuals r 2 and r 3 differ from zero, indicating sensitivity to the fault.
Actuator Fault 1. Figure 11 and Figure 12 show the response of the three residuals when the actuator fault f a 1 is present. Note that the fault effects on residuals 1 and 3 occur when they are different from zero, due to their sensitivity to the fault.
Actuator Fault 2. Figure 13 and Figure 14 show the response to residual to the actuator fault f a 2 . Where the residuals r 1 and r 2 response to this fault. The residuals are different from zero, indicating sensitivity to the fault while the r 3 remains very close to zero indicating insensitivity to the fault.

5.4. Discussion

Due to the structure and dynamics of the system under study, a state-coupling is presented; this exposes an important complication for fault detection. The problem is attacked by decoupling each fault, thus ensuring that each residual generated is sensitive to a specific fault. We can observe that when a fault occurs in sensor 1, according to Table 2 of sensitivity of the residuals with respect to the fault, this must be manifested in all the residues. However, we can see in Figure 7, which shows the behavior of the residues sensitive to this fault, which shows the behavior of the residues sensitive to this fault, that the residual 2 presents a tenuous response compared to residual r 1 and r 3 ; this could be confused with the behavior of the residuals of actuator 1 as shown in Figure 11. However, observing the scale of the residuals, it is easy to distinguish when any of the two faults are present, since the residual r 2 in the presence of the fault in sensor 1 shows a greater magnitude, than compared to the r 2 in the presence of the fault on actuator 1 is very small in magnitude that we can say it is zero.
The experimentation data were obtained through the LabView software, and to show the experimentation data, the graphs were performed in the Matlab software. The difference in the time scale between the presented simulation and the experimentation graphs is due to the time it takes to adjust the sensor (encoder). In the simulation graphs, once the algorithm has started, the data begins to be recorded; therefore, the time starts at zero. However, in each new test performed during the experimentation was necessary to establish the zeros of the angles (pitch, yaw), which takes more than a minute; therefore, the time in the graph does not start at zero.

6. Conclusions

For a wide range of dynamic systems, which admit a Hamiltonian representation, it is possible to apply a systematic fault detection procedure in order to detect and isolate a set of faults. The results are not dependent on a specific controller (in the case of closed-loop controlled system). Further, in order to design fault-specific residuals (residuals sensible to a specific fault or a subset of faults) nonlinear decoupling is used. This decoupling procedure can be also used to look for a decoupling of perturbations too. In order to avoid false alarms, an evaluation function and a threshold is used with the obtained residual. The fault signature matrix, obtained as a result of the decoupling and residual generation will be used to associate a specific fault to the behavior of the residual (active for specific faults and inactive for the rest of faults (or perturbations). The fault isolation results have been tested on a laboratory test facility of a 2-DOF helicopter. An experimental test shows the effectiveness of the proposed approach. Some problems associated with physical implementation have been solved. Non-permanent fault has been used in the experimental setup. Future work includes the search for minimum fault sizes that can be detected (optimize for small faults). The time for detection should be reduced as well as the consideration of additional information in order to isolate structural-coupled faults (or perturbations) as the sign of residuals of patterns in them. Another topic that could be addressed as future work is developing control algorithms that take into account the failure reconfiguration to get a fault-tolerant control system.

Author Contributions

Conceptualization, L.A.R., M.A.Z., G.R., E.A.-G., A.J.M.-V.; methodology, L.A.R., M.A.Z., G.R., E.A.-G., A.J.M.-V.; software, L.A.R., M.A.Z., G.R.; validation, L.A.R., M.A.Z.; formal analysis, G.R., E.A.-G., A.J.M.-V.; investigation, L.A.R., M.A.Z., G.R., E.A.-G., A.J.M.-V.; resources, G.R.; writing—original draft preparation, L.A.R., M.A.Z., G.R., E.A.-G., A.J.M.-V.; writing—review and editing, L.A.R., M.A.Z., G.R., E.A.-G., A.J.M.-V.; visualization, L.A.R., M.A.Z., G.R., E.A.-G., A.J.M.-V.; supervision, G.R., E.A.-G., A.J.M.-V.; project administration, G.R.; funding acquisition, G.R. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Universidad Autónoma de Tamaulipas, under grants PROINNOVA-2018- 250105, PROINNOVA-2018-250586, PROINNOVA-2018-250540, PROINNOVA-2018-250113, PROINNOVA-2018- 250117, PROINNOVA-2018-250160 and PROINNOVA-2018-250255 and by Conacyt.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Proof. 
Firstly, note that, since the pair ( S , C ) is assumed to be observable, or at least detectable, there exists a feedback matrix gain K, such that the proper values of [ S K C ] are located in the closed left-half of the complex plane.
Then, consider the quadratic form H ( e ) = 1 2 e T M e , which is positive for any e 0 , given that M is a positive definite symmetric matrix. Besides, note that H ( e ) is continuous at the origin and that H ( 0 ) = 0 . Therefore, H ( e ) qualifies as a candidate Lyapunov function.
Calculating the derivative of H ( e ) along the (11)–(12) leads to
H ˙ ( e ) = e T M e ˙ = e T M J ( y ) H ( e ) e + e T M [ S K C ] H ( e ) e + e T M F ˜ ( x , x ^ )
Now, using H ( e ) e = M e , one has that
H ˙ ( e ) = e T M J ( y ) M e + e T M [ S K C ] M e + e T M F ˜ ( x , x ^ )
Thus, since J is a skew-symmetric matrix, one has that e T M J ( y ) M e = ( M e ) T J ( y ) ( M e ) = 0 . Then,
H ˙ ( e ) = e T M [ S K C ] M e + e T M F ˜ ( x , x ^ )
Besides, considering that any scalar is trivially a 1 × 1 -symmetric matrix, e T M [ S K C ] M e = e T M [ S T C T K T ] M e , or equivalently e T M [ S K C ] M e = e T M S 1 2 ( K C + C T K T ) M e due to S is symmetric, producing
H ˙ ( e ) = e T M S 1 2 ( K C + C T K T ) M e + e T M F ˜ ( x , x ^ )
with matrix S 1 2 ( K C + C T K T ) being at least negative semi-definite.
Finally, expanding Taylor series of F ( x ) around of x ^ , one has that
F ( x ) = F ( x ^ ) + F ( x ^ ) x e + ϑ ( e ) ,
for some ϑ ( e ) , with | | ϑ ( e ) | | k ν | | e | | 2 , for constant k ν and small enough e; or equivalently
F ˜ ( x , x ^ ) = F ( x ^ ) x e + ϑ ( e ) .
Moreover, using
e T M F ( x ^ ) x e = 1 2 e T M F ( x ^ ) x + F ( x ^ ) x M e T = e T Π e T
one has that
H ˙ ( e ) = e T M S 1 2 ( K C + C T K T ) M e + e T Π e T + e T M ϑ ( e ) = e T Ξ e + e T M ϑ ( e ) ,
where the maximum eigenvalue of Ξ fulfills σ M ( Ξ ) < 0 . Then, for a sufficiently small e, one has that H ˙ ( e ) γ H ( e ) , for some γ > 0 , and consequently e 0 exponentially. □

References

  1. Isermann, R. Fault-Diagnosis Applications: Model-Based Condition Monitoring: Actuators, Drives, Machinery, Plants, Sensors, and Fault-Tolerant Systems; Springer Science & Business Media: Berlin, Germany, 2011. [Google Scholar]
  2. Chen, J.; Patton, R. Robust Model-based Fault Diagnosis for Dynamic Systems; Springer Science & Business Media: Boston, MA, USA, 1999. [Google Scholar]
  3. Ding, S. Model-Based Fault Diagnosis Techniques: Design Schemes, Algorithms, and Tools; Springer Science & Business Media: Berlin, Germany, 2008. [Google Scholar]
  4. Ding, S. Data-Driven Design of Fault Diagnosis and Fault-Tolerant Control Systems; Springer Science & Business Media: London, UK, 2014. [Google Scholar]
  5. Alcorta-García, E.; Frank, P.M. Deterministic nonlinear observer-based approaches to fault diagnosis: A survey. Control. Eng. Pract. 1997, 5, 663–670. [Google Scholar] [CrossRef]
  6. Bokor, J.; Szabó, Z. Fault detection and isolation in nonlinear systems. Annu. Rev. Control. 2009, 33, 113–123. [Google Scholar] [CrossRef]
  7. de Persis, C.; Isidori, A. A geometric approach to nonlinear fault detection and isolation. IEEE Trans. Autom. Control. 2001, 46, 853–865. [Google Scholar] [CrossRef] [Green Version]
  8. Seliger, R.; Frank, P.M. Fault-diagnosis by disturbance decoupled nonlinear observers. In Proceedings of the 30th IEEE Conference on Decision and Control, Brighton, UK, 11–13 December 1991; pp. 2248–2253. [Google Scholar]
  9. Calado, J.M.; Korbicz, J.; Patan, K.; Patton, R.J.; da Costa, J.M.S. Soft Computing Approaches to Fault Diagnosis for Dynamic Systems. Eur. J. Control 2001, 7, 248–286. [Google Scholar] [CrossRef]
  10. Duan, G.; Patton, R. Robust fault detection using Luenberger-type unknown input observers-a parametric approach. Int. J. Syst. Sci. 2001, 32, 533–540. [Google Scholar] [CrossRef]
  11. Edwards, C.; Spurgeon, S.; Patton, R. Sliding mode observers for fault detection and isolation. Automatica 2000, 36, 541–553. [Google Scholar] [CrossRef]
  12. Venkatasubramanian, V.; Rengaswamy, R.; Yin, K.; Kavuri, S. A review of process fault detection and diagnosis: Part I: Quantitative model-based methods. Comput. Chem. Eng. 2003, 27, 293–311. [Google Scholar] [CrossRef]
  13. Jiang, B.; Staroswiecki, M.; Cocquempot, V. Fault estimation in nonlinear uncertain systems using robust/sliding-mode observers. IEEE Control Theory Appl. 2004, 151, 29–37. [Google Scholar] [CrossRef]
  14. Han, J.; Yang, Z.; Zhang, Q.; Chen, C.; Li, H.; Lai, S.; Hu, G.; Xu, C.; Xu, H.; Wang, D.; et al. A Method of Insulator Faults Detection in Aerial Images for High-Voltage Transmission Lines Inspection. Appl. Sci. 2019, 9, 9. [Google Scholar] [CrossRef] [Green Version]
  15. Raza, A.; Benrabah, A.; Alquthami, T.; Muhammad, A. A Review of Fault Diagnosing Methods in Power Transmission Systems. Appl. Sci. 2020, 10, 1312. [Google Scholar] [CrossRef] [Green Version]
  16. Fawwas, D.Z.; Chung, S.H. Adaptive Real-Time and Robust Hydraulic System Fault Detection via Edge Computing. Appl. Sci. 2020, 10, 5933. [Google Scholar] [CrossRef]
  17. Dang, S.; Kong, Z.; Peng, L.; Ji, Y.; Zhang, Y. Adaptive State Observer for Robot Manipulators Diagnostics and Health Degree Assessment. Appl. Sci. 2020, 10, 514. [Google Scholar] [CrossRef] [Green Version]
  18. Lien, Y.H.; Peng, C.C.; Chen, Y.H. Adaptive Observer-Based Fault Detection and Fault-Tolerant Control of Quadrotors under Rotor Failure Conditions. Appl. Sci. 2020, 10, 3503. [Google Scholar] [CrossRef]
  19. Boukens, M.; Boukabou, A.; Chadli, M. Robust adaptive neural network-based trajectory tracking control approach for nonholonomic electrically driven mobile robots. Robot. Auton. Syst. 2017, 92, 30–40. [Google Scholar] [CrossRef]
  20. Boukens, M.; Boukabou, A.; Chadli, M. A real time self-tuning motion controller for mobile robot systems. IEEE/CAA J. Autom. Sin. 2018, 6, 84–96. [Google Scholar] [CrossRef]
  21. Heredia, G.; Ollero, A. Detection of Sensor Faults in Small Helicopter UAVs Using Observer/Kalman Filter Identification. Math. Probl. Eng. 2011, 2011, 174618. [Google Scholar] [CrossRef]
  22. Guo, R.; Guo, K.; Gan, Q.; Zhang, J.; Dong, J.; Bai, L. Fault Diagnosis for Actuators in a Class of Nonlinear Systems Based on an Adaptive Fault Detection Observer. Math. Probl. Eng. 2016, 2016, 2618534. [Google Scholar] [CrossRef] [Green Version]
  23. Rodriguez, L. Control Activo Tolerante A Fallas Para Sistemas Hamiltonianos Convergentes. Ph.D. Thesis, Autonomous University of Nuevo León, San Nicolás de los Garza, Nuevo León, México, 2013. [Google Scholar]
  24. Rodríguez, L.; Alcorta-García, E.; Lara, D.; Romero, G. A Hamiltonian approach to fault isolation in a planar vertical take–off and landing aircraft model. Int. J. Appl. Math. Comput. Sci. 2015, 25, 65–76. [Google Scholar] [CrossRef] [Green Version]
  25. Li, L.; Chadli, M.; Ding, S.X.; Qiu, J.; Yang, Y. Diagnostic Observer Design for T-S Fuzzy Systems: Application to Real-Time Weighted Fault Detection Approach. IEEE Trans. Fuzzy Syst. 2017, 26, 805–816. [Google Scholar] [CrossRef]
  26. Rodriguez, L.; Alcorta-García, E. De la representación de sistemas Euler-Lagrange a la hamiltoniana generalizada. Nova Sci. 2015, 7, 1–23. [Google Scholar] [CrossRef]
  27. Sira-Ramírez, H.; Cruz-Hernández, C. Synchronization of chaotic systems: A generalized Hamiltonian systems approach. Int. J. Bifurc. Chaos 2011, 11, 1381–1395. [Google Scholar] [CrossRef]
  28. der Schaft, A.V. L2-gain and Passivity Techniques in Nonlinear Control; Springer Science & Business Media: London, UK, 2012. [Google Scholar]
  29. Frank, P.M. Fault diagnosis in dynamic systems using analytical and knowledge-based redundancy: A survey. Automatica 1990, 26, 459–474. [Google Scholar] [CrossRef]
  30. Wünnenberg, J. Observer-Based Fault Detection in Dynamic Systems. Ph.D. Thesis, University Gesamthochschule-Duisburg, Duisburg, Germany, 1990. [Google Scholar]
  31. Romero, G.; Alcorta-García, E.; Lara, D.; Pérez, I.; Betancourt, B.; Ocampo, H. New Method for Tuning Robust Controllers Applied to Robot Manipulators. Int. J. Adv. Robot. Syst. 2012, 9, 1–8. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Fault detection scheme.
Figure 1. Fault detection scheme.
Applsci 10 08359 g001
Figure 2. Schematic of the 2-degree of freedom (DOF) helicopter.
Figure 2. Schematic of the 2-degree of freedom (DOF) helicopter.
Applsci 10 08359 g002
Figure 3. Response of residual to the sensor fault f s 1 .
Figure 3. Response of residual to the sensor fault f s 1 .
Applsci 10 08359 g003
Figure 4. Response of residual to the fault f a 1 .
Figure 4. Response of residual to the fault f a 1 .
Applsci 10 08359 g004
Figure 5. Actual picture of the 2-DOF helicopter.
Figure 5. Actual picture of the 2-DOF helicopter.
Applsci 10 08359 g005
Figure 6. Experimental platform.
Figure 6. Experimental platform.
Applsci 10 08359 g006
Figure 7. Response of residual to the sensor fault f s 1 .
Figure 7. Response of residual to the sensor fault f s 1 .
Applsci 10 08359 g007
Figure 8. Normalized residual evaluation in case 2 (fault at sensor 1, f s 1 ).
Figure 8. Normalized residual evaluation in case 2 (fault at sensor 1, f s 1 ).
Applsci 10 08359 g008
Figure 9. Response of residual to the sensor fault f s 2 .
Figure 9. Response of residual to the sensor fault f s 2 .
Applsci 10 08359 g009
Figure 10. Normalized residual evaluation in case 3 (fault at sensor 2, f s 2 ).
Figure 10. Normalized residual evaluation in case 3 (fault at sensor 2, f s 2 ).
Applsci 10 08359 g010
Figure 11. Response of residual to the actuator fault f a 1 .
Figure 11. Response of residual to the actuator fault f a 1 .
Applsci 10 08359 g011
Figure 12. Normalized residual evaluation in case 4 (fault at actuator 1, f a 1 ).
Figure 12. Normalized residual evaluation in case 4 (fault at actuator 1, f a 1 ).
Applsci 10 08359 g012
Figure 13. Response of residual to the actuator fault f a 2 .
Figure 13. Response of residual to the actuator fault f a 2 .
Applsci 10 08359 g013
Figure 14. Normalized residual evaluation in case 5 (fault at actuator 2, f a 2 ).
Figure 14. Normalized residual evaluation in case 5 (fault at actuator 2, f a 2 ).
Applsci 10 08359 g014
Table 1. Parameters used in the equations.
Table 1. Parameters used in the equations.
ParameterDescription
x 1 ( ϕ ) Pitch angle
x 2 ( ψ ) Yaw angle
x 3 ( ϕ ˙ ) Pitch angular velocity
x 4 ( ψ ˙ ) Yaw angular velocity
U p Pitch control input
U y Yaw control input
m 1 Mass of lift motor
m 2 Mass of tail motor
1 1 Length m 1 to center of mass
1 2 Length m 2 to center of mass
gGravity
Table 2. Sensitivity of residuals with respect to faults.
Table 2. Sensitivity of residuals with respect to faults.
RESUDIAL
FAULT      r 1      r 2 r 3      r 4     
f s 1                         
f s 2                    
f a 1               
f a 2                    
Table 3. Cases considered.
Table 3. Cases considered.
CaseDescription
1Nominal behaviour, without faults
2fault in sensor 1
3fault in sensor 2
4fault in actuator 1
5fault in actuator 2
Table 4. Parameters used in the simulation results.
Table 4. Parameters used in the simulation results.
ParameterDescriptionValue
m 1 Mass of lift motor 0.014 kg
m 2 Mass of tail motor 0.232 kg
1 1 Length m 1 to center of mass 0.203 m
1 2 Length m 2 to center of mass 0.203 m
gGravity 9.8 m/s 2
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ramírez, L.A.; Zuñiga, M.A.; Romero, G.; Alcorta-García, E.; Muñoz-Vázquez, A.J. Fault Diagnosis for a Class of Robotic Systems with Application to 2-DOF Helicopter. Appl. Sci. 2020, 10, 8359. https://doi.org/10.3390/app10238359

AMA Style

Ramírez LA, Zuñiga MA, Romero G, Alcorta-García E, Muñoz-Vázquez AJ. Fault Diagnosis for a Class of Robotic Systems with Application to 2-DOF Helicopter. Applied Sciences. 2020; 10(23):8359. https://doi.org/10.3390/app10238359

Chicago/Turabian Style

Ramírez, Luis Alejandro, Manuel Alejandro Zuñiga, Gerardo Romero, Efraín Alcorta-García, and Aldo Jonathan Muñoz-Vázquez. 2020. "Fault Diagnosis for a Class of Robotic Systems with Application to 2-DOF Helicopter" Applied Sciences 10, no. 23: 8359. https://doi.org/10.3390/app10238359

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