Next Article in Journal
Towards Sustainable Inventory Management: A Many-Objective Approach to Stock Optimization in Multi-Storage Supply Chains
Previous Article in Journal
Why Reinforcement Learning?
Previous Article in Special Issue
Strategic Machine Learning Optimization for Cardiovascular Disease Prediction and High-Risk Patient Identification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sensor Fusion Architecture for Fault Diagnosis with a Predefined-Time Observer

by
Ofelia Begovich
,
Adrián Lizárraga
and
Antonio Ramírez-Treviño
*
Cinvestav del IPN, Unidad Guadalajara, Av. del Bosque 1145, Zapopan Jalisco C.P. 45019, Mexico
*
Author to whom correspondence should be addressed.
Algorithms 2024, 17(6), 270; https://doi.org/10.3390/a17060270
Submission received: 22 May 2024 / Revised: 11 June 2024 / Accepted: 15 June 2024 / Published: 20 June 2024

Abstract

:
This study focuses on generating reliable signals from measured noisy signals through an enhanced sensor fusion method. The main contribution of this research is the development of a novel sensor fusion architecture that creates virtual sensors, improving the system’s redundancy. This architecture utilizes an input observer to estimate the system input, then it is introduced to the system model, the output of which is the virtual sensor. Then, this virtual sensor includes two filtering stages, both derived from the system’s dynamics—the input observer and the system model—which effectively diminish noise in the virtual sensors. Afterwards, the same architecture includes a classical sensor fusion scheme and a voter to merge the virtual sensors with the real measured signals, enhancing the signal reliability. The effectiveness of this method is shown by applying merged signals to two distinct diagnosers: one utilizes a high-order sliding mode observer, while the other employs an innovative extension of a predefined-time observer. The findings indicate that the proposed architecture improves diagnostic results. Moreover, a three-wheeled omnidirectional mobile robot equipped with noisy sensors serves as a case study, confirming the approach’s efficacy in an actual noisy setting and highlighting its principal characteristics. Importantly, the diagnostic systems can manage several simultaneous actuator faults.

1. Introduction

Modern industrial processes and systems are becoming larger and more complex, demanding high reliability and performance from the system [1]. To meet these demands, modern systems incorporate sophisticated control and decision-making structures, including fault diagnosis and recovery stages, to exhibit intelligent behavior even under abnormal conditions.
Regarding fault diagnosis [2,3,4], this stage deals with abnormal behaviors (faults) by detecting, locating, and identifying them. The output of this stage can either alert human operators, or be used by a fault-tolerant system with the aim of removing hazardous situations. One of the most widely reported approaches in fault diagnosis is the fault model-based approach [5,6,7], where the observers, who are the core group focused on generating results [1,2], are used to determine the existence of faults. All previously mentioned results assume that the input signal is sufficiently free of noise; however, this assumption rarely hold in real situations, limiting the use of sophisticated diagnosers. In particular, the proposed diagnoser in those works are based on asymptotic observers or finite-time observers. When noise is considered, the performance of such diagnosers is reduced, producing false fault detection. In other words, the accuracy of diagnosers depends on the reliability of the measured signals; nevertheless, in many real cases the sensor noise limits the reliability of such information.
This problem is overcome by using sensor fusion algorithms [8,9,10,11]; unfortunately, in many cases there are not enough different sensors to use such algorithms. Moreover, the system sensors may be measuring signals which are not comparable with each other, which may make merging them with a sensor fusion technique difficult. To avoid this last drawback, in the literature changing the sensor coordinates has been proposed [12,13]; regrettably this strategy is limited to very particular cases.
This work proposes a novel sensor fusion architecture capable of generating several virtual sensors comparable with each other. These are merged in a sensor fusion stage to obtain more reliable output signals for subsequent processes, such as fault diagnosis, observers, and controllers. The idea behind the proposed architecture is to include two filter stages that generate feasible system inputs and outputs based on the system model, significantly reducing signal noise. Additionally, a voter enhances the reliability of virtual sensor signals by selecting those with the minimum variance.
To show the efficiency of the proposed architecture, its output is used by two diagnosers, one based on a high-order sliding mode (HOSM) observer, and the other based on an enhanced predefined-time observer herein introduced. Both cases show that when the proposed architecture is used, the efficiency of the diagnosers is improved, i.e., the false positive/negative fault detections are reduced, and the fault diagnosis is improved.
This work is organized as follows. Section 2 introduces the sensor fusion architecture, emphasizing how from a subset of output signals and using an input observer scheme, the virtual sensors may be implemented. This section also introduces a novel diagnoser based on an enhanced predefined-time observer. Section 3 introduces a three-wheeled omnidirectional mobile robot, that is the real system on which the proposed architecture and diagnosers are tested. Section 4 shows the experiments and the derived results. All of them show that the use of the proposed architecture improves the diagnosis of faults. Finally, the conclusions are presented.

2. Sensor Fusion Architecture

Figure 1 depicts the proposed sensor fusion architecture and the diagnoser. In the proposed approach, each virtual sensor gives an estimate of the entire set of measured system outputs, and every virtual sensor is merged, using a classical fusion stage, with the measured system output generating a cleaner estimated signal. Afterwards, a voter is used to select the most reliable estimated signal. This single output of the architecture is a reliable estimate of the system output that may be used by a diagnoser or any other device demanding reliable measures of the system. It is worth remarking that every virtual sensor is generated from a subset of the system outputs using an element that we name a homogenizer.
This fusion architecture generates more reliable signals, allowing the use of sophisticated diagnosers (such as those based on sliding modes) capable of diagnosing faults in a short period of time after their occurrence, and drastically reducing the number of false fault detections.
Since in this work the output of the proposed fusion architecture is used by a fault diagnoser, we considered the system model introduced in [14]:
x ˙ = f ( x ) + g ( x ) u ( t ) + l ( x ) m ( t ) , y = h ( x )
where the state is x R n , the control input is u R c , the output is y R z , and the fault magnitude is m R d , while f ( x ) R n , g ( x ) R n × c , l ( x ) R n × d , and h ( x ) R z are smooth functions defined on an open set Ω R n .
Assumption 1.
No one m ( t ) belongs to the kernel of l ( x ) . In other words, any fault occurrence always affects the system state.

