Abstract

A new Elman Neural Network (ENN) optimized by quantum-behaved adaptive particle swarm optimization (QAPSO) is introduced in this paper. According to the root mean square error, QAPSO is used to select the best weights and thresholds of the ENN in training samples. The optimized neural network is applied to aeroengine fault diagnosis and is compared with other optimized ENN, original ENN, BP, and Support Vector Machine (SVM) methods. The results show that the QAPSO-ENN is more accurate and reliable in the aeroengine fault diagnosis than the conventional neural network and other ENN methods; QAPSO-ENN has great diagnostic ability in small samples.

1. Introduction

The operational safety, economy, and reliability of aeroengine are problems of primary concern for airline companies [1]. The fault diagnosis plays a key role in enhancing the working safety and reliability and reducing the operating cost of aircraft engine. Therefore, accurate aeroengine fault identification in advance provides a sufficient decision-making time for the airline maintenance plan development and avoids excess maintenance and inadequate maintenance. At present, the commonly used aeroengine fault diagnosis methods include expert system, fuzzy reasoning, pattern recognition, and intelligent computation.

In recent years, intelligent computing methods, especially neural network algorithms, have been rapidly developed in image processing, control, and other fields. The neural network is successfully introduced into the fault diagnosis by Zedda and Singh [2]; the BP neural network belongs to the static networks which make the dynamic network of the original aeroengine state monitoring time become a static model on the space. So it is not suitable for aeroengine fault diagnosis; Elman Neural Network (ENN) [3], a dynamic recursive network, has the characteristics of fast training speed, simple structure, and high prediction precision compared with BP neural network and has been widely studied in the literature. Elman Neural Network was used by Gao et al. to identify the dynamical systems [4]. In order to improve the prediction accuracy of network traffic, Wang et al. proposed a modified Elman Neural Network for the network system [5]. Lin and Hong present an improved Elman Neural Network- (IENN-) based algorithm for optimal wind-energy control with maximum power point tracking [6]. However, it also have the problems of falling into the local minimum value and the convergence rate slowing down when dealing with small samples, high dimension, and deteriorated network performance. In addition, if the initial weight and threshold selection are not appropriate, ENN convergence becomes difficult and cannot get the desired prediction effect.

Particle swarm optimization (PSO) [7, 8], an intelligent optimization algorithm, has the characteristics of fast convergence and high precision and has been applied in many fields [9] such as being used for optimal location of flexible AC transmission system devices considering cost of installation and system loadability [10] and solving the economic dispatch (ED) problem of power system [11]. However, PSO also has the problem that it easily falls into the local minimum, which leads to the optimized ENN by PSO not as good as the ordinary ENN in solving the small sample problem.

In order to solve the problem that the PSO extremely easily falls into the minimum value, the quantum-behaved adaptive particle swarm optimization (QAPSO) method based on the ENN combining the adaptive particle swarm optimization algorithm [12] and quantum-behaved particle swarm optimization algorithm proposed by Sun et al. [13, 14] is proposed in this paper and is utilized to diagnose the aeroengine faults. The diagnosis results are reliable and suitable [15, 16].

2. Brief of Elman Neural Network

ENN was proposed by Elman in 1990 and its structure was shown in Figure 1.

As shown in Figure 1, is the network input on the time series, () is the output of the feedback layer, () is the network output, and () is the hidden layer output; the network calculation process is as follows:where is the input of the hidden layer, are the connection weight matrix of the input layer to the hidden layer, the feedback layer to the hidden layer, and the hidden layer to the output layer; (•) And (•) are the transfer function of the hidden layer and the output layer.

Whether the network training has stopped or not, the judgment error function iswhere () is the expected output of the neural network; () is the actual output of the neural network; represents the Frobenius norm of the vector.

3. Brief of Particle Swarm Optimization

In the -dimensional search space, the particles fly at a certain speed, = () is the position of the th particle, = () is the ith particle current flight speed, and = () is the optimal position experienced by the th particle, which can be considered the individual optimal position. = () is the optimal position searched by the entire particle group, which can be considered as the global optimal position. The speed and position updating equation of each particle arewhere ; ; and are the acceleration factor or called the learning factor; and are the random number of [].

The basic PSO algorithm is simple to use and has fast searching speed, but it also easily falls into the local minimum and convergence precision problems [17], so it is necessary to improve it.

4. Brief of Quantum-Behaved Adaptive Particle Swarm Optimization

4.1. The Initial Position of the Quantum Particle Group Is Set

The quantum bits are used to replace the particles in the standard particle group, where the positional state of the quantum bits consists of and ; the quantum bits can be depicted by the following formula.where and meet the following relationship:

Therefore, we consider that the position of is the position of state, where is the position in the state; the position of the particle at the conventional at the quantum bit is expressed as

The initial position of the standard particle group is transformed into the initial position of the quantum particle group as follows:where ; ; is the dimension of the search space; is the population size of the particle swarm.

4.2. Particle Update Process

For the th particle, the average distance and rate with the other particles [18] are

The particle trajectory difference was determined by the average distance and the average rate and expressed aswhere is the correlation coefficient between and Pearson.

According to the above formula to calculate , is the largest particle trajectory difference, is the smallest recorded one, and is the optimal particle trajectory difference; the particle trajectory evolution factor was expressed as

4.3. Inertial Weight of the Adaptive Dynamic Control

Because of the uneven distribution of the particle itself and the global environment, particle's cognitive ability and cognition of global environment should be allocated dynamically in the process of particle iteration update. On this basis, the following dynamic weight method is proposed to keep the dynamic balance between global optimization and local optimization.

4.4. Mutation Operation

In order to enable the particles to jump out of the previous search for the optimal position and continue to expand the search space of continuous reduction in the iterative process, while ensuring that the particles have the population diversity in a larger search space, the idea of variation in genetic algorithm was applied to make the position of quantum bits in and status exchanged by controlled gate. Controlled gate definition [19] is

Controlled doors can be divided into two categories:(1) completely flipped(2) not flipping.

is defined as the th quantum bit in the optimal position of the global optimal particle. The variation procedure is achieved by the following equation:

5. Elman Neural Network Optimized by QAPSO

Because the weights and thresholds in Elman Neural Network were calculated by using random weights and thresholds, there might exist a set of unoptimized even unnecessary weights and thresholds. As a result, the Elman Neural Network difficultly gets satisfying test results when it is trained in the small sample.

In this section, the new algorithm named QAPSO-ENN is proposed to solve the problem. QAPSO-ENN calculation flow chart is shown in Figure 2 and it is divided into two parts: the left side of the QAPSO optimization part and the right side of the Elman Neural Network part; the detailed steps of the QAPSO-ENN are as follows.

Step 1. Firstly, generating the particle population randomly, each particle in the population is constituted by a set of weights and thresholds:where Xi () is the initial position of the particle, is the particle size of the population, is the number of input layer nodes, is the number of hidden layer nodes, is the number of output layer codes, and are the connection weights between the input layer and hidden layer in the position of and state, and are the thresholds of hidden layer in the position of and state, and are the connection weights between the feedback layer and hidden layer in the position of and state, and are the connection weights between the hidden layer and output layer in the position of and state, and are the thresholds of output layer in the position of and state, and and are the speeds of the particle in the position of and state.

Step 2. The difference between the expected output and actual output of ENN is used as the fitness function of QAPSO. The fitness of each particle is calculated according to the fitness function and selects the individual optimum and global optimum. where () is the expected output of the neural network; () is the actual output of the neural network; is the number of nodes in output layer.

Step 3. The average distance and the average velocity of the particles are calculated according to (9). The maximum average distance and the minimum average distance are selected to calculate the evolution factor by formula (12); then, the weight of the particle group is dynamically regulated according to the calculated evolution factor and formula (13).

Step 4. Particles’ new position and velocity are updated according to formula (3). Then the fitness variance is calculated and compared with the set value to determine whether mutation operation is needed.

Finally, we repeat Steps 24 until the minimum number of the differences from training Elman Neural Network is reached. Thus the optimized weights and thresholds are obtained, and then the optimized ENN is applied to the aeroengine fault diagnosis.

6. Aeroengine Fault Diagnosis Application

6.1. Fault Model Establishment

In this paper, the GE90 engine fault data of the Boeing 777F aircraft was taken as an example. The four kinds of gas path fault modes are y1-2.5 valve to open, y2-2.9 open gas valve, y3-3.5 open air valve, and y4-3.0 open air valve; then the high-pressure compressor speed (N2), the engine exhaust gas temperature (EGT), and fuel flow (FF), the three performance parameters, are measured by the RD condition monitoring system to diagnose the four kinds of faults [20]. Therefore, the fault diagnosis model is established as follows:where () represents a method, EGT, FF, and N2 are the input of the method, the fault mode is the output of the method, and the output labels are listed in Table 1.

6.2. Normalization

In order to make the equation meet the physical meaning and adapt to the neural network training, the data should be normalized when it enters the engine fault diagnosis model.where and are the maximum and minimum values of a performance parameter ( is the th sample of the one performance parameter); is the value obtained after normalization.

6.3. The Number of Nodes Selected in Hidden Layer

