An improved method for predicting external characteristics of centrifugal pumps

By combining real-time learning and least squares support vector regression with multi-core adaptive learning, and using different kernel functions and similarity measures, the problem of large prediction errors in the external characteristics of centrifugal pumps in the existing technology is solved, achieving high accuracy and strong generalization. performance prediction.

CN111985170BActive Publication Date: 2024-09-27ZHEJIANG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010887517.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-28
Publication Date
2024-09-27
Estimated Expiration
2040-08-28

AI Technical Summary

Technical Problem

The existing technology has large errors when predicting the external characteristics of centrifugal pumps, and the calculation is complex and time-consuming. It is difficult for a single algorithm to meet the diversity of data, resulting in low accuracy and weak generalization performance.

Method used

Real-time learning and least squares support vector regression combined with multi-kernel adaptive learning are used to build models through different kernel functions. Similarity measures and leave-one-out cross-validation methods are used to determine the best parameters and select the most appropriate kernel function to improve prediction accuracy.

Benefits of technology

The accuracy and generalization performance of the prediction of the external characteristics of the centrifugal pump are improved, the operating data of the pump can be accurately predicted without conducting experiments, and the computational complexity and time cost are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111985170B
    Figure CN111985170B
Patent Text Reader

Abstract

An improved method for predicting the external characteristics of a centrifugal pump belongs to the technical field of predicting the external characteristics of a centrifugal pump. It includes the following steps: 1) data collection; 2) selecting similar samples: selecting similar samples for all historical data samples through similarity measurement; 3) establishing a centrifugal pump external characteristics prediction model; 4) selecting a model. The present invention simultaneously uses different kernel functions to establish different least squares support vector regressions, and selects the best model based on the minimum absolute error. Through the combination of the four, it is possible to analyze the existing centrifugal pump operating data and predict the external characteristics of the centrifugal pump without conducting a centrifugal pump external characteristics experiment; the instant adaptive least squares support vector regression model adopts the similarity measurement criterion in instant learning, and uses multi-kernel adaptive learning at the same time so that each prediction sample has the best kernel function corresponding to it. The combination of the three can make the generalization performance and prediction accuracy of the model better.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of centrifugal pump external characteristic prediction, and in particular relates to an improved centrifugal pump external characteristic prediction model based on real-time learning and least squares support combined with multi-core adaptive learning added to regression. Background Art

[0002] At present, most methods for predicting centrifugal pumps use computational fluid dynamics (CFD) to predict the external characteristic curve of centrifugal pumps. However, due to the above problems, the prediction error is relatively large. At the same time, when using computational fluid dynamics, the selection of turbulence models, grid division, and setting of boundary conditions all require design experience, and it is difficult to have a unique standard. In addition, the simulation process is complex and has high computational requirements. Using computational fluid dynamics to predict centrifugal pumps is relatively time-consuming and laborious.

[0003] In addition, using a single algorithm to predict the external characteristics of a centrifugal pump is difficult to obtain a large amount of data due to the small scale of the data. At the same time, the model established by a single algorithm is relatively simple and it is difficult to meet the characteristics of all data, resulting in low prediction accuracy and weak generalization performance. Summary of the invention

[0004] In order to solve the above-mentioned technical problems existing in the prior art, the purpose of the present invention is to provide a method for predicting the external characteristics of a centrifugal pump based on instant least squares support vector regression, which adopts multiple algorithms to predict the external characteristics of a centrifugal pump, meets the characteristics of all data, and has high prediction accuracy and strong generalization performance.

[0005] The present invention provides the following technical solutions:

[0006] An improved method for predicting the external characteristics of a centrifugal pump is characterized by comprising the following specific steps:

[0007] 1) Data collection: Before the external characteristic experiment of the centrifugal pump begins, open the inlet valve to the maximum, set the motor frequency to the preset frequency, adjust the inlet valve opening, and record the outlet valve opening, inlet pressure, outlet pressure, and pump outlet flow rate in turn;

[0008] 2) Select similar samples: Select similar samples by measuring the similarity of all historical data samples using the Euclidean distance similarity criterion;

[0009] 3) Establishment of the prediction model of the external characteristics of the centrifugal pump: In the similar samples selected by similarity measurement, the inlet pressure, outlet pressure, outlet flow rate, and outlet valve opening of the centrifugal pump are used as input features, and the head, efficiency, and power of the centrifugal pump are used as output features. These input features and output features are imported into the training model, and different kernel functions are used to establish the least squares support vector regression model of different kernel functions. The optimal kernel parameters and regularization coefficients of different models are determined by the leave-one-out cross-validation method, and finally the corresponding relationship between the inlet and outlet pressure, outlet flow rate, outlet valve opening and head, efficiency, and power of the centrifugal pump under different models is obtained;