2.1. Sensor Fusion Architecture

The proposed sensor fusion architecture is composed of the signal homogenizer, sensor fusion, and filter stages.

2.1.1. Homogenizer

Modern systems are endowed with several sensors grouped into different classes depending on the type of measured signals. The information provided by sensors, although different in nature, may be redundant. For example, autonomous vehicles include cameras, GPS, lidar, encoders, among other sensors, that register different types of information. For example, the GPS gives information related to the vehicle’s position and orientation, whereas the encoders measure the motors’ positions and velocities. Nevertheless, the information provided by encoders and GPS may be redundant when direct or inverse kinematics are used. Our approach leverages system characteristics to add redundancy to the system information. To formalize these concepts, the following sets and maps are defined.
Definition 1.
Let Σ = { y 1 , , y z } be the set of system outputs, and y = [ y 1 y z ] T be the system output vector. Let Σ i , Σ j Σ be two arbitrary subsets of Σ. If there exists a function P i j : Σ i Σ j such that from the information provided by the signals in Σ i , the signals in Σ j may be estimated, then P i j is the i-th homogenizer for Σ j . The homogenizer value Σ ¯ j i = P i j ( Σ i ) is named the i-th virtual sensor of Σ j . If Σ j = Σ , then Σ ¯ i = P i j ( Σ i ) , i.e., the whole set of output sensors is reconstructed from Σ i .
For example, assuming that the motor speed and position are measured in the system outputs y i and y j , respectively, then the homogenizer P i j can be implemented by an integration procedure, adding a virtual sensor for the position.
Homogenizer P i j may be implemented in several ways, depending on the relationship between signals in Σ i and Σ j . This work proposes the homogenizer depicted in Figure 2, that is based on the input estimator proposed in [15]. This is for dynamical systems under the assumption of observability when the system output is Σ i Σ . For this, signals in Σ i are used to estimate the system input u ¯ i . Afterwards, leveraging u ¯ i and the system model, the system outputs Σ ¯ i , due to Σ i , are estimated, i.e., the proposed homogenizer is capable of computing all the signals in Σ . Thus, the homogenizer is represented as a function P i : Σ i Σ . As a notation Σ i ¯ ( Σ i ¯ = P i ( Σ i ) ) is used to indicate that all system outputs are estimated from the information in Σ i . In addition to Σ i ¯ , the proposed homogenizer also computes the estimated state x ¯ i and the estimated input u ¯ i , obtained from Σ i .
In order to compute the input u ¯ i , first, the coordinate transformation
Φ i ( x ) = [ ( ξ i ) T , ( η i ) T ] T
is applied [15], where ξ i = [ ( ξ i h a ) T ( ξ i h w ) T ] T and η i is the internal system dynamic. Notice that ξ i h a corresponds to the coordinate transformation obtained from the a-th output h a ( x ) , with h a , , h w Σ i . Then, by the construction of the coordinate transformation, the states ξ i and their derivatives ξ ˙ i = [ ( ξ ˙ i h a ) T ( ξ ˙ i h w ) T ] T can be estimated by higher-order sliding mode (HOSM) differentiators [16] (by computing the derivatives of the outputs of the system), where ξ ˙ i h a = [ ξ ˙ 1 i h a ξ ˙ r h a i h a ] T , and r h a denotes the relative degree of the a-th output h a ( x ) . Once the state ξ i and its derivative ξ ˙ i are estimated, the input u ¯ i is computed as reported in [15]:
u ¯ i = ( E i ) 1 ξ ˙ ^ r h a i h a ξ ˙ ^ r h b i h b ξ ˙ ^ r h w i h w L f r h a h a ( ( Φ i ) 1 ) L f r h b h b ( ( Φ i ) 1 ) L f r h w h w ( ( Φ i ) 1 )
where L f h ( x ) = i = 1 n h x i f i ( x ) denotes the derivative of h along f, see [17], and the matrix E i ( x ) can be constructed as [15]
E i ( x ) = L g 1 ( L f ( r h a 1 ) h a ) L g w ( L f ( r h a 1 ) h a ) L g 1 ( L f ( r h b 1 ) h b ) L g w ( L f ( r h b 1 ) h b ) L g 1 ( L f ( r h w 1 ) h w ) L g w ( L f ( r h w 1 ) h w )
Notice that the proposed homogenizer depicted in Figure 2 computes the system states from u ¯ i . Then, using the system model, the system output is estimated, generating virtual system outputs.

2.1.2. Sensor Fusion

The reliability of the values of the system signals in Σ is increased if there exists at least one homogenizer P i . In this case, the system outputs y and the signals in Σ ¯ i are smartly merged by using an extended Kalman filter ( E K F i ) to obtain a more accurate value of signals in Σ [18]. Note that the EKF algorithm requires a discrete system, so the system in Equation (1) is discretized with the Euler method or any other discretization method. In addition, herein the subscript k is used to denote the discrete time index.
For the sensor fusion, the signals in the output vector y and the virtual sensors Σ ¯ i are arranged into an augmented measurement vector as follows [19]:
y ¯ k i = [ ( y k ) T ( y k Σ ¯ i ) T ] T
where ( y k Σ ¯ i ) T is the vector formed with the virtual sensors Σ ¯ i . While the augmented covariance matrix of the measurement noise is given by
R ¯ k i = R k y 0 0 R k y Σ ¯ i
where R k y is the covariance matrix of the noise of the real sensors’ measurements and R k Σ ¯ i is the covariance matrix of the noise of the virtual sensors obtained from the homogenizer i. The entries of the covariance matrix in Equation (5) are selected based on the respective measurement noise variance. Similarly, the entries of the process noise covariance matrix Q k i are chosen. Once the parameters of the E K F i are set, the standard EKF algorithm [20] is used to obtain the required sensor fusion.

