Abstract

Normal operation of the pressure sensor is important for the safe operation of the locomotive electro-pneumatic brake system. Sensor fault diagnosis technology facilitates detection of sensor health. However, the strong nonlinearity and variable process noise of the brake system make the sensor fault diagnosis become challenging. In this paper, an adaptive unscented Kalman filter- (UKF-) based fault diagnosis strategy is proposed, aimed at detecting bias faults and drift faults of the equalizing reservoir pressure sensor in the brake system. Firstly, an adaptive UKF based on the Sage-Husa method is applied to accurately estimate the pressure transients in the equalizing reservoir of the brake system. Then, the residual is generated between the estimated pressure by the UKF and the measured pressure by the sensor. Afterwards, the Sequential Probability Ratio Test is used to evaluate the residual so that the incipient and gradual sensor faults can be diagnosed. An experimental prototype platform for diagnosis of the equalizing reservoir pressure control system is constructed to validate the proposed method.

1. Introduction

The electro-pneumatic brake system has shown the extensive applications in passenger trains, metros, and heavy haul trains because of its fast response time and high reliability [1]. Locomotive electro-pneumatic brake is a crucial component which has an important function for the operational safety of the train. Faults in braking systems can lead to a reduction in locomotive braking performance and even induce safety accidents. Therefore, early detection and isolation of faults in the braking system are necessary [2]. Pressure sensors are vital components in the brake system because their reliability and measuring accuracy are crucial to achieving the accurate pressure control and approving braking performance.

The fault diagnosis of the equalizing reservoir pressure sensor is a challenging task. The brake system is composed of the electric, pneumatic, and mechanical subsystem, showing a sophisticated nonlinearity [1]. The energy transmitting medium of the braking force is compressed air, and the compressibility of air makes the system highly nonlinear [3], which makes it difficult to build a precise mathematical model of the brake system. Furthermore, the process noise and measurement noise in the braking process, which are caused by the harsh and noisy working environment, make the fault diagnosis of the brake become more challenging.

Recent years, many studies have developed sensor fault diagnosis methods [48]. There are three main categories of sensor fault diagnosis methods: the redundancy method and the knowledge-based method and the model-based approaches. The redundancy method is implemented by the comparison of measurements among several sensors, which has been used in wireless sensor networks [9] or the aerospace system [10], such as satellite attitude control systems [11]. The minimum degree of sensor redundancy necessary to pinpoint the distinction between sensor faults and system faults in the monitoring process is determined in [12]. However, the redundancy methods require additional hardware sensors, showing less cost-effectiveness, which are not appropriate for the locomotive electro-pneumatic brake system [13].

The development of computer technology has provided a new method for fault diagnosis technology. Knowledge-based method uses an expert system to locate and diagnose sensor faults and does not require a quantitative mathematical model. A fuzzy expert system is established to locate sensor faults [14], and the residual generation and residual evaluation are analyzed in [15], showing its instantaneous handling capability for the fault. The problem of sensor fault recognition is considered pattern recognition in [2]. The sample data is acquired and trained to obtain a classifier, and then, the data is matched according to the classification rules. However, it is general that knowledge-based methods require a large enough amount of data, which means that many types and numbers of sensors need to be added in the brake system.

For model-based methods, the Kalman filter and its enhanced varieties are widely utilized [5, 7, 16] because of their robustness to process and measurement noise and their efficient real-time performance [17]. However, the Kalman filter is not available for the brake system because of its intrinsic nonlinear properties. Therefore, an unscented Kalman filter (UKF) is proposed to address the nonlinear problem. The UKF, which applies the unscented transform to calculate the mean and variance of measurement and process noise, has higher accuracy than the extended Kalman filter [18, 19]. However, the process noise and covariance matrices of measurement for UKF are generally assumed to be stable. And it is difficult to determine the covariance matrices in practical applications. The fault diagnosis method will suffer from performance degradation if the model uncertainty is not well defined by the process noise covariance [20]. To overcome the difficulty, the adaptivity of UKF should be improved. That is, the covariance matrices of measurement and process noise should be adaptively adjusted [8, 21, 22].

