Research on fault diagnosis of B737 aircraft fuel system based on improved BP neural network
Shi Xiangyang^{1}
^{1}Flying College, Binzhou University, Binzhou, 256600, China
^{1}Corresponding author
Mathematical Models in Engineering, Vol. 5, Issue 1, 2019, p. 1116.
https://doi.org/10.21595/mme.2019.20536
Received 20 January 2019; received in revised form 13 February 2019; accepted 20 February 2019; published 31 March 2019
JVE Conferences
In this paper, an improved BP neural network algorithm is applied to the fault diagnosis of aircraft fuel system. The simulation results show that the algorithm has the characteristics of fast diagnosis speed and low misdiagnosis rate, and lays a foundation for the development of aircraft fuel fault diagnosis expert system based on neural network.
 The improved BP neural network is applied to the fault diagnosis of B737 aircraft fuel system
 The typical BP neural network algorithm has the characteristic of fixed step size, which is not conducive to fast convergence in some cases.
 The improved BP neural network algorithm has faster diagnosis speed, more accurate output results and lower misdiagnosis rate.
 By improving and optimizing the typical BP neural network, the fault diagnosis rate of B737 aircraft fuel system can be improved and perfected.
Keywords: BP neural network, fuel system, fault diagnosis, expert system.
1. Introduction
As a popular fault diagnosis method, expert system diagnosis can effectively deal with many kinds of fault diagnosis problems that have appeared in the past. However, for the first new fault, because there is no corresponding diagnostic knowledge in the rule base of expert system, the expert system cannot deal with the fault, which also limits its further development in the field of application [1].
BP neural network originated in 1986 and was first proposed by McCelland and Rumelhart et al. It belongs to a special multilayer feedforward network trained by error back propagation algorithm. It can solve some complex problems and develop a series of links, such as speculation, Association and memory, so that the fault diagnosis rate can be improved. Therefore, this method is very suitable for the fault diagnosis of modern large aircraft [2]. In BP neural network, its network structure will directly affect the generalization ability and computational complexity of learning algorithm. Fewer nodes will lead to inadequate training, and too many nodes may overfit training data. So, one of the hot issues in the current research of neural network is how to determine the optimal network structure [3].
In this paper, the improved BP neural network is applied to the fault diagnosis of B737 aircraft fuel system. By improving and optimizing the typical BP neural network, the fault diagnosis rate of B737 aircraft fuel system can be improved and perfected.
2. An improved BP neural network algorithm
A typical BP neural network has three core neurons: input layer, hidden layer and output layer. Fig. 1. is a typical threelayer feedforward BP neural network model [4].
According to literature [4], in the threelayer feedforward BP neural network model, the difference between the field expert knowledge and the simulation results of BP neural network algorithm can be used to obtain an error, and then the corresponding output decision can be obtained by adjusting the internal parameters of BP neural network.
Assuming that a typical training sample of BP neural network is $N$, $M$ in the input layer, $q$ in the hidden layer, $L$ in the output layer, ${w}_{ij}$ and ${w}_{jk}$ are the connection weights between the input layer and the hidden layer, ${\mathrm{\Phi}}_{j}$ and ${\theta}_{k}$ are the node thresholds between the hidden layer and the output layer respectively, $\eta $ is the learning efficiency (between 0 and 1). Its network learning algorithm is as follows [5].
1) Initialization: It means that all weights and thresholds are set to initial values.
2) Provide training samples $N$: representing the known input vector $X$ and the expected target output vector $D$;
3) Calculate the actual output.
Fig. 1. Typical threelayer feedforward BP neural network model
Cryptocortical neuron output:
Output layer neurons output:
4) Calculate the error between the expected value and the actual output value:
In the formula, $P$ – represents the logarithm of the sample pattern, ${d}_{k}$ – represents the expected output value of the network, ${Y}_{k}$ – represents the actual network output.
5) Correction of the weights of neurons in the output layer:
6) Modification of the weight coefficients of the hidden layer neurons:
If the error between the expected output and the actual output is ${E}_{P}$, which satisfies the relevant requirements of the system, the algorithm will terminate. On the contrary, it will return to step 2 for repeated calculation until the error E meets the requirements. However, because the typical BP neural network algorithm has the characteristic of fixed step size, which is not conducive to fast convergence in some cases, it is necessary to improve and optimize the BP neural network algorithm [6].
Therefore, in the fault diagnosis of B737 aircraft fuel system, the following two important improvements are made in the training steps of BP neural network, and the network structure is optimized [7]:
The input training data is $x$. When calculating the output value ${y}_{j}\left(t\right)$, the weights between the $i$ hidden layer neurons and the $j$ output neurons are adjusted:
Among them:
The learning rate is $\eta $, the coefficient of momentum term is $\alpha $, the output of $t$ at the iteration time of neurons in the $i$ hidden layer is ${o}_{t}^{h}\left(t\right)$, the output error signal between the expected output value ${\widehat{y}}_{j}$ and the output value ${y}_{j}\left(t\right)$ of $t$ at the iteration time of neurons in the $j$ hidden layer is:
The improved scheme adopts a variable stepsize approach and incorporates the weighted fading factor $\lambda $, then Eq. (2) is transformed into:
Among them:
Among them, ${\lambda}_{0}$ and initial subtraction factor $\lambda \left(0\right)$ are taken as design parameters, and ${\lambda}_{0}$ usually chooses 0.99 and $\lambda \left(0\right)$ usually chooses 0.95.
(2) The weights between the neurons in the $k$ input layer and the neurons in the $i$ hidden layer were adjusted:
$\mathrm{\Delta}{\omega}_{ki}^{h}\left(t+1\right)$ can be calculated by the following formula:
Among them, ${x}_{k}$ is the input variable of $k$.
Similarly, after the improved BP neural network algorithm, Eq. (6) becomes:
The learning rate is $\eta \left(\text{0}\eta \text{1}\right)$, which determines the step size of gradient descent method. Because if the $\eta $ value is higher than the standard value, the weight will oscillate greatly; otherwise, if the $\eta $ value is lower than the standard value, the convergence will become too slow. According to the relevant theoretical research, the number of neurons in the hidden layer and the optimal learning rate are inversely proportional. For all the neurons, the learning rate is the same in general. In many practical applications, the value of the learning rate is usually 0.35. The momentum coefficient $\alpha $ represents the dependence of the change value ${\omega}_{ij}^{o}\left(t+\text{1}\right)$ of the weight on the change value of the previous moment, and its value is usually 0.7$\left(\text{0}\alpha \text{1}\right)$.
3. Application of improved BP algorithm in fault diagnosis of B737 aircraft fuel system
In the fuel system of B737 aircraft, the fuel tank is divided into No. 1 (left wing), No. 2 (right wing) and central fuel tank. The three fuel tanks are relatively independent. The No. 1 and No. 2 fuel tanks are located in the left and rightwing structures, which are symmetrically distributed. They are divided into two groups. There are four fuel tanks on each wing of the aircraft, namely, fuel consumption tank, prefuel consumption tank, auxiliary fuel tank and backup fuel tank. In order to facilitate further research, the improved BP neural network algorithm is adopted, and the fault analysis of a single group of preconsumption tank oil delivery system is carried out.
The system can obtain a total of 6 measurement parameters, which are: preconsumption tank oil level (${X}_{1}$); preconsumption tank oneway valve outlet pressure (${X}_{2}$); preconsumption tank oil pump outlet pressure (${X}_{3}$); preconsumption tank oil pump current (${X}_{4}$); consumption tank oil level (${X}_{5}$); pipeline pressure (${X}_{6}$). There are four common faults in the preconsumption tank oil delivery system, which are oneway valve fault (${Y}_{1}$), preconsumption tank leakage (${Y}_{2}$), pump failure (${Y}_{3}$), pipeline leakage (${Y}_{4}$). For example, the typical manifestation of oneway valve failure is that the pressurized air cannot enter the predicted fuel consumption tank of the wing, thus losing the power of oil transmission, which can be judged by the abnormal phenomena of oil transmission in the predicted fuel consumption tank; the typical manifestation of oil pump failure is that the aircraft can only rely on the gravity of fuel, and the oil transmission will be slow, which can be judged by the abnormal phenomena of oil exhaustion signal lamp operation.
In the improved BP neural network, the input node selection value is 6, the hidden layer node selection value is 6, and the output node selection value is 4. The relationship between fault causes and symptoms is regarded as the learning object of the neural network, and then the measured value is used as the input parameter, and the improved BP neural network is used for fault diagnosis. According to the existing fault phenomena and modes of the system, to find a solution strategy for this fault mode, and then form a pair of samples as training samples, and send them to the improved BP neural network for adjustment. When the input is ${X}_{1}$${X}_{5}$, the values of –1, 0 and 1 are lower, normal and higher, respectively. If the input neuron is related to a fault in the system, the output neuron representing the fault will be defined as “1” and vice versa, as “0” [8]. The training parameters selected by the improved BP neural network are shown in Table 1.
Table 1. Training parameters selected by improved BP neural network
Parameter name