2.1.3. Filter

The sensor fusion stage generates more reliable signals. These signals are filtered to reduce their noise even more. To this end, a classical second-order low pass filter (LPF) is used:
F Σ ¯ i ( s ) = ω n i 2 s 2 + 2 ζ i ω n i s + ω n i 2
The parameters ζ i and ω n i are chosen such that a desired transient and noise reduction are achieved.

2.1.4. Voter

Finally, a voter selects the output of the sensor fusion architecture. This is depicted as the min operation in Figure 1. In this case, it selects the signals Σ ¯ = Σ ¯ f i and x ¯ = x ¯ f i , corresponding to the signal Σ ¯ f i with the lowest variance.

2.2. Diagnoser

The naive approach of solving the unknown faults m ( t ) from Equation (1) and the estimated state x ¯ (output from the proposed architecture) is not possible, since it involves the computation of x ¯ ˙ , increasing the noise and leading to false faults detection. This inconvenience is avoided by using a fault diagnoser; in particular, this work proposes a diagnoser based on a predefined-time observer to swiftly diagnose the fault.
First, we assume that the estimated system state x ¯ is partitioned as x ¯ = [ x ¯ m x ¯ m ¯ ] , where the states in x ¯ m are directly affected by the faults, i.e., l m ( x ¯ ) m ( t ) 0 when m ( t ) 0 , and the states in x ¯ m ¯ are not affected by the faults, i.e., l m ¯ ( x ¯ ) m ( t ) = 0 when m ( t ) 0 ; then, from Equation (1) we obtain
x ¯ ˙ m x ¯ ˙ m ¯ = f m ( x ¯ ) f m ¯ ( x ¯ ) + g m ( x ¯ ) g m ¯ ( x ¯ ) u ( t ) + l m ( x ¯ ) l m ¯ ( x ¯ ) m ( t )
The diagnoser is proposed as the following predefined-time observer:
x ^ ˙ m = f m ( x ¯ ) + g m ( x ¯ ) u ( t ) + Θ
where Θ (that is related to the fault value) is the observer feedback law that must be selected to ensure that x ^ m converges to x ¯ m at a predefined-time T c . The estimation error is
e = x ¯ m x ^ m
where the measurements of x m are in Σ ¯ . The time derivative of the error in Equation (9) is
e ˙ = l m ( x ¯ ) m ( t ) Θ
Proposition 1 shows how to compute Θ . The proof of this proposition is based on the next theorem, presented in [21].
Theorem 1
([21]). Consider the nonlinear system
x ˙ ( t ) = f ( x , t ; ρ )
where the system state is x R n , the system parameters are ρ R b , which are assumed to be constant, and f : R n R n is assumed to be a continuous nonlinear function. If there exists a continuous definite-positive radially unbounded function V : R n R such that
V ˙ ( x ) γ T c α V ( x ) p + β V ( x ) q κ , x R n { 0 }
with constants β , α , p , q , κ > 0 , κ p < 1 , and κ q > 1 , and the constant γ is given by
γ = Γ ( m p ) Γ ( m q ) α κ Γ ( κ ) ( q p ) α β m p
where Γ is the gamma function [22], m p = 1 κ p q p , and m q = κ q 1 q p .
  • Then, the origin of (11) is predefined-time stable with T c as its predefined time.
Proposition 1.
Let Δ = l m ( x ¯ ) m ( t ) , where its i-th component is bounded by a positive constant, i.e., | Δ i | ξ i < , ξ i R + . If the i-th entry Θ i of the observer feedback law Θ is chosen as
Θ i = [ γ T c ( α | e i | p + β | e i | q ) k + ξ i ] s i g n ( e i ) , i = 1 , , d
then, the origin of the error system (10) is predefined-time stable with T c as its predefined time.
Proof. 
For every estimation error e i consider the continuous radially unbounded Lyapunov function V ( e i ) = | e i | , i = 1 , , d . The time derivative of each Lyapunov function V ( e i ) yields
V ˙ ( e i ) = sign ( e i ) [ Δ i Θ i ] = γ T c ( α | e i | p + β | e i | q ) k ξ i + Δ i sign ( e i ) γ T c ( α V ( e i ) p + β V ( e i ) q ) k ξ i + | Δ i sign ( e i ) | = γ T c ( α V ( e i ) p + β V ( e i ) q ) k ( ξ i | Δ i sign ( e i ) | ) γ T c ( α V ( e i ) p + β V ( e i ) q ) k
where γ is computed using Equation (13). Thus, by using Theorem 1, every e i is predefined-time stable, i = 1 , , d . Therefore, the origin of the error system (10) is predefined-time stable with T c as its predefined time. □
Since the origin of (10) is reached in a predefined time, it implies that e ( t ) = 0 , and e ˙ ( t ) = 0 for t T c . Then, the equivalent observer feedback law Θ e q is obtained such that e ˙ = 0 holds. Hence, from Equation (10), Θ e q is found as
0 = l m ( x ¯ ) m ( t ) Θ e q Θ e q = l m ( x ¯ ) m ( t )
So, if e = 0 , e ˙ = 0 , and Assumption 1 holds, then the estimation of the fault magnitudes m ( t ) can be computed from Equation (16) as
m ^ ( t ) = l m 1 ( x ¯ ) Θ e q
where the pseudoinverse l m 1 exists by Assumption 1. In order to remove the high-frequency components of each estimated fault m ^ i , due to the high-frequency signals of Θ e q , second-order LPFs, such as the ones proposed in Section 2.1.3, are required:
F m i ( s ) = ω n m i 2 s 2 + 2 ζ m i ω n m i s + ω n m i 2 , i = 1 , , d
where the filter settling time t s m i = 4 ζ m i ω n m i , i = 1 , , d should be selected to be approximately equal to T c to ensure a fast convergence to the real fault m i ( t ) .