This paper proposes an adaptive UKF-based scheme to detect bias faults and drift faults of the equalizing reservoir pressure sensor. For the locomotive electro-pneumatic brake system, different from existing UKF-based fault diagnosis methods, the proposed scheme can detect incipient and gradual sensor faults. The scheme introduced the Sage-Husa mechanism to accurately estimate the pressure transients in the equalizing reservoir by filtering out the measurement noise and the changing process noise of the brake system. Further, the Sequential Probability Ratio Test is utilized to evaluate the residual, the difference between the estimated pressure, and the online sensor measurement. By combining the Sage-Husa mechanism and Sequential Probability Ratio Test, the proposed scheme can detect the incipient and gradual sensor faults of the locomotive electro-pneumatic brake system. The main contributions in this paper include the following: (i)The mechanism of the electro-pneumatic brake system is analysed adequately, and the accurate analytical pressure model is established(ii)The adaptive UKF is applied to estimate the system output pressure, improving the robustness of the fault diagnosis approach under the uncertainty and noise(iii)The Sequential Probability Ratio Test is introduced to evaluate the residual to minimize the occurrence of misinformation or false detection in fault diagnosis

The rest of this paper is organized as follows. Section 2 gives a description of the brake system and builds the mathematical model. Section 3 introduces the theory of adaptive UKF and presents the fault diagnosis scheme of the pressure sensor bias and drift faults. Section 4 shows the experimental results and analysis. Finally, the conclusion is drawn in Section 5.

2. System Model and Problem Formulation

2.1. Principle of the Electro-Pneumatic Brake System

The electro-pneumatic brake system (see Figure 1) consists of the mechanical, pneumatic, and electric subsystem. The mechanical subsystem is the foundation brake rigging which mainly consists of the brake pads, drum, and shoes. The pneumatic subsystem consists of many components, including the main reservoir, the brake pipe and chamber, an equalizing reservoir, a relay valve, and a compressor. The electrical subsystem mainly contains a brake control unit (BCU), pressure sensors, and solenoid valves (brake valve and release valve).

2.2. Model of the Equalizing Reservoir Pressure Control System

The ideal gas law equation is as follows: which describes the quantitative relation among pressure, air temperature, and volume of a chamber, where , , , , and represent the number of moles of the gas, the gas constant, the absolute pressure, the absolute air temperature, and the chamber volume, respectively. Assuming the volume is invariable, taking the derivative of the equation with respect to time, we can get where is the mass flow in the chamber. According to Bernoulli’s equation for adiabatic and isentropic airflow, is calculated as follows [23]: where and have the same meanings as those in the ideal gas law equation. and are the downstream pressure and upstream pressure, respectively. and are the flow rate coefficients. represents the adiabatic exponent of air, and represents the orifice passage area. By combining (1) and (2), the equalizing reservoir pressure transients of the brake system in different operating modes can be formulated as (4), (5), and (6).

The equalizing reservoir pressure dynamics in the release process is formulated as where is the equalizing reservoir pressure, is the main reservoir pressure, represents the orifice passage area of the release valve, and is the equalizing reservoir volume.

The pressure in the equalizing reservoir remains steady in the hold mode. Then, the pressure dynamics can be described as

The equalizing reservoir pressure dynamics in the braking process is formulated as where is the atmosphere pressure, represents the orifice passage area of the brake valve, and and are the flow rate coefficients.

From (4) and (6), we can know that the brake system is strongly nonlinear; thus, we choose the UKF as the pressure estimator. The mathematical model should be as accurate as possible in order to realize an effective fault diagnosis scheme. Therefore, the parameters in the models should be obtained accurately. The equalizing reservoir volume, the orifice passage areas of the release valve, and the brake valve can be measured directly. However, the flow rate coefficients in (4) and (6) need to be identified. In this paper, the flow rate coefficients are identified by the least square method [24]. The validity of the model is tested by experiments, which is described in Section 4.

3. The Proposed Sensor Fault Diagnosis Method

The theory of adaptive UKF and the proposed sensor fault diagnosis method are introduced in this section. Firstly, the principle of adaptive UKF is developed, and then, the algorithm is applied to fault diagnosis of the equalizing reservoir pressure sensor.

3.1. The Theory of Adaptive UKF

Based on the theory of traditional UKF, the prior statistics of the process noise is used to compensate for the changing model uncertainty [25], which is adaptively corrected by the Sage-Husa noise estimator. The UKF is used for the discrete system generally. The general form of a discrete nonlinear system is defined by where and are the input vector and -dimensional state vector, respectively. is the -dimensional observation vector. and represent the process noise and measurement noise, respectively, which are the Gaussian white noise with zero mean.

Normally, the statistics of the measurement noise and process noise is unvarying in the UKF. However, the process noise of the brake system is varying and difficult to be determined. The measurement noise lies on the accuracy of the pressure sensor and is relatively constant. The statistics of process noise is described by the covariance matrices . Similarly, the measurement noise can be calculated from historical measurements. Then, the Sage-Husa method is applied to tune the covariance matrices adaptively. The Sage-Husa suboptimal noise estimator is depicted as follows [26]: where is the forgetting factor and is the Kalman gain.