Selected value

Parameter name

Selected value

$\eta $

0.2

The node number of input layer

6

$\alpha $

0.7

The node number of output layer

4

$\lambda \left(0\right)$

0.95

The node number of hidden layer

6

${\lambda}_{0}$

0.99

–

–

The improved BP neural network algorithm is used for scheme selection, and the improved BP neural network is trained with the help of the function operation of the neural network toolbox in MATLAB software.
Firstly, the fault sample matrix (including input and output samples) of the preconsumption tank oil delivery system is constructed, as shown in Table 2.
Secondly, the improved BP neural network is initialized with “initff” function, and the number of nodes and activation function of each layer of neural network are obtained. Its specific function form is as follows:
${w}_{i}$, ${b}_{i}p$ are expressed as the weights and thresholds of each layer of neurons, $p$ is expressed as input vector;
Thirdly, the target error, number of cycles and learning rate of network training are set to 0.2, and “trainbp” function is used to train the improved BP neural network.
Fourthly, the trained BP neural network is simulated by using “simuff” function. The target error, the number of cycles and the learning rate remain unchanged. The results are shown in Table 3.
Table 2. Fault diagnosis result of B737 aircraft preconsumption tank fuel delivery system
Input

Output (%)

Fault type


${X}_{1}$

${X}_{2}$