3. Case Study

The three-wheeled omnidirectional mobile robot depicted in Figure 3 is considered for this case study.

3.1. Prototype

Our prototype, depicted in Figure 3, is a three-wheeled omnidirectional mobile robot. It has three omnidirectional wheels driven by EC 22 brushless Maxon motors connected to gearbox reducers with a ratio of 109:1. Each motor shaft speed and rotational direction is controlled by the Maxon DECS 50/5 driver. As a computational unit, the 32-bit Experimenter Kit Delfino F28335 Texas Instruments microcontroller is used.
The position and orientation of the mobile robot are measured by a Marvelmind Starter set HW 4.9 indoor GPS system, while every motor shaft velocity is obtained by Maxon encoders with a resolution of 512 counts per turn. The sensors have a frequency of 100 Hz and the sensors’ data are collected with a sampling time of 0.025 s.

3.2. Model of the Three-Wheeled Omnidirectional Mobile Robot

The state space representation of a three-wheeled omnidirectional mobile robot in global coordinates is taken from [23]; then, the motors’ dynamics are added such that the following state space model is derived:
x ˙ 1 = x 4 x ˙ 2 = x 5 x ˙ 3 = x 6 x ˙ 4 = a 1 x 4 a 2 x 5 x 6 b 1 cos ( x 3 ) v 1 3 b 1 sin ( x 3 ) v 2 x ˙ 5 = a 2 x 4 x 6 + a 1 x 5 b 1 sin ( x 3 ) v 1 + 3 b 1 cos ( x 3 ) v 2 x ˙ 6 = a 3 x 6 + b 2 v 3 x ˙ 7 = λ 1 ( x 7 18000 u 1 Υ sign ( Ω 1 ) ) x ˙ 8 = λ 2 ( x 8 18000 u 2 Υ sign ( Ω 2 ) ) x ˙ 9 = λ 3 ( x 9 18000 u 3 Υ sign ( Ω 3 ) )
where
v 1 = x 7 Υ sign ( Ω 1 ) 18000 + x 8 Υ sign ( Ω 2 ) 18000 2 x 9 Υ sign ( Ω 3 ) 18000 v 2 = x 7 Υ sign ( Ω 1 ) 18000 x 8 Υ sign ( Ω 2 ) 18000 v 3 = x 7 Υ sign ( Ω 1 ) 18000 + x 8 Υ sign ( Ω 2 ) 18000 + x 9 Υ sign ( Ω 3 ) 18000
the signals u i are the inputs to the system, Ω i represent the shaft velocity of the i-th motor, i = 1 , 2 , 3 ; the states x 1 , x 2 , and x 3 are the positions at the coordinates (x, y), and the orientation φ of the mobile robot, respectively. While x 4 , x 5 are the mobile robot linear velocities v x , v y , respectively, and x 6 is the angular velocity φ ˙ of the vehicle about its center of mass. The states x 7 , x 8 , and x 9 represent the motor velocities (RPM). Since real motors have fast dynamics, the parameters λ 1 = 100 , λ 2 = 100 , and λ 3 = 100 are chosen such that a fast convergence is achieved, whilst the parameter Υ = 1000 (RPM) is selected according to the datasheet of the motors. The other system parameters are identified by using the least squares approach in [24]. The derived parameters are reported in Table 1.

3.3. Signal Homogenizer

The system output vector is y = [ y 1 y 2 y 3 y 4 y 5 y 6 ] T , where the GPS output signals y 1 = x , y 2 = y , and y 3 = φ , are the (X,Y) position in a global framework and the orientation φ of the mobile robot, respectively; the encoders’ output signals are y 4 = Ω 1 , y 5 = Ω 2 , and y 6 = Ω 3 . Hence, the set of system outputs is Σ = { y 1 , y 2 , y 3 , y 4 , y 5 , y 6 } . From the set Σ , two subsets are generated: Σ 1 = { y 1 , y 2 , y 3 } , which contains the GPS outputs; and Σ 2 = { y 4 , y 5 , y 6 } for the encoder’s outputs.
In order to generate the homogenizers P 1 : Σ 1 Σ and P 2 : Σ 2 Σ , the structure depicted in Figure 2 is applied. For the homogenizer P 2 , the coordinate transformation is chosen as ξ 1 2 h 4 = y 4 , ξ 1 2 h 5 = y 5 , and ξ 1 2 h 6 = y 6 . So, the estimated input u ¯ 2 (see Figure 2) is computed from Equation (2) as
u ¯ 2 = ( E 2 ) 1 ξ ^ ˙ 1 2 h 4 ξ ^ ˙ 1 2 h 5 ξ ^ ˙ 1 2 h 6 λ 1 ( ξ ^ 1 2 h 4 Υ sign ( Ω 1 ) ) λ 2 ( ξ ^ 1 2 h 5 Υ sign ( Ω 2 ) ) λ 3 ( ξ ^ 1 2 h 6 Υ sign ( Ω 3 ) )
where ξ ^ 1 2 h 4 , ξ ^ 1 2 h 5 , ξ ^ 1 2 h 6 and their derivatives are estimated by using HOSM differentiators [16]. The matrix E 2 is given by
E 2 = 18000 λ 1 0 0 0 18000 λ 2 0 0 0 18000 λ 3
Then, using the system model in Equation (19), Σ ¯ 2 , the virtual output associated with Σ 2 is computed. In a similar way, the homogenizer P 1 and Σ ¯ 1 are computed.

3.4. Sensor Fusion