[0010] Among them, the formula for establishing a prediction model based on the least squares support vector regression model is:

[0011]

[0012] y i Represents the external characteristic value of the centrifugal pump output in the training data;

[0013] x i Represents the measured data of the centrifugal pump external characteristic experiment in the training data;

[0014] c represents the bias term of the least squares support vector regression model;

[0015] w represents the model parameter vector of the least squares support vector regression model;

[0016] w T represents the transpose of the model parameter vector of the least squares support vector regression model;

[0017] e i represents the approximate error of the sample;

[0018] φ represents the feature map of the model;

[0019] γ represents the regularization parameter that represents the trade-off between complexity and approximation accuracy;

[0020] J represents the optimization objective function of the prediction model.

[0021] 4) Model selection: The least squares support vector regression model established by different kernel functions is used. The minimum absolute error standard is used to select the model established by the most appropriate kernel function for each test sample, so that each test sample matches the best model and improves the prediction accuracy.

[0022] The improved centrifugal pump external characteristic prediction method is characterized in that in step 2), the calculation method formula of the Euclidean distance is:

[0023] η t,ni=exp(-||x n -x t,i ||), n=1,…,N

[0024] where η t,ni The similarity factor is between 0 and 1. The larger its value, the greater the n The smaller the similarity with the predicted sample, the smaller its value, x n The greater the similarity with the predicted sample, the n represents a sample in historical data; x t,i Represents a new input test sample.

[0025] The improved centrifugal pump external characteristic prediction method is characterized in that in step 3), the partial derivative is calculated When adding the Lagrange multiplier, the specific formula is as follows:

[0026]

[0027] where α=[α1,…,α N ] T represents the Lagrange multiplier;

[0028] 1 = [1, 1, ... 1] T represents a unit column vector;

[0029] G is defined as G = (K + I / γ) -1 Where I is represented as a unit vector;

[0030] K is denoted as the kernel matrix.

[0031] The improved centrifugal pump external characteristic prediction method is characterized in that in step 3), three prediction models are established by using linear kernel function, Gaussian kernel function and polynomial kernel function, and the most suitable model is selected for each prediction sample through adaptive learning and the minimum absolute error judgment standard, wherein the formulas of linear kernel function, Gaussian kernel function and polynomial kernel function are as follows:

[0032] Linear kernel function: K(x, x * )=x T x *

[0033] Gaussian kernel function: K(x, x * )=exp(-||xx * || / 2σ 2 )

[0034] Polynomial kernel function: K(x, x * )=(x T x * )d

[0035] Where σ represents the kernel parameter, which is the bandwidth of the Gaussian kernel;

[0036] d represents the kernel parameter, which is the degree of the polynomial.

[0037] The improved centrifugal pump external characteristic prediction method is characterized in that according to step 4), three prediction models with different kernel functions are established, and by inputting four groups of input variables to be measured, the fitting of the centrifugal pump external characteristic prediction results based on the prediction model is compared with the results obtained based on the actual centrifugal pump external characteristic experiment to determine the accuracy of the prediction model established in step 3);

[0038] The prediction formulas for the external characteristics of centrifugal pumps based on the three prediction models are as follows:

[0039]

[0040]

[0041]

[0042] in represents the predicted external characteristic data of the centrifugal pump obtained by the trained model;

[0043] k t1 Represents the Gaussian kernel vector for estimating the test sample;

[0044] k t2 Represents the linear kernel vector for estimating the test sample;

[0045] k t3 represents the polynomial kernel vector for estimating the test sample;

[0046] c represents the bias term of the least squares support vector regression model;

[0047] α T represents the transpose of the Lagrange multiplier.

[0048] The improved centrifugal pump external characteristic prediction method is characterized in that in step 4), the prediction error formula of the leave-one-out cross-validation method for N samples is as follows:

[0049]

[0050] Among them G ii represents the element in the i-th row and i-th column of G;

[0051] v i is represented as an element of v, where v is represented by: v = G1 = [v1, ..., v N ]T ;

[0052] o is represented by o=-1 T G1.