The more the process and measurement noise change, the higher the value of . The Sage-Husa noise estimator cannot normally work when the prior statistical characteristic of noises is unknown; otherwise, the filter will diverge [27]. The statistics of the measurement noises in the brake system can be obtained according to historical measurements.

3.2. Residual Evaluation through the Sequential Probability Ratio Test

In order to minimize the occurrence of misinformation or false detection in fault diagnosis, [28] proposed an improved Sequential Probability Ratio Test (SPRT) method. In this method, statistical hypothesis tests are used, where and are supposed to be the nonfault hypothesis and faulty hypothesis, respectively [29]. The residuals under fault-free condition conform to a normal random variable (variance value and mean value ), while the residuals in faulty condition have the same variance value , whose mean value is . The log-likelihood ratio is calculated as follows:

The fault detection is then converted into detecting the changes of the residual mean. When there is no fault, is near to zero. When there is a fault, would be away from and would be away from zero.

A fault is detected when , where is the threshold, is the missing report rate, and is the false alarm rate. In this paper, we set , , and . When is too large, will exceed even though a small deviation between and exists. In order to solve the issue, we set an upper bound, 2000 on , and the upper bound is calibrated through experiments.

3.3. The Proposed Sensor Fault Diagnosis Method

The schematic of the proposed sensor fault diagnosis approach is described in Figure 2. It is assumed that the process and measurement noise of the equalizing reservoir pressure system is the Gaussian white noise. Thus, an adaptive UKF can be employed to estimate output pressure according to the inputs and outputs of equalizing reservoir pressure system. The inputs of the equalizing reservoir pressure system are generated by the brake control unit. The outputs of the equalizing reservoir pressure system are measured by a pressure sensor. Then, the residual is generated by subtracting the pressure sensor measurement from the adaptive UKF pressure estimation. Afterwards, the residual is passed through the Sequential Probability Ratio Test to increase the sensing sensitivity. By comparing the preset threshold, the fault detection result can be obtained.

The adaptive UKF is applied as the state estimator in this paper. Based on the conventional UKF algorithm, the measurement noise and process noise covariance is adaptively tuned according to (7) by using the Sage-Husa method. The fault diagnosis scheme is based on the equalizing reservoir pressure system models (3), (4), and (5). Since the system is nonlinear, we choose the Runge-Kutta methods to discretize the system models. Because the UKF algorithm can achieve third-order accuracy of the covariance and posterior mean [18], we use the second-order Runge-Kutta method [30], whose local truncation error is and is the step size. The process of the proposed sensor fault diagnosis scheme is depicted in Algorithm 1, where the equalizing reservoir pressure, , is chosen as the state variable, and the system state equations (3), (4), and (5) are simplified as . The observation equation is , where is the pressure sensor measurement. (second) is the step size.

1: Determination of the system state equation and observation equation: the system state equation and the observation equation ;
2: Discretization of the system equation and observation equation: discretized system equation and discretized observation equation ;
3: Initialization: for set: initial estimation error covariance , initial process noise covariance , measurement noise covariance ;
4: Time update and measurement update for;
5: residual generation by making a difference between the pressure sensor measurement and the UKF estimation ;
6: residual evaluation through Sequential Probability Ratio Test;
7: gotoTime update and measurement update

4. Simulation Results and Discussions

We construct an experimental platform for the equalizing reservoir pressure system and verify the effectiveness and feasibility of the proposed sensor fault diagnosis strategy. The experimental platform (see Figure 3) is part of the real locomotive electro-pneumatic brake.

The detailed parameters of the mathematical models are shown in Table 1, and the flow rate coefficients of the system are identified by the least square method. Firstly, the validity of the mathematical model of the equalizing reservoir pressure system is verified by experiments. Then, bias faults and drift faults are injected into the equalizing reservoir pressure sensor, and fault diagnosis performance of the proposed method is evaluated. Finally, fault diagnosis performance of the proposed method is compared with that of the Luenberger observer.

4.1. Model Verification

Figure 4 depicts the equalizing reservoir pressure transients, where the red line represents the equalizing reservoir pressure measured by a normal sensor and the blue line represents the pressure calculated from the mathematical model. The relative error between sensor measurement and model output is described by the green line. The equalizing reservoir pressure transients in the braking process are illustrated (see Figure 5), and the relative error between sensor measurement and model output is plotted by the green line. It can be found that the accuracy of the system model is high adequately.