This subsection shows how to compute the merged output of the Kalman filter Σ ¯ f 2 ; a similar procedure should be used for Σ ¯ f 1 .
At the sensor fusion stage, the entries of Σ are smartly merged with Σ ¯ 2 by using the EKF. The augmented measurement vector is
y ¯ k 2 = [ ( y k ) T ( y k Σ ¯ 2 ) ] T
where y k = [ y 1 k y 2 k y 3 k y 4 k y 5 k y 6 k ] T are both the real GPS and encoder’s outputs, and y k Σ ¯ 2 = [ y ¯ 1 k 2 y ¯ 2 k 2 y ¯ 3 k 2 y ¯ 4 k 2 y ¯ 5 k 2 y ¯ 6 k 2 ] T are the virtual outputs taken from Σ ¯ 2 . Based on Equation (5), the augmented covariance of the measurement noise is
R ¯ k 2 = R k y 0 0 R k Σ ¯ 2
where
R k y = diag ( 0.0517 , 0.0138 , 0.1035 , 4237 , 5269 , 5408 )
R k Σ ¯ 2 = diag ( 0.0279 , 0.0057 , 0.0214 , 27777 , 27306 , 39973 )
Note that the entries of Equation (23) are selected based on the variance noise, as well as the entries of the parameter Q k 2 , which in this case are chosen as
Q k 2 = diag ( 0.005 0.005 0.005 0.5 0.5 0.5 0.5 0.5 0.5 )
Then, the augmented measurement vector in Equation (22), the augmented measurement noise covariance matrix in Equation (23), and the process noise covariance matrix Q k 2 in Equation (26) are used by the known EKF algorithm to produce the merged signal Σ ¯ f 2 .

3.5. Filter

The signals from the sensor fusion stage are filtered by the second-order LPF described in Equation (6). The parameters of the filter are chosen as ω n 2 = 60 rad/s and ζ 2 = 0.8 , such that a good compromise between the noise reduction and the settling time of the filter is achieved. So, the derived filter is
F Σ ¯ 2 ( s ) = 40000 s 2 + 320 s + 40000

3.6. Voter

Finally, the voter selects Σ ¯ f 2 and x ¯ f 2 , since Σ ¯ f 2 has the lowest noise variance. The obtained noise variances after the filter stage are reported in Table 2.

3.7. Diagnoser

Here, the predefined-time observer described in Section 2.2 is designed. First, the states of the system in Equation (19) are separated as follows: x ¯ m = [ x ¯ 7 x ¯ 8 x ¯ 9 ] T and x ¯ m ¯ = [ x ¯ 1 x ¯ 2 x ¯ 3 x ¯ 4 x ¯ 5 x ¯ 6 ] T . So, the dynamics of the states x ¯ m are
x ¯ ˙ 7 = λ 1 ( x ¯ 7 18000 [ u 1 ( t ) + m 1 ( t ) ] Υ sign ( Ω 1 ) ) x ¯ ˙ 8 = λ 2 ( x ¯ 8 18000 [ u 2 ( t ) + m 2 ( t ) ] Υ sign ( Ω 2 ) ) x ¯ ˙ 9 = λ 3 ( x ¯ 9 18000 [ u 3 ( t ) + m 3 ( t ) ] Υ sign ( Ω 3 ) )
where m ( t ) = [ m 1 m 2 m 3 ] T represents the actuator faults at the first, second, and third actuator, respectively, and u ( t ) = [ u 1 ( t ) u 2 ( t ) u 3 ( t ) ] T is the vector of the control inputs to the system. Then, the predefined-time observer is designed as in Equation (8):
x ^ ˙ 7 = λ 1 ( x ¯ 7 18000 u 1 ( t ) Υ sign ( Ω 1 ) ) + Θ 1 x ^ ˙ 8 = λ 2 ( x ¯ 8 18000 u 2 ( t ) Υ sign ( Ω 2 ) ) + Θ 2 x ^ ˙ 9 = λ 3 ( x ¯ 9 18000 u 3 ( t ) Υ sign ( Ω 3 ) ) + Θ 3
The observer estimation errors are e 1 = x ¯ 7 x ^ 7 , e 2 = x ¯ 8 x ^ 8 , and e 3 = x ¯ 9 x ^ 9 . In order to drive the estimations errors to zero in a predefined-time T c , the feedbacks Θ 1 , Θ 2 , and Θ 3 are chosen, as in Proposition 1:
Θ 1 = [ γ T c ( α | e 1 | p + β | e 1 | q ) k + ξ 1 ] sign ( e 1 ) Θ 2 = [ γ T c ( α | e 2 | p + β | e 2 | q ) k + ξ 2 ] sign ( e 2 ) Θ 3 = [ γ T c ( α | e 3 | p + β | e 3 | q ) k + ξ 3 ] sign ( e 3 )
The selected parameters are reported in Table 3. Now, the estimations of the fault magnitudes m ^ 1 , m ^ 2 , and m ^ 3 are computed as in Equation (17):
m ^ 1 m ^ 2 m ^ 3 = 1 λ 1 18000 0 0 0 1 λ 2 18000 0 0 0 1 λ 3 18000 Θ 1 e q Θ 2 e q Θ 3 e q
The filters to extract the desired information from the high-frequency signals m ^ i , i = 1 , 2 , 3 , are designed as in Equation (18), such that their settling time is t s = 0.125 s:
F m i ( s ) = 1600 s 2 + 64 s + 1600 i = 1 , 2 , 3 .

4. Results

The fusion architecture proposed here is supplied with real data from a mobile robot and assessed using two diagnosers: one based on HOSM [25,26], and the other based on the proposed extension to a predefined-time observer.

Experimental Results