[0053] The improved centrifugal pump external characteristic prediction method is characterized in that in step 4), a model established by selecting a kernel function with the best prediction accuracy by adaptive learning with the minimum absolute error as the judgment standard, wherein the minimum absolute error formula is as follows:

[0054]

[0055] where y i Represents the real output data;

[0056] Represents the model prediction output data;

[0057] AD stands for absolute error.

[0058] By adopting the above technology, compared with the prior art, the beneficial effects of the present invention are as follows:

[0059] The present invention relates to the application of a model composed of centrifugal pump operation data processing and instant learning and least squares support vector regression in predicting the external characteristics of a centrifugal pump, and uses different kernel functions to establish different least squares support vector regressions, selects the best model based on the minimum absolute error, and through the combination of the four, can analyze the existing centrifugal pump operation data and predict the external characteristics of the centrifugal pump without conducting a centrifugal pump external characteristic experiment;

[0060] In the present invention, the similarity measurement criterion in real-time learning is adopted in the real-time adaptive least squares support vector regression model, and multi-kernel adaptive learning is used at the same time so that each prediction sample has the corresponding optimal kernel function. The combination of the three can make the generalization performance and prediction accuracy of the model better. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 It is a flow chart of the instant adaptive least squares support vector regression prediction of the present invention;

[0062] Figure 2 A comparison diagram of absolute error distribution of the actual external characteristic flow-head of a self-priming centrifugal pump under three prediction models of the present invention;

[0063] Figure 3 A comparison diagram of absolute error distribution of the actual external characteristic flow-efficiency of a self-priming centrifugal pump under three prediction models of the present invention;

[0064] Figure 4 It is a comparison diagram of the absolute error distribution of the true external characteristic flow-power of the self-priming centrifugal pump under the three prediction models of the present invention. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments of the specification. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0066] On the contrary, the present invention covers any substitution, modification, equivalent method and scheme made within the spirit and scope of the present invention as defined by the claims. Furthermore, in order to enable the public to have a better understanding of the present invention, some specific details are described in detail in the following detailed description of the present invention. Those skilled in the art can fully understand the present invention without the description of these details.

[0067] See also Figure 1-4 , during the operation of the centrifugal pump, the centrifugal pump external characteristic prediction method based on least squares support vector regression includes the following steps:

[0068] 1) Data collection: Before the external characteristic experiment of the centrifugal pump begins, open the inlet valve to the maximum, set the motor frequency to a certain frequency, and adjust the outlet valve to stabilize the outlet pressure indication at a certain appropriate level. This valve opening is the initial valve opening. At a certain frequency, gradually change the outlet valve opening until the outlet valve opening is adjusted to the maximum, and record the outlet valve opening, inlet pressure, outlet pressure, and pump outlet flow in turn.

[0069] 2) Select similar samples: Select similar samples from all historical data samples through similarity measurement. Commonly used similarity measurement criteria are similarity criteria based on distance, angle and correlation, which are key factors for real-time learning to achieve good modeling results. Based on historical data input and prediction sample input information, similar samples are selected through the Euclidean distance similarity criterion.

[0070] In real-time learning, similar samples are selected by using the similarity metric of Euclidean distance. The calculation formula of Euclidean distance is as follows:

[0071] η t,ni =exp(-||x n -x t,i ||), n=1,…,N

[0072] where η t,ni The similarity factor is between 0 and 1. The larger its value, the greater the n The smaller the similarity with the predicted sample, the n The lower the probability of being selected as a similar sample, the lower the probability of being selected as a similar sample. Therefore, it is necessary to select an appropriate threshold;

[0073] x nRepresents a sample in historical data;

[0074] x t,i Represents a new input test sample.

[0075] 3) Establishment of the external characteristic prediction model of centrifugal pump: In the similar samples selected by similarity measurement, the inlet pressure, outlet pressure, outlet flow rate, and outlet valve opening of each group of centrifugal pumps are used as input features, and the head, efficiency, and power of the centrifugal pump are used as output features. These input features and output features are imported into the training model, and different kernel functions are used to establish the least squares support vector regression model of different kernel functions. The optimal kernel parameters and regularization coefficient are determined by the leave-one-out cross-validation method, and finally the corresponding relationship between the inlet and outlet pressure, outlet flow rate, outlet valve opening and the head, efficiency, and power of the centrifugal pump is obtained.

[0076] 4) Model selection: The least squares support vector regression model established by different kernel functions is used. The minimum absolute error standard is used to select the model established by the most appropriate kernel function for each test sample, so that each test sample can match the best model, making the prediction more accurate.

