Diagnosis method of abnormal causes in cigarette rolling process based on prediction of multiple quality indicators
Through graph deep learning GDL model and graph attention network, we build a crimping graph data set, integrate process sequence characteristics and intra-process dependencies, solve the problem of being unable to diagnose the cause of abnormality in the crimping process in the existing technology, and realize the multi-cigarette rolling process. The prediction of quality indicators and the accurate diagnosis of causes of quality abnormalities improve the intelligent monitoring capabilities of the crimping process.
Patent Information
- Application Number
- CN202410240578.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing cigarette rolling and splicing production lacks an intelligent data-driven model that can directly diagnose the causes of abnormalities in the rolling and splicing process. It only stays at the quality index prediction stage and fails to effectively consider the correlation between quality indicators and the process sequence characteristics of the crimping and splicing process. As a result, the cause of abnormalities in the production process cannot be accurately diagnosed.
The graph deep learning GDL model is combined with the graph attention network to construct a crimping graph data set, which integrates the crimping process sequence characteristics and intra-process dependencies to achieve end-to-end multi-quality index prediction and abnormal cause diagnosis. Through the multi-head graph attention network and convolutional neural network to extract data features and diagnose the contribution of quality anomalies based on edge weight coefficients.
It achieves integrated prediction of four quality indicators of cigarettes (suck resistance, weight, ventilation, air leakage) and accurate diagnosis of causes of abnormal quality, provides theoretical support for abnormal quality monitoring of cigarettes, and improves the intelligence of the rolling process. chemical monitoring capabilities.
Smart Images