The architecture and the diagnosers are executed in Simulink, with the real data obtained from the prototype shown in Figure 3. The sampling time in Simulink is 0.001 s and the selected solver is ode3 (Bogacki–Shampine). The HOSM parameters are chosen as λ = [ 3 , 1.5 , 1.1 , 3 , 1.5 , 1.1 , 3 , 1.5 , 1.1 ] T and L = [50,000, 50,000, 50,000], according to [15]. The chosen parameters for the proposed predefined-time diagnoser are reported in Table 3, while the selected parameters for the sensor fusion architecture are reported in Section 3. When the proposed sensor fusion architecture is not applied, the GPS signals are used by the diagnosers and the differentiator z ˙ = τ ( z y ) is computed for the predefined-time diagnoser, where z ˙ is the estimated derivative of the signal y, and τ is a designing parameter which is chosen as τ = 5 .
The considered fault scenario consists of abrupt faults occurring either simultaneously or non-simultaneously at the actuators of the mobile robot. The detection fault threshold is ± 0.035 and it is represented as a red line in the graphics of the experiments. The time intervals and magnitudes of fault occurrences are:
  • Faults at the first actuator: m 1 = 0.12 during the interval [ 5 s , 8 s ] and m 1 = 0.7 during the interval [ 22 s , 22.5 s ] .
  • Faults at the second actuator: m 2 = 0.8 during the interval [ 10 s , 10.8 s ] and m 2 = 0.5 during the interval [ 22 s , 23 s ] .
  • Faults at the third actuator: m 3 = 0.5 during the interval [ 10 s , 12 s ] , m 3 = 0.1 during the interval [ 18 s , 18.5 s ] and m 3 = 0.12 during the interval [ 22.5 s , 24 s ] .
Notice that the faults m 1 and m 2 are concurrent during the interval [ 22 s , 23 s ] , also m 2 and m 3 occur simultaneously during the interval [ 10 s , 10.8 s ] . At the considered fault scenario, the faults correspond to an actuator loss of effectiveness of around 20%, 50%, and 70%. Also, the faults occur in small intervals of time such as 0.5 s. Although the system is affected by the faults during small intervals of time, Figure 4 shows that the faults cause a significant deviation from the fault-free trajectory.
Figure 5 and Figure 6 present the fault detection using the proposed predefined-time diagnoser and the HOSM diagnoser reported in [26], respectively. In both figures, the simulations on the left correspond to the case where the proposed sensor fusion architecture is used, and on the right when it is not used. We highlight that the use of the proposed sensor fusion architecture is of major importance, in fact when this architecture is omitted, the graphics in the right columns of Figure 5 and Figure 6 show a poor performance in fault detection, exacerbating the number of false fault detections. In addition, the predefined-time diagnoser estimates faults faster than the HOSM, it also reduces false fault detections. For example, HOSM (Figure 6) detects a false fault detection in actuator 3, when the estimated fault reaches the threshold of 0.035 at 6.45 s .
Finally, Figure 7 shows that it is relevant to select the virtual sensors with the lowest variance. In fact, when Σ ¯ f 1 is used (the one with the biggest variance), the graphics in the left column of Figure 7 show a poor performance compared with the graphics in the right column, when Σ ¯ f 2 is used.
Table 4 reports the RMS fault identification errors of the diagnosers when the sensor fusion architecture is applied, while Table 5 reports the RMS errors when the sensor fusion architecture is not used. From the comparison of the two tables, the proposed diagnoser architecture provides the lowest fault estimation error. Moreover, the tables show that the sensor fusion architecture reduces the fault estimation errors of the considered diagnosers.

5. Conclusions

A fusion sensor architecture is introduced, comprising a homogenizer, sensor fusion stage, and voter. It has a dual purpose: generating virtual sensors comparable to the system output and providing reliable estimated signals (state and system outputs) for diagnosers, controllers, etc. To test this architecture, a case study focusing on diagnosing faults in actuators of a mobile robot was conducted, utilizing two diagnosers. In both cases, the results demonstrate that employing the proposed architecture enhances the efficiency of the diagnosis process. Specifically, false positive/negative fault detections are drastically reduced, and diagnoser convergence time is minimized.
As mentioned above, the reported diagnoser requires the input observability property from the system. Additionally, using a Kalman filter demands fast CPUs for real-time applications. In some cases, these could be considered limitations to be overcome.
In future endeavors, this architecture will be applied in various domains, including controller design, and particle filters will be considered.

Author Contributions

