1. Introduction
In power machinery, the analysis and prediction of the temperature changes of multiple sensors from different parts of the equipment are important bases for the evaluation of its running state [
1,
2]. Pumping stations are the most widely used water facilities. China has more than 40 large and medium pumping stations, all of which urgently require effective assessment of their pumping station operation status. The pump unit of the pumping station is a typical power mechanical device. The structure of a large pumping station is complex. Many factors, such as water flow, cavitation and other hydraulic factors, spindle bending, asymmetrical and other mechanical factors, short circuits of the stator winding, and overcurrent, can affect the temperature changes in various parts of the pump [
3,
4]. Temperature variation in various parts often occurs due to the complex coupling of these multiple factors [
5]. These coupling actions tends to overlap, resulting in different influences and effects on the temperature in different parts. The analysis results show that analyzing and predicting the temperature change of multiple parts captured by multiple sensors on a pump unit is a multivariable and nonlinear problem [
6,
7], which is a research hotspot and a difficult concept at present [
8,
9,
10].
Traditional forecasting methods mainly include time series models and regression analyses. These methods can positively predict linear and stationary characteristic quantities. Temperature change data captured by multiple sensors in a pumping station is nonlinear and non-stationary, which prevents the traditional prediction methods from achieving good results. At present, data-driven neural network technology has made rapid progress in the field of prediction. Piotrowski et al. [
11] used different neural network models to predict and compare river water temperatures. Drevetskyi et al. [
12] used the back propagation (BP) neural network to predict urban water consumption. Tang et al. [
13] used the improved BP neural network to predict the bearing bush temperature of hydropower units. However, the prediction method based on neural network requires abundant a priori data as input to obtain accurate and generalized trained models.
Pumping station prototypes and actual pumping stations are different because of their different physical conditions. Specifically, the operation characteristics of the same type of pumping stations are different, and the state analysis model of the pumping station cannot be easily transferred. Effective long sequence operation data of new pumping stations’ pump units are scarce, especially fault and other abnormal performance data. Therefore, temperature changes cannot be completely predicted based on neural networks. The multivariable grey model (MGM) (1,
n) was developed based on grey system theory [
14] proposed by Deng (where (1,
n) represents First order ordinary differential equation with n elements). It is a multidimensional generalization of the single variable grey model (GM) (1, 1) (where (1, 1) represents a first order ordinary differential equation with one element). MGM can describe the different characteristics that affect the operating state of the system from a multidimensional degree, which can overcome the non-stationary signals limitations and effectively analyze and predict multiple correlation eigenvalues of the system under the condition of a small amount of known information. The model is suitable for analyzing and predicting the temperature variation of multiple parts and multiple sensors in pumping stations.
Although the MGM (1,
n) has the capability to predict using a small amount of data, the prediction accuracy is greatly influenced by the parameter
q values in the model difference expansion. Finding the most suitable
q value can improve the prediction accuracy of the model, and the search for parameter
q is an NP-hard problem [
15]. The particle swarm optimization (PSO) algorithm is a group intelligent optimization method. Compared with the genetic algorithm, PSO avoids complex operations such as “cross” and “mutation” and has the advantages of rapid convergence and high accuracy [
16]. For this reason, an MGM is developed based on the temperature data collected from the upper guide bearing, including the temperature data of the stator winding and of the thrust bearing. Then, the PSO algorithm is used to find its optimal parameter
q value. Finally, MGM is used to predict the temperature of each part after optimization of the
q parameters. The procedure is shown in
Figure 1. With the same amount of data, the optimized MGM (1,
n) is compared with the traditional MGM and the prediction model based on the BP neural network. Then, the experimental results are compared. The results show that the MGM after optimization of the
q parameters is better than the traditional MGM and the BP neural network. The prediction model improved the prediction accuracy by 0.01% and 2.02%, respectively.
2. Multivariable Grey Model
MGM (1,
n,
q) was developed based on grey system theory. In 1982, Deng published his first paper on the “control of grey system” in the
Journal of System Control and Communication which received extensive attention. Since grey system theory was developed, an increasing number of scholars have been involved in research attempting to solve many practical problems with the theory and achieving favorable results [
17].
For a variable , the observed value sequence on the time axis is . Then, the sequence of the observation values of n different variables on the time axis constitutes a data matrix .
Accumulate the sequence of observations for each variable separately, The obtained new data matrix becomes the first-order cumulative generation matrix of the original matrix
, Write it as
, which can be expressed as
, where
is the first-order cumulative generation sequence of the original data sequence
, i.e.,:
where
i = 1, 2, …,
m, and
j = 1, 2, …,
n.
Then the matrix form of the MGM (1,
n) model is as follows:
where
,
,
.
The first-order ordinary differential equation in Equation (3) can obtain its time response formula as follows:
where
, and
. Equation (4) can be used to predict the value of the next moment from the value of the previous moment.
Set
, the least squares estimate of
(
j = 1, 2, …,
n) is as follows:
where:
and
.
The forward difference of Formula (3) is divided into
. Collate and obtain the following:
Equation (3) is divided into
or
after the backward difference. Collate and obtain the following:
Equation (7) establishes the MGM (1,
n,
q). In special cases, when
q = 0.5, the model is degenerated into the GM (1, 1) model. When
q takes a different value
q0, the L in Equation (5) is changed as follows:
The analysis results show that the different values of q0 affect the value of L and then affect the fitting and prediction accuracies of MGM (1, n, q). Therefore, selecting the most suitable q0 value is necessary to obtain the most accurate model. The optimal value cannot be easily obtained by solving the column equation because a complex nonlinear relationship exists between the value of q0 and the fitting accuracy of the model. Therefore, a swarm intelligence optimization method, PSO, is introduced to optimize the value of q0 and improve the fitting accuracy of MGM (1, n, q).
3. PSO-Based q Parameter Optimization
PSO was introduced in 1995 by two researchers, Kennedy and Eberhart, who were inspired by the predation behavior of birds. PSO is a typical swarm intelligence optimization method. It is simple in structure, easy to implement, and has rapid convergence and high accuracy. After more than 20 years of development, the theoretical basis of PSO is nearing completion. Many scholars have provided some improvements on the special needs of different optimization problems and have successfully applied these enhancements to the optimization of various practical problems.
Prior to the use of the PSO algorithm to optimize MGM (1, n, q) models, the following definitions are provided:
Definition 1: The actual data collected include X = (x1, x2, …, xn). The value of MGM (1, n, q) is X′ = (x1′, x2′, …, xn′). The residual of the model is D = (d1, d2, …, dn) = (x1 − x1′, x2 − x2′, …, xn − xn′). The relative error is R = (r1, r2, …, rn) = abs(d1/x1, d2/x2, …, dn/xn) × 100%.where ω [0, 1] represents inertia weight, c1 and c2 are the learning factors enabling particles to learn from other excellent individuals, and
represent two pseudo random numbers distributed in [0, 1] intervals. indicates the speed at which the i particle moves at k times. It represents the inertial effect of the particle’s current velocity on the next movement speed. represents the optimal position of the individual i particle after k movement. represents the self-cognitive behavior of the particle, and the direction of its next movement, to some extent, refers to the optimal position that it experienced. represents the historical optimal value after the k movement of all particles, and expresses the social learning behavior of the particles and the next shift. The motion direction, to some extent, refers to the optimal position that all particles experienced. represents the position after the first movement of the i particle. Formula (11) indicates that the position of the particle after the next movement is equal to the current position plus the speed of the next movement. The steps of the PSO algorithm when optimizing the MGM (1, n, q) are as follows:
- Step 1:
Population initialization, including population n and speed v.
- Step 2:
Constructing the objective function
fit (
q), as follows:
where
is the fitness of the
i particle after the
k moves. The fitness values of each particle in the population are solved according to the fitness function.
- Step 3:
Saving the individual historical optimal value of the particle.
- Step 4:
Saving the global historical optimal value of the particle.
- Step 5:
Step 5: Judging whether the algorithm reaches the prescribed number of iterations. If the condition is satisfied, then the global optimum is outputted; if it is not satisfied, then proceed to Step 6.
- Step 6:
Step 6: Iteration of updates, according to Formulas (10) and (11).
- Step 7:
Step 7: Proceed to Step 2.
The detailed procedure is shown in
Figure 2.
4. Application of PSO to MGM in Temperature Prediction of the Pumping Station Unit
In this paper, the proposed algorithm is applied to the prediction of characteristic quantities in the operation of pump station units of the east line of the south-to-north water transfer project. As the eastern route of the south-to-north water diversion project is just completed, its effective operation time is short, and the accumulated effective data, especially the data and fault data under different working conditions, are very scarce. Currently, the popular data-driven feature volume prediction methods (such as BP neural network) all have high prediction accuracy, but they all need sufficient and effective data as the training basis. When there are few training data, the model trained by this method is often not sufficient, and there are problems such as poor generalization caused by over-fitting and merging. Combined with the application of this project, the experimental results show that when there is less effective running data, it is not good to use the data-driven BP neural network method to predict the feature volume. However, it does not need too much historical data to get a high prediction accuracy by using multi-variable grey model. And the prediction accuracy of the multivariable grey model was further improved after q parameters were optimized by particle swarm optimization algorithm.
In the experimental part of this paper, in order to verify the accuracy of the multivariable grey model optimized by particle swarm optimization algorithm in multivariate prediction, the temperature data of guide bearing, stator winding and thrust bearing of unit 3 at a certain period of time during the operation of Hongze Station in the south-to-north water transfer project were collected, four valid digits are retained and the collection time interval is 3 min. The temperature data of these three parts can not only reflect the temperature of each part, but also correlate with each other, the advantages of the optimized multivariable grey model can be demonstrated.
The MGM (1, 3, q) is optimized by PSO based on the given data, where c1 = c2 = 1.5, maximum iteration number Maxgen = 50, population size Sizepop = 10, and inertia weight W = 1 − (0.8/maxgen) × k. k represents the Kth movement of the particle swarm.
Throughout many experiments, when nine sets of data are obtained, the relative error of MGM (1, 3,
q) is the smallest. Therefore, the nine sets of data from T1 to T9 are considered the benchmark data in this study. At this time:
and:
On the basis of numerous PSO calculations, when the parameter
q = 0.5095, the objective function obtains the best value fit(0.5095) = 0.086. Thus, the model values and predicted values of the MGM (1, 3, 0.5095) and their relative errors to the original data sequence of multi-sensors can be obtained, and two bits are retained. The original data from the experiment, the forecast data from the optimized model, and the relative error between the original data and the forecast data are listed in
Table 1.
In
Table 1,
,
, and
represent the original temperature data multi-sensors from the upper guide bearing, stator winding, and the thrust bearing, respectively.
,
, and
represent the results after fitting the MGM (1, 3,
q) and the 10th behavioral model predictions.
Table 1 shows that the MGM (1, 3,
q) model has a good fitting effect, with an average relative error of less than 0.26%, and a prediction error of less than 0.99%.
In order to present a more intuitive analysis of the data in the table, the data in the table is transformed into
Figure 3.
Figure 3 shows the time-varying curve of the original temperature data and the time-varying curve of the data predicted by the optimized grey model proposed in this paper. It can be clearly seen from the figure that the degree of fitting between the original data and the predicted data is relatively high.
5. Comparison among Algorithms
In order to verify the superiority of the proposed algorithm, the proposed multi-variable grey model algorithm optimized by particle swarm optimization is compared with the general multi-variable grey model method without particle swarm optimization, the common single-variable grey model prediction method and the BP neural network method described in [
13]. The relative errors between the original data and the predicted data are listed in
Table 2,
Table 3 and
Table 4 as shown in
Table 1. From
Table 2 to
Table 4, it can be found that the prediction accuracy is lower than that of the PSO optimized multi-variable grey model in this paper. Among them, the prediction accuracy of the common single variable grey model shown in
Table 3 and the neural network method shown in
Table 4 is relatively low. Accordingly, the fitting effect between the original data and the predicted data under the three comparison methods is respectively listed in
Figure 4,
Figure 5 and
Figure 6. The fitting effect diagram more intuitively reflects that the results under the latter two prediction methods have large errors.
The above comparative analysis compares and analyzes the prediction error of the data predicted by different forecasting methods. In order to more directly reflect the size of the prediction error generated by different forecasting methods, this paper further analyzes the errors generated by the prediction of temperature data of guide bearing, stator winding and temperature data of thrust bearing used in the experiment under the above four different methods, and forms a time series relative error graph, as shown in
Figure 7,
Figure 8 and
Figure 9 respectively. It can be seen from the three graphs that, for each set of temperature data at different positions, there is always the minimum relative error of the prediction result of the multivariable grey model method optimized by particle swarm optimization proposed in this paper, while the prediction error of the single variable grey model method and BP neural network method is the largest. The reasons are analyzed in the following three aspects:
- (1)
The single-variable grey model only considers the influence of its own variables, but does not consider the coupling relationship between multiple variables. This is the defect relative to the multi-variable grey model method, which limits its prediction accuracy.
- (2)
Considering the practical application of the project, there is not enough temperature data in this paper, especially the temperature data in various modes to train the BP neural network model method. It is inevitable that the BP neural network model trained only with finite temperature data will have problems such as insufficient training and poor generalization due to over-fitting and combination. Therefore, the prediction accuracy of BP neural network model is low.
- (3)
The prediction accuracy of the general multi-variable grey model is high, but it is still lower than the optimized multi-variable grey model. This is because the default q parameter of the general multi-variable grey model is 0.5, which is not the optimal parameter.
6. Conclusions
MGM is used to process the original temperature data from multiple sensors of a pumping station unit and predict the changes of temperature data. It effectively overcomes the difficulties of the traditional time series method and the regression analysis method in dealing with non-stationary and nonlinear problems and overcomes the problem of the neural network method when the amount of data of the pumping station unit is small and cannot be accurately predicted.
PSO is used to optimize the q parameters in the MGM. The optimized MGM (1, n, q) is compared with traditional MGM (1, n), BP neural network method, and GM (1, 1).
Temperature, which is an important characteristic in evaluating the operation state of pumping station units, can be used to diagnose pumping station unit failures, helping predict when cracking will occur and exceed the safety threshold.