[0077] The formula for establishing a prediction model based on the least squares support vector regression model is:

[0078]

[0079] where y i Represents the external characteristic value of the centrifugal pump output in the training data;

[0080] x i Represents the input data of the centrifugal pump external characteristic experiment in the training data;

[0081] c represents the bias term of the least squares support vector regression model;

[0082] w represents the model parameter vector of the least squares support vector regression model;

[0083] w T represents the transpose of the model parameter vector of the least squares support vector regression model;

[0084] e i represents the approximate error of the sample;

[0085] Feature map of the φ prediction model;

[0086] γ is a regularization parameter that determines the trade-off between model complexity and approximation accuracy;

[0087] J represents the optimization objective function of the prediction model.

[0088] The prediction formulas for the external characteristics of centrifugal pumps based on three different kernel function prediction models are as follows:

[0089]

[0090]

[0091]

[0092] in represents the predicted external characteristic data of the centrifugal pump obtained by the trained model;

[0093] k t1 Represents the Gaussian kernel vector for estimating the test sample;

[0094] k t2 Represents the linear kernel vector for estimating the test sample;

[0095] k t3 represents the polynomial kernel vector for estimating the test sample;

[0096] c represents the bias term of the least squares support vector regression model;

[0097] α T represents the transpose of the Lagrange multiplier.

[0098] Use the leave-one-out cross validation method to obtain the best kernel parameters and regularization coefficients to make the model's prediction performance better. The prediction error formula of the leave-one-out cross validation method for N samples is as follows:

[0099]

[0100] Among them G ii represents the element in the i-th row and i-th column of G;

[0101] v i is represented as an element of v, where v is represented by: v = G1 = [v1, ..., v N ] T ;

[0102] o is represented by o=-1 T G1.

[0103] The model is established by adaptive learning and selecting the kernel function with the best prediction absolute error accuracy based on the minimum absolute error as the criterion. The minimum absolute error formula is as follows:

[0104]

[0105] where y i Represents the real output data;

[0106] Represents the model prediction output data;

[0107] AD stands for absolute error.

[0108] like Figure 2-4 As shown in the figure, taking a self-priming centrifugal pump as an example, an external characteristic experiment is conducted to measure the inlet and outlet pressures and valve openings of the self-priming centrifugal pump with different outlet flow rates of 720r / min, 1260r / min, 1500r / min, and 1680r / min, and obtain the output head, efficiency, and power of the self-priming centrifugal pump. The training data matching the test samples are selected from the input data of 720r / min, 1260r / min, and 1680r / min through the similarity metric criterion, and the least squares support vector regression model is obtained through the training data.

[0109]

[0110]

[0111]

[0112] The above three formulas are used to predict the external characteristics of a self-priming centrifugal pump at a speed of 1500r / min. That is, the predicted external characteristic data of the centrifugal pump obtained by the trained model, the external characteristic data predicted by three different kernel function models are obtained respectively, and the external characteristic predicted by the best model is selected by the minimum absolute error standard.

[0113] contrast Figure 2 , Figure 3 , Figure 4 As can be seen from Table 1, the results of the prediction of the external characteristics of the centrifugal pump based on the instant adaptive least squares support vector regression have smaller absolute errors and higher overall accuracy compared with the actual external characteristics data of the centrifugal pump. The feasibility of the instant adaptive least squares support vector regression model for predicting the external characteristics of the centrifugal pump is verified, and the following table shows that the instant adaptive least squares support vector regression has smaller prediction errors and better generalization performance than the instant least squares support vector regression and the least squares support vector regression.

[0114] A_JLSSVRJLSSVRLSSVRRoot mean square error

[0115]

[0116]

[0117] Table 1

[0118] The contents described in this specification are merely an enumeration of implementation forms of the inventive concept, and the protection scope of the present invention should not be regarded as being limited to the specific forms described in the embodiments.

Claims