Figure CN118134319B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of abnormal monitoring and diagnosis, and in particular to a method for diagnosing abnormal causes in a cigarette rolling process based on prediction of multiple quality indicators of cigarettes. Background Art
[0002] In the process of cigarette rolling and splicing, the establishment of the cigarette rolling and splicing production monitoring system has benefited from the popularization of intelligent sensing equipment. Hundreds of indicators and prediction models related to rolling and splicing production are used to monitor abnormalities in the rolling and splicing process. Most of the existing cigarette rolling and splicing production monitoring methods in the cigarette industry cannot directly deduce the potential causes of abnormal cigarette quality, and only stay at the stage of quality indicator prediction. In addition, most prediction methods use simple statistical models, and the generalization of quality indicator monitoring models is poor (for example, the draw resistance prediction model cannot be used for ventilation prediction), and only focus on structured data such as time series or pictures, but ignore the process characteristics of the rolling and splicing process. There is currently a lack of more intelligent data-driven models to diagnose the causes of abnormal rolling and splicing processes when cigarette quality is abnormal.
[0003] The quality indicators of cigarette rolling production are draw resistance, cigarette weight, ventilation, and leakage value. Whether these four quality indicators are qualified or not is directly related to the consumer experience. At present, there are monitoring and diagnosis methods for draw resistance, weight, ventilation, and air leakage, such as a deep learning-based intelligent control system for cigarette draw resistance and a control method thereof disclosed in a patent application with publication number CN111612427A, in which multi-index time series data is input into the LSTM model and the predicted draw resistance is output, and the selection of input indicators is based only on expert experience; a single cigarette weight deviation analysis and prediction method disclosed in a patent application with publication number CN112884212A trains a regression prediction model through time series data of relevant factors to predict the weight, but the model cannot be updated online; a cigarette ventilation control system and a control method thereof disclosed in a patent application with publication number CN107173847B only considers the influence of a few relevant influencing factors on ventilation; and a cigarette leakage defect online diagnosis method disclosed in a patent application with publication number CN113988593A only uses traditional detection indicators such as a two-sample T test for abnormality judgment, and the subsequent abnormal factor judgment completely relies on a static expert experience library.
[0004] There are three problems with the above-mentioned monitoring and diagnosis methods involving the draw resistance, weight, ventilation and leakage of cigarette quality indicators: 1. The correlation characteristics between different quality indicators among the monitoring indicators are not taken into account; 2. For the feature selection of model input, the process sequence characteristics of the rolling process are not integrated, and only structured data such as time series are simply used; 3. For the model output, it only stays at the level of quality indicator prediction and is unable to diagnose the causes of abnormalities in the production process.
[0005] In view of the above, in order to solve the problems and needs existing in the background technology, the present invention proposes a method for diagnosing the causes of abnormalities in the cigarette rolling process based on the prediction of multiple quality indicators of cigarettes. Summary of the invention
[0006] The purpose of the present invention is to provide a method for diagnosing abnormal causes of cigarette rolling process based on the prediction of multiple quality indicators of cigarettes to solve the problems raised in the background technology. The present invention starts from a data-driven perspective, integrates the characteristics of the rolling process sequence, and builds a cigarette rolling section graph data set. In terms of model selection, a graph deep learning GDL model that can process unstructured data (graph data) is used to achieve end-to-end extraction of data features, and at the same time, the integrated index prediction of the four quality indicators (draw resistance, weight, ventilation, and air leakage) in the cigarette rolling process. And on the premise of ensuring the reliability of the GDL model, based on the edge weight coefficients in the graph attention network GAT, the top Q indicators (Anomaly_TopQ) that contribute to quality anomalies in the production process are diagnosed, providing theoretical support for subsequent quality anomaly monitoring at the production site.
[0007] In order to achieve the above object, the present invention adopts the following technical solutions:
[0008] The method for diagnosing abnormal causes of cigarette rolling and joining process based on the prediction of multiple quality indicators of cigarettes includes the following steps:
[0009] S1. Obtain the historical time series data of a single cigarette in the cigarette-making section, and select the index set Ind related to the cigarette quality index through correlation analysis method. 关联 , and construct a graph deep learning GDL model; after randomly initializing the learnable parameters of the graph deep learning GDL model, the model is recorded as GDL(θ 0 );
[0010] S2, based on the associated index set Ind obtained in S1 关联 The historical time series data of a single cigarette, the sequence characteristics of the rolling process, and the dependency characteristics between the indicators in the process are used to build a rolling graph dataset and train the GDL model until convergence. MSE The least squares function is used as the loss function, and the trained GDL model is GDL(θ 1 ), the model error of the test set is ±δ;
[0011] S3, using real-time time series data and GDL model to predict multiple quality indicators of cigarettes;
[0012] S4. Prediction results based on multiple quality indicators With the measured value y, the conformity of the GDL model is determined;
[0013] S5. Use real-time time series data to determine if the cigarette quality is abnormal. If the cigarette quality is abnormal, diagnose the cause of the abnormality in the rolling process through the GAT module of the GDL model, and output the diagnosis result Anomaly_TopQ.
[0014] Preferably, the cigarette quality indexes include draw resistance, cigarette rod weight, ventilation and leakage value; in S1, the historical time series data of a single cigarette in the rolling and joining section is obtained, and the index set Ind related to the cigarette quality index is screened out by a correlation analysis method. 关联 The specific contents include the following:
[0015] Obtain the time series data of the coiling section of the database server and use Spearman linear correlation analysis to analyze the f S , Random Forest R Nonlinear correlation analysis, calculate the correlation coefficient and importance score of all indicators in the rolling and joining section and the cigarette quality indicators, screen and retain the indicators greater than the threshold as the associated indicator set Ind associated with cigarette quality 关联 =[Ind_P0,Ind_P1,Ind_P2,Ind_P3], the indicators involve the material indicators, equipment indicators, and production process indicators in tobacco material P0, tobacco supply P1, tobacco rod rolling P2, and cigarette forming P3; Based on the above analysis, Ind 关联 Specifically include: short thread rate, long thread rate, tipping paper temperature, moisture after flavoring, moisture after transfer, filling value, machine speed during cigarette production, M105S_steel stamp chopper motor speed, M11V_steep angle belt motor speed, M12V needle roller motor speed, VE suction belt tensioning pressure, VE large fan negative pressure, suction belt position, wire return amount, tobacco thickness, cigarette paper tray break detection signal, SE cloth belt tensioning pressure, SE total air source pressure, compaction end position, target weight, circumference value, tobacco temperature, tobacco moisture, cigarette weight, MAX total air source pressure, MAX large fan pressure (negative pressure), SRM short cigarette sampling, SRM foreign body rejection valve, detection wheel cigarette in place, waste rejection valve status, suction resistance, ventilation, leakage value; |Ind 关联 |=N, where N=33, a total of 33 correlation indicators.
[0016] Preferably, the input of the graph deep learning GDL model in S1 is a concatenated graph dataset G 卷 The output is the predicted values of the four quality indicators of the next n cigarettes of the input cigarette
[0017] The graph deep learning GDL model includes a multi-head graph attention network GAT module, a convolutional neural network CNN module, and a fully connected MLP module;
[0018] The multi-head graph attention network GAT module has K=8 attention heads and a feature transformation matrix size of S. 1 *S 2 , the feature activation function is ELU, the activation function when calculating the attention coefficient is LeakyReLU, and the output dimension of the multi-head graph attention network GAT module is N*S 2 (i.e. 33*S 2 );
[0019] The convolution kernel size of the convolutional neural network CNN module is k 1 *k 2 *k 3 , that is, the convolution kernel size is k 1 *k 2 , the number of convolution kernels is k 3 , padding is the filling value, the sliding step is stride, the activation function is ReLU, and the output dimension of this module is 4*S 3 ;
[0020] The feature transformation matrix size of the fully connected MLP module is S 3 *n, the output dimension of this module is 4*n.
[0021] Preferably, the characteristics of the rolling process in S2 are specifically: tobacco material index P0→tobacco supply P1→tobacco rod rolling P2→cigarette forming P3, which includes three processes of tobacco material before rolling and during rolling, and the function is expressed as:
[0022] P0→P1→P2→P3 (1)
[0023] Among them, “→” connects two adjacent processes; the index set collected in the process P1→P2→P3 is Ind_P1, Ind_P2, Ind_P3, and Ind_P0 represents the tobacco material index set collected in the shred process, including the short shred rate P 1 , filament rate P 2 , Tipping paper temperature P 3 , moisture after fragrance addition P 4 , transfer moisture P 5 , fill value P 6 ; Ind_P1 contains the machine speed P during cigarette production 7 、M105S_steel stamping cutter motor speed P 8 、M11V_steep angle belt motor speed P 9 、M12V needle roller motor speed P 10 , VE suction belt tensioning pressure P 11 , VE large fan negative pressure P 12 , suction ribbon position P 13 , wire waste amount P 14, tobacco thickness P 15 , Ind_P2 contains the cigarette paper tray break detection signal P 16 , SE belt tensioning pressure P 17 , SE total gas source pressure P 18 , compaction end position P 19 , target weight P 20 , circumference value P 21 , tobacco temperature P 22 、Moisture content of tobacco P 23 , tobacco rod weight P 30 , Ind_P3 contains the MAX total gas source pressure P 24 , MAX fan pressure (negative pressure) P 25 , SRM short cigarette sampling P 26 、SRM foreign body rejection valve P 27 , Check whether the cigarettes are in place 28 , the state of the waste rejection valve P 29 , absorption resistance value P 31 , ventilation degree P 32 , Leakage value P 33 ;
[0024] The correlation characteristics between the indicators in the process described in S2 refer to: the dependency relationship characteristics between the indicators in the process are obtained based on expert experience, and the function is expressed as follows:
[0025] [P 7 →P 8 ,P 7 →P 8 ,…,] (2)
[0026] Among them, “→” connects two indicators, that is, there are interdependent indicators within the process.
[0027] Preferably, the step of constructing a convolution graph dataset in S2 specifically includes the following contents:
[0028] A1. Construct a convolution graph data topology structure G. The convolution graph is an undirected weighted graph, and the edge weight is initialized to 1. Its function is expressed as:
[0029] G=(V,E) (3)
[0030] Where V represents the set of indicator nodes of all sensors or collection points, v i ∈V represents an index collected during the rolling process (such as tobacco moisture, current value of the compaction end, draw resistance, etc.), i = 1, 2, ..., |V| = N, which is the number of indexes N = 33 after screening in step 1; E represents the edge relationship set, if index i and j have a dependency relationship (adjacent processes and related processes), then there is an edge e between the two indexes ij ∈E;
[0031] A2. Construct the roll-joint graph data set G based on the graph data structure and the historical time series data of a single cigarette 卷接 , in a single graph data G t The information stored in the sample includes the node feature matrix (Size is 33*S 1 ), adjacency matrix (Size is 33*33);
[0032] The node feature matrix X t Indicates that at timestamp t, S is arranged in the order of processing 1 Cigarette(S 1 is the sliding window size) and N = 33 indicator values of each cigarette;
[0033] The initial edge weight of the adjacency matrix A is 1, ij The settings are as follows:
[0034]
[0035] The interval between timestamp t and timestamp t+1 is the time it takes for a cigarette making machine to produce a cigarette. Each timestamp t has a graph data G t , the graph dataset with m timestamps is G 卷接 =[G 1 ,G 2 ,…,G m ](of which normal operating conditions account for 60%, and suction resistance, weight, ventilation and leakage abnormalities each account for 10%).
[0036] Preferably, S3 specifically includes the following contents:
[0037] S3.1, based on real-time time series data Related index Ind 关联 , and the graph topology to obtain the required time series data with online t timestamps Combined with the graph topology in S2, we get the graph data G t ;in, Indicates the total number of indicators collected in the roll before filtering indicators; S 1 Indicates the sliding window size;
[0038] S3.2, based on the graph data G obtained in S3.1 t , through the model GDL (θ 1 ) The predicted output is the four quality indicators of n cigarettes from time t to t+n
[0039] S3.3, set the sliding window step to n, repeat the above S3.1-S3.2 prediction steps until a total of J cigarettes are predicted, and output the predicted values of the cigarette's draw resistance, weight, ventilation, and leakage quality indicators at the same time
[0040] Preferably, the S4 specifically includes the following contents:
[0041] S4.1 Prediction results of draw resistance, weight, ventilation and leakage value based on J cigarettes The average of the predicted values of the draw resistance, weight, ventilation and leakage of the J cigarettes is calculated as (size is 4*1), standard deviation is (Size is 4*1);
[0042] S4.2. Measurement results of draw resistance, weight, ventilation and leakage value based on J cigarettes The average of the actual inhalation resistance, weight, ventilation and leakage value of J cigarettes is calculated as μ = [μ 吸阻 ,μ 重量 ,μ 通风度 ,μ 漏气 ](size is 4*1), standard deviation is σ=[σ 吸阻 ,σ 重量 ,σ 通风度 ,σ 漏气 ](size is 4*1);
[0043] S4.3, based on Complete the reliability judgment of the GDL model and compare it with the mean μ (size is 4*1) and standard deviation (size is 4*1) σ of the four quality indicators of J cigarettes measured in real time. The function is expressed as follows:
[0044] -λ|δ|≤|μ J支烟 -μ|≤λ|δ| (5)
[0045] -λ|δ|≤|σ J支烟 -σ|≤λ|δ| (6)
[0046] Among them, λ is the preset error tolerance factor;
[0047] S4.4. When the comparison results of the four quality indicators simultaneously meet the above conditions (5) and (6), the DGL model is deemed to be compliant and S5 is performed to set the variable name Count→0; otherwise, S2 is repeated to update the GDL model; where Count represents the number of unqualified cigarettes and is initialized to 0.
[0048] Preferably, the S5 specifically includes the following contents:
[0049] S5.1. Complete the determination of abnormal cigarette quality. If the on-line measurement result determines that a single cigarette is unqualified (the single-cigarette abnormal determination standard is the original threshold determination), then the variable Count is incremented by 1; when Count / J < p, it is determined that the cigarette quality of these J cigarettes is abnormal and does not meet the requirements, where p is the cigarette quality qualification rate, including p 吸阻 and p 重量 and p 通风度 and p 漏气 ;
[0050] S5.2. When the cigarette quality does not meet the requirements, record its quality index node v in the K-head GAT module i (v 吸阻 , v 重量 , v 通风度 , v 漏气值 ) in the average value of the edge weight coefficient α i,j . Arrange them in descending order to obtain the Q edges with the largest weight coefficients connected to the quality index node v i . The indicators connected by the edges are the indicators with the top Q abnormal contributions. The set of these indicators is Anomaly_TopQ, that is, the diagnosis result of the cigarette quality abnormal cause is obtained:
[0051]
[0052] where K is the number of attention heads of the GAT module, A ij = 1 indicates that there is an edge between the quality index node v i and v j ;
[0053] S5.3. The diagnosis results provided by the abnormal contribution index set Anomaly_TopQ include the following abnormal indicators: machine speed during cigarette production, speed of the M105S stamping split knife motor, speed of the M11V steep angle belt motor, speed of the M12V needle roller motor, tension pressure of the VE suction belt, negative pressure of the large blower of VE, position of the suction belt, amount of returned silk, thickness of cut tobacco, paper break detection signal of the cigarette paper reel, tension pressure of the SE belt, total air source pressure of SE, position of the compaction end, target weight, circumference value, temperature of cut tobacco, moisture content of cut tobacco, MAX total air source pressure, MAX large blower pressure (negative pressure), SRM short cigarette sampling, SRM foreign object removal valve, arrival of cigarette at the detection wheel, status of the waste removal valve, short fiber rate, long fiber rate, temperature of tipping paper, moisture content after flavor addition, moisture content during transfer, filling value.
[0054] Compared with the prior art, the present invention proposes a method for diagnosing the abnormal cause in the cigarette making and tipping process based on the prediction of multiple cigarette quality indicators, and has the following beneficial effects:
[0055] (1) The present invention considers the characteristics of the cigarette making and tipping processing sequence and integrates this characteristic into the cigarette making and tipping graph data set;
[0056] (2) The present invention designs an end-to-end multi-quality index prediction model DGL for processing cigarette roll splicing data;
[0057] (3) The prediction model proposed in the present invention can simultaneously predict four quality indicators of cigarettes (resistance to draw, weight, ventilation, and leakage value);
[0058] (4) The present invention diagnoses the cause of abnormal cigarette quality, Anomaly_TopQ, based on the prediction results of multiple quality indicators and the weights of the graph attention network, and provides theoretical guidance for monitoring abnormal cigarette quality during the rolling process. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 This is a schematic diagram of the principle of the method for diagnosing abnormal causes of cigarette rolling and joining process based on the prediction of multiple quality indicators of cigarettes proposed by the present invention;
[0060] Figure 2 This is a flow chart of the method for diagnosing abnormal causes of cigarette rolling process based on the prediction of multiple quality indicators of cigarettes proposed by the present invention;
[0061] Figure 3 This is a training flow chart of the graph deep learning GDL model mentioned in Example 1 of the present invention;
[0062] Figure 4 This is a schematic diagram of the topological structure of the scroll diagram data mentioned in Embodiment 1 of the present invention;
[0063] Figure 5 This is a schematic diagram of the adjacency matrix of the concatenated graph data mentioned in Example 1 of the present invention. DETAILED DESCRIPTION
[0064] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0065] The present invention aims to propose a method for diagnosing abnormal causes of cigarette rolling process based on the prediction of multiple quality indicators of cigarettes. From a data-driven perspective, the sequential characteristics of the cigarette rolling process are integrated to build a cigarette rolling section graph data set. In terms of model selection, a graph deep learning GDL model that can process unstructured data (graph data) is used to achieve end-to-end extraction of data features, and at the same time, the integrated indicators of the four quality indicators (resistance to draw, weight, ventilation, and air leakage) in the cigarette rolling process are predicted. And under the premise of ensuring the reliability of the GDL model, based on the edge weight coefficients in the graph attention network GAT, the top Q indicators (Anomaly_TopQ) that contribute to quality anomalies in the production process are diagnosed, providing theoretical support for subsequent quality anomaly monitoring at the production site.
[0066] Based on the above content, the method for diagnosing abnormal causes of cigarette rolling process based on prediction of multiple quality indicators of cigarettes proposed by the present invention is described below in conjunction with specific examples. The specific content is as follows.
[0067] Embodiment 1:
[0068] See also Figure 1-2 This embodiment proposes a method for diagnosing abnormal causes of cigarette rolling process based on the prediction of multiple quality indicators of cigarettes, which specifically includes the following contents:
[0069] Step 1: Obtain the historical time series data of a single cigarette in the cigarette-making section, and select the index set Ind related to the cigarette quality index through correlation analysis method. 关联 , and build a graph deep learning GDL model.
[0070] Step 1 specifically includes:
[0071] Step 1.1, through the data collection scheme in the equipment production site, obtain the historical time series data of a single cigarette in the rolling and connecting section, including process indicators, material indicators, equipment status indicators, and cigarette quality indicators;
[0072] Step 1.2: Obtain the time series data of the coiling section of the database server and use Spearman linear correlation analysis to find the S With random forest f R Nonlinear correlation analysis, calculate the correlation coefficient F between all indicators of the rolling and connecting section and cigarette quality indicators (draw resistance, cigarette weight, ventilation, leakage value) s or importance score I score . Reserve | F s |、I score The top 30% of the indicators are combined as the indicator set Ind that affects the quality of cigarettes. 质量=[Ind_Tobacco,Ind_VE,Ind_SE,Ind_MAX], where the raw material Ind_Tobacco, i.e., tobacco shreds, includes [1] - short filament rate, [2] - long filament rate, [3] - tipping paper temperature, [4] - moisture after flavoring, [5] - moisture after conversion, and [6] - filling value; the feeding process Ind_VE includes [7] - machine speed during cigarette production, [8] - M105S_steel stamp chopper motor speed, [9] - M11V_steep angle belt motor speed,
[10] - M12V needle roller motor speed,
[11] - VE suction belt tensioning pressure,
[12] - VE large fan negative pressure,
[13] - suction belt position, [ 14] - Amount of waste tobacco,
[15] - Tobacco thickness; Ind_SE rolling process indicators include
[16] - Paper break detection signal of cigarette paper tray,
[17] - SE cloth belt tensioning pressure,
[18] - SE total air source pressure,
[19] - Compacting end position,
[20] - Target weight,
[21] - Circumference value,
[22] - Tobacco temperature,
[23] - Tobacco moisture; Ind_MAX filter tip installation process indicators include
[24] - MAX total air source pressure,
[25] - MAX large fan pressure (negative pressure),
[26] - SRM short cigarette sampling,
[27] - SRM foreign body rejection valve,
[28] - Detection wheel cigarette in place,
[29] - Status of waste rejection valve. Due to the needs of subsequent steps, Ind_SE of the present invention also includes
[30] - cigarette rod weight, and Ind_MAX also includes
[31] - draw resistance,
[32] - ventilation, and
[33] - leakage value.
[0073] Step 1.3: Construct a graph deep learning GDL model, which includes a multi-head graph attention network GAT module, a convolutional neural network CNN module, and a fully connected MLP module. The input of the model processing method is the coiling section graph dataset G 卷 , the output is the predicted values of the four quality indicators for the next n = 20 cigarettes
[0074] Step 1.4, Multi-head graph attention network GAT module of GDL model, the number of attention heads K = 8, the feature transformation matrix size is 10000*128, the feature activation function is ELU, and the activation function when calculating the attention coefficient is LeakyReLU. The number of attention heads K = 8, the feature transformation matrix size is S 1 *S 2 (i.e. 10000*128), the feature activation function is ELU, the activation function when calculating the attention coefficient is LeakyReLU, and the output dimension of this module is N*S 2 (i.e. 33*128).
[0075] Step 1.5: Convolutional neural network (CNN) module of GDL model, with convolution kernel g of size k1 *k 2 *k 3 (Convolution kernel size k 1 =30, k 2 =65, the number of convolution kernels is k 3 =8), padding is 0, sliding stride is 1, activation function is ReLU, the output dimension of this module is 4*S 3 (i.e. 4*64).
[0076] Step 1.6: Fully connected MLP module of GDL model, feature transformation matrix size is S 3 *n (i.e. 64*20), the dimension of the output feature of this module is 4*n (i.e. 4*20).
[0077] Step 1.7: The GDL model after randomly initializing the learnable parameters is GDL(θ 0 ).
[0078] Step 2: Based on the correlation index Ind 关联 The historical time series data of a single cigarette, the characteristics of the rolling process sequence, and the dependency characteristics between the indicators in the process are used to construct the rolling graph dataset G 卷接 , and train the GDL model.
[0079] See also Figure 3 , step 2 specifically includes:
[0080] Step 2.1: Construct the concatenated graph dataset G 卷接 =(V,E), where the node set V of the graph is Ind 关联 The edge relationship set E takes into account the sequential characteristics of the rolling process (tobacco material index P0→tobacco supply P1→tobacco rod rolling P2→cigarette forming P3) and the dependencies between the indicators in the process (expert experience). The topological structure of the graph data of the rolling production can be visualized as shown in Figure 4 .
[0081] Step S2.2, set |V| = a + b + c + d = 33, that is, 33 indicators are abstractly represented as nodes of the convolution graph data. a, b, c are the number of indicators of the P1, P2, and P3 processes 9 (specifically [7], [8], [9],
[10] ,
[11] ,
[12] ,
[13] ,
[14] ,
[15] ), 9 (specifically
[16] ,
[17] ,
[18] ,
[19] ,
[20] ,
[21] ,
[22] ,
[23] ,
[30] ), 9 (specifically
[24] ,
[25] ,
[26] ,
[27] ,
[28] ,
[29] ,
[31] ,
[32] ,
[33] ); d is the number of indicators of the P0 process 6 (specifically [1], [2], [3], [4], [5], [6]).
[0082] Step 2.3, roll up the image G 卷接 =(V,E), where the edge relationship set E considers the characteristics of the coiling process sequence and the correlation between the indicators in the process. If indicators i and j have a dependency relationship (adjacent processes and related processes), then there is an edge e between the two indicators. ij ∈E. The visualization is shown as Figure 4 In the actual calculation process, E corresponds to the adjacency matrix A, such as Figure 5 . 11,12 For example, the tensioning pressure of VE suction ribbon is directly related to the negative pressure of VE large fan, and the latter can regulate the former. 22,30 , A 23,30 ,When measuring the weight of tobacco rods, it is necessary to consider the temperature and moisture of the tobacco;
[0083] Step 2.4: Roll-up image data G 卷接 =(V,E) contains features. In addition to the adjacency matrix A, each node also has node features. The node features are the time series data of the indicators. The time series data is intercepted by a sliding window. The sliding window size S1=10000 corresponds to about 1 minute of actual production, that is, the volume graph data G at the time stamp t t With a fixed adjacency matrix A, node feature matrix (Size is 33*10000); A total of m sliding windows are used to obtain the historical scroll image data set G 卷接 =[G 1 ,G 2 ,...G m ], in order to ensure that the sample features are relatively rich, the present invention specifically has m=5000 (of which the normal working condition accounts for 60%, and the suction resistance, weight, ventilation degree, and leakage abnormality each account for 10%), that is, one week of historical production data;
[0084] Step 2.5, G 卷接 =[G 1 ,G 2 ,...G m ] randomly divides 50%, 30%, and 20% of the training, validation, and test sets into the GDL model for training. The loss function L MSE is the least squares, completing the optimization of the learnable parameters GDL(θ 0 )→GDL(θ 1 ), the error of the model on the test set is ±δ:
[0085]
[0086] Among them, T train is the total length of the timestamp (the number of cigarettes in the training sample), S 1 is the window size, are the predicted values of the four quality indicators, and y are the observed values (measured values) of the four quality indicators;
[0087] Step 3: Use real-time time series data and the GDL model to predict multiple quality indicators of cigarettes (resistance to draw, weight, ventilation, and leakage value):
[0088] Step 3.1: In production, use real-time time series data with a window size S1 = 10000 Based on the screening result of step 1) 关联 , get the real-time time series x of the associated indicators t =[x (t-w) ,x (t-w+1) ,...,x (t-1) ], and use the graph topology structure of step 2) to obtain the graph data G at time t t ;
[0089] Step 3.2: Take the graph data G at time t t Taking a sample as input, using the DGL model, we can predict the four quality prediction values of n cigarettes after t.
[0090] Step 3.3: Similarly, repeat steps 3.1-3.2, with a sliding window of window number S = 5000 and window sliding step h = n = 20, intercept the real-time time series data of 33 indicators on the real-time time series, construct the graph data, and then input the DGL model until the cumulative prediction is obtained within 10 minutes J = Sgh = 100000 cigarettes (the parameter setting takes into account the rationality of the warning time interval and the calculation cost) 4 kinds of multi-quality index integrated prediction values
[0091] Step 4: Predict results based on multiple quality indicators The conformity of the GDL model is determined by comparing it with the measured value y.
[0092] Step 4 specifically includes:
[0093] Step 4.1: Prediction results based on the draw resistance, weight, ventilation and leakage value of J cigarettes The average of the predicted values of the resistance to draw, weight, ventilation and leakage of the J cigarettes is calculated as (size is 4*1), standard deviation is (Size is 4*1);
[0094] Step 4.2: Based on the measurement results of the draw resistance, weight, ventilation and leakage value of J cigarettes The average of the measured resistance to draw, weight, ventilation and leakage of J cigarettes is calculated as μ = [μ 吸阻 ,μ 重量 ,μ 通风度,μ 漏气 ](size is 4*1), standard deviation is σ=[σ 吸阻 ,σ 重量 ,σ 通风度 ,σ 漏气 ](size is 4*1);
[0095] Steps S4.3-S4.4, determine the conformity of the prediction accuracy of the DGL model. J支烟 , σ J支烟 , μ, σ, calculate the absolute value of the deviation. If conditions (9)-(12) are met at the same time, the model meets the requirements and the prediction results are reliable. The subsequent S5) can be performed to set the variable name Count→0 (Count represents the number of unqualified cigarettes, initialized or reset to 0); otherwise, repeat step 2 to update the GDL model parameters.
[0096] -λ|δ|≤|μ J吸阻 -μ 吸阻 |≤λ|δ|, -λ|δ|≤|σ J支烟 -σ 吸阻 |≤λ|δ| (9)
[0097] -λ|δ|≤|μ J重量 -μ 重量 |≤λ|δ|, -λ|δ|≤|σ J重量 -σ 重量 |≤λ|δ| (10)
[0098] -λ|δ|≤|μ J通风度 -μ 通风度 |≤λ|δ|, -λ|δ|≤|σ J通风度 -σ 通风度 |≤λ|δ| (11)
[0099] -λδ≤|μ J漏气 -μ 漏气 |≤λδ, -λ|δ|≤|σ J漏气 -σ 漏气 |≤λ|δ| (12)
[0100] Where λ is the error tolerance factor preset by experts, 0.01-0.05, and |δ| is the absolute value of the model test error.
[0101] Step 5 uses real-time time series data to determine if the cigarette quality is abnormal. If the cigarette quality is abnormal, the GAT module of the GDL model is used to diagnose the cause of the abnormality in the rolling process and output the diagnosis result Anomaly_TopQ:
[0102] Step S5 specifically includes:
[0103] Step 5.1: Accumulate the quality abnormalities of a single cigarette. When the online measurement result determines that the cigarette has unqualified draw resistance (i.e. exceeds the upper and lower limit thresholds of draw resistance), the variable Count 吸阻 +1; when the online measurement result determines that the weight of the cigarette is unqualified (i.e., exceeds the upper and lower limits of the smoking weight), the variable Count 重量 +1; when the online measurement result determines that the ventilation degree of the cigarette is unqualified (i.e., it exceeds the upper and lower thresholds of ventilation degree), the variable Count 通风度 +1; when the online measurement result determines that the leakage value of the cigarette is unqualified (i.e., it exceeds the upper and lower limit thresholds of the leakage value), the variable Count 漏气 +1.
[0104] Step 5.2: Produce J cigarettes and determine the overall quality of the cigarettes in the production process to be abnormal. i ) / J <p i (p i = (i) the production qualification rate of the cigarette quality index i, record the quality index node V of the GAT module in the network at this time. i The adjacent edge set E i The weight coefficient α i,j , see formula (7):
[0105]
[0106] Sort descending α i,j , get the maximum TopQ i (Q=3 in the present invention) edge, the indicator node connected by the edge is the indicator set Anomaly_TopQ of the top 3 abnormal contributions i =[V i _First,V i _Second,V i _Third](the specific size is 1*3).
[0107] Step 5.3, taking the draw resistance as an example, produce J = 100,000 cigarettes, Count 吸阻 is 6000, (J-Count 吸阻 ) / J is 0.94, if p 吸阻 is 0.95, then (100000-6000) / 100000<0.95, record the node V of the graph attention module GAT at this time 吸阻 The set of adjacent edges E of (
[31] ) 吸阻(including
[31] -
[16] ,
[31] -
[17] ,
[31] -
[18] ,
[31] -
[19] ,
[31] -
[20] ,
[31] -
[21] ,
[31] -
[22] ,
[31] -
[23] ,
[31] -
[30] ,
[31] -
[26] ,
[31] -
[27] ,
[31] -
[28] ,
[31] -
[29] ,
[31] -
[32] ,
[31] -
[33] ) in the weight coefficient mean matrix α absorption resistance = [α 31,16 ,α 31,17 ,α 31,18 ,α 31,19 ,α 31,20 ,α 31,21 ,α 31,22 ,α 31,23 ,α 31,30 ,α 31,26 ,α 31,27 ,α 31,28 ,α 31,29 ,α 31,32 ,α 31,33 ], the specific calculation refers to formula (7):
[0108]
[0109] Sort descending α 吸阻,j After that, the nodes connected by the first three edges are weight
[30] , compaction end position
[19] , SE cloth belt tension pressure
[17] , and the diagnosis result of abnormal cigarette draw resistance Anomaly_TopQ 吸阻 = [weight, compaction end position, SE cloth belt tension pressure]. Similarly, if the weight, ventilation, and leakage values in step 5.3 have low pass rates, the diagnosis result of the abnormal cigarette weight Anomaly_TopQ will be obtained. 重量 、Cigarette ventilation abnormality cause diagnosis result Anomaly_TopQ 通风度 、Cigarette leakage value abnormal cause diagnosis result Anomaly_TopQ 漏气 .
[0110] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for diagnosing abnormal causes of cigarette rolling and joining process based on the prediction of multiple quality indicators of cigarettes, characterized in that: The following steps are involved: S1. Obtain the historical time series data of a single cigarette in the cigarette-making section, and select the index set Ind related to the cigarette quality index through correlation analysis method. 关联 , and construct a graph deep learning GDL model; after randomly initializing the learnable parameters of the graph deep learning GDL model, the model is recorded as GDL(θ0); The cigarette quality indicators include draw resistance, cigarette rod weight, ventilation and air leakage value; The historical time series data of a single cigarette in the cigarette-making section is obtained, and a set of indicators Ind related to cigarette quality indicators is screened out by a correlation analysis method. 关联 The specific contents include the following: Obtain the time series data of the coiling section of the database server and use Spearman linear correlation analysis to analyze the f S , Random Forest R Nonlinear correlation analysis, calculate the correlation coefficient and importance score of all indicators in the rolling and joining section and the cigarette quality indicators, screen and retain the indicators greater than the threshold as the associated indicator set Ind associated with cigarette quality 关联 =[Ind_P0,Ind_P1,Ind_P2,Ind_P3], the indicators involve the material indicators, equipment indicators, and production process indicators in tobacco material P0, tobacco supply P1, tobacco rod rolling P2, and cigarette forming P3; Based on the above analysis, Ind 关联 Specifically include: short thread rate, long thread rate, tipping paper temperature, moisture after flavoring, moisture after transfer, filling value, machine speed during cigarette production, M105S_steel stamp chopper motor speed, M11V_steep angle belt motor speed, M12V needle roller motor speed, VE suction belt tensioning pressure, VE large fan negative pressure, suction belt position, wire return amount, tobacco thickness, cigarette paper tray break detection signal, SE cloth belt tensioning pressure, SE total air source pressure, compaction end position, target weight, circumference value, tobacco temperature, tobacco moisture, cigarette weight, MAX total air source pressure, MAX large fan pressure, SRM short cigarette sampling, SRM foreign body rejection valve, detection wheel cigarette in place, waste rejection valve status, suction resistance, ventilation, leakage value; |Ind 关联 |=N, where N=33, a total of 33 correlation indicators; The input of the graph deep learning GDL model is the concatenated graph dataset G 卷 The output is the predicted values of the four quality indicators of the next n cigarettes of the input cigarette The graph deep learning GDL model includes a multi-head graph attention network GAT module, a convolutional neural network CNN module, and a fully connected MLP module; The multi-head graph attention network GAT module has the following characteristics: the number of attention heads K=8, the feature transformation matrix size is S1*S2, the feature activation function is ELU, the activation function when calculating the attention coefficient is LeakyReLU, and the output dimension of the multi-head graph attention network GAT module is N*S2; The convolution kernel size of the convolutional neural network CNN module is k1*k2*k3, that is, the convolution kernel size is k1*k2, the number of convolution kernels is k3, padding is the padding value, the sliding step size is stride, the activation function is ReLU, and the output dimension of the module is 4*S3; The feature transformation matrix size of the fully connected MLP module is S3*n, and the output dimension of the module is 4*n; S2, based on the associated index set Ind obtained in S1 关联 The historical time series data of a single cigarette, the sequence characteristics of the rolling process, and the dependency characteristics between the indicators in the process are used to build a rolling graph dataset and train the GDL model until convergence. MSE The least squares function is used as the loss function, the trained GDL model is GDL(θ1), and the model error of the test set is ±δ; S3. Use real-time time series data and the GDL model to predict multiple quality indicators of cigarettes, including the following: S3.1, based on real-time time series data Related index Ind 关联 , and the graph topology to obtain the required time series data at the online t timestamp Combined with the graph topology in S2, we get the graph data G t ;in, It indicates the total number of indicators collected in the concatenation before the indicators are filtered; S1 indicates the sliding window size; S3.2, based on the graph data G obtained in S3.1 t , the model GDL(θ1) predicts the output of the four quality indicators of n cigarettes from time t to t+n S3.3, set the sliding window step to n, repeat the above S3.1-S3.2 prediction steps until a total of J cigarettes are predicted, and output the predicted values of the cigarette's draw resistance, weight, ventilation, and leakage quality indicators at the same time S4. Prediction results based on multiple quality indicators The conformity of the GDL model is determined by comparing it with the measured value y, including the following: S4.1 Prediction results of draw resistance, weight, ventilation and leakage value based on J cigarettes The average of the predicted values of the draw resistance, weight, ventilation and leakage of the J cigarettes is calculated as The standard deviation is S4.
2. Measurement results of draw resistance, weight, ventilation and leakage value based on J cigarettes The average of the actual inhalation resistance, weight, ventilation and leakage value of J cigarettes is calculated as μ = [μ 吸阻 ,μ 重量 ,μ 通风度 ,μ 漏气 ], standard deviation is σ=[σ 吸阻 ,σ 重量 ,σ 通风度 ,σ 漏气 ]; S4.3, based on The reliability of the GDL model is determined and compared with the mean μ and standard deviation σ of the four quality indicators of J cigarettes measured in real time. The function is expressed as follows: -λ|δ|≤|μ J支烟 -μ|≤λ|δ| (5) -λ|δ|≤|σ J支烟 -σ|≤λ|δ| (6) Among them, λ is the preset error tolerance factor; S4.
4. When the comparison results of the four quality indicators meet the above conditions (5) and (6) at the same time, the DGL model is deemed to be compliant and S5 is performed to set the variable name Count to 0; otherwise, S2 is repeated to update the GDL model; where Count represents the number of unqualified cigarettes and is initialized to 0; S5. Use real-time time series data to determine if cigarette quality is abnormal. If cigarette quality is abnormal, diagnose the cause of abnormality in the rolling process through the GAT module of the GDL model, and output the diagnosis result Anomaly_TopQ, which specifically includes the following contents: S5.
1. Complete the determination of abnormal cigarette quality. If the online measurement result determines that a single cigarette is unqualified, the variable Count+1; when Count / J<p, the quality of the J cigarettes is determined to be abnormal and does not meet the requirements, where p is the cigarette quality pass rate, including p 吸阻 、p 重量 、p 通风度 、p 漏气 ; S5.
2. When the cigarette quality does not meet the requirements, record its quality indicator node v in the K-head GAT module. i The edge weight coefficient α i,j Average value, sorted in descending order to get the node with the quality index v i The Q edges with the largest weight coefficients are connected. The indicators connected by the edges are the indicators of the top Q abnormal contributions. The set of these indicators is the abnormal contribution indicator set Anomaly_TopQ, which is the diagnosis result of the quality abnormality cause: Among them, K is the number of attention heads of the GAT module, A ij =1 indicates the quality index node v i With v j There is an edge between S5.
3. The diagnostic results provided by the abnormal contribution indicator set Anomaly_TopQ include the following abnormal indicators: machine speed during cigarette production, M105S_steel stamp splitter motor speed, M11V_steep angle belt motor speed, M12V needle roller motor speed, VE suction belt tensioning pressure, VE large fan negative pressure, suction belt position, waste wire amount, tobacco thickness, cigarette paper tray break detection signal, SE cloth belt tensioning pressure, SE total air source pressure, compaction end position, target weight, circumference value, tobacco temperature, tobacco moisture, MAX total air source pressure, MAX large fan pressure, SRM short cigarette sampling, SRM foreign body rejection valve, detection wheel cigarette in place, waste rejection valve status, short wire rate, long wire rate, tipping paper temperature, moisture after flavoring, transfer moisture, and filling value.
2. The method for diagnosing abnormal causes of cigarette rolling process based on prediction of multiple quality indicators of cigarettes according to claim 1, characterized in that: The characteristics of the rolling process sequence described in S2 are specifically: tobacco material index P0→tobacco supply P1→tobacco rod rolling P2→cigarette forming P3, which includes three processes of tobacco material before rolling and rolling, and the function is expressed as: P0→P1→P2→P3(1) Among them, "→" connects two adjacent processes; the index set collected in the process P1→P2→P3 is Ind_P1, Ind_P2, Ind_P3, Ind_P0 represents the tobacco material index set collected in the shred process, including short filament rate P1, long filament rate P2, tipping paper temperature P3, moisture after flavoring P4, moisture after transfer P5, and filling value P6; Ind_P1 includes the machine speed P7 during cigarette production, M105S_steel stamp chopper motor speed P8, M11V_steep angle belt motor speed P9, M12V needle roller motor speed P10, M12V needle roller motor speed P11, M12V needle roller motor speed P12, M12V needle roller motor speed P13, M12V needle roller motor speed P14, M12V needle roller motor speed P15, M12V needle roller motor speed P16, M12V needle roller motor speed P17, M12V needle roller motor speed P18, M12V needle roller motor speed P19, M12V needle roller motor speed P20, M12V needle roller motor speed P21, M12V needle roller motor speed P22, M12V needle roller motor speed P23, M12V needle roller motor speed P24, M12V needle roller motor speed P25, M12V needle roller motor speed P26, M12V needle roller motor speed P27, M12V needle roller motor speed P28, M12V needle roller motor speed P29, M12V needle roller motor speed P30, M12V needle roller motor speed P31, M12V needle roller motor speed P32, M12V needle roller motor speed P33, M12V needle roller motor speed P34, M12V needle roller motor speed P35, M12V needle roller motor speed P36, M12V needle roller motor speed P36, M12 10 , VE suction belt tensioning pressure P 11 , VE large fan negative pressure P 12 , suction ribbon position P 13 , wire waste amount P 14 , tobacco thickness P 15 , Ind_P2 contains the cigarette paper tray break detection signal P 16 , SE belt tensioning pressure P 17 , SE total gas source pressure P 18 , compaction end position P 19 , target weight P 20 , circumference value P 21 , tobacco temperature P 22 、Moisture content of tobacco P 23 , tobacco rod weight P 30 , Ind_P3 contains the MAX total gas source pressure P 24 , MAX fan pressure P 25 , SRM short cigarette sampling P 26 、SRM foreign body rejection valve P 27 , Check whether the cigarettes are in place 28 , the state of the waste rejection valve P 29 , absorption resistance value P 31 , ventilation degree P 32 , Leakage value P 33 ; The correlation characteristics between the indicators in the process described in S2 refer to: the dependency relationship characteristics between the indicators in the process are obtained based on expert experience, and the function is expressed as follows: [P7→P8,P7→P8,…,] (2) Among them, "→" connects two indicators, that is, there are interdependent indicators within the process.
3. The method for diagnosing abnormal causes of cigarette rolling process based on prediction of multiple quality indicators of cigarettes according to claim 1, characterized in that: The convolution graph dataset described in S2 specifically includes the following contents: A1. Construct a convolution graph data topology structure G. The convolution graph is an undirected weighted graph, and the edge weight is initialized to 1. Its function is expressed as: G=(V,E) (3) Where V represents the set of indicator nodes of all sensors or collection points, v i ∈V represents a certain index collected during the concatenation process, i = 1, 2, ..., |V| = N, which is the number of indexes N = 33 after screening in step 1; E represents the edge relationship set. If index i and j have a dependency relationship, then there is an edge e between the two indexes. ij ∈E; A2. Construct the roll-joint graph data set G based on the graph data structure and the historical time series data of a single cigarette 卷接 , in a single graph data G t The information stored in the sample includes the node feature matrix Adjacency Matrix The node feature matrix X t It represents the N=33 index values of the S1 cigarette and its respective cigarettes arranged in the processing order at the time stamp t; The initial edge weight of the adjacency matrix A is 1, ij The settings are as follows: The interval between timestamp t and timestamp t+1 is the time it takes for a cigarette making machine to produce a cigarette. Each timestamp t has a graph data G t , the graph dataset with m timestamps is G 卷接 =[G1,G2,…,G m ].