4.2. Bias Fault Detection

The residuals resulted from sensor bias faults in the release process are shown (see Figure 6), and the bias faults are injected to the sensor at the third second after the release operation. In this figure, the blue line describes the residuals resulting from the bias fault whose magnitude is 1 kPa, and the residuals resulting from the bias fault of 2 kPa magnitude are depicted by the red line. We see that the amplitude of the residuals changes after the bias fault occurs (see Figure 6). The larger the fault magnitude, the larger the residual magnitude. The fault detection result of sensor bias faults with different magnitudes is shown in the release process (see Figure 7). In this figure, we can see that the bias fault whose magnitude is 2 kPa is detected, while the bias fault of 1 kPa magnitude has not been detected. This is because the model is not accurate enough. To improve the sensitivity of fault detection, the model needs to be sufficiently accurate.

The residuals of sensor bias faults in the braking process are depicted (see Figure 8), and sensor bias faults with different magnitudes occur at the eighth second after the braking operation. The blue line represents the residuals of the bias fault whose magnitude is 1 kPa, and the bias fault of 2 kPa magnitude is represented by the red line. We can know that the residual magnitudes change after the bias fault occurs (see Figure 8). The fault detection result of sensor bias faults with different magnitudes is shown in the braking process (see Figure 9). From the figure, we can see that the bias fault of 2 kPa magnitude has been detected, while the bias fault whose magnitude is 1 kPa has not been detected.

4.3. Drift Fault Detection

In this part, the drift fault detection is implemented in the braking and release processes, which is simulated by injecting a varying error to the measurement process, and the error magnitude increases each sampling period.

The residuals resulting from a sensor drift fault in the release process are described (see Figure 10), and the sensor drift fault occurs at the third second after the release operation. The measurement error increases artificially by 0.02 kPa each sampling period to simulate the drift fault. It can be seen that the residual changes slightly after the drift fault occurs (see Figure 10). The sensor drift fault detection results are shown in the release process (see Figure 11), where the log-likelihood ratio, , changes after the fault occurrence. The drift fault is detected about 2.5 seconds after its occurrence. Then, we can conclude that the Sequential Probability Ratio Test method has excellent performance in detecting the gradual fault. The drift fault detection result of the equalizing reservoir pressure sensor in the braking process is similar to that in the release process.

4.4. Performance Comparison of Sensor Fault Diagnosis Methods

In order to compare the performance of different fault diagnosis methods, the residual of the proposed fault diagnosis method is compared with that of the Luenberger observer during the brake release procedure. Residual comparison of different methods is carried out when the locomotive electro-pneumatic brake system is operated under normal conditions. In the experiment, the residuals are generated by subtracting the sensor measurement from the equalization cylinder pressure estimated by the observer and the proposed method based on the adaptive unscented Kalman filter, respectively.

In Figure 12, the blue line describes the residuals of the fault detection method based on the adaptive untraceless Kalman filter. The black line represents the residuals of the Luenberger observer. And the red line represents the fault detection threshold. From Figure 12, it can be seen that there are many false error detections when using the Luenberger observer for fault detection, because the error of the mechanism model is too large. If the threshold is increased to reduce the false positive rate of the Luenberger observer method, the sensitivity of the Luenberger observer method will be reduced. On the contrary, the residual error of the proposed method is much smaller than that of the Luenberger observer method and fluctuates little. By comparing the residuals generated by the two methods and analysing the fault detection results, the conclusion can be drawn that the proposed fault detection method has better accuracy and sensitivity than the Luenberger observer method. This is because the adaptive unscented Kalman filter can filter out the changing process noise and measurement noise and accurately estimate the pressure of the equalizing air cylinder.

5. Conclusions

This paper proposes an efficient and novel model-based sensor fault diagnosis algorithm based on UKF for the locomotive electro-pneumatic brake system. For this purpose, the accurate pressure mathematical model is first built. Then, an adaptive UKF is applied to estimate the pressure transients of the equalizing reservoir to improve the algorithm’s robustness. The residuals are calculated, and the residual evaluation is implemented by an improved Sequential Probability Ratio Test method. The proposed algorithm can efficiently detect drift faults and bias faults of the equalizing reservoir pressure sensor. Experiments validate the feasibility and effectiveness. The future work that needs to be investigated is to improve the fault detection sensitivity for minor and gradual fault.

Data Availability

The data used to support the findings of the manuscript are available within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported in part by one grant from the National Natural Science Foundation of China (No. 61803394) and one general project of Hunan Natural Science Foundation (No. 2021JJ30876).