1. An improved method for predicting the external characteristics of a centrifugal pump, characterized in that The specific steps include: 1) Data collection: Before the external characteristic experiment of the centrifugal pump begins, open the inlet valve to the maximum, set the motor frequency to the preset frequency, adjust the inlet valve opening, and record the outlet valve opening, inlet pressure, outlet pressure, and pump outlet flow rate in turn; 2) Select similar samples: Select similar samples by measuring the similarity of all historical data samples using the Euclidean distance similarity criterion; 3) Establishment of the prediction model of the external characteristics of the centrifugal pump: In the similar samples selected by similarity measurement, the inlet pressure, outlet pressure, outlet flow rate, and outlet valve opening of the centrifugal pump are used as input features, and the head, efficiency, and power of the centrifugal pump are used as output features. These input features and output features are imported into the training model, and different kernel functions are used to establish the least squares support vector regression model of different kernel functions. The optimal kernel parameters and regularization coefficients of different models are determined by the leave-one-out cross-validation method, and finally the corresponding relationship between the inlet and outlet pressure, outlet flow rate, outlet valve opening and head, efficiency, and power of the centrifugal pump under different models is obtained; Among them, the formula for establishing a prediction model based on the least squares support vector regression model is: y i Represents the external characteristic value of the centrifugal pump output in the training data; x i Represents the measurement data of the centrifugal pump external characteristic experiment in the training data; c represents the bias term of the least squares support vector regression model; w represents the model parameter vector of the least squares support vector regression model; w T represents the transpose of the model parameter vector of the least squares support vector regression model; e i represents the approximate error of the sample; φ represents the feature map of the model; γ represents the regularization parameter that represents the trade-off between complexity and approximation accuracy; J represents the optimization objective function of the prediction model; 4) Model selection: The least squares support vector regression model established by different kernel functions is used. The standard of minimum absolute error is used to select the model established by the most appropriate kernel function for each test sample, so that each test sample matches the best model and improves the prediction accuracy; In step 2), the calculation method formula of the Euclidean distance is: η t,ni =exp(-‖x n -x t,i ‖),n=1,…,N where η t,ni The similarity factor is between 0 and 1. The larger its value, the greater the n The smaller the similarity with the predicted sample, the smaller its value, x n The greater the similarity with the predicted sample, the n represents a sample in historical data; x t,i Represents the new input test sample; In step 3), find the partial derivative When adding the Lagrange multiplier, the specific formula is as follows: where α=[α1,…,α N ] T represents the Lagrange multiplier; 1=[1,1,…1] T represents a unit column vector; G is defined as G = (K + I / γ) -1 Where I is represented as a unit vector; K is denoted as the kernel matrix.

2. An improved method for predicting external characteristics of a centrifugal pump according to claim 1, characterized in that In the step 3), three prediction models are established by using a linear kernel function, a Gaussian kernel function and a polynomial kernel function. Through adaptive learning, the most suitable model is selected for each prediction sample by using the minimum absolute error criterion. The formulas of the linear kernel function, the Gaussian kernel function and the polynomial kernel function are as follows: Linear kernel function: K(x,x * )=x T x * Gaussian kernel function: K(x,x * )=exp(-||xx * || / 2σ 2 ) Polynomial kernel function: K(x,x * )=(x T x * ) d Where σ represents the kernel parameter, which is the bandwidth of the Gaussian kernel; d represents the kernel parameter, which is the degree of the polynomial.

3. An improved method for predicting external characteristics of a centrifugal pump according to claim 2, characterized in that According to step 4), three prediction models with different kernel functions are established. By inputting four groups of input variables to be tested, the fitting of the prediction results of the centrifugal pump external characteristics based on the prediction model is compared with the results obtained based on the actual centrifugal pump external characteristics experiment to determine the accuracy of the prediction model established in step 3); The prediction formulas for the external characteristics of centrifugal pumps based on the three prediction models are as follows: in represents the predicted external characteristic data of the centrifugal pump obtained by the trained model; k t1 Represents the Gaussian kernel vector for estimating the test sample; k t2 Represents the linear kernel vector for estimating the test sample; k t3 represents the polynomial kernel vector for estimating the test sample; c represents the bias term of the least squares support vector regression model; α T represents the transpose of the Lagrange multiplier.

4. The improved method for predicting the external characteristics of a centrifugal pump according to claim 1 is characterized in that In step 4), the prediction error formula of the leave-one-out cross-validation method for N samples is as follows: Among them G ii represents the element in the i-th row and i-th column of G; v i is represented as an element of v, where v is represented by: v = G1 = [v1,…,v N ] T ; o is represented by o=-1 T G1.

5. The improved method for predicting the external characteristics of a centrifugal pump according to claim 1 is characterized in that In step 4), a model established by selecting a kernel function with the best prediction accuracy by adaptive learning with the minimum absolute error as the criterion, wherein the minimum absolute error formula is as follows: where y i Represents the real output data; Represents the model prediction output data; AD stands for absolute error.