The number of nodes in the input layer was 3 and the number of nodes in the output layer was 4 by formula (19). However, the number of nodes in hidden layer was not determined by a standard formula; in this paper, the number of nodes in the hidden layer was taken as 5, 6, 7, and 8 based on the empirical formula in [21] for simulation and the results were listed in Table 2.

From Table 2 we can see that the diagnostic accuracy of the network is the highest and the diagnostic performance is the best when the nodes of hidden layer are 7. Therefore, the Elman Neural Network and BP structure established in this paper are determined as (3, 7, 4).

The particle dimension was calculated as follows:where is the number of nodes in the input layer of the neural network; is the number of nodes in the hidden layer of the neural network. is the number of nodes in the output layer of the neural network; is the number of nodes in feedback layer of the neural network.

6.4. Evaluation of the Results

The mean accuracy was calculated as follows:where is the mean accuracy and is the number of test samples. y(t) is the network prediction value; d(t) is the true value.

7. QAPSO-Elman Algorithm Validation

7.1. Parameter Setting

Aeroengine faults diagnosis is a pattern classification problem. In this section, we apply the QAPSO-ENN on faults diagnosis and compare it with improved PSO optimized ENN(IPSO-ENN), PSO optimized ENN (PSO-ENN), standard ENN, BP, and SVM [22].

All of the six methods were used in aeroengine faults diagnosis by programming in MATLAB R2012a environment running on a PC with 3.2 GHz CPU with 4.0 GB RAM. In the network training, we get 2000 samples where each fault mode has 500 groups and the first 400 groups of each model were used as training samples and the remaining 100 groups were used as test samples. The parameters of each method are set as shown in Tables 3 and 4. The SVM parameters choose default value provided in the LIBSVM 3.12 toolbox.

7.2. Simulation Results of Training Time

It is important to take the time in the actual aeroengine fault diagnosis process. A quick and accurate method can provide more time for the maintenance decision and maintenance plan; therefore, in this section, we train all the methods and count the training times in the different number of training samples and the results are listed in Table 5.

We can see from Table 5 that the training time of the 6 methods is decreasing when the number of training samples decreases. The training time of the three optimized ENN methods is much more than the others, because much of training time of optimized ENN is spent on evaluating all the individuals iteratively.

7.3. Simulation Results in Accuracy

In Section 6.2 we train the six methods and study the training times of all the methods in the 1600/1200/800/400 training samples. In this section, the trained methods are used to test the accuracy of each fault mode in different training samples and the results are shown in Figures 36.

The performances of the QAPSO-ENN and other methods were compared in 1600/1200/800/400 training samples. Figures 36 show each fault mode accuracy of all methods in different training samples. It can be seen from Figure 3 that QAPSO-ENN performed the best results on fault 2 and fault 3, while SVM and QAPSO performed the best on fault 1 and the ENN performed the best on fault 4. From the other figures, we can see that QAPSO-ENN also performs best on fault 2 and fault 3; meanwhile, QAPSO-ENN and SVM also perform the best on fault 1 and QAPSO-ENN and ENN perform the best on fault 4.

In general, the optimized ENN obtained better result than ENN and BP in aeroengine fault diagnosis, which can be confirmed in the four figures; the accuracy of any optimized ENN methods is more accurate than the other three methods. It can be also observed that SVM is better than ENN and BP and fault 3 is more difficult to diagnose than other faults. However, the optimized ENN is more accurate than SVM in fault 3 so we think this result is significantly correlated with the optimized operation for ENN.

In order to verify the diagnostic capability of the six methods in aeroengine and the diagnostic capability in the small samples, the average diagnostic accuracy of each method was calculated in the different training samples and the results ar listed in Table 6.

It can be observed from Table 6 that QAPSO-ENN has much better diagnostic capability than the other 5 methods and obtains the best mean accuracy in 1600/1200/800/400 samples. IPSO-ENN and QAPSO-ENN are better than PSO-ENN; that is, the QAPSO and the IPSO have overcome the problem that standard PSO easily falls into the local optimum and low convergence accuracy.

8. Conclusions

In this paper, a new Elman Neural Network named QAPSO-ENN was proposed. The proposed method optimizes both the Elman Neural Network weights and thresholds by using QAPSO. In order to validate the performance of the proposed QAPSO-ENN, it was applied to aeroengine fault diagnosis and compared with some other methods. Results show that the QAPSO-ENN is more accurate in most faults than the other optimized ENN methods, SVM, ENN, and BP and shows great advantage by obtaining highest accuracy in the number of 1600 training samples. When the number of training samples decreased, this advantage is also remarkable, which suggests that the QAPSO-ENN is a more reliable and suitable tool for diagnosis of the aeroengine fault.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This research was supported by the National Natural Science Foundation of China and the Civil Aviation Administration of China jointly funded project under Grant no. U1633101.