Next Article in Journal
Active Magnetic-Field Stabilization with Atomic Magnetometer
Next Article in Special Issue
Sensor Fault-Tolerant Control Design for Magnetic Brake System
Previous Article in Journal
An RSSI Classification and Tracing Algorithm to Improve Trilateration-Based Positioning
Previous Article in Special Issue
Fault Detection, Isolation, Identification and Recovery (FDIIR) Methods for Automotive Perception Sensors Including a Detailed Literature Survey for Lidar
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fault-Tolerant Model Predictive Control Algorithm for Path Tracking of Autonomous Vehicle

1
School of Mechanical Engineering, Southeast University, Nanjing 211189, China
2
School of Automation Systems, Moscow Bauman State Technical University, Moscow 109807, Russia
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(15), 4245; https://doi.org/10.3390/s20154245
Submission received: 29 June 2020 / Revised: 25 July 2020 / Accepted: 28 July 2020 / Published: 30 July 2020
(This article belongs to the Special Issue Sensors Fault Diagnosis Trends and Applications)

Abstract

:
The fault detection and isolation are very important for the driving safety of autonomous vehicles. At present, scholars have conducted extensive research on model-based fault detection and isolation algorithms in vehicle systems, but few of them have been applied for path tracking control. This paper determines the conditions for model establishment of a single-track 3-DOF vehicle dynamics model and then performs Taylor expansion for modeling linearization. On the basis of that, a novel fault-tolerant model predictive control algorithm (FTMPC) is proposed for robust path tracking control of autonomous vehicle. First, the linear time-varying model predictive control algorithm for lateral motion control of vehicle is designed by constructing the objective function and considering the front wheel declination and dynamic constraint of tire cornering. Then, the motion state information obtained by multi-sensory perception systems of vision, GPS, and LIDAR is fused by using an improved weighted fusion algorithm based on the output error variance. A novel fault signal detection algorithm based on Kalman filtering and Chi-square detector is also designed in our work. The output of the fault signal detector is a fault detection matrix. Finally, the fault signals are isolated by multiplication of signal matrix, fault detection matrix, and weight matrix in the process of data fusion. The effectiveness of the proposed method is validated with simulation experiment of lane changing path tracking control. The comparative analysis of simulation results shows that the proposed method can achieve the expected fault-tolerant performance and much better path tracking control performance in case of sensor failure.

1. Introduction

Fault signal detection and isolation, as well as fault-tolerant control systems, are important contents in the research field of autonomous vehicle and prerequisites for ensuring the driving safety in complex traffic scenarios. The failure of autonomous vehicles mainly occurs in the process of sensing information acquisition and motion state transmission. Fault detection and isolation algorithms are widely used in various unmanned systems, such as ground autonomous vehicles [1], underwater robots [2], and autonomous helicopters [3]. For autonomous vehicle systems, fault signal detection and isolation algorithms play an important role in autonomous environment perception, decision making, and motion control. In order to effectively detect and isolate fault signals and perform stable motion control, many schemes and technologies have been proposed, which can be divided into: the nonlinear algorithms [4] and the linear algorithms [5,6]. With the continuous development of autonomous vehicle technology, the types and number of on-board sensors also continue to increase, and the fault sensor signals have become the main reason for vehicle failure [7,8,9].
Sensor failure detection and isolation based on model information is a commonly used method [10]. Marzat J. and Avram R.C. et al. proposed sensor fault detection and isolation algorithms using control model information [11] and sliding mode observer [12], respectively. The evaluation and performance of model-based fault detection and isolation algorithms always depend on the accuracy of the system model used. Because the vehicle is a highly coupled and complex nonlinear system, it is impossible to obtain some vehicle parameters accurately, and the vehicle system model established always has uncertainty. In order to better detect faults and isolate fault signals at the site, some methods and strategies that are not model-based are proposed. Methods such as fuzzy logic [13,14], neural network [15,16], and Kalman filter [17] are used to estimate uncertain parameters in nonlinear systems. The performance of model-based fault detection and isolation methods rely on accurate linear system modeling. For the nonlinear systems [18], satisfactory results cannot be obtained by using these methods. However, the model-based methods that require less calculation and real-time performance are also better. Therefore, those model-based methods are still widely used in solving real engineering problems.
Recently, model-based fault detection and isolation algorithms for vehicle systems have been extensively studied. In particular, Chamseddine [19] used a sliding mode observer based on a quarter car model to detect sensor failures in vehicle systems. Although fault detection algorithms are robust to interferences, additional sensors such as displacement sensors are still used to replace the commonly used sensor configurations in the commercial vehicles [20]. In References [21,22], the parity check space method, which is typical model-based method, is proposed for fault detection. The applicability and stability of the model-based fault detection and isolation algorithms are usually poor because of the model uncertainty, interference, and sensor noise. In addition, few scholars have studied fault signal detection and isolation algorithms for robust path tracking control autonomous vehicles.
In order to overcome these limitations, this paper proposes a robust fault-tolerant model predictive control algorithm for path tracking of autonomous vehicle. The nonlinear single-track dynamic vehicle model is established as the research object and the linearization is carried out by using Taylor expansion. The model predictive control algorithm is designed for lateral path tracking control of autonomous vehicle. A fault signal detection and isolation algorithm is proposed and its implementation process can be described as follows: first, based on the output error covariance and weighted data fusion method, the optimal motion state information of the autonomous vehicle is obtained. Then, we designed a fault signal detector, composed of a main Kalman filter, three sub-Kalman filters, two state Chi-square detectors, and residuals Chi-square detectors, with fault signal detection matrix as output. Finally, the fault signal matrix is constructed as a diagonal matrix, which will be multiplied by the sensor signal matrix and the weight coefficient matrix to realize fault signal isolation. The single lane changing path tracking control simulation results confirmed the effectiveness of the proposed method in this paper.
The flowchart of the fault-tolerant model predictive control algorithm designed in this paper is shown in Figure 1. Vehicle motion status information can usually be obtained by GPS combined navigation system, visual odometer, and LIDAR SLAM. These sensors and algorithms together form an on-board perception system.
The rest of this paper is organized as follows. In Section 2, the vehicle dynamic model is established and model linearization process is described. In Section 3, the constraints and objective functions are constructed, and the path tracking control algorithm based on model predictive control is designed. In Section 3, the multi-sensor information fusion algorithm, fault signal detection algorithm, and isolation algorithm are described. Section 4 presents experimental verification using lane changing path tracking scenario. Conclusions are given in Section 5.

