A method for constructing a recipe parameter library of a re-baking machine
By optimizing the drying mode and combining the BP algorithm with the genetic algorithm, adding momentum terms and adaptive learning rates, a more efficient recipe parameter library for the rebake machine was constructed, which solved the problems of unreasonable drying mode optimization and slow training speed in the existing technology. , achieving higher model accuracy and practicability, laying the foundation for intelligent control of re-bake moisture content.
Patent Information
- Application Number
- CN202011101490.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-15
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-10-15
AI Technical Summary
In the existing method of constructing the formula parameter library of the re-bake machine, the optimization of the drying mode is unreasonable, and the training convergence speed of a single BP algorithm is slow, which affects the practicality and accuracy.
By analyzing and optimizing the drying mode, combining the BP algorithm of the genetic algorithm, and adding the momentum term and adaptive learning rate to the BP algorithm, we perform data preprocessing and sample expansion to build a recipe parameter library with higher predictive capabilities.
It improves the algorithm convergence speed and model accuracy, enhances the practicality and generalization ability of the formula parameter library, and solves the key issue of intelligent control of re-baking moisture content.
Smart Images

Figure CN112231977B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to tobacco processing process control, and in particular to a construction method and an implementation method thereof for a recipe parameter library of a drying link of tobacco redrying equipment. Background Art
[0002] The moisture content control of the redrying machine is the most complex and critical control link in the leaf threshing and redrying process. Its control quality directly affects the processing quality of the subsequent processing links and is the control link that processing companies focus on and monitor. The recipe parameter library is the basis for realizing the intelligent control of the moisture content of the redrying machine. How to build a recipe parameter library that is suitable for the process control characteristics of the redrying equipment and meets the requirements of intelligent control is the key to realizing its intelligent and precise control.
[0003] The drying process of the re-drying equipment has the characteristics of numerous control parameters, complex control mechanism and strong coupling. The neural network modeling method can be used to obtain a recipe parameter library with good prediction ability through a large number of training of input and output parameter samples, and the design of intelligent control is completed on this basis. This construction method has the following problems in practical application: first, the drying mode is not reasonably optimized and the training samples are all empirical operation data; second, the neural network training mostly uses a single BP algorithm, which has slow convergence speed, long training time and is easy to fall into local minimum, affecting the practicality and accuracy of the recipe parameter library. Summary of the invention
[0004] The purpose of the present invention is to improve the shortcomings of the above-mentioned method for constructing a recipe parameter library and to provide a method for constructing a recipe parameter library for a re-roasting machine, thereby laying a foundation for intelligent control of the moisture content of re-roasting.
[0005] The purpose of the present invention is to provide the following technical solutions:
[0006] A method for constructing a recipe parameter library for a redrying machine is to first analyze and optimize the redrying drying mode to obtain a suitable drying mode. On this basis, a BP algorithm combined with a genetic algorithm is used for production data samples, and a momentum term and an adaptive learning rate are added to the BP algorithm to improve the algorithm convergence speed and accuracy, thereby obtaining a recipe database with better prediction and generalization capabilities. The database is further optimized and maintained using a method based on pattern recognition. The specific steps are as follows:
[0007] (1) Analyze the effect of drying mode on the quality of re-drying. The specific method is to adjust the drying temperature of drying zones 1 to 6 to form different drying modes under the premise of ensuring that the total drying intensity and the moisture content of the cold room are basically consistent. The effect of different drying modes on the quality of re-drying is examined to determine the optimal drying mode.
[0008] (2) In actual production, the optimized drying mode is used to process the tobacco leaves. The input and output parameter variables of the formula parameter library are determined through analysis of the production process, incoming material conditions and grades.
[0009] (3) Determine the collection rules: including sampling time and training data range. According to the characteristics of the tobacco processing process, the sampling time is 5-15 seconds; the evaluation data range selects the data segment of the stable operation of the production process (excluding the production data of the head, tail and failure stages);
[0010] (4) Data preprocessing: If the data sample meets the neural network training requirements, the data is further preprocessed, including outlier removal and normalization. If it does not meet the training requirements, similar adjacent sample data is added through pattern recognition methods to expand the sample range.
[0011] (5) Determine the neural network topology: Considering the characteristics of the re-roasting process and from the perspective of simplicity, effectiveness and practicality, a BP neural network with a single hidden layer structure, that is, a three-layer BP neural network structure, is usually selected for training and construction.
[0012] (6) A BP neural network algorithm combined with a genetic algorithm is used, and momentum terms and adaptive learning rates are added to the BP algorithm to train and model data samples, thereby improving the convergence speed of the algorithm and the accuracy of the model.
[0013] (7) A database is constructed for a large number of trained neural network models to facilitate model analysis and data call, and the model is continuously optimized and maintained through historical production data to improve the model's generalization ability and prediction accuracy, thereby building a formula parameter library that can be continuously updated and optimized.
[0014] In step (4), the outlier elimination adopts the Rytter criterion to eliminate the gross error data, that is, if the residual error of the measured value is greater than three times the standard deviation, it is eliminated. The normalization process controls the data within the range of [-1,1], and the formula is as follows:
[0015]
[0016] Here j represents the number of rows of data p, and also the number of input neurons, p j min and p j max denote the minimum and maximum values of the j-th row in p, respectively.
[0017] In step (6), momentum term and adaptive learning rate are added to the BP algorithm to improve the convergence speed of the algorithm. The weight adjustment formula is:
[0018] w(k+1)=w(k)+(1-a)η(k)d(k)+a(w(k)-w(k-1)) (2)
[0019]
[0020] Where w(k+1), w(k), w(k-1) are the weight vectors at time k+1, k, and k-1 respectively, η(k) is the learning rate at time k, d(k) is the negative gradient at time k, and α is the momentum factor.
[0021] Taking into account that there are many controlled factors in the redrying process, and the control mechanism is complex and highly coupled, the present invention adopts the BP algorithm combined with the genetic algorithm to perform neural network modeling on the input and output parameters, and adds momentum terms and adaptive learning rates to the BP algorithm to improve the algorithm convergence speed and model accuracy. The number of training samples is further increased through the pattern recognition method, and the optimization model is continuously updated through historical production data, which increases the practicability of the model and lays the foundation for the intelligent control of the moisture content of redrying. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 Steps for building a recipe parameter library for a redrying machine;
[0023] Figure 2 Different drying mode settings for the redrying and drying process;
[0024] Figure 3 It is the neural network topology structure of the recipe parameter library;
[0025] Figure 4 An improved neural network training algorithm combined with genetic algorithm. DETAILED DESCRIPTION
[0026] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0027] Taking the redrying equipment of a leaf threshing and redrying plant (flow rate of the front electronic scale is 9000kg / h) as the implementation object, the redrying tobacco production data with Henan China Tobacco C3F as the main recipe was used to construct the recipe parameter library for the drying process. The specific implementation steps are as follows: Figure 1 ):
[0028] (1) Under the premise of ensuring that the total drying intensity and the moisture content of the cold room are basically the same, adjust the drying temperature of drying zones 1 to 6 to form different drying modes ( Figure 2 ) to investigate the effects of different drying modes on the quality of redrying. By analyzing and comparing the dehydration rate of batches of tobacco leaves and the shrinkage rate of exported tobacco leaves, it is suitable to adopt drying mode 1, which has high drying efficiency, good uniformity of moisture content of tobacco leaves after cooling and rehumidification, and the tobacco leaves are stretched with a small shrinkage rate.
[0029] (2) In combination with the raw material conditions and process characteristics in the actual production of the redrying equipment, five parameters, namely, inlet moisture content, inlet flow rate, ambient temperature and humidity, and outlet moisture content, are determined as input variables of the recipe parameter library; the hot air temperature setting values of drying zones 1 to 6 are output variables of the recipe parameter library.
[0030] (3) When a batch of tobacco leaves has completely entered the re-drying stage (i.e., the normal production stage), after the system has been running stably for 5 minutes, the five parameters of inlet moisture content, inlet flow rate, ambient temperature and humidity, outlet moisture content, and the set values of the hot air temperature of drying zones 1 to 6 are sampled simultaneously (sampling time is 10 seconds), and sampling is carried out until 5 minutes before the end of production.
[0031] (4) If the neural network training requirements are met (sample size is greater than 9000), the input and output sample data are subjected to outlier removal and normalization, and 70% of them are randomly selected as training data and 30% as test data. If the sample training requirements are not met, the number of similar input and output samples is increased through pattern recognition.
[0032] (5) According to the actual modeling and production characteristics of the redrying and drying process, a BP neural network with a single hidden layer structure, i.e. a three-layer BP neural network structure, is used for training and construction ( Figure 3 ). f1, f2 and f3 represent the input layer, hidden layer and output layer in the network structure respectively, xi,i = [1,2,3,4,5] represents the input variables of the neural network (corresponding to the instantaneous flow rate of the electronic scale, the moisture content of the feed, the ambient temperature, the ambient humidity and the moisture content of the discharge), and yi,i = [1,2,3,4,5,6] is the output of the whole system, which corresponds to the hot air temperature setting value of the drying zones 1 to 6. The number of hidden layer neurons is designed to be 5.
[0033] (6) Set the population size NT = 20, the crossover probability Pc = 0.4, the mutation probability Pm = 0.05, and the maximum number of iterations T = 100; and add momentum terms and adaptive learning rates to the BP algorithm (Equations (2)-(3)), where the initial learning rate is 0.24, α = 0.8, and k 1 =0.7, k 2 =1.07, and the BP neural network algorithm combined with genetic algorithm was used for network training ( Figure 4 ).
[0034] (7) After completing data training, the relevant database is constructed to facilitate parameter calling and data analysis, and the model training window is opened to facilitate continuous updating, training and optimization in the future.
[0035] Compared with a single BP algorithm, the average convergence speed of the method proposed in the present invention is increased by 30%, and no training oscillation occurs during the convergence process. It better solves the difficulty of constructing a recipe parameter library for the drying link of the re-roasting equipment and lays a key foundation for further intelligent control of re-roasting.
Claims
1. A method for constructing a recipe parameter library of a re-baking machine, characterized in that: Firstly, the redrying and drying mode is analyzed and optimized to obtain a suitable drying mode. On this basis, the BP algorithm combined with the genetic algorithm is used for the production data samples, and the momentum term and adaptive learning rate are added to the BP algorithm to improve the algorithm convergence speed and accuracy, so as to obtain a formula database with better prediction and generalization capabilities. The database is further optimized and maintained by a method based on pattern recognition. The specific steps are as follows: (1) Analyze the effect of drying mode on the quality of redrying. The specific method is to adjust the drying temperature of drying zones 1 to 6 to form different drying modes under the premise of ensuring that the total drying intensity and the moisture content of the cold room are basically the same, examine the effect of different drying modes on the quality of redrying, and determine the optimal drying mode; (2) In actual production, the optimized drying mode is used to process the tobacco leaves, and the input and output parameter variables of the recipe parameter library are determined through analysis of the production process and the incoming material conditions and grades; (3) Determine the collection rules: including sampling time and training data range. According to the characteristics of the tobacco processing process, the sampling time is 5-15 seconds; the evaluation data range selects the data segment of the stable operation of the production process, that is, excludes the production data of the head, tail and failure stages; (4) Data preprocessing: If the data sample meets the neural network training requirements, the data is further preprocessed, including outlier removal and normalization. If it does not meet the training requirements, similar adjacent sample data is added through pattern recognition methods to expand the sample range. In this step, outliers are eliminated using the Rytter criterion to eliminate gross error data, that is, if the residual error of the measured value is greater than three times the standard deviation, it is eliminated; normalization processing controls the data within the range of [-1,1], and the formula is as follows: pjmin pjmax Here j represents the number of rows in the data p, and also represents the number of input neurons, and represents the minimum and maximum values of the j-th row in p respectively; (5) Determine the neural network topology: Considering the characteristics of the redrying process and from the perspective of simplicity, effectiveness and practicality, a BP neural network with a single hidden layer structure, i.e. a three-layer BP neural network structure, is usually selected for training and construction; (6) Adopting BP neural network algorithm combined with genetic algorithm, and adding momentum term and adaptive learning rate to BP algorithm to train and model data samples, so as to improve the convergence speed of the algorithm and the accuracy of the model; In this step, momentum terms and adaptive learning rates are added to the BP algorithm to improve the convergence speed of the algorithm. The weight adjustment formula is: w(k+1)=w(k)+(1-a)η(k)d(k)+a(w(k)-w(k-1)) (2) Where w(k+1), w(k), w(k-1) are the weight vectors at time k+1, k, and k-1 respectively, η(k) is the learning rate at time k, d(k) is the negative gradient at time k, and α is the momentum factor; (7) A database is constructed for a large number of trained neural network models to facilitate model analysis and data call, and the model is continuously optimized and maintained through historical production data to improve the model's generalization ability and prediction accuracy, thereby building a formula parameter library that can be continuously updated and optimized.