Conceptualization, O.B., A.L. and A.R.-T.; methodology, O.B., A.L. and A.R.-T.; software, A.L.; validation, O.B., A.L. and A.R.-T.; formal analysis, O.B., A.L. and A.R.-T.; investigation, O.B., A.L. and A.R.-T.; writing—original draft preparation, O.B., A.L. and A.R.-T.; writing—review and editing, O.B., A.L. and A.R.-T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Flores-León, H.; Begovich, O.; Ruiz-León, J.; Ramírez-Treviño, A. Active fault detection and isolation in linear time-invariant systems: A geometric approach. Asian J. Control 2023, 25, 710–721. [Google Scholar] [CrossRef]
  2. Chen, J.; Patton, R.J. Robust Model-Based Fault Diagnosis for Dynamic Systems; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2012; Volume 3. [Google Scholar]
  3. Delgado-Aguiñaga, J.; Besancon, G.; Begovich, O.; Carvajal, J. Multi-leak diagnosis in pipelines based on Extended Kalman Filter. Control Eng. Pract. 2016, 49, 139–148. [Google Scholar] [CrossRef]
  4. Lizarraga, A.; Begovich, O.; Ramírez, A. Real-Time Sliding Mode Fault Diagnosis for a Three-Wheeled Omnidirectional Mobile Robot. In Proceedings of the 2022 IEEE 18th International Conference on Automation Science and Engineering (CASE), Mexico City, Mexico, 20–24 August 2022; IEEE: New York, NY, USA, 2022; pp. 1953–1958. [Google Scholar]
  5. Gao, Z.; Cecati, C.; Ding, S.X. A survey of fault diagnosis and fault-tolerant techniques-Part I: Fault diagnosis with model-based and signal-based approaches. IEEE Trans. Ind. Electron. 2015, 62, 3757–3767. [Google Scholar] [CrossRef]
  6. Zhou, D.; Zhao, Y.; Wang, Z.; He, X.; Gao, M. Review on diagnosis techniques for intermittent faults in dynamic systems. IEEE Trans. Ind. Electron. 2019, 67, 2337–2347. [Google Scholar] [CrossRef]
  7. Delgado-Aguiñaga, J.A.; Begovich, O. Water leak diagnosis in pressurized pipelines: A real case study. In Modeling and Monitoring of Pipelines and Networks; Springer: Berlin/Heidelberg, Germany, 2017; pp. 235–262. [Google Scholar]
  8. Koch, W. Tracking and Sensor Data Fusion; Springer: Berlin/Heidelberg, Germany, 2016. [Google Scholar]
  9. Garcia-Huerta, R.A.; González-Jiménez, L.E.; Villalon-Turrubiates, I.E. Sensor Fusion Algorithm Using a Model-Based Kalman Filter for the Position and Attitude Estimation of Precision Aerial Delivery Systems. Sensors 2020, 20, 5227. [Google Scholar] [CrossRef] [PubMed]
  10. Bader, K.; Lussier, B.; Schön, W. A fault tolerant architecture for data fusion: A real application of Kalman filters for mobile robot localization. Robot. Auton. Syst. 2017, 88, 11–23. [Google Scholar] [CrossRef]
  11. Hachemi, L.; Guiatni, M.; Nemra, A. Fault diagnosis and reconfiguration for mobile robot localization based on multi-sensors data fusion. Unmanned Syst. 2022, 10, 69–91. [Google Scholar] [CrossRef]
  12. Ifqir, S.; Combastel, C.; Zolghadri, A.; Alcalay, G.; Goupil, P.; Merlet, S. Fault tolerant multi-sensor data fusion for autonomous navigation in future civil aviation operations. Control Eng. Pract. 2022, 123, 105132. [Google Scholar] [CrossRef]
  13. Abid, A.; Khan, M.T. Multi-sensor, multi-level data fusion and behavioral analysis based fault detection and isolation in mobile robots. In Proceedings of the 2017 8th IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, USA, 3–5 October 2017; IEEE: New York, NY, USA, 2017; pp. 40–45. [Google Scholar]
  14. Zhang, Z.; He, X. Geometric Approach Based Fault Detection and Isolation: A Review. In Proceedings of the 2022 41st Chinese Control Conference (CCC), Hefei, China, 25–27 July 2022; IEEE: New York, NY, USA, 2022; pp. 4136–4141. [Google Scholar]
  15. Fridman, L.; Shtessel, Y.; Edwards, C.; Yan, X.G. Higher-order sliding-mode observer for state estimation and input reconstruction in nonlinear systems. Int. J. Robust Nonlinear Control IFAC-Affil. J. 2008, 18, 399–412. [Google Scholar] [CrossRef]
  16. Shtessel, Y.; Edwards, C.; Fridman, L.; Levant, A. Sliding Mode Control and Observation; Springer: Berlin/Heidelberg, Germany, 2014; Volume 10. [Google Scholar]
  17. Isidori, A. Nonlinear Control Systems; Springer: Berlin/Heidelberg, Germany, 1995. [Google Scholar]
  18. Ma, H.; Yan, L.; Xia, Y.; Fu, M. Kalman Filtering and Information Fusion; Springer: Berlin/Heidelberg, Germany, 2020. [Google Scholar]
  19. Gao, J.; Harris, C. Some remarks on Kalman filters for the multisensor fusion. Inf. Fusion 2002, 3, 191–201. [Google Scholar] [CrossRef]
  20. Hamadi, H.; Lussier, B.; Fantoni, I.; Francis, C. Data fusion fault tolerant strategy for a quadrotor UAV under sensors and software faults. ISA Trans. 2022, 29, 520–539. [Google Scholar] [CrossRef] [PubMed]
  21. Aldana-López, R.; Gómez-Gutiérrez, D.; Jiménez-Rodríguez, E.; Sánchez-Torres, J.D.; Defoort, M. Enhancing the settling time estimation of a class of fixed-time stable systems. Int. J. Robust Nonlinear Control 2019, 29, 4135–4148. [Google Scholar] [CrossRef]
  22. Trujillo, M.A.; Aldana-López, R.; Gómez-Gutiérrez, D.; Defoort, M.; Ruiz-León, J.; Becerra, H. Autonomous and non-autonomous fixed-time leader–follower consensus for second-order multi-agent systems. Nonlinear Dyn. 2020, 102, 2669–2686. [Google Scholar] [CrossRef]
  23. Tzafestas, S.G. Introduction to Mobile Robot Control; Elsevier: Amsterdam, The Netherlands, 2013. [Google Scholar]
  24. Nguyen, N.T. Model-reference adaptive control. In Model-Reference Adaptive Control; Springer: Berlin/Heidelberg, Germany, 2018; Chapter 6; pp. 126–127. [Google Scholar]
  25. Iqbal, M.; Bhatti, A.; Iqbal, S.; Khan, Q. Parameter estimation based fault diagnosis of uncertain nonlinear three tank system using HOSM differentiator observer. In Proceedings of the 2009 IEEE 13th International Multitopic Conference, Islamabad, Pakistan, 14–15 December 2009; IEEE: New York, NY, USA, 2009; pp. 1–6. [Google Scholar]
  26. Iqbal, M.; Bhatti, A.I.; Ayubi, S.I.; Khan, Q. Robust parameter estimation of nonlinear systems using sliding-mode differentiator observer. IEEE Trans. Ind. Electron. 2010, 58, 680–689. [Google Scholar] [CrossRef]