${X}_{3}$

${X}_{4}$

${X}_{5}$

${X}_{6}$

${Y}_{1}$

${Y}_{2}$

${Y}_{3}$

${Y}_{4}$


1

0

0

1

–1

0

0

0

100

0

${Y}_{3}$

1

0

0

–1

–1

0

0

0

100

0

${Y}_{3}$

1

0

1

0

–1

0

0

0

100

0

${Y}_{3}$

1

0

–1

0

–1

0

0

0

100

0

${Y}_{3}$

1

–1

0

0

–1

0

100

0

0

0

${Y}_{1}$

1

1

0

0

–1

0

100

0

0

0

${Y}_{1}$

1

0

0

0

–1

0

0

100

0

0

${Y}_{2}$

1

–1

0

1

0

0

100

0

100

0

${Y}_{1}{Y}_{3}$

1

–1

–1

0

0

0

100

0

100

0

${Y}_{1}{Y}_{3}$

1

–1

–1

0

0

–1

0

0

100

100

${Y}_{3}{Y}_{4}$

1

0

0

0

–1

–1

0

100

0

100

${Y}_{2}{Y}_{4}$

Table 3. Fault diagnosis result of B737 aircraft preconsumption tank fuel delivery system
Input

Output (%)

Fault type


${X}_{1}$

${X}_{2}$

${X}_{3}$

${X}_{4}$

${X}_{5}$

${X}_{6}$

${Y}_{1}$

