Diesel engine safety parameter prediction method based on data-driven
Through the data-driven prediction method of diesel engine safety parameters, combining single value and multivariate prediction models, and using gray and exponential smoothing models, the problem of low accuracy and authenticity of diesel engine safety state prediction is solved, and more stable and reliable prediction results are achieved. .
Patent Information
- Application Number
- CN202210322837.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-03-29
AI Technical Summary
Among the existing diesel engine safety state prediction methods, the accuracy and authenticity of the prediction results are low, and it is difficult to effectively reflect the future safety state of the diesel engine.
A data-driven diesel engine security parameter prediction method is adopted. By collecting basic security parameters and extended parameters, combined with single-value prediction models and multivariate prediction models, gray prediction models and exponential smoothing models are used to predict parameters, and the diesel engine safety is determined through fitting analysis. status and alarm information, and set confidence levels to improve prediction accuracy.
It improves the accuracy and authenticity of diesel engine safety state prediction, reduces sensitivity prediction false alarms due to data fluctuations, and enhances the stability and reliability of the prediction method.
Smart Images

Figure CN114638435B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of diesel engine safety prediction, and in particular to a data-driven diesel engine safety parameter prediction method. Background Art
[0002] Diesel engine safety status trend prediction refers to the prediction of diesel engine safety status in the future based on diesel engine historical monitoring data. At present, the state prediction methods can be generally divided into two categories: physical model-based and data-driven. Due to the large size and complex structure of diesel engine mechanical equipment, it is very difficult to establish an accurate diesel engine physical model for prediction. The data-driven method can weaken the role of diesel engine experience knowledge.
[0003] At present, there are two main problems in diesel engine safety status prediction: one is the accuracy of the prediction results, and the other is the authenticity of the prediction results.
[0004] Therefore, the prior art has defects and is in urgent need of improvement. Summary of the invention
[0005] The purpose of this application is to provide a data-driven diesel engine safety parameter prediction method to solve the problem of low accuracy and authenticity of diesel engine safety parameter prediction results in the prior art.
[0006] The present application provides a data-driven diesel engine safety parameter prediction method, comprising the following steps:
[0007] Step S1: Collect security parameters, which include basic security parameters and extended security parameters;
[0008] Step S2: performing parameter prediction on the basic security parameters through a single value prediction model and obtaining a single value prediction result;
[0009] Step S3: performing parameter prediction on the security extension parameter through a multivariate prediction model and obtaining a multivariate prediction result;
[0010] Step S4: performing fitting analysis on the single-value prediction result and the multivariate prediction result, determining the diesel engine safety parameter data limit and trend degradation degree, judging the diesel engine safety state and determining the alarm information.
[0011] Optionally, in an embodiment of the present application, step S2 includes:
[0012] Step S21: gradually predicting the basic security parameters using a grey prediction model to obtain a first prediction value;
[0013] Step S22: performing step-by-step prediction on the basic security parameter through an exponential smoothing prediction model to obtain a second predicted value;
[0014] Step S23: Compare and analyze the first predicted value and the second predicted value with the actual parameter values respectively to obtain the predicted data difference, take the value with the smaller predicted data difference as the preliminary result, and take the value with the larger predicted data difference as the auxiliary parameter to correct and adjust the preliminary result to obtain the single value prediction result.
[0015] Optionally, in an embodiment of the present application, step S21 includes:
[0016] Step S211: Process the collected basic security parameters;
[0017] The acquired basic security parameter is described as X, where X is n time series data of the parameter collected at equal time intervals:
[0018] X (0) ={X (0) (1), X (0) (2), …X (0) (n)}
[0019] Perform difference denoising on the data and process the collected data into a smooth curve that maintains the comparison of changing trends;
[0020] Set the predicted data volume m, and process the data according to the data volume m;
[0021]
[0022] Step S212: Accumulate the collected basic security parameters;
[0023] The monitoring parameter data after smoothing is recorded as X (0) Calculate once and add up to get:
[0024] X (1) ={X (t) (1), X (1) (2), …X (1) (n)}; among them,
[0025] Step S213: whiten the existing data; wherein,
[0026] If the cumulative sequence X (1) If the smoothness requirement is met, then X (1) The original sequence constructed is:
[0027] z (1) =(z(1) (2), z (1) (3), ..., z (1) (n)}
[0028] Where: z (1) (k) = aX (1) (k-1)+(1-α)X (1) (k), k = 1, 2, ..., n
[0029] α is the development coefficient, and its size reflects the sequence X (0) and X (1) The development trend of , so we get the whitened differential equation of GM(1,1):
[0030]
[0031] Among them: u is the grey action, after discretization, we can get:
[0032] X (0) (k)+az (1) (k) = u
[0033] Step S214: Solve for parameters α and u; where,
[0034] The existing data after whitening can predict the gray parameters according to the parameters α and u, and solve the gray parameters α and u. The format is a column vector, and
[0035]
[0036] The least squares method is used to estimate α and u, and we get:
[0037] Step S215: Establish a prediction formula to obtain a predicted value; wherein,
[0038] According to the obtained gray parameters a and u, the sequence X is accumulated according to the input parameters (1) Pre-built prediction formulas:
[0039]
[0040] Where: k = 0, 1, ..., n;
[0041] Calculate the fitted value using the time response equation After calculation, perform subtraction to restore:
[0042]
[0043] Where: k = 0, 1, ..., n,
[0044] Optionally, in an embodiment of the present application, step S22 includes:
[0045] Step S221: Processing the collected basic security parameters to make the data as smooth as possible while retaining the change trend;
[0046] Step S222: Trend alarm; wherein,
[0047] Perform first-order difference processing on the data and find the fluctuation point of the difference change, which is the time point when the trend changes dramatically, and record it;
[0048] Step S223: Interval data screening; wherein,
[0049] Adopt step-by-step forecasting, use a certain span ratio to select previous data, use short-term historical data for short-term data forecasting, and use a certain time span ratio. While the forecast time step increases, the time series length of the historical data used for fitting is increased;
[0050] Assume that the input parameter time observation sequence is: x1, x2,…, x t , there are t time series data in total, and the step span is set to s. Then the time span is increased proportionally according to the data interval. If the time within the future time k is predicted, the data screening standard is:
[0051]
[0052] Step S224: Establish a third-order exponential smoothing prediction; wherein,
[0053] First exponential smoothing:
[0054]
[0055] x t is the measured value at time t, is the exponential smoothing value at time t, It represents the exponential smoothing value at time t-1, α is the smoothing index, which is related to the model fitting accuracy. After optimization and comparison, α=0.5 in this model;
[0056] According to the exponential smoothing formula, the iterative method is established as follows:
[0057]
[0058] The lower right subscript in the formula indicates the current time. Substituting the iteration result into the smoothing formula, we get the smoothing formula at time t:
[0059]
[0060] Double exponential smoothing:
[0061] Perform another exponential smoothing based on the first-order exponential smoothing:
[0062]
[0063] In the formula is the first-order exponential smoothing value, is the second-order exponential smoothing value at the moment. According to the second-order exponential smoothing formula, the iteration can still be obtained:
[0064]
[0065] Substituted into the second-order exponential smoothing formula, we have:
[0066]
[0067] Triple exponential smoothing:
[0068] Similar to the second-order exponential smoothing forecast, the third-order exponential forecast model performs exponential smoothing on the basis of the second order:
[0069]
[0070] Get the iteration formula:
[0071]
[0072] Substituted into the third-order exponential smoothing formula, we have:
[0073]
[0074] The third-order exponential smoothing method can predict data with nonlinear changing trends. The final single-step prediction model is obtained by training the convergence intermediate parameters based on the grey algorithm:
[0075]
[0076] Get the predicted value at time t+1.
[0077] Optionally, in an embodiment of the present application, in step S23, the predicted data difference is a root mean square error:
[0078]
[0079] Among them, h(i) is the first predicted value or the second predicted value, y(i) is the actual parameter value, and the obtained RMSE value is the predicted data difference between the first predicted value or the second predicted value and the actual parameter value.
[0080] Optionally, in an embodiment of the present application, step S3 includes:
[0081] Step S31: selecting the collected security extension parameters;
[0082] Step S32: setting a trend change threshold and obtaining the multivariate prediction result.
[0083] Optionally, in an embodiment of the present application, in the step S31, firstly, the coupling between the security parameters to be expanded and the security basic parameters is analyzed by applying the grey slope correlation analysis, and the security parameters to be expanded are selected for the first time according to the correlation strength;
[0084] Secondly, according to the diesel engine state detection optimization strategy and the difficulty of installing the actual machine measurement point sensor, the security parameters to be expanded are selected for the second time, and the security expansion parameters are finally determined;
[0085] In the step S32, the security extension parameter set is defined as S = {S1, S2, ..., S n}, the security extension parameter prediction results are Where m is the number of predictions;
[0086] Before calculating the trend change, the obtained data was normalized to eliminate the numerical deviation caused by the order of magnitude:
[0087] The first-order difference of the data is: Δs i =s i -s i-1 , where i∈[1,m];
[0088] The total amount of trend change: Δs sum =∑Δs i ;
[0089] Mean value of trend change: Δs mean =∑Δs i / m;
[0090] Maximum value of trend change: Δs max =max(Δs i );
[0091] Define parameter S i The trend change value is: ΔS i =Δs max +Δs mean +Δs sum , thereby obtaining a trend change evaluation value of the security extension parameter;
[0092] The trend change of the overall expansion parameter is: ΔS = ∑ΔS i ;
[0093] The maximum value of the trend change of the overall expansion parameter is: ΔSmax = max(ΔS i );
[0094] When ΔS < S or ΔS max < S, it indicates high followability. The security extension parameter changes together with the security basic parameter. If an alarm message is generated, the information is reliable; otherwise, the alarm message is unreliable.
[0095] Optionally, in an embodiment of the present application, the step S4 includes:
[0096] Numerical prediction, which predicts the time step and data change trend to the critical point by setting data points as the critical points for evaluation as the alarm information to determine the limit of the diesel engine security parameter data;
[0097] Trend prediction, which judges the current trend deterioration degree of the diesel engine and determines the alarm information according to the current cumulative prediction step number and the severity of the change in the predicted data trend;
[0098] Set the confidence level, which is set by combining the single-value prediction result, the multi-value prediction result and the trend deterioration degree; where
[0099] When the trend continuously deteriorates and both the single-value prediction model and the multi-value prediction model have output results, it is judged that the current confidence level is reliable; when the results of the three are inconsistent, it is judged that the current confidence level is average.
[0100] Optionally, in an embodiment of the present application, the security basic parameters include: the lubricating oil inlet pressure of the engine and the cooler inlet temperature;
[0101] The security extension parameters include: the lubricating oil pressure before the lubricating oil filter, the lubricating oil pressure after the lubricating oil filter, the lubricating oil pressure before the lubricating oil cooler, the lubricating oil pressure after the lubricating oil cooler, the exhaust gas temperature before the turbine, the intake air temperature after the compressor, the lubricating oil pressure after the lubricating oil cooler and the lubricating oil inlet temperature of the engine.
[0102] Optionally, in an embodiment of the present application, when the diesel engine speed is 1800 rpm, the numerical trend determination criteria for the diesel engine security basic parameters are as follows:
[0103] When the lubricating oil inlet pressure of the engine is greater than 4.50 bar and the cooler inlet temperature is less than 87 °C, the diesel engine is in a normal state;
[0104] When the lubricating oil inlet pressure of the engine is less than or equal to 4.50 bar or the cooler inlet temperature is greater than or equal to 87 °C, the diesel engine is in an alarm state;
[0105] When the lubricating oil inlet pressure of the engine is less than 4.25 bar or the cooler inlet temperature is greater than 90 °C, the power of the diesel engine decreases;
[0106] When the lubricating oil inlet pressure is less than or equal to 4.00 bar or the cooler inlet temperature is greater than 93° C., the diesel engine shuts down.
[0107] In summary, the present application provides a data-driven diesel engine security parameter prediction method. The diesel engine safety status prediction is based on the coupling analysis method, which screens out the basic parameters of the diesel engine operating parameters, and screens the diesel engine security extended parameters according to the master-slave change correlation between the diesel engine security machine extended parameters and the security basic parameters. The data source selects security data that can reflect the diesel engine status, and uses a single-value prediction model and a multivariate prediction model in combination to avoid the problem of sensitive prediction caused by data fluctuations, making the prediction method more convenient and stable. Since the prediction model is very sensitive to numerical changes and trend changes, in order to avoid sensitive false alarms, the confidence level is set for the current alarm information to further improve the data accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0109] Figure 1 It is a flow chart of a diesel engine safety parameter prediction method based on data-driven in an embodiment of the present application;
[0110] Figure 2 It is a schematic diagram of a program flowchart of a diesel engine safety parameter prediction method based on data-driven in an embodiment of the present application;
[0111] Figure 3 is a graph showing the change of lubricating oil inlet pressure parameter over time in a diesel engine fault simulation experiment in an embodiment of the present application;
[0112] Figure 4 It is a curve diagram of the remaining time and accuracy change of the model alarm in the diesel engine fault simulation experiment of the embodiment of the present application;
[0113] Figure 5 It is a curve diagram of the prediction accuracy of the lubricating oil inlet pressure in the diesel engine fault simulation experiment in the embodiment of the present application. DETAILED DESCRIPTION
[0114] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0115] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0116] The diesel engine safety state prediction is based on the coupling analysis method, which selects the basic parameters of the diesel engine operating parameters, and selects the diesel engine security extended parameters according to the master-slave change correlation between the diesel engine security extended parameters and the security basic parameters. The algorithm steps are divided into three steps: constructing a single-value model of basic parameters, constructing a multivariate model of extended parameters, and establishing prediction and trend judgment criteria.
[0117] The present application provides a data-driven diesel engine safety parameter prediction method, which includes the following steps:
[0118] Step S1: Collect security parameters, which include basic security parameters and extended security parameters.
[0119] Step S2: Parameter prediction of the basic security parameters is performed through a single-value prediction model and a single-value prediction result is obtained. A single-value prediction model is constructed based on a gray prediction model and an exponential smoothing algorithm, and a plurality of fitting methods such as straight line fitting and curve fitting are selected to predict the basic security parameter data. The result is corrected in combination with a priori weight ratio to improve the accuracy of the overall model prediction result.
[0120] Specifically, the step S2 includes:
[0121] Step S21: gradually predict the basic security parameters using a grey prediction model to obtain a first predicted value. Specifically, step S21 includes:
[0122] Step S211: Process the collected basic security parameters;
[0123] The acquired basic security parameter is described as X, where X is n time series data of the parameter collected at equal time intervals:
[0124] X (0) ={X (0)(1), X (0) (2), …X (0) (m)}
[0125] Perform difference denoising on the data and process the collected data into a smooth curve that maintains the comparison of changing trends;
[0126] Set the prediction data volume m. Since the grey prediction algorithm fits the first collected data into a linear line on the macro data and extends the linear trend to achieve the purpose of prediction, it is necessary to select appropriate data for the prediction data volume m so that the existing data maintains the change trend, that is, exclude the data far away from the trend change, retain the data with obvious change trend near the end, and process the data according to the data volume m;
[0127]
[0128] Step S212: Accumulate the collected basic security parameters;
[0129] The monitoring parameter data after smoothing is recorded as X (0) Calculate once and add up to get:
[0130] X (1) ={X (t) (1), X (1) (2), …X (1) (n)}; among them,
[0131] Step S213: whiten the existing data; wherein,
[0132] If the cumulative sequence X (1) If the smoothness requirement is met, then X (1) The original sequence constructed is:
[0133] z (1) ={z (1) (2), z (1) (3), ..., z (1) (n)}
[0134] Where: z (1) (k) = αX (1) (k-1)+(1-a)X (1) (k), k = 1, 2, ..., n
[0135] α is the development coefficient, and its size reflects the sequence X (0) and X (1) The development trend of , so we get the whitened differential equation of GM(1,1):
[0136]
[0137] Among them: u is the grey action, after discretization, we can get:
[0138] X (0) (k)+az (1) (k) = u
[0139] Step S214: Solve for parameters α and u; where,
[0140] The existing data after whitening can predict the gray parameters according to the parameters α and u, and solve the gray parameters α and u. The format is a column vector, and
[0141]
[0142] The least squares method is used to estimate α and u, and we get:
[0143] Step S215: Establish a prediction formula to obtain a predicted value; wherein,
[0144] According to the obtained gray parameters α and u, the sequence X is accumulated according to the input parameters (1) Pre-built prediction formulas:
[0145]
[0146] Where: k = 0, 1, ..., n;
[0147] Calculate the fitted value using the time response equation After calculation, perform subtraction to restore:
[0148]
[0149] Where: k = 0, 1, ..., n,
[0150] Step S22: Perform step-by-step prediction on the basic security parameter through an exponential smoothing prediction model to obtain a second prediction value. The exponential smoothing prediction method is to fit the collected data line into a nonlinear curve and establish a smooth step-by-step prediction model. Specifically, step S22 includes:
[0151] Step S221: Processing the collected basic security parameters to make the data as smooth as possible while retaining the change trend;
[0152] Step S222: Trend alarm; wherein,
[0153] Perform first-order difference processing on the data and find the fluctuation point of the difference change, which is the time point when the trend changes dramatically, and record it;
[0154] Step S223: Interval data screening; wherein,
[0155] Short-term prediction uses the most recent collected data for fitting, and the final prediction result is better. Long-term prediction uses the long-term collected data for fitting, and the final prediction result is better. According to the characteristics of the prediction method, this embodiment adopts step-by-step prediction, uses a certain span ratio to select early data, and the prediction of short-term data uses short-term historical data and adopts a certain time span ratio. While the prediction time step increases, the time series length of the historical data used for fitting is increased;
[0156] Assume that the input parameter time observation sequence is: x1, x2, ..., x t , there are t time series data in total, and the step span is set to s. Then the time span is increased proportionally according to the data interval. If the time within the future time k is predicted, the data screening standard is:
[0157]
[0158] Step S224: Establish a third-order exponential smoothing prediction; wherein,
[0159] First exponential smoothing:
[0160]
[0161] x t is the measured value at time t, is the exponential smoothing value at time t, It represents the exponential smoothing value at time t-1, α is the smoothing index, which is related to the model fitting accuracy. After optimization and comparison, α=0.5 in this model;
[0162] According to the exponential smoothing formula, the iterative method is established as follows:
[0163]
[0164] The lower right subscript in the formula indicates the current time. Substituting the iteration result into the smoothing formula, we get the smoothing formula at time t:
[0165]
[0166] Double exponential smoothing:
[0167] Perform another exponential smoothing based on the first-order exponential smoothing:
[0168]
[0169] In the formula is the first-order exponential smoothing value, is the second-order exponential smoothing value at the moment. According to the second-order exponential smoothing formula, the iteration can still be obtained:
[0170]
[0171] Substituted into the second-order exponential smoothing formula, we have:
[0172]
[0173] Triple exponential smoothing:
[0174] Similar to the second-order exponential smoothing forecast, the third-order exponential forecast model performs exponential smoothing on the basis of the second order:
[0175]
[0176] Get the iteration formula:
[0177]
[0178] Substituted into the third-order exponential smoothing formula, we have:
[0179]
[0180] The third-order exponential smoothing method can predict data with nonlinear changing trends. The final single-step prediction model is obtained by training the convergence intermediate parameters based on the grey algorithm:
[0181]
[0182] Get the predicted value at time t+1.
[0183] Step S23: Weight correction, compare and analyze the first predicted value and the second predicted value with the actual parameter value respectively to obtain the predicted data difference, take the value with the smaller predicted data difference as the preliminary result, and take the value with the larger predicted data difference as the auxiliary parameter to correct and adjust the preliminary result to obtain the single value prediction result.
[0184] Specifically, the weight ratio of the results of the two methods is determined by the prior fitting accuracy. The step-by-step verification is used to guide the accuracy, and the prediction accuracy of the first Qstep step is used to guide the weight of the gray algorithm and exponential smoothing model of the next Qstep step. Among them, Qstep is the selected comparison parameter length (number of steps). Assuming that Qstep is 5, the 5 values predicted by the two methods () are compared with the 5 values actually collected later.
[0185] Record the values of the first Qstep steps predicted by the model and compare them with the actual parameter values after Qstep steps. The difference between the predicted data is the root mean square error:
[0186]
[0187] Among them, h(i) is the first predicted value or the second predicted value, y(i) is the actual parameter value, and the obtained RMSE value is the predicted data difference between the first predicted value or the second predicted value and the actual parameter value. The predicted data difference indicates the fitting of the predicted data and the collected data of the two methods under the current transformation trend, and compares the influence weights of the prediction results of the two methods on the actual output results according to the fitting of the two methods. It can be understood that the two methods described above are respectively the step-by-step prediction of the basic security parameters by the gray prediction model in step S21 and the step-by-step prediction of the basic security parameters by the exponential smoothing prediction model in step S22.
[0188] Step S3: Parameter prediction is performed on the security extension parameters through a multivariate prediction model and a multivariate prediction result is obtained. The method of jointly calculating the change trends of multiple parameters is used to determine whether the current change trend is reliable. Since the trend change indicators are calculated using normalized difference calculations, the size of the change in the original numerical value of the parameter after maintenance has no effect on the trend threshold value. There are many prediction and reasoning structures with multiple inputs and single outputs, the most typical of which is the neural network. However, due to reasons such as adaptability, prediction real-time and calculation speed, the neural network is not stable when predicting parameters in real time. Therefore, this method adopts a simplified model structure method to facilitate calculation and adjustment. Specifically, the step S3 includes:
[0189] Step S31: Select the collected security extension parameters.
[0190] Specifically, in step S31, firstly, the coupling between the security parameters to be expanded and the security basic parameters is analyzed by applying the grey slope correlation analysis, and the security parameters to be expanded are selected for the first time according to the correlation strength;
[0191] Secondly, according to the diesel engine status detection optimization strategy and the difficulty of installing the sensors at the actual machine measurement points, a second selection is made for the security parameters to be expanded, and finally the security expansion parameters are determined.
[0192] Step S32: Setting the trend change threshold and obtaining the multivariate prediction result. The trend threshold is a value that needs to be set. The size of the threshold value determines the severity of the multivariate prediction model in judging the reliability of the single parameter prediction result. The setting of the threshold value is related to the parameter type, the follow-up of the extended parameter and the basic parameter. The parameter type is obtained based on the correlation analysis between the basic parameter and the extended parameter, and the follow-up is mainly manifested in the change characteristics of the extended parameter.
[0193] In step S32, the specific process and calculation method are as follows:
[0194] Define the set of security extension parameters as S = {S1, S2, …, S n}, and the prediction results of the security extension parameters are where m is the number of predictions;
[0195] Before calculating the trend change, to eliminate the numerical deviation caused by the order of magnitude, normalize the obtained data:
[0196] The first-order difference of the data is: Δs i = s i - s i-1 , where i ∈ [1, m];
[0197] The total amount of trend change: Δs sum = ∑Δs i ;
[0198] The average value of trend change: Δs mean = ∑Δs i / m;
[0199] The maximum value of trend change: Δs max = max(Δs i );
[0200] Define the trend change value of parameter S i as: ΔS i = Δs max + Δs mean + Δs sum , and thus obtain the trend change evaluation value of the security extension parameter;
[0201] The trend change of the overall extension parameter is: ΔS = ∑ΔS i ;
[0202] The maximum value of the trend change of the overall extension parameter is: ΔS max = max(ΔS i );
[0203] When ΔS < S or ΔS max < S, it indicates high followability. The security extension parameter changes together with the security basic parameter. If an alarm message is generated, the message is reliable; otherwise, the alarm message is unreliable.
[0204] Step S4: Perform fitting analysis on the single-value prediction result and the multi-value prediction result, determine the limit of the diesel engine security parameter data and the degree of trend deterioration, judge the safety state of the diesel engine, and determine the alarm message.
[0205] Specifically, step S4 includes: numerical prediction, which sets data points as critical points for evaluation, predicts the time step and data change trend of the critical points as alarm information, and is used to determine the data limits of diesel engine safety parameters to achieve the diesel engine safety parameter prediction function.
[0206] Trend prediction: According to the current cumulative prediction steps and the severity of the change in the prediction data trend, the current trend degradation degree of the diesel engine is judged and the alarm information is determined.
[0207] Specifically, diesel engine security monitoring parameters are mostly slowly changing parameters. When the diesel engine is operating normally, the data will fluctuate to a certain extent, but there will be no sudden trend fluctuations or long-term continuous changes in values. However, when the data trend begins to change, the prediction model will predict the data after a certain number of steps based on the changing trend. If the data reaches the set limit, an alarm is required.
[0208] In order to prevent prediction alarms caused by normal data fluctuations, a trend prediction standard is set, that is, based on the current cumulative prediction steps and the severity of the change in the prediction data trend, it is determined whether the current alarm bias is a normal fluctuation or a state degradation.
[0209] After actual diesel engine fitting and simulation model tests, it was found that there was still a certain trend change before the parameters degraded to a critical level. When the parameter trend changed, the data continued to decline but eventually stabilized within the value range. However, within the trend, the numerical prediction would continue to predict according to the trend and give an alarm when the prediction reached the critical level. However, the actual trend only dropped to a certain stage and then remained stable.
[0210] In view of the above situation, set the trend prediction standard:
[0211] tend: Calculates whether the predicted value deteriorates each time. If it deteriorates, tend is accumulated once; if it does not deteriorate, whether tend is cleared depends on blankstep.
[0212] tendStep: degradation threshold. Assume that tendStep is set to 5. When tend accumulates to 5 continuously, an alarm is output. If the current accumulated value of tend is in [1, 4] and the numerical prediction result is not degraded, the current downward trend is determined to be a numerical fluctuation and no alarm is output.
[0213] Blank: After the alarm is interrupted, calculation is performed based on whether the predicted value is stable (not deteriorating) each time. If stable, Blank is accumulated once; if unstable, Blank is cleared.
[0214] blankstep: protection threshold, which is the limit and protection of tend. If the alarm is interrupted and does not continue to deteriorate, when the blank value exceeds blankstep, tend is cleared; if the blank value does not exceed blankstep and the current predicted value still deteriorates, tend continues to accumulate.
[0215] And set the confidence level. The predicted result has a certain confidence level. The confidence level indicates the credibility of the alarm step and the value. Since the prediction model is very sensitive to numerical changes and trend changes, it is very necessary to provide confidence level for the current alarm information to avoid sensitive false alarms. The confidence level is set based on the single-value prediction result, the multivariate prediction result and the trend degradation degree; when the trend continues to deteriorate and both the single-value prediction model and the multivariate prediction model have output results, the current confidence level is judged to be reliable; when the three results are inconsistent, the current confidence level is judged to be general. In other words, the prediction results and alarms are for reference only.
[0216] In the embodiment of the present application, the lubricating oil inlet pressure is selected as the basic parameter of the pressure type, and the cooler inlet temperature is selected as the basic parameter of the temperature type. The diesel engine security extension parameters are selected according to the master-slave change correlation between the diesel security extension parameters and the security basic parameters, as shown in the following table:
[0217]
[0218] For the existing diesel engine security parameters (lubricating oil inlet pressure, cooling water inlet temperature), experimental data verify that the appropriate value of the extended parameter trend threshold S is 0.05-0.3, that is, within the range of 0.05-0.3, it can be observed that the security extended parameters change with the security basic parameters. Preferably, the threshold value is set to 0.1.
[0219] According to the actual diesel engine safety requirements of this embodiment, when the diesel engine speed is 1800rpm, the threshold settings of the basic security parameters are as shown in the following table:
[0220]
[0221]
[0222] That is to say, when the diesel engine speed is 1800rpm, the numerical trend judgment criteria of the basic diesel engine safety parameters are as follows: when the lubricating oil inlet pressure is greater than 4.50bar and the cooler inlet temperature is less than 87°C, the diesel engine is in a normal state; when the lubricating oil inlet pressure is less than or equal to 4.50bar or the cooler inlet temperature is greater than or equal to 87°C, the diesel engine is in an alarm state; when the lubricating oil inlet pressure is less than 4.25bar or the cooler inlet temperature is greater than 90°C, the diesel engine power is reduced; when the lubricating oil inlet pressure is less than or equal to 4.00bar or the cooler inlet temperature is greater than 93°C, the diesel engine stops.
[0223] The following is a diesel engine fault simulation experiment to verify the data-driven diesel engine safety parameter prediction method in this application.
[0224] In the fault simulation experiment, the control variable method is adopted to change the geometric parameters or thermal parameters of the parts that are about to fail at a certain moment, and then study the change trend of various state parameters after the diesel engine fails. First, the diesel engine model is controlled to run to a stable state, at which time the various state parameters of the diesel engine tend to be stable; then the occurrence of a specific fault is simulated, and the diesel engine is run for a period of time in the state of failure. Taking the lubricating oil blockage fault of the diesel engine lubricating oil system as an example, the entire fault simulation process is analyzed in detail. The diesel engine model is simulated and analyzed, and the time t1 required for the diesel engine to run stably from start to stable operation and the time t2 after the fault occurs are obtained, and the total running time t (t≥t1+t2) is set. In order to simulate the lubricating oil blockage fault, the inlet pipe diameter of the lubricating oil cooler is controlled to change after time t1, so as to achieve the purpose of simulating the lubricating oil blockage fault of the lubricating oil system.
[0225] There are two aspects to the prediction accuracy of key parameters: the accuracy of the numerical prediction of the basic security parameters and the accuracy of the prediction of the security shutdown alarm duration.
[0226] 1) Verification of the accuracy of numerical prediction of basic security parameters
[0227] According to the trend changes, the basic parameter prediction results of the more critical time points in the simulation data are selected, such as Figure 3 As shown:
[0228] 1. The 300s time series is the data stable stage. The prediction results in the stable stage have a high degree of fit with the verification data. The overall prediction accuracy of the prediction results and the actual results in the stable stage is more than 95%.
[0229] 2. A fault is added at 400s in the timing sequence, and the fault is reflected as a change in parameter value at 450s.
[0230] 3. At 500s, the data changes from stability to failure trend degradation. Within the prediction step, the prediction accuracy of the first 42% steps is above 95%.
[0231] 4. At 600s in the time series, the parameter data trend is completely degraded. According to the high degree of fit between the trend prediction curve and the verification data curve, the overall data prediction accuracy is above 95%.
[0232] like Figure 4 As shown, data is captured in time steps (s), and the data is processed and predicted according to the model requirements. The horizontal axis is the time point after the timing starts, and the vertical axis is the remaining time (number of steps) predicted at that time point.
[0233] In the case of lubricating oil blockage failure, the lubricating oil inlet pressure will show three predicted alarm values:
[0234] The first time is when the model is just started, the parameters rise, the detection trend changes, and the rising value is predicted to reach the critical value, but the number of consecutive alarms at this time does not exceed the set value, and the alarm is "parameter trend change"; the second time is when the fault occurs, the fault begins to cause obvious changes in the parameters, the parameter trend continues to decline, and the trend changes dramatically, so the prediction model monitors the critical number of steps and issues an alarm, but as the trend gradually flattens, the alarm stops; the third time, the number of trend degradation steps continues to accumulate, the model detection trend changes dramatically, the parameter value continues to deteriorate, and the alarm continues.
[0235] It can be seen that this model is relatively sensitive to changes in values and trends, and can accurately warn of trend degradation and value fluctuations. At the same time, by setting the confidence level, it can avoid false alarms due to long-term operation and false alarms due to sensitivity.
[0236] 2) Verification of the prediction accuracy of security shutdown alarm duration (number of steps)
[0237] like Figure 5 As shown, the case where the accuracy is 0 is: no parameter out-of-limit is detected and there is no shutdown alarm.
[0238] The dotted line is the 95% accuracy line, and the solid line is the predicted shutdown alarm duration accuracy line. According to the experimental settings, the fault is reflected as a parameter change at time 450, and the parameter reaches the shutdown threshold at time 750. After time 528, the prediction accuracy reaches more than 95%, accounting for 68.8% of the trend degradation time period, and the average prediction alarm accuracy is 96.43%.
[0239] Through model simulation, it is verified that the diesel engine safe operation security parameter prediction model is relatively sensitive to numerical changes and trend changes, and can accurately alarm trend degradation and numerical fluctuations. The prediction results are matched with the actual parameter data results, and the error is within the specified range, achieving the goal of improving the sensitivity and reliability of the security system.
[0240] In summary, the present application provides a data-driven diesel engine security parameter prediction method. The diesel engine safety status prediction is based on the coupling analysis method, which screens out the basic parameters of the diesel engine operating parameters, and screens the diesel engine security extended parameters according to the master-slave change correlation between the diesel engine security machine extended parameters and the security basic parameters. The data source selects security data that can reflect the diesel engine status, and uses a single-value prediction model and a multivariate prediction model in combination to avoid the problem of sensitive prediction caused by data fluctuations, making the prediction method more convenient and stable. Since the prediction model is very sensitive to numerical changes and trend changes, in order to avoid sensitive false alarms, the confidence level is set for the current alarm information to further improve the data accuracy.
[0241] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0242] The technical solutions provided by the embodiments of the present application are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A data-driven diesel engine safety parameter prediction method, characterized in that: The steps include: Step S1: Collect security parameters, which include basic security parameters and extended security parameters; Step S2: performing parameter prediction on the basic security parameters through a single value prediction model and obtaining a single value prediction result; Step S3: performing parameter prediction on the security extension parameter through a multivariate prediction model and obtaining a multivariate prediction result; Step S4: performing fitting analysis on the single value prediction result and the multivariate prediction result, determining the diesel engine safety parameter data limit and trend degradation degree, determining the diesel engine safety state and determining alarm information; The step S2 comprises: Step S21: gradually predicting the basic security parameters using a grey prediction model to obtain a first predicted value; Step S22: performing step-by-step prediction on the basic security parameter through an exponential smoothing prediction model to obtain a second prediction value; Step S23: Compare and analyze the first predicted value and the second predicted value with the actual parameter value respectively to obtain the predicted data difference, take the value with the smaller predicted data difference as the preliminary result, and take the value with the larger predicted data difference as the auxiliary parameter to correct and adjust the preliminary result to obtain the single value prediction result; The step S3 comprises: Step S31: selecting the collected security extension parameters; Step S32: setting a trend change threshold and obtaining the multivariate prediction result; In the step S31, firstly, the coupling between the security parameters to be expanded and the security basic parameters is analyzed by applying the grey slope correlation analysis, and the security parameters to be expanded are selected for the first time according to the correlation strength; secondly, the security parameters to be expanded are selected for the second time according to the diesel engine state detection optimization strategy and the difficulty of installing the actual machine measurement point sensor, and finally the security expansion parameters are determined; In the step S32, the security extension parameter set is defined as S = {S1, S2, ..., S n }, the security extension parameter prediction results are Where m is the number of predictions; Before calculating the trend change, the obtained data was normalized to eliminate the numerical deviation caused by the order of magnitude: The first-order difference of the data is: Δs i =s i -s i-1 , where i∈[1,m]; The total amount of trend change: Δs sum =∑Δs i ; Mean value of trend change: Δs mean =∑Δs i / m; Maximum value of trend change: Δs max =max(Δs i ); Define parameter S i The trend change value is: ΔS i =Δs max +Δs mean +Δs sum , thereby obtaining a trend change evaluation value of the security extension parameter; The trend change of the overall expansion parameter is: ΔS = ∑ΔS i ; The maximum value of the trend change of the overall expansion parameter is: ΔS max =max(ΔS i ); When ΔS < S or ΔS max <S, it indicates high followability. The security extension parameter changes together with the security basic parameter. If an alarm message is generated, the information is reliable; otherwise, the alarm message is unreliable.
2. The data-driven diesel engine safety parameter prediction method according to claim 1, characterized in that: The step S21 comprises: Step S211: Process the collected basic security parameters; The acquired basic security parameter is described as X, where X is n time series data of the parameter collected at equal time intervals: X (0) ={X (0) (1),X (0) (2),…X (0) (n)} Perform difference denoising on the data, and process the collected data into a smooth curve that maintains the comparison of change trends; set the predicted data volume m, and process the data according to the data volume m; Step S212: Accumulate the collected basic security parameters; The monitoring parameter data after smoothing is recorded as X (0) Calculate once and add up to get: X (1) ={x (t) (1),X (1) (2),…X (1) (n)}; among them, Step S213: whiten the existing data; wherein, If the cumulative sequence X (1) If the smoothness requirement is met, then X (1) The original sequence constructed is: With (1) ={z (1) (2),with (1) (3),...,of (1) (n)} where: z (1) (k) = αX (1) (k - 1)+(1 - α)X (1) (k), k = 1, 2, …, α is the development coefficient, and its size reflects the sequence X (0) and X (1) The development trend of , so we get the whitened differential equation of GM(1,1): Among them: u is the grey action, after discretization, we can get: x (0) (k)+az (1) (k)=u Step S214: Solve for parameters α and u; where, The existing data after whitening can predict the gray parameters according to the parameters α and u, and solve the gray parameters α and u. The format is a column vector, and The least squares method is used to estimate α and u, and we get: Step S215: Establish a prediction formula to obtain a predicted value; wherein, According to the obtained gray parameters α and u, the sequence X is accumulated according to the input parameters (1) Pre-built prediction formulas: Where: k = 0, 1, ..., n; Calculate the fitted value using the time response equation After calculation, perform subtraction to restore: Where: k = 0, 1, ..., n, 3. The data-driven diesel engine safety parameter prediction method according to claim 1, characterized in that: The step S22 comprises: Step S221: Processing the collected basic security parameters to make the data as smooth as possible while retaining the change trend; Step S222: Trend alarm; wherein, Perform first-order difference processing on the data and find the fluctuation point of the difference change, which is the time point when the trend changes dramatically, and record it; Step S223: Interval data screening; wherein, Adopt step-by-step forecasting, use a certain span ratio to select previous data, use short-term historical data for short-term data forecasting, and use a certain time span ratio. While the forecast time step increases, the time series length of the historical data used for fitting is increased; Assume that the input parameter time observation sequence is: x1, x2, ..., x t , there are t time series data in total, and the step span is set to s. Then the time span is increased proportionally according to the data interval. If the time within the future time k is predicted, the data screening standard is: Step S224: Establish a third-order exponential smoothing prediction; wherein, First exponential smoothing: x t is the measured value at time t, is the exponential smoothing value at time t, It represents the exponential smoothing value at time t-1, α is the smoothing index, which is related to the model fitting accuracy. After optimization and comparison, α=0.5 in this model; According to the exponential smoothing formula, the iterative method is established as follows: The lower right subscript in the formula indicates the current time. Substituting the iteration result into the smoothing formula, we get the smoothing formula at time t: Double exponential smoothing: Perform another exponential smoothing based on the first-order exponential smoothing: In the formula is the first-order exponential smoothing value, is the second-order exponential smoothing value at the moment, and according to the second-order exponential smoothing formula, the iteration can still be obtained: Substitute it into the second-order exponential smoothing formula, and we have: Triple exponential smoothing: Similar to the second-order exponential smoothing forecast, the third-order exponential forecast model performs exponential smoothing on the basis of the second order: Get the iteration formula: Substitute it into the third-order exponential smoothing formula, and we have: The third-order exponential smoothing method can predict data with nonlinear changing trends. The final single-step prediction model is obtained by training the convergence intermediate parameters based on the grey algorithm: Get the predicted value at time t+1.
4. The data-driven diesel engine safety parameter prediction method according to claim 1, characterized in that: In step S23, the predicted data difference is the root mean square error: Among them, h(i) is the first predicted value or the second predicted value, y(i) is the actual parameter value, and the obtained RMSE value is the predicted data difference between the first predicted value or the second predicted value and the actual parameter value.
5. The data-driven diesel engine safety parameter prediction method according to claim 1, characterized in that: The step S4 comprises: Numerical prediction, wherein the numerical prediction sets a data point as a critical point for evaluation, predicts the time step to the critical point and the data change trend as alarm information, and is used to determine the data limit of the diesel engine safety parameter; Trend prediction: according to the current cumulative prediction steps and the severity of the change in the prediction data trend, the trend degradation degree of the current diesel engine is judged and the alarm information is determined; Setting a confidence level, wherein the confidence level is set based on the single-value prediction result, the multivariate prediction result and the trend degradation degree; wherein When the trend continues to deteriorate, and both the single-value prediction model and the multivariate prediction model have output results, the current confidence is judged to be reliable; when the three results are inconsistent, the current confidence is judged to be general.
6. The data-driven diesel engine safety parameter prediction method according to claim 1, characterized in that: The basic safety parameters include: lubricating oil inlet pressure and cooler inlet temperature; The security extension parameters include: lubricating oil pressure before the lubricating oil filter, lubricating oil pressure after the lubricating oil filter, lubricating oil pressure before the lubricating oil cooler, lubricating oil pressure after the lubricating oil cooler, exhaust temperature before the turbine, intake temperature after the compressor, lubricating oil pressure after the lubricating oil cooler and lubricating oil inlet temperature.
7. The data-driven diesel engine safety parameter prediction method according to claim 6, characterized in that: When the diesel engine speed is 1800rpm, the diesel engine safety basic parameter numerical trend judgment standard is as follows: when the lubricating oil inlet pressure is greater than 4.50bar and the cooler inlet temperature is less than 87°C, the diesel engine is in a normal state; When the lubricating oil inlet pressure is less than or equal to 4.50 bar or the cooler inlet temperature is greater than or equal to 87°C, the diesel engine is in an alarm state; When the lubricating oil inlet pressure is less than 4.25 bar or the cooler inlet temperature is greater than 90°C, the diesel engine power is reduced; When the lubricating oil inlet pressure is less than or equal to 4.00 bar or the cooler inlet temperature is greater than 93° C., the diesel engine shuts down.
Citation Information
Patent Citations
Three-point model based diesel engine fault prediction method
CN104295373A
Diesel engine fuel oil fuel oil system fault pre-diagnosing method based on gray model
CN105466693A
