Complex equipment product quality real-time prediction system and method based on combined model
By combining the prediction results of ELM, LightGBM and LSTM models, the optimal weighting method is used to improve the accuracy of product quality prediction of complex equipment, solve the problem of mismatch between prediction models and production characteristics in the existing technology, and achieve more accurate product quality prediction. and production guidance.
Patent Information
- Application Number
- CN202410934661.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-27
AI Technical Summary
The product quality prediction effect of complex equipment is not ideal, and the existing prediction model does not match the equipment production characteristics, resulting in deviations between the prediction results and the actual quality.
A real-time prediction system for complex equipment product quality based on a combination model is adopted. Through complex equipment production data processing, sub-prediction model construction and combined prediction modules, the optimal weighting method is used to combine ELM, LightGBM and LSTM models to improve the matching between the prediction model and production characteristics. degree and prediction accuracy.
It improves the accuracy and stability of product quality prediction for complex equipment, can better explore the potential relationship between production characteristics and product quality, guides the adjustment of production parameters, and improves product quality and reliability.
Smart Images

Figure CN118708973A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electronic engineering and computer science, and specifically relates to a system and method for real-time prediction of complex equipment product quality based on a combined model. Background Art
[0002] With the rapid development of science and technology, complex equipment is increasingly used in various fields. The performance and quality of complex equipment have a vital impact on its application effect. Therefore, it is particularly important to predict and evaluate the quality of complex equipment products. In today's highly competitive market environment, product quality is the key to the survival and development of enterprises. For complex equipment, due to the complexity of its structure and function, there are many factors that affect product quality. Therefore, the prediction of complex equipment product quality needs to take these factors into consideration and use advanced technical means for analysis and evaluation.
[0003] In order to accurately predict the quality of complex equipment products, various technologies and methods are needed. These include advanced technologies such as data mining, machine learning, and artificial intelligence. These technologies can analyze a large amount of historical data, discover the inherent connections and laws between the data, and thus predict and evaluate product quality. At the same time, these technologies can also be optimized and improved based on the prediction results to improve product quality and reliability.
[0004] Data-driven prediction methods have been applied in complex equipment, but research has found that the prediction effect of complex equipment product quality is not ideal. Different prediction models have different structures, and the production characteristics of complex equipment do not completely match the prediction model. Therefore, there is a certain deviation between the predicted results of complex equipment product quality and the actual quality. Therefore, a more matched and better complex equipment product quality prediction method is needed. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a system and method for real-time prediction of complex equipment product quality based on a combined model. By introducing the optimal weighting method, the combined use of multiple prediction models is realized, the matching degree between the prediction model and the production characteristics of complex equipment is improved, and the accuracy of real-time prediction of complex equipment is improved.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows: A real-time prediction system for complex equipment product quality based on a combination model, comprising: a complex equipment production data processing module, a product quality sub-prediction model building module, and a product quality combination prediction module; The complex equipment production data processing module is used for abnormal data processing, high-noise data filtering, normalization and other pre-processing methods of complex equipment production data and the selection of production characteristics, to generate complete and high-quality training sets and test sets required in the complex equipment product quality prediction model; The product quality sub-prediction model building module is used to establish and adjust parameters of multiple complex equipment product quality sub-prediction models; The product quality combination prediction module is used to improve the real-time prediction effect of complex equipment. The weights of each sub-prediction model are obtained based on the optimal weighted method to obtain the combined prediction model. By comparing the prediction accuracy of the combined prediction model and the sub-models, the optimal model is selected as the complex equipment product quality prediction model.
[0007] The complex equipment production data processing module is specifically implemented as follows: Step 1.1, historical production data acquisition: obtain historical production data of complex equipment, including production environment data E (such as ambient temperature, ambient humidity, etc.), equipment process parameters M (such as motor frequency, equipment temperature, etc.), key control parameters C (such as valve opening, etc.), product quality parameters Q (product temperature, moisture content, etc.); Step 1.2, data preprocessing: All historical production data are processed through four steps: outlier processing, time-lag data alignment, filtering, and normalization to obtain complete and reliable historical production data; Step 1.3, feature selection: complex equipment has a lot of production feature data, not all features have a possible causal relationship with the product quality of complex equipment, so the Pearson correlation coefficient is used to measure the linear relationship strength between production features and product quality, and select features with a strong linear relationship with product quality, including, when the Pearson correlation coefficient is greater than or equal to a preset threshold, the production feature and product quality are in a strong linear correlation relationship, and the production feature is retained; otherwise, the production feature is discarded; The product quality sub-prediction model construction module is specifically implemented as follows: Step 2.1, sub-prediction model establishment: construct sub-prediction models with different structures respectively, where the sub-prediction models with different structures include ELM, LightGBM and LSTM models; Step 2.2, sub-prediction model training: adjust the historical production data after preprocessing and feature selection into the format that meets the input of different sub-prediction models, input them into the corresponding sub-prediction models for prediction model training and parameter adjustment, and obtain the optimal prediction results of complex equipment product quality under ELM, LightGBM and LSTM models respectively; The product quality combination prediction module is specifically implemented as follows: Step 3.1, calculation of sub-prediction model indicators: During the actual system operation, the input characteristics of the complex equipment are input into the sub-prediction model every second to obtain the predicted value. Therefore, the total number of data groups N predicted in actual production means that the current moment is the Nth second from the start of prediction, and the mean absolute error formula is used As an indicator of the effectiveness of the sub-prediction model, k represents the kth sub-prediction model, k=1, 2, 3, and N is the total number of data sets predicted in actual production. is the predicted value of the kth seed prediction model at time t, is the actual product quality at time t; Step 3.2: Calculate the weights of sub-prediction models: Calculate the optimal combined weights of the three sub-prediction models in the combined prediction model consisting of ELM, LightGBM and LSTM models by the optimal weighting method. , They correspond to the weights of the ELM model, LightGBM model, and LSTM model respectively. The sum of the three weights is 1. This is a combined prediction method that improves the prediction accuracy by combining different prediction models. Through appropriate combination forms, the prediction results of different models are combined to obtain the final prediction result. Step 3.3, determine the physical meaning of the sub-model weights: The optimal weighting method does not restrict the weights, so the calculated weight results will exceed the range of 0-1. At this time, the sub-model weights lose their physical meaning. At the same time, it means that when the weights are out of the range, the effect of the combined model is not as good as that of a single sub-model. Therefore, when the three weights are within the range, execute step 3.4. When any of the three weights is out of the range of physical meaning, execute step 3.5. Step 3.4: Combined prediction value: Using formula The combined prediction value is calculated, where is the combined forecast value at time t, is the predicted value of the kth sub-prediction model at time t, is the weight of the kth sub-prediction model, k=1,2,3; Step 3.5, single prediction value: According to the mean absolute error of each sub-prediction model calculated in step 3.1, the prediction value of the sub-prediction model with the smallest mean absolute error is selected as the output.
[0008] The above innovation is mainly reflected in the fact that Li Yongle's optimal weighted method reliably calculates the weights of the sub-prediction models. At the same time, the judgment of the physical meaning of the weights ensures that the predicted value obtained by the real-time prediction method of complex equipment product quality based on the combined prediction model has the smallest error among all the sub-models and combinations used.
[0009] The weight calculation method of the complex equipment product quality prediction model combination module is: Assume that one set of data is input into the combined prediction model every 1 second, that is, there is a one-to-one correspondence between the total number of data sets N and the time t of the input data, and calculate the deviation matrix The values of each element of is the total number of data groups; They are ELM model, LightGBM model and LSTM model respectively. The error between the predicted value and the true value at the moment; through the Lagrange multiplier formula Find the optimal sub-model combination weight, where: are the weights of the ELM model, LightGBM model, and LSTM model, and their sum is 1. .
[0010] On the other hand, the method for real-time prediction of complex equipment product quality based on the combined model of the present invention comprises the following steps: (1) Acquisition of historical production data: Acquisition of historical production data of complex equipment, including production environment data E (such as ambient temperature, ambient humidity, etc.), equipment process parameters M (such as motor frequency, equipment temperature, etc.), key control parameters C (such as valve opening, etc.), and product quality parameters Q (product temperature, moisture content, etc.); (2) Data preprocessing: All historical production data are processed through four steps: outlier processing, time-lag data alignment, filtering, and normalization to obtain complete and reliable historical production data; (3) Feature selection: Complex equipment has a relatively large amount of production feature data. Not all features have a possible causal relationship with the product quality of complex equipment. Therefore, the Pearson correlation coefficient is used to measure the linear relationship strength between production features and product quality, and features with a strong linear relationship with product quality are selected. When the Pearson correlation coefficient is greater than or equal to the preset threshold, the production feature and product quality are in a strong linear correlation relationship, and the production feature is retained; otherwise, the production feature is discarded; (4) Sub-prediction model establishment: Sub-prediction models with different structures are constructed respectively, among which the sub-prediction models with different structures include ELM, LightGBM and LSTM models; (5) Sub-prediction model training: The historical production data after preprocessing and feature selection are adjusted to the format that conforms to the input of different prediction models, and input into the corresponding sub-prediction model for prediction model training and parameter adjustment to obtain the optimal prediction results of complex equipment product quality under the ELM, LightGBM and LSTM models respectively; (6) Calculation of indicators of sub-prediction model: During the actual operation of the system, the input characteristics of the complex equipment are input into the sub-prediction model every second to obtain the predicted value. Therefore, the total number of data groups N predicted in actual production means that the current moment is the Nth second since the start of prediction. The mean absolute error formula is used: As an indicator of the effectiveness of the sub-prediction model, k represents the kth seed prediction model, N is the total number of data sets predicted in actual production, is the predicted value of the kth seed prediction model at time t, is the actual product quality at time t; (7) Sub-prediction model weight calculation: The optimal combination weights of the three sub-prediction models in the combined prediction model composed of ELM, LightGBM and LSTM models are calculated using the optimal weighting method. , They correspond to the weights of the ELM model, LightGBM model, and LSTM model respectively. This is a combined prediction method that improves prediction accuracy by combining different prediction models. The prediction results of different models are combined in appropriate combinations to obtain the final prediction result. (8) Determine the physical meaning of the sub-model weights: The optimal weighting method does not restrict the weights, so the calculated results will exceed the range of 0-1. At this time, the weights lose their physical meaning. At the same time, it means that when the weights are outside the range, the effect of the combined model is not as good as that of a single sub-model. Therefore, when the three weights are within the range, execute step (9); when any of the three weights is outside the range of physical meaning, execute step (10); (9) Combined prediction value: Using the formula The combined prediction value is calculated, where is the combined forecast value at time t, is the predicted value of the kth sub-prediction model at time t, is the weight of the kth sub-prediction model, k=1,2,3; (10) Single prediction value: Based on the previously calculated mean absolute errors of the sub-prediction models, the prediction value of the sub-prediction model with the smallest mean absolute error is selected as the output.
[0011] The beneficial effects of the present invention are: improving the effect of the prediction model in predicting the quality of complex equipment products, enabling the model to more fully explore the potential relationship between production characteristics and product quality, better guide production, and adjust equipment parameters in advance, thereby improving the stability of product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a schematic diagram of the real-time prediction system of complex equipment product quality based on the combined model of the present invention. DETAILED DESCRIPTION
[0013] The present invention is described in further detail below in conjunction with the accompanying drawings.
[0014] The present invention relates to a real-time prediction system for complex equipment product quality based on a combined prediction model. In order to improve the matching of the prediction model with the production characteristics of complex equipment and the accuracy of the prediction, this method combines the ideas of machine learning and model weight updating to propose a combined prediction method. The optimal weighting method is used to update the weight of the prediction model in real time. In the specific implementation, three different prediction models, extreme learning machine, LightGBM, and LSTM, are used to establish the model and adjust the parameters for training. The method disclosed in the present invention includes a complex equipment production data processing module, a product quality sub-prediction model construction module, and a product quality combination prediction module. This method can improve the matching between the prediction model and the production characteristics of complex equipment to a certain extent, and improve the accuracy of real-time prediction of complex equipment.
[0015] like Figure 1 As shown, a real-time prediction system for complex equipment product quality based on a combined prediction model of the present invention is specifically implemented as follows: The specific implementation of the complex equipment production data processing module is as follows: Step 1.1, historical production data acquisition: obtain historical production data of complex equipment, including production environment data E (such as ambient temperature, ambient humidity, etc.), equipment process parameters M (such as motor frequency, equipment temperature, etc.), key control parameters C (such as valve opening, etc.), product quality parameters Q (product temperature, moisture content, etc.); Assume that it is necessary to construct real-time production data of complex equipment containing n sets of data. The real-time production data of each set of complex equipment in the data set is shown in Table 1, where is the i-th group of inlet product quality parameter data, is the i-th group of production environment data, is the i-th group of process parameter data, is the i-th group of key control parameter data, is the export quality parameter data of the i-th group of products; Table 1 Test set examples
[0016] Step 1.2, data preprocessing: all historical production data are processed through four steps: outlier processing, time-lag data alignment, filtering, and normalization; Assume that the data in Table 1 needs to be preprocessed. Taking a certain process parameter as an example, first process the outliers. , ,in is the average value of this process parameter, is the standard deviation of this process parameter, and then calculate the standard deviation of all sample data. and The size relationship of Assumptions , mark the i-th group of process parameter data as abnormal data, and use the interpolation formula Replace the outlier data, is the i-th group of process parameter data after processing, is the i-1th group of process parameter data, is the i+1th group of process parameter rate data; Then the data is aligned with the time lag. The time alignment window of a process parameter is t. ,in is the inlet moisture content at the i-th moment after the time-lag data is aligned, is the original inlet moisture content at time i+t; Then filter the data using the sliding mean filter formula Perform preliminary noise reduction on the noisy parts of the data to reduce the impact of noise on the model. is the acquisition time, N is the window size of the sliding average; Finally, the data is normalized. is the average value of this process parameter, is the standard deviation of this process parameter, , is the data preprocessing result of the i-th group of process parameters; Step 1.3, feature selection: complex equipment has a lot of production feature data, not all features have a possible causal relationship with the product quality of complex equipment, so the Pearson correlation coefficient is used to measure the linear relationship strength between production features and product quality, and features with a strong linear relationship with product quality are selected. When the Pearson correlation coefficient is greater than or equal to the preset threshold, the production feature and product quality are in a strong linear correlation relationship, and the production feature is retained; otherwise, the production feature is discarded; The specific implementation of the product quality sub-prediction model construction module is as follows: Step 2.1, sub-prediction model establishment: establish sub-prediction models with different structures, and construct the model by determining the structural parameters of the model; The complex equipment product quality prediction model based on ELM is divided into input layer, hidden layer and output layer; the input layer has Input neurons, corresponding to the number of input features remaining after feature selection of complex equipment production data; set the number of ELM hidden layer nodes , input layer weight and the hidden layer bias , Size The matrix of The size is The matrix, where the specific values are randomly given; the output layer corresponds to the quality of the complex equipment processing products that need to be predicted; The LightGBM-based complex equipment product quality prediction model is a gradient enhancement framework that generates multiple weak classifiers (such as decision trees) by weighted combination of training data, and iteratively generates new weak classifiers and combines them; sets the maximum depth of leaf nodes in LightGBM , Number of leaf nodes , minimum weight and , learning rate With the number of iterations ; The complex equipment product quality prediction model based on LSTM is divided into input layer, hidden layer and output layer; the LSTM input layer has input neurons, corresponding to the number of input features remaining after feature selection of complex equipment production data; memory units are introduced into the LSTM hidden layer, and the input and output vectors of the hidden layer are and , the memory unit is ; Each node has three types of gate units, namely input gate, forget gate and output gate; the input gate is used to control the input feature vector of the tofu drying machine at the current moment How much can be saved , the forget gate determines the memory unit at the previous moment The information in the current memory unit The output gate determines Prediction of product quality of complex equipment at all times ; Therefore, set the number of LSTM hidden layer nodes , learning rate With the number of iterations ; Step 2.2, sub-prediction model training: adjust the historical production data after preprocessing and feature selection into the format that meets the input of different sub-prediction models, input them into the corresponding sub-prediction models for prediction model training and parameter adjustment, and obtain the optimal prediction results of complex equipment product quality under ELM, LightGBM and LSTM models respectively; Assume that the data in Table 1 needs to be formatted, and the format requirements are shown in Table 2.
[0017] Table 2 Model input format example
[0018] The format of ELM and LightGBM is the same, which is the historical production data at time i. The time coefficient k needs to be defined in the input format of LSTM, which means that all historical production data from time i-k+1 to time i are required at time i.
[0019] The specific implementation of the product quality combination prediction module is as follows: Step 3.1, calculation of sub-prediction model indicators: During the actual system operation, the input characteristics of the complex equipment are input into the sub-prediction model every second to obtain the predicted value. Therefore, the total number of data groups N predicted in actual production means that the current moment is the Nth second from the start of prediction; the mean absolute error formula is used As an indicator of the effectiveness of the sub-prediction model, k represents the kth seed prediction model, N is the total number of data sets predicted in actual production, is the predicted value of the kth seed prediction model at time t, is the actual product quality at time t; Step 3.2, sub-prediction model weight calculation: The weight corresponding to each sub-model in the combined prediction model composed of ELM, LightGBM and LSTM models is calculated by the optimal weighting method. This is a combined prediction method that improves the prediction accuracy by combining different prediction models. Through appropriate combination forms, the prediction results of different models are combined to obtain the final prediction result; By formula Calculate the value of each element of the deviation matrix, where is the total number of data groups; They are ELM model, LightGBM model and LSTM model respectively. The error between the predicted value and the true value at the moment; through the Lagrange multiplier method Find the optimal weight, where They are the weight coefficients of the ELM model, LightGBM model, and LSTM model, and the sum of the coefficients is 1. ; Step 3.3, determine the physical meaning of the sub-model weights: The optimal weighting method does not restrict the weights, so the calculated results will exceed the range of 0-1. At this time, the weights lose their physical meaning. At the same time, it means that when the weights are outside the range, the effect of the combined model is not as good as that of a single sub-model. Therefore, when the three weights are within the range, execute step 3.4. When any of the three weights is outside the range of physical meaning, execute step 3.5. Step 3.4: Combined prediction value: Using formula The combined prediction value is calculated, where is the combined forecast value at time t, is the predicted value of the kth sub-prediction model at time t, is the weight of the kth sub-prediction model, k=1,2,3; Step 3.5, single prediction value: according to the previously calculated mean absolute errors of the sub-prediction models, select the prediction value of the sub-prediction model with the smallest mean absolute error as the output; definition , The value of is 1, 2 or 3; when the mean absolute error of the ELM model is the smallest, that is, hour, ; Similarly, when the mean absolute error of the LightGBM model is the smallest, ; When the mean absolute error of the LSTM model is the smallest, .
[0020] On the other hand, the present invention also provides a method for real-time prediction of complex equipment product quality based on a combined model, the method comprising the following steps: Step 1: Obtain historical production data: Obtain historical production data of complex equipment, including production environment data E, equipment process parameters M, key control parameters C, and product quality parameters Q; Step 2: Preprocessing of historical production data: All historical production data are processed through four steps: outlier processing, time-lag data alignment, filtering, and normalization to obtain complete and reliable historical production data; Step 3, feature selection: Based on complete and reliable historical production data, select production features that have a strong linear correlation with product quality through the Pearson correlation coefficient, including: when the Pearson correlation coefficient is greater than or equal to a preset threshold, the production feature and the product quality are in a strong linear correlation relationship, and the production feature is retained; otherwise, the production feature is discarded; Step 4: Establishment of sub-prediction model: Sub-prediction models with different structures are constructed by determining the structural parameters of the combined prediction model. The combined prediction models with different structures include ELM, LightGBM and LSTM models. Step 5, sub-prediction model training: adjust the historical production data after preprocessing and feature selection into formats that meet the input of different sub-prediction models, input them into the corresponding sub-prediction models for prediction model training and parameter adjustment, and obtain the optimal prediction results of complex equipment product quality under ELM, LightGBM and LSTM models respectively; Step 6: Calculation of sub-forecast model indicators: The mean absolute error method is used to calculate the forecast effect of each sub-forecast model in the combined forecast model; Step 7: Sub-prediction model weight calculation: Calculate the optimal combined weights of the three sub-prediction models in the combined prediction model consisting of ELM, LightGBM and LSTM models using the optimal weighting method. , They correspond to the weights of the ELM model, LightGBM model, and LSTM model respectively, and the sum of the three weights is 1; Step 8, determine the physical meaning of the weights of the sub-prediction models: when any of the three weights calculated in step 7 exceeds the range of [0-1], it is determined that the weight has lost its physical meaning, and step 10 is executed; when the three weights are all within the range of [0-1], it is determined that the effect of the combined prediction model is good, and step 9 is executed; Step 9: Combined predictions: Using the formula The combined prediction value is calculated, where is the combined forecast value at time t, is the predicted value of the kth sub-prediction model at time t, is the weight of the kth sub-prediction model, k=1,2,3; Step 10, single prediction value: Step 7 calculates the mean absolute error of each sub-prediction model, and selects the prediction value of the sub-prediction model with the smallest mean absolute error as the output The contents not described in detail in the specification of the present invention belong to the prior art known to the professional and technical personnel in this field.
[0021] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A real-time prediction system for complex equipment product quality based on a combined model, characterized in that: include: Complex equipment production data processing module, used for historical production data acquisition, preprocessing and production feature selection; A product quality sub-prediction model building module, used to build multiple product quality sub-prediction models corresponding to complex equipment; The product quality combination prediction module is used to realize the weight calculation of the combination prediction model according to the indicators of multiple product quality sub-prediction models, and complete the output of the prediction value according to the physical meaning of the weight; The complex equipment production data processing module is specifically implemented as follows: Step 1.1, historical production data acquisition: obtain the historical production data of complex equipment, including production environment data E, equipment process parameters M, key control parameters C, and product quality parameters Q; Step 1.2: Preprocessing of historical production data: All historical production data are processed through four steps: outlier processing, time-lag data alignment, filtering, and normalization to obtain complete and reliable historical production data; Step 1.3, feature selection: Based on complete and reliable historical production data, select production features that have a strong linear correlation with product quality through the Pearson correlation coefficient, including: when the Pearson correlation coefficient is greater than or equal to a preset threshold, the production feature and product quality are in a strong linear correlation relationship, and the production feature is retained; otherwise, the production feature is discarded; The product quality sub-prediction model construction module is specifically implemented as follows: Step 2.1, sub-prediction model establishment: construct sub-prediction models with different structures respectively, where the sub-prediction models with different structures include ELM, LightGBM and LSTM models; Step 2.2, sub-prediction model training: adjust the historical production data after preprocessing and feature selection into formats that meet the input of different prediction models, input them into the corresponding sub-prediction models for sub-prediction model training and parameter adjustment, and obtain the optimal prediction results of complex equipment product quality under ELM, LightGBM and LSTM models respectively; The product quality combination prediction module is specifically implemented as follows: Step 3.1, calculation of sub-prediction model indicators: the mean absolute error method is used to calculate the prediction effect of each sub-prediction model in the combined prediction model composed of ELM, LightGBM and LSTM models; Step 3.2: Calculate the weights of sub-prediction models: Calculate the optimal combined weights of the three sub-prediction models in the combined prediction model using the optimal weighting method. , They correspond to the weights of the ELM model, LightGBM model, and LSTM model respectively, and the sum of the three weights is 1; Step 3.3, determine the physical meaning of the weights of the sub-prediction models: When any of the three weights calculated in step 3.2 exceeds the range of [0-1], it is determined that the weight has lost its physical meaning, and step 3.5 is executed; when the three weights are all within the range of [0-1], it is determined that the effect of the combined prediction model is good, and step 3.4 is executed; Step 3.4: Combined prediction value: Using formula The combined prediction value is calculated, where is the combined forecast value at time t, is the predicted value of the kth prediction model at time t, is the weight of the kth sub-prediction model, k=1,2,3; Step 3.5, single prediction value: According to the mean absolute error of each sub-prediction model calculated in step 3.1, the prediction value of the sub-prediction model with the smallest mean absolute error is selected as the output.
2. A complex equipment product quality real-time prediction system based on a combined model as claimed in claim 1, characterized in that: The product quality combination prediction module also includes a sub-prediction model weight calculation module, wherein the weight calculation method is: Assume that one set of data is input into the combined prediction model every 1 second, that is, there is a one-to-one correspondence between the total number of data sets N and the time t of the input data, and calculate the deviation matrix The values of each element of They are ELM model, LightGBM model and LSTM model respectively. The error between the predicted value and the true value at the moment; Calculate the inverse of the bias matrix , through the Lagrange multiplier formula Find the optimal combination weight, where .
3. A real-time prediction method for complex equipment product quality based on a combined model, characterized in that: The method comprises the following steps: Step 1: Obtain historical production data: Obtain historical production data of complex equipment, including production environment data E, equipment process parameters M, key control parameters C, and product quality parameters Q; Step 2: Preprocessing of historical production data: All historical production data are processed through four steps: outlier processing, time-lag data alignment, filtering, and normalization to obtain complete and reliable historical production data; Step 3, feature selection: Based on complete and reliable historical production data, select production features that have a strong linear correlation with product quality through the Pearson correlation coefficient, including: when the Pearson correlation coefficient is greater than or equal to a preset threshold, the production feature and the product quality are in a strong linear correlation relationship, and the production feature is retained; otherwise, the production feature is discarded; Step 4: Establishment of sub-prediction models: construct sub-prediction models with different structures respectively, where sub-prediction models with different structures include ELM, LightGBM and LSTM models; Step 5, sub-prediction model training: adjust the historical production data after preprocessing and feature selection into formats that meet the input of different sub-prediction models, input them into the corresponding sub-prediction models for prediction model training and parameter adjustment, and obtain the optimal prediction results of complex equipment product quality under ELM, LightGBM and LSTM models respectively; Step 6, sub-prediction model indicator calculation: The mean absolute error method is used to calculate the prediction effect of each prediction model in the combined prediction model composed of ELM, LightGBM and LSTM models; Step 7: Sub-forecast model weight calculation: Calculate the optimal combined weights of the three sub-forecast models in the combined forecast model using the optimal weighting method. , They correspond to the weights of the ELM model, LightGBM model, and LSTM model respectively, and the sum of the three weights is 1; Step 8, determine the physical meaning of the weights of the sub-prediction models: when any of the three weights calculated in step 7 exceeds the range of [0-1], it is determined that the weight has lost its physical meaning, and step 10 is executed; when the three weights are all within the range of [0-1], it is determined that the effect of the combined prediction model is good, and step 9 is executed; Step 9: Combined predictions: Using the formula The combined prediction value is calculated, where is the combined forecast value at time t, is the predicted value of the kth prediction model at time t, is the weight of the kth sub-prediction model, k=1,2,3; Step 10, single prediction value: According to the mean absolute error of each sub-prediction model calculated in step 7, the prediction value of the sub-prediction model with the smallest mean absolute error is selected as the output.
4. A method for real-time prediction of complex equipment product quality based on a combined model as claimed in claim 3, characterized in that: The weight is calculated as: Assume that one set of data is input into the combined prediction model every 1 second, that is, there is a one-to-one correspondence between the total number of data sets N and the time t of the input data, and calculate the deviation matrix The values of each element of , where they are the ELM model, LightGBM model and LSTM model in The error between the predicted value and the true value at the moment; Calculate the inverse of the bias matrix , through the Lagrange multiplier formula Find the optimal combination weight, where .
Citation Information
Patent Citations
Method for predicting fault of electromechanical device based on combined prediction model
CN102937534A
Product quality prediction method
CN110288199A
Dynamic adaptive load prediction model combination method
CN115470862A
Cited By
Sample detection parameter design method based on composite prediction algorithm
CN120780986A
