Tobacco shred moisture abnormity risk early warning method and system
Through the combination of XGBoost and NGBoost algorithms, the cut tobacco moisture prediction model is trained to identify and early warn the trend deviation of cut tobacco moisture in cigarette production, solving the problems of identification lag and lack of dynamic management in the existing technology, and realizing the timely discovery of cut tobacco moisture quality risks. and elimination, improving production stability and management efficiency.
Patent Information
- Application Number
- CN202411043020.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technology is difficult to timely identify and eliminate trend deviations in cut tobacco moisture in cigarette production. It relies on expert experience and historical data statistics, resulting in a lag in the identification of emerging risks and rapidly changing risk factors, and a lack of dynamic management.
The XGBoost algorithm is used to calculate the SHAP value, and the NGBoost algorithm is used to train the cut tobacco moisture prediction model, rolling prediction of the moisture content of each batch is carried out, and whether there is a trend change in the residual sequence is detected. If there is a trend change, an early warning is issued to replace the manual and complex quality risk identification work. .
It achieves timely identification and early warning of trend deviations in cut tobacco moisture, dynamically eliminates risks, reduces management costs, and improves quality control efficiency and production stability.
Smart Images

Figure CN118735075A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tobacco production management, and more specifically, to a method and system for early warning of abnormal risk of moisture in cut tobacco. Background Art
[0002] Cigarette production is a typical example of single-brand mass production. A cabinet of tobacco usually weighs eight or nine thousand or even tens of thousands of kilograms. Once quality abnormalities such as tobacco mold or excessive moisture occur, it is often necessary to trace and lock large batches of products, resulting in the scrapping of a large number of finished products, tobacco, and raw and auxiliary materials, which greatly increases the cost of quality tracing and will also lead to batch market complaints and affect the brand image. How to timely identify quality risks such as tobacco mold and excessive moisture, locate risk factors, and reduce the occurrence of batch quality risk events has always been the research focus of cigarette quality assurance.
[0003] In recent years, the research on quality risk prevention and control methods in the cigarette production process is mainly reflected in the application of the PFMEA system and the research on the quality risk prevention and control system. For example, the "Real-time Quality Risk Identification Method of Packing and Rolling Unit Based on PFMEA" proposed a risk assessment method that converts the rejection rate of each rejection of the packing and rolling unit into the risk occurrence degree, and the "Construction and Application of Quality Risk Early Warning Mechanism" proposed a quality risk early warning mechanism based on "key point measurement", "key point parameter control" and "key feeding point". However, the identification of quality risks and their impact and the composition analysis of risk factors currently rely mainly on expert experience and historical data statistics. This is a static management mode of quality risks, that is, using the statistical analysis of historical data, each potential quality risk is included in the risk control system or removed from it on an annual basis. The static management mode often relies on past data and experience, which leads to a lag in the identification of emerging risks or rapidly changing risk factors. Although relying on expert experience and historical data statistics has a certain degree of accuracy and reliability, it is also limited by the subjective judgment of experts and the coverage of historical data. Some potential risk factors may be ignored because they are not identified by experts or recorded in historical data. There is a lack of dynamic management of quality risks such as tobacco mold and excessive moisture, which can be “discovered in time and eliminated dynamically”. Summary of the invention
[0004] An object of the present invention is to provide a method for early warning of abnormal risk of moisture content in cut tobacco, so as to solve the aforementioned quality risk of failing to timely discover trend deviations in moisture content between batches of cut tobacco, and the defect of a static management model that only relies on expert experience and historical data statistics.
[0005] According to a first aspect of the present invention, a method for early warning of abnormal moisture risk in cut tobacco is provided, the method comprising the following steps:
[0006] Data collection steps: Collect the production time series data of tobacco in different batches during the production process;
[0007] Data cleaning step: performing data cleaning on various parameter data in the tobacco production time series data;
[0008] Model training step: using the XGBoost algorithm to calculate the SHAP value of each characteristic parameter in the tobacco production time series data, extracting key characteristic parameters according to the SHAP value, and selecting the NGBoost algorithm to train the tobacco moisture prediction model;
[0009] Risk warning steps: Based on the tobacco moisture prediction model, the moisture content of each batch of tobacco within the preset time is predicted on a batch-by-batch basis, the residual between the predicted value and the actual value of each batch is calculated, a new data set containing the residual is constructed, and the new data set is analyzed to detect whether there is a trend change in the residual sequence. If so, an early warning reminder is issued.
[0010] Optionally, the tobacco production timing data includes but is not limited to tobacco inlet moisture, outlet moisture, process parameters, temperature and humidity, tobacco storage time, number of shutdowns, shutdown time, moisture meter zero position data, wherein the process parameters include but are not limited to primary feeding amount, secondary feeding amount, valve opening, tobacco flow rate, steam pressure, barrel wall temperature, and hot air temperature.
[0011] Optionally, the data cleaning step specifically includes performing clock alignment, missing value filling and data filtering preprocessing on the tobacco production time series data.
[0012] Optionally, in the model training step, selecting the NGBoost algorithm to train the tobacco moisture prediction model includes: setting the numerical range of NGBoost hyperparameters, selecting values for several NGBoost hyperparameters one by one for iterative training, automatically calculating the mean square error and determination coefficient under the corresponding parameter combination in each iteration, and selecting the hyperparameter corresponding to the maximum value of the determination coefficient as the optimal parameter as the final training result of the model.
[0013] Optionally, the model training step also includes: using L2 regularization technology to constrain the weight of each feature parameter, and determining and applying the optimal hyperparameter combination through a hyperparameter selection method.
[0014] Optionally, in the risk warning step, a seasonal autoregressive integrated moving average model is applied to the new data set for analysis to detect whether there is a trend change in the residual sequence.
[0015] Optionally, in the risk warning step, if there is a trend change in the detected residual sequence, it is determined that the deviation between the predicted value and the actual value is gradually increasing, and there is a potential risk in the moisture content of the cut tobacco, wherein the potential risks include the following two types:
[0016] (1) There is a risk that the moisture content of the tobacco will exceed the standard in the next production period;
[0017] (2) Within the preset time, there is irreversible human intervention in the moisture influencing factor, which will cause potential indicator abnormalities.
[0018] Optionally, if there is a trend change in the detected residual sequence, the abnormal moisture prediction results and the numerical changes of the characteristic parameters are included in the risk control management; if there is no trend change, the short-term fluctuations in the moisture content of the tobacco are judged to be normal fluctuations, and no intervention is required, and normal attention can be paid.
[0019] According to a second aspect of the present invention, there is provided a tobacco moisture abnormality risk early warning system, comprising:
[0020] A data collection module is used to collect the production time series data of tobacco in different batches during the production process;
[0021] A data cleaning module, used for cleaning various parameter data in the tobacco production time series data;
[0022] A model training module is used to calculate the SHAP value of each characteristic parameter in the tobacco production time series data using the XGBoost algorithm, extract key characteristic parameters according to the SHAP value, and select the NGBoost algorithm to train the tobacco moisture prediction model;
[0023] The risk warning module is used to predict the moisture content of each batch of tobacco within a preset time based on the tobacco moisture prediction model, calculate the residual between the predicted value and the actual value of each batch, construct a new data set containing the residual, and analyze the new data set to detect whether there is a trend change in the residual sequence. If so, an early warning reminder is issued.
[0024] The method and system for early warning of abnormal risk of moisture content in cut tobacco disclosed in the present invention have the following technical effects:
[0025] By modeling the trend deviation of moisture content in tobacco between batches, the risk identification problem of moisture content trend deviation in tobacco between batches and the risk identification problem caused by temporary manual intervention to avoid moisture content deviation are solved. Through timely identification and early warning of the above two types of risks, the closed-loop management of the quality risk of moisture content trend deviation in tobacco is achieved, which can replace the repetitive and complex manual quality risk identification work, reduce workload and management costs.
[0026] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0028] Figure 1 A schematic diagram of a process for warning the risk of abnormal moisture content in cut tobacco provided by an embodiment of the present invention;
[0029] Figure 2 SHAP diagram of various characteristic parameters in the embodiment of the present invention;
[0030] Figure 3 This is a comparison chart between the predicted value and the actual value of the moisture content of each batch in the embodiment of the present invention. DETAILED DESCRIPTION
[0031] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0032] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0033] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0034] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0035] At present, the identification of quality risks such as tobacco mold and excessive moisture and the degree of impact, as well as the composition analysis of risk factors, mainly rely on expert experience and historical data statistics, and lack of dynamic management of "timely discovery and dynamic elimination" of such quality risks. This application models the trend deviation of tobacco moisture between batches, and through timely identification and early warning of the two types of risks, realizes closed-loop management of "timely discovery and dynamic elimination" of quality risks, which can replace manual repetitive and complex quality risk identification work, reduce workload, and reduce management costs.
[0036] The present invention proposes an embodiment of a method for early warning of abnormal risk of moisture in cut tobacco. Specifically, Figure 1 As shown, the following steps are included:
[0037] S1. Data collection step: collecting the production time series data of tobacco in different batches during the production process;
[0038] Among them, the tobacco production time series data includes but is not limited to tobacco inlet moisture, outlet moisture, process parameters, temperature and humidity, tobacco storage time, number of shutdowns, shutdown time, moisture meter zero position data, among which the process parameters include but are not limited to the primary feeding amount, secondary feeding amount, valve opening, tobacco flow, steam pressure, barrel wall temperature, and hot air temperature.
[0039] S2, data cleaning step: performing data cleaning on various parameter data in the tobacco production time series data;
[0040] The data cleaning steps specifically include:
[0041] S21, select the master server time as the benchmark, benchmark the server time of each OPC Server, and align the clocks of each characteristic parameter according to the time difference of each server to ensure that the timestamp data of each characteristic parameter collected by the OPC Server is consistent;
[0042] S22. Use the mean method to interpolate missing values. In the process of data collection, data may be missing due to equipment failure, communication interruption or human error. If these missing values are not processed, they will directly affect the results of data analysis. The mean method uses the average value of the non-missing values of a feature parameter to fill the missing value of the feature parameter, so as to reduce the impact of missing data on the analysis results and make the data more complete and continuous.
[0043] S23, adopt box line Figure 3 The interquartile range (IQR) method is used to detect and eliminate outliers for each characteristic parameter, where observations beyond the upper and lower bounds are considered outliers and are eliminated or marked.
[0044] S3, model training step: using the XGBoost algorithm to calculate the SHAP value of each characteristic parameter in the tobacco production time series data, extracting key characteristic parameters according to the SHAP value, and selecting the NGBoost algorithm to train the tobacco moisture prediction model;
[0045] It should be noted that SHAP (SHapley Additive exPlanations) value is created based on game theory and can be applied to the model interpretation framework of tree models. It has a rich visualization module to display the global interpretation of the model and the personalized interpretation of the features. By calculating the SHAP value of each feature, the influence of the feature on the model output can be evaluated. In gradient boosting tree models such as XGBoost, the calculation efficiency of SHAP value is very high, and XGBoost itself provides the function of calculating SHAP value. Therefore, by calculating the absolute value of SHAP value of each parameter and sorting it, several feature parameters that affect model prediction are obtained. Specifically, Figure 2 As shown, the SHAP diagram was originally a color chart. After being processed in black, white and gray, the dark black corresponds to the red in the traditional SHAP diagram. The darker the color, the greater the influence weight.
[0046] S4. Risk warning step: Based on the tobacco moisture prediction model, the moisture content of each batch of tobacco within the preset time is predicted on a batch-by-batch basis, the residual between the predicted value and the actual value of each batch is calculated, a new data set containing the residual is constructed, and the new data set is analyzed to detect whether there is a trend change in the residual sequence. If so, an early warning reminder is issued.
[0047] In an embodiment of the present invention, in the model training step, selecting the NGBoost algorithm to train the tobacco moisture prediction model includes: setting the NGBoost hyperparameter value range, selecting values for several NGBoost hyperparameters one by one for iterative training, automatically calculating the mean square error and determination coefficient under the corresponding parameter combination in each iteration, and selecting the hyperparameter corresponding to the maximum value of the determination coefficient as the optimal parameter as the final training result of the model. Among them, setting the NGBoost hyperparameter value range includes setting the n_estimators (number of decision trees) parameter range to [50, 100, 500, 1000, 1500], the learning_rate (learning rate) parameter range to [0.01, 0.05, 0.1, 0.15, 0.2], the colsample_bytree (feature ratio) parameter range to [0.5, 0.6, 0.7, 0.8, 0.9, 1], etc., selecting values for 10 NGBoost hyperparameters one by one for iterative training, and automatically calculating the model evaluation index MSE (mean square error) and R² value (determination coefficient) under the parameter combination in each iteration. It should be noted that NGBoost is an algorithm based on the gradient boosting framework, which optimizes model parameters through natural gradient descent. The mean square error measures the average of the squares of the differences between the model's predicted values and the true values. The smaller the value, the better the model performance. The coefficient of determination is a value between -∞ and 1, 1 indicates perfect prediction, 0 indicates that the model performance is equivalent to the simple average, and a negative value indicates that the model performance is not as good as the simple average. After all iterations are completed, the coefficient of determination of the model under different parameter combinations will be compared. The parameter combination with the largest determination coefficient is selected as the optimal parameter, because it means that the model under this parameter combination performs best on the validation set, and the correlation between the predicted value and the true value is the highest. Specifically, the comparison between the predicted value and the actual value of the moisture content of the finished product on the test set is shown in the figure below. Figure 3 As shown, the calculated residual Xi = predicted moisture - actual moisture.
[0048] In an embodiment of the present invention, the model training step also includes: using L2 regularization technology to constrain the weights of each feature parameter, and determining and applying the optimal hyperparameter combination through a hyperparameter selection method to establish a tobacco moisture prediction model. It should be noted that L2 regularization, also known as weight decay, is a regularization method used to reduce the complexity of the model. It is achieved by adding a term proportional to the square of the weight to the loss function. This term penalizes feature parameters with larger weights, thereby encouraging the model to use smaller weights during training. L2 regularization prevents the model from learning overly complex features by constraining the size of the weight, thereby reducing the risk of overfitting. L2 regularization helps to improve the performance of the model on unseen data. Hyperparameters are parameters that need to be set before model training. They cannot be learned directly from the data, but need to be manually set or optimized The algorithm finds the optimal value. Hyperparameter selection methods include grid search, random search, and Bayesian optimization. When establishing a tobacco moisture prediction model, one of the above hyperparameter selection methods is used to determine the coefficient of the L2 regularization term and other hyperparameters that may affect the model performance (such as learning rate, number of iterations, etc.). Through multiple experiments and evaluations, the hyperparameter combination that optimizes the model performance is found and applied to the training process of the final model.
[0049] In an embodiment of the present invention, in the risk warning step, a seasonal autoregressive integrated moving average model (SARIMA) is applied to the new data set for analysis to determine whether there is a trend deviation in the moisture residual, so as to detect whether there is a trend change in the residual sequence. The SARIMA model captures the seasonal characteristics of the time series by adding seasonal differences, seasonal autoregression, and seasonal moving average terms. The ARIMA model takes into account seasonal factors and can more accurately capture and predict seasonal changes in time series data.
[0050] In the embodiment of the present invention, in the risk warning step, if there is a trend change in the detected residual sequence, it is judged that the deviation between the predicted value and the actual value is gradually increasing, and there is a potential risk in the moisture content of the tobacco, wherein the potential risks include the following two types:
[0051] (1) There is a risk that the moisture content of the tobacco will exceed the standard in the next production period;
[0052] (2) Within the preset time, there is irreversible human intervention in the moisture influencing factor, which will cause potential indicator abnormalities. Specifically, in the past month, in order to ensure that the moisture content does not exceed the standard, there may be irreversible human intervention in the moisture influencing factor, such as adjusting the storage time of tobacco or adjusting the temperature and humidity of the storage area. These manual intervention adjustments will cause potential indicator abnormalities. For these two risks, through timely early warning reminders, the moisture abnormality prediction results and the numerical changes of characteristic parameters are included in the risk control management, and the risk hazards are eliminated in time to achieve dynamic management of quality risks. If there is no trend change, it means that the short-term fluctuations in the moisture content of tobacco are normal fluctuations, and no intervention is required, and normal attention can be paid.
[0053] The present invention also proposes an embodiment of a tobacco moisture abnormality risk early warning system, comprising:
[0054] A data collection module is used to collect the production time series data of tobacco in different batches during the production process;
[0055] A data cleaning module, used for cleaning various parameter data in the tobacco production time series data;
[0056] A model training module is used to calculate the SHAP value of each characteristic parameter in the tobacco production time series data using the XGBoost algorithm, extract key characteristic parameters according to the SHAP value, and select the NGBoost algorithm to train the tobacco moisture prediction model;
[0057] The risk warning module is used to predict the moisture content of each batch of tobacco within a preset time based on the tobacco moisture prediction model, calculate the residual between the predicted value and the actual value of each batch, construct a new data set containing the residual, and analyze the new data set to detect whether there is a trend change in the residual sequence. If so, an early warning reminder is issued.
[0058] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application, and are devices corresponding to the above-mentioned tobacco moisture abnormality risk warning method. All implementation methods in the above-mentioned method embodiment are applicable to the embodiments of the device. Its specific functions and technical effects can be found in the method embodiment part, which will not be repeated here.
[0059] The specific implementation of the present invention is described below in conjunction with a specific application scenario. Specifically, a method for warning the risk of abnormal moisture content in cut tobacco of this embodiment includes the following steps:
[0060] S1. Collect the inlet moisture content, outlet moisture content, process parameters (including primary feeding amount, secondary feeding amount, valve opening, tobacco flow rate, steam pressure, cylinder wall temperature and hot air temperature), temperature and humidity, tobacco storage time, shutdown times, shutdown time, moisture meter zero position of tobacco in different batches in the actual production process of Hangzhou Cigarette Factory in the past three years, a total of 120 time series data points, data collection was performed at a frequency of 2 seconds, and a total of about 1.94 billion time series data;
[0061] S2. Clean the data of each parameter: S21. Select the main server time as the benchmark, benchmark the time of each OPC Server, and align the clocks of each characteristic parameter according to the time difference of each server; S22. Use the mean method to interpolate and fill in the missing values; S23. Use the box line method to calculate the time of each OPC Server. Figure 3 The interquartile range (IQR) method was used to detect and eliminate outliers in various characteristic parameters.
[0062] S3. Extract feature parameters according to the SHAP value of XGBoost, then select the NGBoost algorithm for model training, and then use L2 regularization to constrain the weights of each feature parameter and the hyperparameter selection. According to the mean square error results, the optimal hyperparameters are obtained, and a tobacco moisture prediction model is established: By calculating the absolute value of the SHAP value of each parameter and sorting them, the top 17 feature parameters that affect the model prediction are obtained as shown in Table 1, so as to select the feature parameters.
[0063] Table 1. Characteristic parameters affecting model prediction
[0064]
[0065] S32. Input the 17 selected characteristic parameters and the finished product moisture history time data into the NGBoost prediction model for training. Set the NGBoost hyperparameter value range, set the n_estimators (number of decision trees) parameter range to [50, 100, 500, 1000, 1500], the learning_rate (learning rate) parameter range to [0.01, 0.05, 0.1, 0.15, 0.2], the colsample_bytree (feature ratio) parameter range to [0.5, 0.6, 0.7, 0.8, 0.9, 1], etc., and adjust the value range of 10 hyperparameters, as shown in Table 2.
[0066] Table 2 Description of the value range of hyperparameters
[0067]
[0068] Then, the values of each hyperparameter were selected one by one, and 90.72 million iterations of training were completed. The model evaluation index MSE (mean square error) and R² value (coefficient of determination) under each iteration were automatically calculated. The hyperparameter corresponding to the maximum R² value was selected as the optimal parameter, as shown in Table 3, which is the final training result of the model.
[0069] Table 3 Model evaluation results
[0070]
[0071] Finally, the NGBoost hyperparameter optimization results are as follows, and a tobacco moisture prediction model is established based on this.
[0072] S4. Based on the tobacco moisture prediction model, the moisture content of each batch of tobacco in the past month is predicted on a rolling basis. Figure 3 As shown, the residual Xi = predicted moisture - actual moisture is calculated to form a new data set. The seasonal autoregressive integrated moving average model (SARIMA) analysis is performed on the new data set to determine whether there is a trend deviation in the moisture residual. If there is a trend change, it means that the deviation between the predicted value and the actual value is gradually increasing. There are two potential risks in the moisture content of tobacco: (1) There is a risk that the moisture content of tobacco will exceed the standard in the next production period; (2) In the past month, in order to ensure that the moisture content does not exceed the standard, there may be irreversible manual intervention in the moisture influencing factors, such as adjusting the storage time of tobacco or adjusting the temperature and humidity of the storage area. These manual intervention adjustments will cause potential indicator abnormalities. For these two risks, through timely early warning reminders, the abnormal moisture prediction results and the numerical changes of characteristic parameters are included in the risk control management, and the risk hazards are eliminated in time to achieve dynamic management of quality risks. If there is no trend change, it means that the short-term fluctuation of the moisture content of tobacco is a normal fluctuation, and no intervention is required. Normal attention can be paid.
[0073] The present invention models the moisture trend deviation of tobacco cutlets between batches. The model can automatically and in real time monitor and identify the moisture trend deviation between different batches of tobacco cutlets, thereby timely discovering potential quality risks and solving the risk identification problem caused by temporary manual intervention to avoid moisture deviation. It far exceeds the traditional manual monitoring method and greatly improves the accuracy and efficiency of risk identification. Through timely identification and early warning of the above two types of risks, closed-loop management of quality risks of moisture trend deviation of tobacco cutlets is achieved, which can "discover in time and eliminate dynamically". This management method not only improves the efficiency of product quality control, but also enhances the stability and reliability of the production process; it can replace the repetitive and complex manual quality risk identification work, reduce workload and reduce management costs.
[0074] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings, but the above is only a preferred embodiment of the present invention. It should be noted that the technical features involved in the above embodiments and their preferred methods can be reasonably combined and matched into a variety of equivalent schemes by those skilled in the art without departing from or changing the design ideas and technical effects of the present invention; therefore, the present invention is not limited to the scope of implementation shown in the drawings, and all changes made in accordance with the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the specification and drawings, should be within the protection scope of the present invention.
Claims
1. A method for early warning of abnormal moisture risk in cut tobacco, It is characterized in that The method comprises the following steps: Data collection steps: Collect the production time series data of tobacco in different batches during the production process; Data cleaning step: performing data cleaning on various parameter data in the tobacco production time series data; Model training step: using the XGBoost algorithm to calculate the SHAP value of each characteristic parameter in the tobacco production time series data, extracting key characteristic parameters according to the SHAP value, and selecting the NGBoost algorithm to train the tobacco moisture prediction model; Risk warning steps: Based on the tobacco moisture prediction model, the moisture content of each batch of tobacco within the preset time is predicted on a batch-by-batch basis, the residual between the predicted value and the actual value of each batch is calculated, a new data set containing the residual is constructed, and the new data set is analyzed to detect whether there is a trend change in the residual sequence. If so, an early warning reminder is issued.
2. The method for early warning of abnormal risk of moisture in cut tobacco according to claim 1, It is characterized in that The tobacco production timing data includes but is not limited to tobacco inlet moisture, outlet moisture, process parameters, temperature and humidity, tobacco storage time, number of shutdowns, shutdown time, moisture meter zero position data, among which the process parameters include but are not limited to primary feed amount, secondary feed amount, valve opening, tobacco flow rate, steam pressure, barrel wall temperature, and hot air temperature.
3. The method for early warning of abnormal risk of moisture in cut tobacco according to claim 1, It is characterized in that The data cleaning step specifically includes clock alignment, missing value filling and data filtering preprocessing for the tobacco production time series data.
4. The method for early warning of abnormal risk of moisture in cut tobacco according to claim 1, It is characterized in that In the model training step, the NGBoost algorithm is selected to train the tobacco moisture prediction model, including: setting the numerical range of NGBoost hyperparameters, selecting values for several NGBoost hyperparameters one by one for iterative training, automatically calculating the mean square error and determination coefficient under the corresponding parameter combination in each iteration, and selecting the hyperparameter corresponding to the maximum value of the determination coefficient as the optimal parameter as the final training result of the model.
5. The method for early warning of abnormal risk of moisture in cut tobacco according to claim 4, It is characterized in that The model training step also includes: using L2 regularization technology to constrain the weights of each feature parameter, and determining and applying the optimal hyperparameter combination through hyperparameter selection method.
6. The method for early warning of abnormal risk of moisture in cut tobacco according to claim 1, It is characterized in that In the risk warning step, the seasonal autoregressive integrated moving average model is applied to the new data set for analysis to detect whether there is a trend change in the residual series.
7. The method for early warning of abnormal risk of moisture in cut tobacco according to claim 6, It is characterized in that In the risk warning step, if there is a trend change in the detected residual sequence, it is judged that the deviation between the predicted value and the actual value is gradually increasing, and there is a potential risk in the moisture content of the tobacco, among which the potential risks include the following two types: (1) There is a risk that the moisture content of the tobacco will exceed the standard in the next production period; (2) Within the preset time, there is irreversible human intervention in the moisture influencing factor, which will cause potential indicator abnormalities.
8. The method for early warning of abnormal risk of moisture in cut tobacco according to claim 7, It is characterized in that If there is a trend change in the detected residual sequence, the abnormal moisture prediction results and the numerical changes of the characteristic parameters will be included in the risk control management; if there is no trend change, the short-term fluctuations in the moisture content of the tobacco will be judged to be normal fluctuations, and no intervention is required, and normal attention can be paid.
9. A tobacco moisture abnormality risk warning system, It is characterized in that include: A data collection module is used to collect the production time series data of tobacco in different batches during the production process; A data cleaning module, used for cleaning various parameter data in the tobacco production time series data; A model training module is used to calculate the SHAP value of each characteristic parameter in the tobacco production time series data using the XGBoost algorithm, extract key characteristic parameters according to the SHAP value, and select the NGBoost algorithm to train the tobacco moisture prediction model; The risk warning module is used to predict the moisture content of each batch of tobacco within a preset time based on the tobacco moisture prediction model, calculate the residual between the predicted value and the actual value of each batch, construct a new data set containing the residual, and analyze the new data set to detect whether there is a trend change in the residual sequence. If so, an early warning reminder is issued.
Citation Information
Cited By
Intelligent scheduling method for optimizing time distribution of different grouping batches in tobacco shred production
CN119151095A
Probiotic mulberry leaf and golden camellia production data tracing and management method and system
CN120125109A
Temperature prediction control method and system for materials at outlet of loosening and damping machine
CN120762274A
Loose moisture regaining machine outlet material temperature prediction control method and system
CN120762274B