${Y}_{2}$

${Y}_{3}$

${Y}_{4}$


${X}_{1}$

${X}_{2}$

${X}_{3}$

${X}_{4}$

${X}_{5}$

${X}_{6}$

0

0

92.0

0

${Y}_{3}$

1

0

0

1

–1

0

0

0

93.0

0

${Y}_{3}$

1

0

0

–1

–1

0

0

0

93.0

0

${Y}_{3}$

1

0

1

0

–1

0

0

0

96.0

0

${Y}_{3}$

1

0

–1

0

–1

0

95.0

0

0

0

${Y}_{1}$

1

–1

0

0

–1

0

97.0

0

0

0

${Y}_{1}$

1

1

0

0

–1

0

0

95.0

0

0

${Y}_{2}$

1

0

0

0

–1

0

92.0

0

98.0

0

${Y}_{1}{Y}_{3}$

1

–1

0

1

0

0

96.0

0

95.0

0

${Y}_{1}{Y}_{3}$

1

–1

–1

0

0

0

0

0

95.0

99.0

${Y}_{3}{Y}_{4}$

1

–1

–1

0

0

–1

0

98.0

0

99.0

${Y}_{2}{Y}_{4}$

According to the above fault diagnosis results, for the information samples that have appeared before, the expected results are in good agreement with the values output by the improved BP neural network, which fully verifies that the BP neural network can complete the fault diagnosis of B737 aircraft fuel system. If more new fault training samples are added to the original fault samples of the network, the output results of the improved BP neural network will be more accurate and efficient.
4. Conclusions
Through the fault diagnosis results of B737 aircraft fuel system, it is verified that the improved BP neural network algorithm has faster diagnosis speed, more accurate output results and lower misdiagnosis rate, which makes up for the shortcomings of expert system diagnosis method. It also lays a solid foundation for the further organic combination of the two methods and the research of B737 aircraft fuel fault diagnosis expert system based on BP neural network, so as to facilitate the future. The algorithm can be successfully applied to the fault handling of B737 aircraft intelligent fuel management system.
Acknowledgements
Project supported by National Natural Science Foundation of China, NO: 51605037; Binzhou University Scientific Research Fund Project, No. BZXYG1705; Binzhou University Double Service Project, No. BZXYSFW201813.
References
 Wan Peng Research and Implementation of Flight Control Ground Fault Diagnosis System Based on Symptom Analysis. University of Electronic Science and Technology, Chengdu, 2018. [Search CrossRef]
 Ling Yiqin Research on Fault Diagnosis Technology of Aircraft System Based on Fault Propagation Mechanism and Petri Net. Nanjing University of Aeronautics and Astronautics, Nanjing, 2017. [Search CrossRef]
 Hao Yichuan Research on Fault Diagnosis Method of Aircraft Electronic System Based on Rough Set and Neural Network. China Civil Aviation University, Tianjin, 2015. [Search CrossRef]
 Deng Zheng Research on Aircraft Burst Fault Diagnosis Based on TS Fuzzy Neural Network. China Civil Aviation University, Tianjin, 2014. [Search CrossRef]
 Dai Min, Zhu Jiaxiong, He Yuanhua Fault diagnosis of aircraft fuel system based on SOM algorithm and immune neural network. Computer Measurement and Control, Vol. 22, Issue 11, 2014, p. 34833486. [Search CrossRef]
 Diao HaiFei Research of Comprehensive Maintenance Task Optimization Method Based on Similar Models Data. Nanjing University of Aeronautics and Astronautics, Nanjing, 2014. [Search CrossRef]
 Zuo HongFu, Cai Jing, Wu Hao Aviation Maintenance Engineering. Science Press, Beijing, 2011. [Search CrossRef]
 Wan Fengqin, Yan Jianguo, Shi Xiaoli, Yu Long Application of an improved BP neural network in fault diagnosis of aircraft fuel system. Computer Measurement and Control, Vol. 14, Issue 7, 2006, p. 867871. [Search CrossRef]