Figure 1. Sensor fusion architecture and the diagnoser applied in a diagnoser scheme. The sensor fusion architecture encompasses the homogenizer, EKF, and voter stages. The homogenizer generates virtual outputs, while the EKF merges real and virtual signals to generate more reliable signals, the filter reduces the noise from the signals, and the voter selects the best signal (in this work, the minimum variance signal). The diagnoser leverages these reliable signals to detect, locate, and identify concurrent and nonconcurrent faults.
Figure 1. Sensor fusion architecture and the diagnoser applied in a diagnoser scheme. The sensor fusion architecture encompasses the homogenizer, EKF, and voter stages. The homogenizer generates virtual outputs, while the EKF merges real and virtual signals to generate more reliable signals, the filter reduces the noise from the signals, and the voter selects the best signal (in this work, the minimum variance signal). The diagnoser leverages these reliable signals to detect, locate, and identify concurrent and nonconcurrent faults.
Algorithms 17 00270 g001
Figure 2. Implementation of the signal homogenizer i to obtain the virtual sensors Σ ¯ i , an estimate of the state x ¯ i , and an estimate for the input u ¯ i .
Figure 2. Implementation of the signal homogenizer i to obtain the virtual sensors Σ ¯ i , an estimate of the state x ¯ i , and an estimate for the input u ¯ i .
Algorithms 17 00270 g002
Figure 3. Three-wheeled omnidirectional mobile robot.
Figure 3. Three-wheeled omnidirectional mobile robot.
Algorithms 17 00270 g003
Figure 4. Mobile robot trajectory comparison.
Figure 4. Mobile robot trajectory comparison.
Algorithms 17 00270 g004
Figure 5. The proposed diagnoser based on a predefined-time observer is used, with (left) and without (right) the proposed sensor fusion architecture.
Figure 5. The proposed diagnoser based on a predefined-time observer is used, with (left) and without (right) the proposed sensor fusion architecture.
Algorithms 17 00270 g005
Figure 6. A previously reported diagnoser based on an HOSM differentiator is used, with (left) and without (right) the proposed sensor fusion architecture.
Figure 6. A previously reported diagnoser based on an HOSM differentiator is used, with (left) and without (right) the proposed sensor fusion architecture.
Algorithms 17 00270 g006
Figure 7. Comparison of the diagnosis with Σ ¯ 1 (left) and Σ ¯ 2 (right).
Figure 7. Comparison of the diagnosis with Σ ¯ 1 (left) and Σ ¯ 2 (right).
Algorithms 17 00270 g007
Table 1. Identified parameters of the system.
Table 1. Identified parameters of the system.
ParameterValueParameterValue
a 1 −10.3949 b 1 2.9695
a 2 2.5026 b 2 29.5783
a 3 −15.2935
Table 2. Noise variance comparison.
Table 2. Noise variance comparison.
Σ ¯ f 1 (GPS)Variance Σ ¯ f 2 (Encoders)Variance
Σ ¯ 1 f 1 (x)0.0772 Σ ¯ 1 f 2 (x)0.0353
Σ ¯ 2 f 1 (y)0.0173 Σ ¯ 2 f 2 (y)0.0076
Σ ¯ 3 f 1 ( φ )0.1245 Σ ¯ 3 f 2 ( φ )0.0308
Σ ¯ 4 f 1 ( Ω 1 )327,610 Σ ¯ 4 f 2 ( Ω 1 )26,072
Σ ¯ 5 f 1 ( Ω 2 )333,730 Σ ¯ 5 f 2 ( Ω 2 )25,752
Σ ¯ 6 f 1 ( Ω 3 )582,470 Σ ¯ 6 f 2 ( Ω 3 )38,149
x ¯ 4 f 1 1 ( x ˙ )0.0022 x ¯ 4 f 2 ( x ˙ )0.0005
x ¯ 5 f 1 ( y ˙ )0.0018 x ¯ 5 f 2 ( y ˙ )0.0003
x ¯ 6 f 1 ( φ ˙ )0.0083 x ¯ 6 f 2 ( φ ˙ )0.0024
Table 3. Selected parameters for the diagnoser.
Table 3. Selected parameters for the diagnoser.
ParameterValueParameterValue
γ 4.9968q3
T c 0.15k0.5
α 1 ξ 1 100000
β 2 ξ 2 100000
p1.5 ξ 3 300000
Table 4. Sensor fusion architecture RMS fault identification errors.
Table 4. Sensor fusion architecture RMS fault identification errors.
Diagnoser m ^ 1 m ^ 2 m ^ 3
Predefined-Time0.02010.01470.0247
HOSM0.02330.01660.0268
Table 5. RMS fault identification errors when the sensor fusion architecture is not applied.
Table 5. RMS fault identification errors when the sensor fusion architecture is not applied.
Diagnoser m ^ 1 m ^ 2 m ^ 3
Predefined-Time0.08220.08080.0636
HOSM0.04210.04280.0463
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Begovich, O.; Lizárraga, A.; Ramírez-Treviño, A. Sensor Fusion Architecture for Fault Diagnosis with a Predefined-Time Observer. Algorithms 2024, 17, 270. https://doi.org/10.3390/a17060270

AMA Style

Begovich O, Lizárraga A, Ramírez-Treviño A. Sensor Fusion Architecture for Fault Diagnosis with a Predefined-Time Observer. Algorithms. 2024; 17(6):270. https://doi.org/10.3390/a17060270

Chicago/Turabian Style

Begovich, Ofelia, Adrián Lizárraga, and Antonio Ramírez-Treviño. 2024. "Sensor Fusion Architecture for Fault Diagnosis with a Predefined-Time Observer" Algorithms 17, no. 6: 270. https://doi.org/10.3390/a17060270

APA Style

Begovich, O., Lizárraga, A., & Ramírez-Treviño, A. (2024). Sensor Fusion Architecture for Fault Diagnosis with a Predefined-Time Observer. Algorithms, 17(6), 270. https://doi.org/10.3390/a17060270

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