2. Modeling and Problem Linearization

The impacts of the vehicle suspension characteristics are relatively small in relation to the research content of vehicle motion control. In this work, the vehicle-tire model is selected, which means no in-depth research on the characteristics of vehicle suspension. At the same time, the dynamic model established in this paper is mainly used to design the predictive model in the model predictive controller. It is required to simplify as much as possible on the basis of more accurately describing the vehicle’s dynamic characteristics and reducing the amount of calculation. The following idealized assumptions are first proposed when performing dynamic modeling: (1) Ignoring road fluctuations and assuming that the vehicle is always driving on a flat road without vertical motion; (2) Ignoring suspension motion and the effect of the suspension structure on the coupling relationship; (3) The load movement of the front and rear axles is not considered, and the left and right transfer of the load is ignored; (4) Only the tire cornering characteristics are considered, and the vertical and horizontal coupling relationships are ignored; (5) Mechanical effects of steering system are also ignored. In this paper, a 3-degree-of-freedom single-track vehicle dynamics model is constructed, including longitudinal motion, lateral motion, and yaw (see Figure 2).
The longitudinal force, lateral force, and yaw motions of the vehicle can be written as:
{ m ( x ¨ y ˙ φ ˙ ) = F x = 2 F l f cos δ f 2 F c f sin δ f + 2 F l r m ( y ¨ + x ˙ φ ˙ ) = F y = 2 F l f sin δ f 2 F c f cos δ f + 2 F c r I z φ ¨ = M z = 2 L f ( F l f sin δ f + F c f cos δ f ) 2 L r F c r
where m is the vehicle mass; φ is the yaw angle; x and y are the longitudinal and lateral position, respectively; δ f is the front wheel rotation angle; I z is the z-axis moment of inertia; F x is the total longitudinal force on the vehicle; F y is total lateral force on the vehicle; M z is the total yaw moment on the vehicle; F c f , F c r are the lateral forces on the front and rear tires of the vehicle, and are related to the corner stiffness and corner angle of vehicle tires; F l f , F l r are longitudinal forces on the front and rear tires of the vehicle, which are related to the longitudinal stiffness and slip rate of the tire; F x f , F x r are the forces on the front and rear tires in the x direction; F y f , F y r are the forces on the front and rear tires in the y direction; L f and L r are the distances from the front and rear axis to the center of mass.
According to Equation (1), the vehicle dynamics model involves vehicle tire forces. The longitudinal and lateral forces are related to vertical load, road friction coefficient, slip rate, and tire corner angle:
{ F l = f l ( F z , s , μ , α ) F c = f c ( F z , s , μ , α ) s = { r w t / v 1 , ( v > r w t , v 0 ) 1 r w t / v , ( v < r w t , w t 0 ) α = tan 1 ( v c / v l )
where F z is the vertical load; s is the slip rate; μ is the road surface adhesion coefficient; α is the tire cornering angle; w t is the wheel speed; r is the wheel radius; v l is the longitudinal speed; and v c is the lateral speed, which can be expressed by v x and v y :
{ v l = v y sin δ y + v x cos δ y v c = v y cos δ y v x sin δ y
Generally, the tire speed of a vehicle is difficult to obtain directly, which can be obtained by calculating the vehicle speed:
{ v y f = y ˙ + L f φ ˙ v y r = y ˙ L r φ ˙ v x f = x ˙ v x r = x ˙
When constructing the vehicle dynamics model, the front and rear axle load movements have been ignored. Therefore, the vertical load on the front and rear wheels of the vehicle can be calculated as:
{ F z f = L r m g / ( 2 L f + 2 L r ) F z r = L f m g / ( 2 L f + 2 L r )
Generally, a vehicle in a stable driving state has a small variation angle and a slip rate. According to the Semi-Empirical Tire-Model [23], we know that the tire dynamics, including the tire longitudinal force, the tire lateral force, and the tire aligning torque, have obvious nonlinear characteristics, but the simulation results in References [24,25] show that the tire forces can be approximated by a linear equation when the longitudinal slip rate and the tire variation angle change in a small range. In addition, there are a large number of trigonometric functions in the vehicle dynamics model. Since each angle involved in the dynamics model is in a small angle interval, each trigonometric function can satisfy the following approximate conditions: c o s θ 1 , s i n θ   =   0 , t a n θ   =   θ . After introducing the corner stiffness, corner angle, longitudinal stiffness, and slip rate, the tire force of the vehicle can be expressed as:
{ F l f = C l f s f F l r = C l r s r F c f = C c f [ δ f ( y ˙ + L f φ ˙ ) / x ˙ ] F c r = C c r ( L r φ ˙ y ˙ ) / x ˙
where C c f , C c r are the lateral stiffness of the front and rear tires; C l f , C l r are the longitudinal stiffness of the front and rear tires; S f , S r are the slip ratio of the front and rear tires.
Nonlinear vehicle dynamics model can be written as:
{ x ¨ = y ˙ φ ˙ + ( 2 / m ) { C l f s f C c f [ δ f ( y ˙ + L f φ ˙ ) / x ˙ ] δ f + C l r s r } y ¨ = x ˙ φ ˙ + ( 2 / m ) { C l f s f δ f + C c f [ δ f ( y ˙ + L f φ ˙ ) / x ˙ ] C c r ( y ˙ L r φ ˙ ) / x ˙ } φ ˙ = φ ˙ φ ¨ = ( 2 L f / I z ) { C l f s f δ f + C c f [ δ f ( y ˙ + L f φ ˙ ) / x ˙ ] } + ( 2 L r / I z ) C c r ( y ˙ L r φ ˙ ) / x ˙ Y ˙ = x ˙ sin φ + y ˙ cos φ X ˙ = x ˙ cos φ y ˙ sin φ
For the convenience, ξ d y n = [ x ˙ , y ˙ , φ , φ ˙ , X , Y ] T are system state quantities and u d y n = δ f is the system control quantity.

Linearization of Vehicle Dynamics Model

For autonomous vehicle, the lateral motion control is to control the front wheel rotation angle, and then realize path tracking. Therefore, this paper selects path tracking as the ultimate goal of autonomous vehicle lateral control, and the tracking accuracy as the main indicator to measure the performance of the control system. Model predictive control can be divided into linear time-varying model predictive control (LMPC) [26] and nonlinear model predictive control (NMPC) [27]. Compared with NMPC, the LMPC uses the linear predictive model and has better real-time performance, which is a very important character for the motion control of autonomous vehicles. Thus, the LMPC is used in this work.
The vehicle model established in this work is a nonlinear model, which needs to be linearized. The state quantity and control quantity of the system satisfy the following relationship:
ξ ˙ r = f ( ξ r , u r )
Perform Taylor expansion at ( ξ r , u r ) , retain the first-order terms, and ignore the higher-order terms, we get:
ξ ˙ = f ( ξ r , u r ) + f f ξ | ξ = ξ r u = u r ( ξ ξ r ) + f u | ξ = ξ r u = u r ( u u r )
The formula can be transformed into:
ξ ˙ = f ( ξ r , u r ) + J f ( ξ ) ( ξ ξ r ) + J f ( u ) ( u u r )
where J f ( ξ ) and J f ( u ) are the Jacobian matrixes of f relative to ξ and u, respectively.
Subtract the formula to get:
ξ ˜ ˙ = A ( t ) ξ ˜ + B ( t ) u ˜
The linearized system equation can be written as:
ξ ˙ = A ( t ) ξ ( t ) + B ( t ) u ( t ) y = C ξ ( t )
where A ( t ) = f / ξ , B ( t ) = f / u , C = ( 0 , 0 , 0 , 0 , 1 , 0 ) T , and:
A ( t ) = [ 2 C c f δ f , t 1 ( y ˙ t + L f φ ˙ t ) m x ˙ t 2 φ ˙ t + 2 C c f δ f , t 1 m x ˙ t 0 y ˙ t + 2 C c f δ f , t 1 L f m x ˙ t 0 0 2 [ C c f ( y ˙ t + L f φ ˙ t ) C c r ( L r φ ˙ t y ˙ t ) ] m x ˙ t 2 φ ˙ t 2 ( C c f + C c r ) m x ˙ t 0 x ˙ t + 2 ( C c r L r C c f L f ) m x ˙ t 0 0 0 0 0 1 0 0 2 [ C c f L f ( y ˙ t + L f φ ˙ t ) + C c r L r ( L r φ ˙ t y ˙ t ) ] I z x ˙ t 2 2 ( C c r L r C c f L f ) I z x ˙ t 0 2 ( C c f L f 2 + C c r L r 2 ) I z x ˙ t 0 0 cos ( φ t ) sin ( φ t ) x ˙ t sin ( φ t ) y ˙ t cos ( φ t ) 0 0 0 sin ( φ t ) cos ( φ t ) x ˙ t cos ( φ t ) y ˙ t sin ( φ t ) 0 0 0 ]
B ( t ) = [ 2 C c f m ( 2 δ f , t 1 y ˙ t + L f φ ˙ t x ˙ t ) 2 ( C l f s f + C c f ) m 0 2 L f ( C l f s f + C c f ) m 0 0 ]
Discrete the above formula using the first-order difference quotient method to obtain the discrete state space equation:
{ ξ ( k + 1 ) = A ( k ) ξ ( k ) + B ( k ) u ( k ) ζ ( k ) = C ξ ( k )
where A ( k ) = I + T A ( t ) , B ( k ) = I + T B ( t ) , and T is sampling time.
After introducing the incremental model, the state-space equation can be written as:
{ Δ ξ ( k + 1 ) = A ( k ) Δ ξ ( k ) + B ( k ) Δ u ( k ) ζ ( k ) = C Δ ξ ( k )

3. Model Predictive Controller for Vehicle Lateral Motion Control

3.1. Construct the Objective Function

This paper uses the following objective function:
J ( k ) = i = 1 N p Δ η ( k + i | k ) Q 2 + i = 1 N c 1 Δ u ( k + i | k ) R 2 + ρ ε 2
where ρ is the weight coefficient; ε is the relaxation factor; N p is the prediction time domain and N c is the control time domain; Q is the state weighting matrix; R is the control weighting matrix; η ( k + i | k ) is output deviation; and u ( k + i | k ) is control deviation.
Since the vehicle dynamic model is used and the number of constraints is increased, in order to avoid the occurrence of no optimal solution, a relaxation factor ε is added to the objective function.

3.2. Construct the Constraints

The most prominent feature of the model predictive control is that it can easily handle the multi-constraint problem. In order to ensure that the reference path can be smoothly tracked, this paper uses the front wheel declination constraint, the front wheel declination incremental constraint, and the tire lateral angle dynamic constraints.

3.2.1. Front Wheel Declination and Its Incremental Constraints

Restrictions on the front wheel deflection angle and front wheel deflection angle of the vehicle can be set according to the actual physical parameters of the vehicle. The control quantity constraint expression is:
u min ( k + t ) < u ( k + t ) < u max ( k + t ) , k = 0 , 1 , , N 1
The expression of the incremental constraints is:
Δ u min ( k + t ) < Δ u ( k + t ) < Δ u max ( k + t ) , k = 0 , 1 , , N 1
In the objective function and constraints, the optimized variable is the control quantity increment in the control time domain. Therefore, the control variable must first be converted into the matrix form of Δ u .
The relationship between the control increment and the control quantity can be obtained:
{ u ( t + 1 ) = Δ u ( t ) + u ( t ) u ( t + 2 ) = Δ u ( t + 1 ) + Δ u ( t ) + u ( t ) u ( t + N ) = Δ u ( t + N 1 ) + Δ u ( t + N 2 ) + + Δ u ( t ) + u ( t )
Convert Equation (18) to U min A Δ U + U t U max , where:
A = [ 1 0 0 1 1 0 1 1 1 ] ,   Δ U = [ Δ u min ( t + 1 ) Δ u min ( t + 2 ) Δ u min ( t + N ) ] N × 1 ,   U t = [ u ( t ) u ( t ) u ( t ) ] N × 1
The constraints of control quantity and control increment ensure that the control output generated by the model prediction controller is physically achievable, but for driving safety and comfort, the dynamic constraints of the vehicle also need to be introduced.

3.2.2. Dynamic Constraint of Tire Cornering

The vehicle sideslip due to wet or slippery roads may cause various accidents. Therefore, it is particularly important to increase vehicle dynamics constraints and reduce the possibility of vehicle sideslip.
The sideslip of the vehicle is closely related to the tire slip angle. When the vehicle runs straight on a horizontal road, the tire slip angle α = 0 ; when the tire is elastically deformed by lateral force without lateral slip, α   α m a x ; when the tire is subjected to excessive lateral force, the vehicle slips, α   >   α m a x . It can be concluded that the slip angle of the vehicle tire directly reflects whether the vehicle is slipping, and limiting the tire slip angle limits the occurrence of sideslip.
Since the established vehicle dynamics state-space equation does not take the tire slip angle as a state quantity and cannot directly constrain the tire slip angle, this paper needs to find the relationship between the tire slip angle α and the state quantity ξ(k,t). The relationship is to restrain the tire slip angle by imposing a specific relationship constraint on the state quantity.
By Equations (2)–(4), the available tire front and rear wheel angles are:
{ α f = ( y ˙ + L f φ ˙ ) / x ˙ δ f α r = ( y ˙ L r φ ˙ ) / x ˙
Using ξ d y n as the state quantity and u d y n as the control quantity, linearize the above formula to obtain:
{ α = E ξ ( k , t ) + F u d y n ( k , t ) E = [ 1 x ˙ y ˙ + L f φ ˙ x ˙ 2 0 L f x ˙ 0 0 1 x ˙ y ˙ L r φ ˙ x ˙ 2 0 L r x ˙ 0 0 ]
where α = [ α f , α r ] T is the tire corner angle matrix, F = [ 1 , 0 ] T is the direct transfer matrix, and E is the output matrix.
Based on the above objective function and constraints, the optimization problem of the controller can be described as:
{ min Δ U , ε i = 1 N p Δ η ( t + i | t ) Q 2 + i = 1 N c 1 Δ u ( t + i | t ) R 2 + ρ ε 2 Δ U min Δ U Δ U max Δ U min A Δ U + U f Δ U max α min Δ α Δ α max ε 0
Solving the above formula can get the incremental sequence of control input in each control time domain:
Δ U * ( k ) = [ Δ u * ( k / k ) , Δ u * ( k + 1 / k ) , , Δ u * ( k + N 1 / k ) ]
Apply the first element of the incremental sequence to the controller as the actual input increment:
u ( k / k ) = u ( k 1 ) + Δ u * ( k / k )
Repeating the above process, the optimal control input to the front wheel angle can be obtained.

3.2.3. Multi-Sensor Information Data Fusion and Fault Signal Isolation

If multi-sensors are used to measure one vehicle motion parameter, we can fuse the outputs of all sensor system using the weight assignment method [28], which can be written as follows:
O = W M I = [ w 1 , w 2 , , w n ] d i a g [ m 1 , m 2 , , m n ] [ i 1 , i 2 , , i n ] T
where O is the result of data fusion; W = [ w 1 , w 2 , , w n ] is the weight matrix; I = [ i 1 , i 2 , , i n ] T is outputs of each sensor; n is the number of sensors; and M is fault detection matrix.
The principle of the method can be written as follows:
{ w j = 1 / [ σ j 2 i = 1 n ( 1 / σ i 2 ) ] i = 1 n w j = 1
where σ i and σ j are the output error dispersion of the i-th and j-th sensors; i , j = 1 , 2 , n .
The true values of vehicle motion states cannot be obtained, and the traditional methods determine the average value of the different sensors outputs as the true value. However, these methods are not suitable in our situation, since different sensors in different conditions can give a deliberately low accuracy or even failure; due to this reason, the average value may have a large difference with the true value, which is extremely harmful to vehicle safety.
If at moment k, the sensor j gives the measured value T j ( k ) , then:
{ Δ T j ( k ) = T j ( K ) T ^ j ( k ) Δ T ¯ j = 1 N k = 1 N Δ T j ( k ) σ j ( k ) = 1 N k = 1 N [ Δ T j ( k ) Δ T ¯ j ] 2 k = 1 , 2 , , N
where T j ( k ) is the measurement error of the j-th sensor at time k; T ¯ j is the average value of the j-th sensor at moment k; σ j ( k ) is the variance of the output error of the j-th sensor at time k; T j ^ ( k ) is prognostic assessment obtained using the Kalman filter; N is the number measurements from each sensor.
Since the following filtering process includes the isolation of unreliable data sources and error correction, we can approximately consider the estimated information as the true value.

3.3. Fault Signal Detector Design

Figure 3 shows the block diagram of proposed faults signals detector.
Each filter in this detector is standard, we take the Sub_Kalman_Filter_1 for GPS signal channel as an example. The state vector and measurement vector can be written as:
{ X G P S = [ Δ x ˙ , Δ y ˙ , Δ φ , Δ φ ˙ , Δ X , Δ Y ] Y G P S = Δ φ
The state-space and measurement-space equations of Kalman Filter from moment k − 1 to moment k can be written as:
{ X G P S , k = F G P S , k X G P S , k 1 + w G P S , k Y G P S , k = H G P S , k X G P S , k + v G P S , k
where F G P S , k is the state transition matrix, W G P S , k is the process noise, H G P S , k is the measurement transition matrix, and v G P S , k is the measurement noise.
The equations of Kalman Filter can be written as:
{ X ^ G P S , k | k 1 = F G P S , k X ^ G P S , k 1 | k 1 P G P S , k | k 1 = F G P S , k P G P S , k 1 | k 1 F G P S , k T + Q G P S , k K G P S , k = P G P S , k | k 1 H G P S , k T ( H G P S , k P G P S , k | k 1 + R G P S , k T ) 1 X ^ G P S , k | k = X ^ G P S , k | k 1 + K G P S , k ( Y G P S , k H G P S , k X ^ G P S , k | k 1 ) P G P S , k | k = ( I K G P S , k H G P S , k ) P G P S , k | k 1
where P G P S , k | k is covariance matrix, K G P S , k is the gain matrix, Q G P S , k is the process noise covariance matrix, and R G P S , k is the measurement noise covariance matrix.
The equation of state propagator can be written as:
{ X ^ i , k | k 1 = F i , k X ^ i , k 1 | k 1 P i , k | k 1 = F i , k P i , k 1 | k 1 F i , k T + Q i , k , i = 1 , 2
The χ 2 test method is widely used to detect faults in stochastic dynamic systems based on correspondence between the observed and reference signals [29]. This method can be divided into three types: χ 2 test for residual error; χ 2 test for state with a single state propagator; χ 2 test for state with double state propagators. These methods have their own advantages and disadvantages:
(1) If the test statistics are calculated using the residual error, it is almost impossible to detect the fault in the state transfer process, although the fault of the sensors can be easily detected;
(2) If the test statistics are calculated using the state vector, it is possible to detect the fault in the state transfer process and to evaluate the fault of the sensor indirectly. If only one state propagator is used for correction of the state prediction error, the error accumulates and may diverge with time increases;
(3) If two state propagators are used and alternately reset the outputs, then accumulation of errors can be avoided. However, for this method, if M sub-filters are used, then 2M state propagators should be used, which not only complicates the structure of the algorithm but also affects the speed of calculations.
It can be seen that these methods have their advantages and disadvantages. In this work, a novel robust fault detector is proposed with a structure that simultaneously implements a χ 2 test for residual error and a χ 2 test for state. Double state propagators are used only for the main Kalman filter (see Figure 3), which allows to simplify the structure of the algorithm and increase the speed of calculations. As an example, Figure 4 shows the diagram of the Fault_Dignal_Detector_1.
As long as one test channel detected a fault, it can be considered as fault signal. In addition, since the state vectors of all filters are the same, we use only two state propagators. Derive the state χ 2 test with two state propagators and define error state vectors as:
{ e i , k = X k X ^ i , k e G P S , k = X k X ^ G P S , k
where X k is true state vector, X ^ G P S , k is estimation from Sub_Kalman_Filter_1 for GPS signal channel, and X ^ i , k is estimation error from state propagator i. In this paper, we consider the following variable to detect fault signal from Sub_Kalman_Filter_1 for GPS signal channel:
β G P S , k = e i , k e G P S , k = X ^ G P S , k X ^ i , k
The variance of this variable can be written as:
T G P S , k = E { β G P S , k β G P S , k T } = E { e G P S , k e G P S , k T e G P S , k e i , k T e i , k e G P S , k T + e i , k e i , k T } = P G P S , k P G P S _ i , k P i _ G P S , k + P i , k
where P G P S _ i , k and P i _ G P S , k is the cross-covariance.
We set the same initial conditions for the Sub_Kalman_Filter_1 for GPS signal channel and the state propagator i, then we can obtain P G P S _ i , k = P i _ G P S , k = P i , k , therefore, the variance can be written as:
T G P S , k = P G P S , k P i , k
Define the fault detection function:
λ G P S , k = β G P S T T G P S , k 1 β G P S
The fault decision criteria can be written as:
{ λ G P S , k ε β , f a u l t λ G P S , k < ε β , n o f a u l
where the threshold ε β is determined by the function of false alarm rate based on statistical results.
In this paper, we use the state χ 2 test with two state propagators. The working principle can be described as follows: during period t k a fault occurs and the switch K 1 is located at position “ L 1 ”, switch K 2 is located at position “ L 2 ”, the output of State_Propagator_1 is uncorrected due to this fault, but the output of State_Propagator_2 is obtained using the previous correct state, which can be used for fault correction. During period t k + 1 , errors in State_Propagator_1 are corrected using the outputs of Kalman filter. After a time period t , the K 1 switch is located at position “ L 2 ”, the switch K 2 is located at position “ L 1 ”, and the State_Propagator_2 is used to correct the fault.
Test χ 2 residual error of Sub_Kalman_Filter_1 can be written as:
d G P S , k = Δ φ G P S , k Δ φ ^ i , k
Covariance residual error:
S G P S , k = H G P S , k P G P S , k H G P S , k T + R G P S , k
Define the fault detection function:
γ G P S , k = d G P S , k T S G P S , k 1 d G P S , k
Fault decision criteria can be written as:
{ γ G P S , k ε d , f a u l t γ G P S , k < ε d , n o f a u l t
where the threshold ε d is determined by the function of false alarm rate based on statistical results.
If the state χ 2 test or the residual error χ 2 test detected a fault, then m g = 0 , otherwise m g = 1 .

4. Simulation Experiment Verification and Discussion

4.1. Working Conditions Description

In order to verify the feasibility and effectiveness of the proposed method, the Driving Scenario Designer was used to build a simulated driving environment with two straight lanes, and the reference path and yaw angle were collected, as shown in Figure 5a. The system model was built in the Matlab/Simulink environment.
In Figure 5a, the simulation vehicle starts from the right lane and then changes lanes to the left. From Figure 5b, we can observe that the simulation vehicle is initially located at x = −10, y = 0, and then changes lanes at x = 0, y = 0. The lane changing process is completed at x = 80 m, and the position of the center of mass on the Y-axis reaches y = 4 m.
Figure 6a shows the values of vehicle yaw angle obtained by different sensors in the simulation process. Figure 6b shows the reference yaw angle of the vehicle and the yaw angle after data fusion.
The horizontal axis represents time, and the vertical axis represents the values of yaw angle. It can be seen that from moment 0s to 3s, the measured values of Vision, GPS, and LIDAR systems are similar. In the simulation process, we assume that the GPS signal has interfered from 3 to 6 s, and the obtained yaw angle value has a large deviation. After 6s, the GPS signal returns to normal.
It can be seen that the fused yaw angle is always less than the value of the reference yaw angle before 2.3s and the fused yaw angle is greater than the value of the reference yaw angle between 2.3s to 5s. According to the trend of the two curves in the image, we know that the path tracking control performance of straight line is significantly better than the curve line during the process of lane change.
The type of simulated autonomous vehicle used in our paper is passenger car. The simulation environment and initial simulation condition settings are shown in Table 1:

4.2. Effectiveness of the Proposed Method

The yaw angle errors are shown in Figure 7.
It can be seen that except GPS, the deviation between other measurement data and reference value is extremely small, and their absolute values are not more than 0.01 rad. However, when it comes to GPS data, the deviation is about 0.7rad at 3s, which is unacceptable considering the maxim yaw angle about 0.09 rad.
Figure 8 shows the value of simultaneous interpreting of three different sensors based on Chi-square test.
Figure 8a is the value obtained by state chi-square test, and Figure 8b is the value obtained by residuals error chi-square test. In Figure 8a, the calculated values λ of state chi-square test of Vision, GPS, and LIDAR channels are very small, which are always below the order of magnitude 10 7 , when all sensor systems work without fault. In contrast, when the fault of GPS signal occurs, the calculated values of state chi-square test of GPS channel sharply increase at 3s, reaching more than the order of magnitude 5× 10 6 . In Figure 8b, the calculated values γ of state residuals test of Vision, GPS, and LIDAR channels are generally not exceed 2 × 10 8 , when all sensor systems work without fault. However, in the period of 3s-5s, when the GPS signal has fault, the calculated values γ of residuals error chi-square test of GPS signal channel is much higher, and even reaches more than 5 × 10 7 at 3 s.
Figure 9a shows the lateral position changes of the vehicle obtained by Vision, GPS, and LIDAR sensor systems. Figure 9b shows the reference lateral position of the vehicle and the lateral position after data fusion.
It can be seen from Figure 9 that the lateral position obtained by GPS signal has obvious deviation in the time period of 3-6s, and the lateral position obtained by multi-sensor data fusion method is basically consistent with the reference lateral position. However, a small deviation between the reference and fused lateral position still exists due to the performance of path tracking controller.
Figure 10 shows the deviation of the measured lateral position by different sensor systems.
It can be seen from Figure 10 that the measurement deviations of vision and LIDAR have remained at a very small range, while the measurement error of GPS data gradually increases from about 1.5m to more than 3m in the period of 3-6s due to sensor failure. Considering that the lane width is only 4m, the GPS sensor fault is unacceptable and needs to be isolated.
Figure 11 shows the value of the fault detection function calculated by chi-square test for different sensor systems. Figure 11a shows the value obtained by state chi-square test and Figure 11b shows the value obtained by residuals chi-square test.
In Figure 11a, it can be seen that the calculated values of λ state chi-square test of vision and LIDAR channels are very small, basically below 2 × 10 5 , occasionally exceeding the order of magnitude 10 5 , but they are still extremely small. Comparatively, the data of GPS channel reaches the order magnitude of 10 3 at 3 s, or even more than 10 2 at 6 s, which is much larger than that of vision and LIDAR channels. In Figure 11b, the calculated value γ of vision channel reaches about 1 × 10 6 at the initial stage but always below the order magnitude of 10 6 in the following time. The calculated value γ of GPS data is extremely large from 3 s to 6 s, reaching the order magnitude of 10 3 due to the GPS sensor failure. The calculated values γ of LIDAR data fluctuate greatly, but they are all below 1 × 10 5 , which is also a reasonable interference situation.
From the above description and analysis of Figure 7 to Figure 11, it can be seen that the proposed method can detect the fault signal robustly when the sensor failure occurs.
Figure 12 shows the simulation results of path tracking control with and without fault isolation. The three curves in Figure 12a represent the reference lateral position, after fault isolation and before fault isolation. Figure 12b shows the lateral position error before and after fault isolation in the simulation process. From Figure 12a,b, it can be seen that without fault isolation, it is almost impossible to realize the path tracking control due to sensor faults. After fault isolation, the deviation between the actual lateral position and the reference lateral position is maintained within a very small range, which validates the effectiveness of the proposed fault-tolerant MPC algorithm for path tracking of autonomous vehicle.
Figure 12c,d show the yaw angle obtained before and after fault isolation and the yaw angle error with respect to the reference values. From Figure 12c,d, it can be seen that with fault isolation, actual yaw angle of vehicle almost coincides with the reference yaw angle, while without fault isolation the yaw angle error is extremely large after 1s. From Figure 12d, the yaw angle error without fault isolation can reach—0.5 rad to 1.1 rad, while the reference value of yaw angle is always below 0.1rad, which means yaw angle error without fault isolation may reach 5–10 times more than the reference, and vehicle cannot track the reference path under this condition, which may lead to serious consequences. On the contrary, after fault isolation processing, the yaw angle error is always below 0.02 rad, which is extremely small for path tracking control.

4.3. Discussion of the Background and Outcomes of Our Work

With the continuous increasing requirements for the safety and environmental adaptability of autonomous vehicles, the on-board environmental perception systems have become more and more complex, and the types and numbers of sensors have also increased. The risk of sensor failures is also increased, which has a serious impact on vehicle safety. Therefore, the detection of faulty sensor signals and fault-tolerant control mechanism is very important to autonomous driving safety. In our work, we established a single-track 3 DOF vehicle dynamics model and based on this model, a fault-tolerant model predictive control method was developed. Our motivation for designing this algorithm is to enable the autonomous vehicle to effectively detect and isolate the fault signal and to perform robust longitudinal path tracking motion control when the sensor failure occurs.
In order to verify the effectiveness of the method proposed in this paper, we set up a single lane changing path tracking control condition in Driving Scenario Designer. The vehicle motion state information, such as the lateral position and yaw angle, can be obtained by the GPS integrated navigation system, LIDAR perception system, and visual perception system. We assume that there is interference in the simulation environment, which causes the GPS signal to be temporarily lost. The description and analysis of simulation results show that the proposed fault-tolerant MPC algorithm can effectively detect the fault signal when the sensor failure occurs. The value of fault detection functions of fault yaw angle signal and fault lateral position signal is 10 and 100 times, respectively, more than that of normal signals. This means that we can easily detect the fault signal by setting the appropriate threshold and generate the corresponding fault detection matrix. The fault isolation is accomplished in the process of data fusion, which is one of the innovations of our work. With the fault signal isolation, the path tracking control performance of autonomous vehicle can be significantly improved, further confirming the effectiveness and robustness of the proposed algorithm in this work.

5. Conclusions

In this paper, a novel and robust fault-tolerant model predictive control algorithm was proposed, which can be used for robust vehicle lateral motion control in case of sensor failures. First, by constructing the objective function and considering dynamic constraints, the linear time-varying model predictive control algorithm for path tracking control of vehicle was designed. Second, an improved weighted data fusion algorithm was proposed for multi-sensor information fusion and fault signal isolation. Then, based on Chi-square detectors and Kalman filters, we designed a novel fault signal detection algorithm, which can produce the fault detection matrix used in data fusion algorithm for fault signal isolation. Finally, a lane changing path tracking control simulation was carried out for validation of the effectiveness and correctness of the proposed algorithm. The simulation results show that the proposed algorithm can efficiently detect the fault signal. After the fault signal isolation, the reference path can be effectively tracked by using the proposed fault-tolerant MPC algorithm. In further studies, this method can be combined with reinforcement learning to improve fault detection and isolation performance. We will explore the effectiveness of the proposed method for fault detection in electronic fuel injection system, automatic steering control system, suspension systems, etc. Meanwhile, we will extend our fault-tolerant model predictive control algorithm into the fault diagnosis fields that are out of the real driving environment, for instance, fault diagnosis in complex driving scenarios and strong environmental noise conditions. In addition, considering the longitudinal speed changes and the adaptive MPC algorithm can be used to improve the path tracking performance of motion controller. It is worth noting that we approximately use the fused multi-sensor data as the real motion states of vehicle, which means that when faults occur to most or all sensors, our proposed method is invalid. In addition, the robustness is weak by using the thresholds to detect the fault signal in our method. For solving these two problems, using the convolutional neural network to automatically extract the features of the fault detection function and detect the sensor fault could be a reliable solution.

Author Contributions

In this article, the author’s contributions are shown below: Methodology, K.G.; writing—original draft preparation, Z.W.; project administration, N.A.C.; data curation, Z.W.; investigation, K.G.; resources, K.G. All authors have read and agreed to the published version of the manuscript.

Funding

The research is supported by the National Key Research and Development Program of China (Grant No. 2016YFD0700905), National Natural Science Foundation of China (Grant No. 51905095), and National Natural Science Foundation of Jiangsu Province (Grant No. BK20180401).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Xia, Y.; Fan, P.; Li, S.; Yuan, G. Lateral path tracking control of autonomous land vehicle based on ADRC and differential flatness. IEEE Trans. Ind. Electron. 2016, 63, 3091–3099. [Google Scholar] [CrossRef]
  2. Alessandri, A.; Caccia, M.; Veruggio, G. Fault detection of actuator faults in unmanned underwater vehicles. Control Eng. Pract. 1999, 7, 357–368. [Google Scholar] [CrossRef]
  3. Heredia, G.; Ollero, A.; Mahtani, R. Detection of Sensor Faults in Autonomous Helicopters. In Proceedings of the IEEE International Conference on Robotics & Automation, Barcelona, Spain, 18–22 April 2005. [Google Scholar]
  4. Persis, C.D.; Isidori, A. A geometric approach to nonlinear fault detection and isolation. Autom. Control. IEEE Trans. Autom. Control. 2001, 46, 853–865. [Google Scholar] [CrossRef] [Green Version]
  5. Patton, R.J.; Frank, P.M.; Clark, R.N. (Eds.) Issues of Fault Diagnosis for Dynamic Systems; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  6. Wang, D.; Wang, W.; Shi, P. Robust fault detection for switched linear systems with state delays. IEEE Trans. Syst. Man Cybern Part B 2009, 39, 800–805. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Goupil, P.; Marcos, A. The European ADDSAFE project: Industrial and academic efforts towards advanced fault diagnosis. Control Eng. Pract. 2014, 31, 109–125. [Google Scholar] [CrossRef]
  8. Freeman, P.; Seiler, P.; Balas, G.J. Air data system fault modeling and detection. Control Eng. Pract. 2013, 21, 1290–1301. [Google Scholar] [CrossRef]
  9. Castaldi, P.; Mimmo, N.; Simani, S. Differential geometry based active fault tolerant control for aircraft. Control Eng. Pract. 2014, 32, 227–235. [Google Scholar] [CrossRef]
  10. Marzat, J.; Piet-Lahanier, H.; Damongeot, F.; Walter, E. Model-based fault diagnosis for aerospace systems: A survey. Proc. Inst. Mech. Eng. Part G J. Aerosp. Eng. 2012, 226, 1329–1360. [Google Scholar] [CrossRef] [Green Version]
  11. Marzat, J.; Piet-Lahanier, H.; Damongeot, F. Control-based fault detection and isolation for autonomous aircraft. Proc. Inst. Mech. Eng. 2012, 226, 510–531. [Google Scholar] [CrossRef] [Green Version]
  12. Avram, R.C.; Zhang, X.; Campbell, J. IMU Sensor Fault Diagnosis and Estimation for Quadrotor UAVs. IFAC Pap. 2015, 48, 380–385. [Google Scholar] [CrossRef]
  13. Zhang, D.; Wang, Q.G.; Yu, L. Fuzzy-model-based fault detection for a class of nonlinear systems with networked measurements. IEEE Trans. Instrum. Meas. 2013, 62, 3148–3159. [Google Scholar] [CrossRef]
  14. Ballesteros-Moncada, H.; Enrique, J.H.-L.; Juan, A.-M. Fuzzy model-based observers for fault detection in CSTR. ISA Trans. 2015, 59, 325–333. [Google Scholar] [CrossRef] [PubMed]
  15. Chen, M.; Shi, P.; Lim, C.C. Adaptive Neural Fault-Tolerant Control of a 3-DOF Model Helicopter System. IEEE Trans. Syst. Man Cybern. Syst. 2017, 46, 260–270. [Google Scholar] [CrossRef] [Green Version]
  16. Baghernezhad, F.; Khorasani, K. Computationally autonomous strategies for robust fault detection, isolation, and identification of mobile robots. Neurocomputing 2016, 171, 335–346. [Google Scholar] [CrossRef]
  17. Yu, Z.; Qu, Y.; Zhang, Y. Fault-Tolerant Containment Control of Multiple Unmanned Aerial Vehicles Based on Distributed Sliding-Mode Observer. J. Auton. Robot. Syst. Theory Appl. 2019, 93, 163–177. [Google Scholar] [CrossRef]
  18. Lu, P.; Kampen, E.J.V.; Visser, C.D. Nonlinear aircraft sensor fault reconstruction in the presence of disturbances validated by real flight data. Control Eng. Pract. 2016, 49, 112–128. [Google Scholar] [CrossRef] [Green Version]
  19. Chamseddine, A.; Noura, H. Control and Sensor Fault Tolerance of Vehicle Active Suspension. IEEE Trans. Control Syst. Technol. 2008, 16, 416–433. [Google Scholar] [CrossRef]
  20. Kim, W.; Lee, J.; Yoon, S. Development of Mando’s New Continuously Controlled Semi-Active Suspension System; Sae World Congress & Exhibition: Detroit, MI, USA, 2005. [Google Scholar]
  21. Isermann, R.M.; Schmitt, M. A Sensor and Process Fault Detection System for Vehicle Suspension Systems; Sae World Congress & Exhibition: Detroit, MI, USA, 2002. [Google Scholar]
  22. Sébastien, V.; Morales-Menendez, R.; Lozoya-Santos, D.J. Fault Detection in Automotive Semi-Active Suspension: Experimental Results. In Proceedings of the SAE 2013 World Congress & Exhibition, Detroit, MI, USA, 16–18 April 2013. [Google Scholar]
  23. Svendenius, J.; Gäfvert, M. A Semi-Empirical Tire-Model for Transient Combined-Slip Forces. Veh. Syst. Dyn. 2006, 44, 189–208. [Google Scholar] [CrossRef]
  24. Kristian, H.; Florian, B.; Klaus, A. Extending the Magic Formula Tire Model for Large Inflation Pressure Changes by Using Measurement Data from a Corner Module Test Rig. SAE Int. J. Passeng. Cars Mech. Syst. 2018, 11, 103–117. [Google Scholar]
  25. Wu, J.Y.; Wang, Z.P.; Zhao, Z. Influence of Tire Inflation Pressure on Vehicle Dynamics and Compensation Control on FWID Electric Vehicles. J. Dyn. Syst. Meas. Control Trans. ASME 2020, 142, 071001. [Google Scholar] [CrossRef]
  26. Feng, Y.; Chao, Y.; Xing, L. Experimental Evaluation on Depth Control Using Improved Model Predictive Control for Autonomous Underwater Vehicle (AUVs). Sensors 2018, 18, 2321–2340. [Google Scholar]
  27. Shi, X.; Gao, J.; Lu, Y. Simulation of Disturbance Recovery Based on MPC and Whole-Body Dynamics Control of Biped Walking. Sensors 2020, 20, 2971. [Google Scholar] [CrossRef] [PubMed]
  28. Linben, L.; Zigang, L.I.; Chaoying, C. Optimal weight distribution principle used in the fusion of multi-sensor data. J. Chin. Inert. Technol. 2000, 8, 36–39. [Google Scholar]
  29. Da, R. Failure detection of dynamical systems with the state chi-square test. J. Guid. Control Dyn. 1994, 17, 271–277. [Google Scholar] [CrossRef]
Figure 1. The flowchart of the fault-tolerant model predictive control algorithm.
Figure 1. The flowchart of the fault-tolerant model predictive control algorithm.
Sensors 20 04245 g001
Figure 2. Schematic of the single-track vehicle model.
Figure 2. Schematic of the single-track vehicle model.
Sensors 20 04245 g002
Figure 3. The block diagram of proposed faults signals detector.
Figure 3. The block diagram of proposed faults signals detector.
Sensors 20 04245 g003
Figure 4. The diagram of the Fault_Signal_Detector_1.
Figure 4. The diagram of the Fault_Signal_Detector_1.
Sensors 20 04245 g004
Figure 5. Driving scenario and reference path: (a) driving scenario; (b) reference path.
Figure 5. Driving scenario and reference path: (a) driving scenario; (b) reference path.
Sensors 20 04245 g005
Figure 6. The yaw angle: (a) yaw angle detected using different sensors; (b) the reference and fused yaw angle.
Figure 6. The yaw angle: (a) yaw angle detected using different sensors; (b) the reference and fused yaw angle.
Sensors 20 04245 g006
Figure 7. The yaw angle errors.
Figure 7. The yaw angle errors.
Sensors 20 04245 g007
Figure 8. Yaw test statistic of: (a) state Chi-square test; (b) residuals Chi-square test.
Figure 8. Yaw test statistic of: (a) state Chi-square test; (b) residuals Chi-square test.
Sensors 20 04245 g008
Figure 9. The lateral position: (a) lateral position detected using different sensors; (b) the reference and fused lateral position.
Figure 9. The lateral position: (a) lateral position detected using different sensors; (b) the reference and fused lateral position.
Sensors 20 04245 g009
Figure 10. The lateral position error.
Figure 10. The lateral position error.
Sensors 20 04245 g010
Figure 11. Lateral position test statistic of: (a) state Chi-square test; (b) residuals Chi-square test.
Figure 11. Lateral position test statistic of: (a) state Chi-square test; (b) residuals Chi-square test.
Sensors 20 04245 g011
Figure 12. The path tracking control simulation results: (a) the lateral position changes; (b) the lateral position error before and after fault isolation; (c) the yaw angle changes; (d) the yaw angle error before and after fault isolation.
Figure 12. The path tracking control simulation results: (a) the lateral position changes; (b) the lateral position error before and after fault isolation; (c) the yaw angle changes; (d) the yaw angle error before and after fault isolation.
Sensors 20 04245 g012
Table 1. The simulation parameters.
Table 1. The simulation parameters.
ParametersValueDimension
Number of lanes:2
Lane width:4m
Lane length127m
Mass of car:1575kg
Moment of inertia2875kg.m2
Length of car4.7m
Width of car1.8m
Height of car1.4m
Front overhang0.9
Rear overhang1
Longitudinal speed15km/h
Sampling time interval0.01s
The process noise covariance matrix Q diag [0.001,0.001,0.001,.0.002]
The measurement noise R 0.001

Share and Cite

MDPI and ACS Style

Geng, K.; Chulin, N.A.; Wang, Z. Fault-Tolerant Model Predictive Control Algorithm for Path Tracking of Autonomous Vehicle. Sensors 2020, 20, 4245. https://doi.org/10.3390/s20154245

AMA Style

Geng K, Chulin NA, Wang Z. Fault-Tolerant Model Predictive Control Algorithm for Path Tracking of Autonomous Vehicle. Sensors. 2020; 20(15):4245. https://doi.org/10.3390/s20154245

Chicago/Turabian Style

Geng, Keke, Nikolai Alexandrovich Chulin, and Ziwei Wang. 2020. "Fault-Tolerant Model Predictive Control Algorithm for Path Tracking of Autonomous Vehicle" Sensors 20, no. 15: 4245. https://doi.org/10.3390/s20154245

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