Quality indicator prediction method for cigarette manufacturing process
By using the CNN-LSTM transfer learning algorithm and temperature and humidity sensors in the cigarette manufacturing process, the problem of reduced prediction accuracy caused by fluctuations in production data is solved, the prediction accuracy and training efficiency are improved, and it is suitable for long-term production control.
Patent Information
- Application Number
- PCT/CN2023/080810
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-06
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-12
AI Technical Summary
Due to fluctuations in production data during the production process of cigarette manufacturing companies, the accuracy of existing quality index prediction algorithms gradually decreases, and the training efficiency is low, making it difficult to improve the efficiency of the algorithm while ensuring accuracy.
The transfer learning algorithm based on CNN-LSTM is used to collect production line process data through the MES system, use temperature and humidity sensors to measure material quality indicators, and introduce transfer learning strategies to improve training efficiency and prediction accuracy.
It can greatly shorten the model training time while ensuring the training accuracy, improve the prediction accuracy and calculation efficiency, and is suitable for long-term production control decisions.
Smart Images

Figure CN2023080810_12092024_PF_FP
Abstract
Description
A method for predicting quality indicators in cigarette manufacturing process Technical Field
[0001] The present invention belongs to the field of tobacco processing quality index prediction, and in particular relates to a method for predicting quality indicators of a cigarette manufacturing process based on a CNN-LSTM migration learning algorithm. Background Art
[0002] The prediction of silk thread production process quality indicators plays an important role in product quality and production scheduling of cigarette manufacturers. Deeply mining the effective information contained in massive process data, improving the prediction accuracy of production process quality indicators and better adapting to changes in processing conditions are common problems currently faced by cigarette manufacturers.
[0003] Cigarette manufacturing is a continuous process, comprised of multiple production steps organized into one or more pieces of industrial equipment, forming a fully integrated production line. This process is characterized by strong continuity, multiple production equipment, complex coupling between variables, and frequent fluctuations in raw material composition. On-site operators often monitor and control the entire production process based on key indicators of particular interest to achieve stable production. Currently, the predictability, interconnectedness, and autonomy of all process elements remain relatively low. While researchers have developed numerous empirical models for predicting quality indicators in cigarette manufacturing, the continuous nature of cigarette production leads to a gradual decline in the accuracy of these model predictions as production data fluctuates. Further research is needed to improve algorithm training efficiency while maintaining accuracy.
[0004] The present invention has been proposed to solve the above-mentioned problems.
[0005] Summary of the Invention
[0006] The present invention proposes a method for predicting quality indicators of the cigarette manufacturing process based on the CNN-LSTM transfer learning algorithm. The method uses the MES system to collect production line process data on the silk-making equipment, measures the material quality indicators through temperature and humidity sensors, and uses the CNN-LSTM algorithm to predict the material quality indicators at the next moment. The transfer learning strategy is introduced to improve the algorithm training efficiency in actual production while ensuring training accuracy, thereby achieving long-term and accurate prediction of actual production.
[0007] The algorithm framework of the present invention is shown in FIG1 , and the technical solution is as follows:
[0008] A method for predicting quality indicators in the cigarette manufacturing process based on a CNN-LSTM transfer learning algorithm comprises the following steps: using an MES system on production equipment to collect production line process data, measuring material quality indicators using temperature and humidity sensors, using a CNN-LSTM algorithm to predict the material quality indicators at the next moment, and introducing a transfer learning strategy to improve the algorithm training efficiency in actual production while ensuring training accuracy, thereby achieving long-term accurate prediction of actual production.
[0009] Preferably, the specific steps are as follows:
[0010] Step 1: Obtain key process parameter data of the production line X=x1,x2,…,x through the MES system and temperature and humidity sensors n And quality evaluation index data Y=y1,y2,…,y m ;
[0011] Step 2: Clean the data of material heads, tails and material stoppages during the production process according to the enterprise data preprocessing rules;
[0012] Step 3: Transform the continuous data X into x1, x2, ..., x n Constructed as a time series matrix X=(x1,x2,…,x n ) t =x 1 ,x 2 ,…,x t ;
[0013] Step 4: Divide the obtained silk thread key process time series data matrix and quality evaluation index data matrix into training set and validation set in proportion;
[0014] Step 5: Use the time series matrix data as input data and input it into the CNN neural network;
[0015] Step 6: Input the output data of the fully connected layer of the CNN neural network into the LSTM network and predict the quality indicators;
[0016] Step 7: Input the validation set data into the CNN-LSTM model to obtain the corresponding quality indicator prediction value, compare it with the online data, and calculate the accuracy of the CNN-LSTM model prediction;
[0017] Step 8: Introduce the transfer learning strategy. When the accuracy of the model validation set is greater than or equal to 95%, all the network structure and parameters of the trained model are transferred to the new model for direct prediction. When the accuracy of the model validation set is less than 95%, the network structure of the trained model remains unchanged and the network parameters are retrained.
[0018] Beneficial effects of the present invention:
[0019] The present invention's method for predicting cigarette manufacturing process quality indicators based on the CNN-LSTM transfer learning algorithm offers high prediction accuracy and computational efficiency that meets the requirements of industrial field applications. It also significantly reduces model training time while ensuring training accuracy. This method can provide guidance for subsequent production control decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 is a diagram showing an algorithm framework of the present invention.
[0021] Figure 2 is a comparison of the predicted values of the quality indicator discharge moisture content under different methods.
[0022] Figure 3 is a comparison of the predicted values of the quality indicator discharge temperature under different methods. DETAILED DESCRIPTION
[0023] In order to better understand the technical route and implementation plan of the present invention, a long-term prediction model is constructed based on actual industrial data using the method of the present invention. The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and therefore should not be regarded as limiting the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without making creative work are within the scope of protection of the present invention.
[0024] As shown in Figure 1, a method for predicting quality indicators of the cigarette thread manufacturing process based on the CNN-LSTM transfer learning algorithm is implemented as follows:
[0025] Step 1: Obtain the key process parameter data of silk thread X=x1,x2,…,x through the MES system and temperature and humidity sensors n And quality evaluation index data Y=y1,y2,…,y m In this embodiment, the key process parameters of silk making include: actual value of moisture content of inlet material, ambient humidity, condensed water temperature of sheet metal, ambient temperature, dehumidification negative pressure, dehumidification air temperature, dehumidification air door opening setting value, drum wall temperature (rear) measurement value, dehumidification air speed, HT steam pressure, average drum wall temperature measurement value, actual value of steam pressure of inlet sheet metal, drum wall temperature-pressure conversion value, actual value of hot air temperature, drum wall temperature (middle) measurement value, main steam temperature; quality indicators include discharge moisture content and discharge temperature;
[0026] Step 2: Data preprocessing: According to the enterprise data preprocessing rules, the data on the beginning and end of the production process and the shutdown and interruption of the material are cleaned. For the calculation of the non-steady-state index, the data truncation rules are shown in Table 1. The data deletion rules are as follows: (1) The "accumulated amount of materials" in the data segment has not increased; (2) The value corresponding to the data segment has not changed for more than 3 minutes; (3) The first data in the data segment is synchronized with the starting point of the moisture content at the process outlet.
[0027] Table 1 Data extraction rules for calculation of non-steady-state index
[0028] Step 3: The single moment process data X=x1,x2,…,x n Constructed as a time series matrix X=(x1,x2,…,x n ) t =x 1 ,x 2 ,…,x t The quality index sequence of the process workshop at any time is Y=y1,y2,…,y m , then the corresponding key process parameter time series data is X=(x1,x2,…,x n ) t =x 1 ,x 2 ,…,x t , which can be expanded into the following formula: This involves taking n process parameters and t data items as input, and outputting one quality indicator parameter to convert the raw data into time series data. Here, Y represents the quality indicator, m represents the number of quality indicators, X represents the process parameter, and n and t represent the number of process parameters and the time iteration step, respectively. In this example, n, t, and m are 16, 16, and 2, respectively.
[0029] Step 4: Divide the obtained silk thread key process time series data matrix and quality evaluation index data matrix into training set and validation set at an 8:2 ratio.
[0030] Step 5: Input the time series matrix data into the CNN neural network as input data. In the CNN network, set up four layers of convolution operations with a convolution kernel size of 3×3, then perform one layer of pooling, using max pooling with a pool size of 2, and finally perform a fully connected layer operation. The output data of the CNN neural network's fully connected layer is input into the LSTM network, which contains four layers with 4, 8, 16, and 32 neurons, respectively. The predicted values corresponding to the key process parameters at different times are calculated to predict the quality indicators; Among them, f in the formula t 、i t 、o t 、g t、h t 、S t Represent the states of forget gate, input gate, output gate, input node, intermediate output and state unit respectively; W fx 、W fh 、W ix 、W ih 、W ox 、W oh Respectively represent the input x in the corresponding gate t With the intermediate output h t-1 The matrix weight to be multiplied; b f 、b i 、b o 、b g represents the bias in the corresponding gate; τ and τ represent the sigmoid and tanh activation functions, respectively. . represents the matrix element-wise multiplication.
[0031] Step 6: Input the validation set data into the CNN-LSTM model, obtain the corresponding quality index prediction value and compare it with the online data, and calculate the accuracy of the CNN-LSTM model recognition. Compare the current predicted value and the current actual value of the two quality indicators, and use the mean square error, mean absolute error and goodness of fit R 2 The three indicators are used to evaluate the model prediction performance and compared with three different neural network algorithms such as RNN, GRU, and LSTM. Due to the large amount of data, 4000 test set data are randomly selected for plotting. The prediction of the two quality indicators is shown in Figure 2-3, and the comparison of the prediction results is shown in Table 2. As can be seen from Figure 2-3 and Table 2, the MSE, MAE and R of the method of the present invention on different data sets are 2 The performance is better than the three compared methods.
[0032] Table 2 Comparison of prediction results errors of the models
[0033] A transfer learning strategy is introduced. When the model validation set accuracy is greater than or equal to 95%, the parameters are shared, and the network structure and parameters of the trained model are completely transferred to the new model. That is, the trained model parameters are used as the initial values of the new model parameters, and predictions are directly performed. If the model validation set accuracy is less than 95%, the network structure of the trained model remains unchanged, the network parameters of all layers are randomly initialized, the dataset is repartitioned in the target domain, and the model is trained using the new test set. Table 3 shows a comparison of training time and accuracy with and without the transfer learning strategy.
[0034] Table 3 Comparison of training time and accuracy with and without transfer learning strategy
[0035] It can be seen from Table 3 that the training time of the model is greatly shortened while ensuring the training accuracy.
[0036] The above are only some embodiments of the present invention. For those skilled in the art, several modifications and improvements can be made without departing from the inventive concept of the present invention, which all fall within the scope of protection of the present invention.
Claims
1. A method for predicting quality indicators in cigarette manufacturing process based on CNN-LSTM transfer learning algorithm, characterized in that: The method includes the following steps: using the MES system on the production equipment to collect production line process data, measuring material quality indicators through temperature and humidity sensors, using the CNN-LSTM algorithm to predict the material quality indicators at the next moment, and introducing a transfer learning strategy to improve the algorithm training efficiency in actual production while ensuring training accuracy, so as to achieve long-term accurate prediction of actual production.
2. The process manufacturing process quality index prediction method based on the CNN-LSTM transfer learning algorithm according to claim 1 is characterized in that: The specific steps are as follows: Step 1: Obtain key process parameter data of the production line X=x1,x2,…,x through the MES system and temperature and humidity sensors n And quality evaluation index data Y = y1, y2, ..., y m ; Step 2: According to the enterprise data preprocessing rules, clean the data of material head, material tail and material stop during production; Step 3: Convert the continuous data at a single moment X = x1, x2, …, x n Constructed as a time series matrix X = (x1, x2, ..., x n ) t =x 1 ,x 2 ,…,x t ; Step 4: Divide the obtained silk thread key process time series data matrix and quality evaluation index data matrix into a training set and a validation set in proportion; Step 5: Use the time series matrix data as input data and input it into the CNN neural network; Step 6: Input the output data of the fully connected layer of the CNN neural network into the LSTM network and predict the quality indicators; Step 7: Input the validation set data into the CNN-LSTM model to obtain the corresponding quality indicator prediction value, compare it with the online data, and calculate the accuracy of the CNN-LSTM model prediction; Step 8: Introduce the transfer learning strategy. When the accuracy of the model validation set is greater than or equal to 95%, the network structure and parameters of the training model are all migrated to the new model for direct prediction. When the accuracy of the model validation set is less than 95%, the network structure of the training model remains unchanged and the network parameters are retrained.
Citation Information
Patent Citations
Regional sea surface temperature prediction method based on CNN-LSTM
CN112906989A
Time series data prediction method and device based on transfer learning and storage medium
CN114239859A
Process quality prediction method based on CNN-LSTM hybrid neural network model
CN115169737A
Cut tobacco production workshop process quality online prediction method
CN115545321A
Method for detecting abnormity in unsupervised industrial system based on deep transfer learning
US20200150622A1
Cited By
Method for establishing heat and humidity transfer and air flow model of uniform-temperature bulk curing barn
CN120493719A
Pellet quality anomaly preanalysis and optimization method and device, medium and equipment
CN120930890A
Pet feed online production quality detection method and system and storage medium
CN121032341A
Gypsum dehydration control method and system based on multi-parameter collaborative optimization
CN121704357A
Process parameter optimization method and device for large-scale production of ternary positive electrode material
CN121832495A
