Process quality time sequence prediction method based on graph neural network

By using a graph neural network-based method to model control relationships and time sequences in the process flow, accurate prediction of process quality is achieved, solving the problem of ignoring control relationships in the existing technology, and improving production efficiency and intelligent analysis capabilities.

WO2024174300A1PCT designated stage expired Publication Date: 2024-08-29CHINA TOBACCO YUNNAN IND

Patent Information

Application Number
PCT/CN2023/080809
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-21
Filing Date
2023-03-10
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

The existing technology ignores the control relationship between parameters in industrial data prediction, resulting in inaccurate product quality prediction and increasing production costs and management difficulty.

Method used

A method based on graph neural network is used to convert the process flow into graph structured data, model the control relationship between production indicators, calculate spatial information through the graph neural network, and combine the long and short-term memory network to process time series to achieve accurate prediction of process quality. .

Benefits of technology

It achieves accurate prediction of product quality in advance, improves workshop production efficiency, and supports intelligent analysis and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023080809_29082024_PF_FP_ABST
    Figure CN2023080809_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention is a process quality time sequence prediction method based on a graph neural network, comprising the following steps: converting a process flow into graph structure data, modeling a control relationship between production indexes by using the graph structure data, taking collected process parameter data as a feature of a corresponding node in graph data, and calculating spatial information between the production indexes by using the graph neural network. On this basis, time sequence data corresponding to process quality is spliced with the spatial information, a complex temporal dependency relationship of a processing quality index sequence is modeled by using a long-short term memory network, and a prediction result is outputted. According to the process quality time sequence prediction method based on the graph neural network of the present invention, model training can be completed by using historical production data, and a trained model has relatively high prediction precision. The present invention has important significance for improving workshop production efficiency and supporting workshop intelligent analysis and regulation.
Need to check novelty before this filing date? Find Prior Art

Description

A method for predicting process quality time series based on graph neural network Technical Field The present invention belongs to the field of industrial data analysis, and specifically relates to a method for predicting process quality time series based on graph neural network. Background Art In the production process, in order to ensure that the process quality indicators are within the process standard range, the traditional method is to set up checkpoints in each production process to ensure the quality of the final process export by ensuring the processing quality of each process, but it also brings production management problems such as increased product time cost, higher employee skill requirements, and increased difficulty in equipment inspection. Therefore, studying the impact of different intelligent process parameters on product quality and predicting product quality as early as possible is of great significance to improving workshop production efficiency and supporting workshop intelligent analysis and regulation. Industrial data is mostly collected by industrial sensors at certain time intervals. Usually, the production conditions at adjacent moments are highly similar. Therefore, for the prediction of industrial data, existing prediction methods are mostly carried out from the perspective of time series prediction. However, most studies on industrial data prediction often ignore the control relationship between parameters, which is manifested as the influence relationship between data. Therefore, a method for predicting process quality time series based on graph neural network is proposed. The physical relationship corresponding to the workshop data is modeled from the perspective of graph theory. The spatial relationship in the graph model is aggregated by the graph neural network to form spatial features under physical constraints. The recurrent neural network is used to realize the fusion and calculation of the feature values ​​and time series in the time dimension, and finally the accurate prediction of the workshop processing quality is realized. For this reason, the present invention is proposed. Summary of the invention The present invention proposes a method for predicting process quality time series based on graph neural network, which takes into account the temporal and spatial dependence of production data, and realizes accurate prediction of product quality in advance. It is of certain significance for improving workshop production efficiency and supporting intelligent analysis and regulation of workshop. The technical solution of the present invention is as follows: A method for predicting process quality time series based on graph neural network includes the following steps: converting the process flow into graph structure data, using the graph structure data to model the control relationship between production indicators, using the collected process parameter data as the features of the corresponding nodes in the graph data, using the graph neural network to calculate the spatial information between the production indicators, and on this basis, splicing the time series data corresponding to the process quality with the spatial information, using the long short-term memory network to model the complex temporal dependency of the processing quality indicator sequence, and outputting the prediction result. Preferably, the specific steps are: (1) Problem definition and spatial graph data construction: Define X∈R N×Sis the time series input of the model, where N is the number of all parameters and S is the time step; then input the data of S time points into the model and define G = (V, E, W) as the spatial graph data input of the model, where V is the set of nodes corresponding to the parameters, including process parameter nodes and processing quality nodes, E is the set of edges between nodes, the edges between nodes correspond to the process flow, reflecting the clear control or influence relationship between nodes, and W is the weight set corresponding to the edge set, reflecting the size of the influence relationship between nodes; (2) Processing quality index prediction: Establish a processing quality prediction model f(·), input the time series data X containing time characteristics and the spatial data G containing the physical space influence relationship, and calculate the processing quality data Y∈R at the s+1th time point. N′×1 Make a prediction, where N′ is the number of quality indicators; that is, Preferably, the adjacency matrix A is used to store V and E to achieve the mapping between the model G and the matrix; the element a of the matrix A ij The calculation method is as follows: Preferably, after completing the construction of the spatial graph data, GNN is used to realize the feature interaction between nodes, and the calculation and update of node features under the constraints of physical space are realized. The specific calculation formula is shown as follows: In the formula, H′ is the node feature after graph calculation, σ is the activation function RELU, I is the unit matrix, H is the node feature of the GNN input, the initial feature of the node to be predicted is set to 0, the data h of the process parameter in X is selected and concatenated with the node feature to be predicted to form H. Preferably, let the time step be S. Then, in each calculation, any node v in the model G i The feature dimension of is [S,1], then the data dimension input to GNN is [S,N], and the set of quality nodes to be predicted is For V pre Any node in Its neighbor node set is but The corresponding node features are node Features As shown below: Preferably, the calculation process of the node feature H′ after graph calculation is: the feature dimension is [s, m] The node features are calculated by a CNN layer and then superimposed with a [m, 1] fully connected layer to form a node feature with a dimension of [S, 1]. The neighbor features of the node to be predicted are aggregated and replaced with the features of the node to be predicted; for the GNN input features with feature dimension [S, N], the output feature H′ with output dimension [S, j] is obtained through the fully connected layer transformation. Preferably, the time series calculation step is: obtain the node v by GNN calculation in space j pre Features Expand to time series Preferably, in model X, Nj columns of process parameter data are input into GNN as part of the process parameter feature H, and the remaining j columns of data and j sets of quality nodes to be predicted V pre Correspondingly, for V pre Any node v j pre The corresponding original data Expand to time series V pre Corresponding spatial features With the time feature X(v j pre ) performs feature concatenation on the second dimension to form a feature vector with dimension [S,2] F j Input into the following LSTMCell: And output the final features through the fully connected layer; is the tth F j The eigenvalue of W i , W c , W f , W o is a learnable parameter, b i 、b c 、b f 、b o is the bias vector, h t-1 ,C t-1 is the output at the previous moment, h t ,C t is the output at time t. Preferably, LSTMCell needs to be cycled S times to obtain the final output h of LSTMCell t ,h t Output the final features through the fully connected layer Loss is calculated by: Update the weights of each network layer by back propagation; where Y q (j) The corresponding true value. Beneficial effects of the present invention: The process quality time series prediction method based on graph neural network of the present invention can complete the model training by using historical production data, and the trained model has high prediction accuracy. It is of great significance to improve the production efficiency of workshops and support intelligent analysis and regulation of workshops. BRIEF DESCRIPTION OF THE DRAWINGS FIG1 is an algorithm flow chart of a method for predicting process quality time series based on a graph neural network according to the present invention. FIG. 2 is a graph data corresponding to a specific embodiment of the present invention. FIG. 3 is a prediction result of the outlet material temperature corresponding to a specific embodiment of the present invention. FIG. 4 is a prediction result of the moisture content of the outlet material corresponding to a specific embodiment of the present invention. DETAILED DESCRIPTION The present invention is further described below by way of examples, but is not limited to these examples. Example: Taking the silk production line of a certain enterprise in Yunnan as the research object, the time series data of workshop process parameters and process quality are collected, the prediction model is trained, and the prediction of two process qualities, namely, the outlet material temperature and the outlet material moisture, is realized. The specific steps are as follows: Step 1: The production data collected by the silk production line in October 2022 is used as the data set. After data preprocessing, a total of 11,877 rows of data are obtained. The data set contains 8 parameters, namely, inlet material moisture, inlet material flow, hot air temperature, steam pressure, dehumidification damper opening, mixing damper opening, outlet material temperature and outlet material moisture. Then N = 8. Take the time step S = 8. For the processing quality calculation at the i-th time point, the process parameter data within the time range of i-8 to i-1 needs to be input into the model. Divide the data set into a training set and a test set in a ratio of 7:3. Step 2: Describe the control relationship of each parameter in the process file in the form of a graph to form the process relationship graph data G = (V, E, W) as shown in Figure 2. The 8 parameters in step 1 form 8 graph nodes, and the control relationship between the nodes forms the edges between the nodes. For example, the dehumidification damper affects the main steam pressure, so there is a relationship in G from the node "actual value of the dehumidification damper" to "main steam pressure". According to the formula Convert V and E in G into an 8×8 matrix A, and construct an 8×8 matrix W with the same dimension as A, initializing all elements in W to 1. Step 3: For each calculation, in the spatial dimension, the six process parameters form a vector h of dimension [8,6], h∈X, and the initial features of the two processing quality indicators of dimension [8,2] are set to 0. Then, the two types of features, process parameters and processing quality indicators, are concatenated to form a feature H of dimension [8,8]. H is input together with A and W into the formula In the graph neural network computing layer, the spatial features H′ of all nodes in this calculation are obtained, as shown in the formula As shown, through the formula Update the node features of two machining qualities. For any node in the machining quality Features exist The dimension of is [8,1], therefore, the output feature dimension of the two processing quality nodes is [8,2]. To fit the nonlinear relationship between the parameters, the spatial features are input into the GELU activation function and then passed into the fully connected layer of [2,2] for output. The calculation of the spatial features is completed, and the output feature dimension is [8,2]. Step 4: In the time dimension, take the data x of two processing qualities in the time range from i-8 to i-1. For any time series of processing quality exist The dimension of is [8,1], so the time series feature dimension of the two processing quality nodes is [8,2]. The time series with the feature dimension [8,2] and the spatial feature with the feature dimension [8,2] are concatenated to form feature data with the dimension [8,4] and input into the LSTM model. Among the input features of the LSTM model, the feature vector F of any processing quality j The dimension is [8,2]; as shown in the formula As shown in the figure, the spliced ​​information is used for time series calculation in the LSTM model. The final calculation result is still a feature of [8,4] dimensions. The feature is input into the flatten layer to flatten the feature, and the dimension is obtained.

[0032] The feature is input into the RELU activation function and then into the fully connected layer of [32,2] to obtain a feature with a dimension of [2]. This feature is the predicted value of the two processing qualities at the i-th time point. The predicted result is compared with the true value, and the weight is updated by back propagation. Step 5: Repeat the above steps until all the data in the training set are traversed, and complete one training. A total of 200 model trainings are set. After the training is completed, the model can be used to predict the quality index by inputting data according to steps 1 to 4 for forward propagation, and no back propagation is performed to update the weights. The results are shown in Table 1. In order to verify the effectiveness of the algorithm, the production data collected by the silk-making workshop in October 2022 was used as the data set. Considering the temporal nature of the workshop data, GRU, LSTM, and RNN networks were used as control groups to learn the time series characteristics of process parameters and quality parameters to be predicted, and to achieve time series prediction of two quality parameters. The three indicators of mean absolute error, mean square error, and goodness of fit R2 were used to evaluate the prediction performance of the model. The average results of 100 calculations of the four models were taken for comparison. The comparison results of the four models on the test set are shown in Table 1. The prediction results of the quality indicators of the model in this paper on the test set, the outlet material temperature prediction results and the outlet material moisture prediction results are shown in Figures 3 and 4. As can be seen from Figures 3 and 4, the predicted values ​​are highly consistent with the true values. Table 1 Comparison of experimental errors The results show that the process quality time series prediction method based on graph neural network of the present invention can model the complex relationship between workshop indicators in space and time through GNN, such as the temporal relationship between process parameters and processing quality under physical constraints. Compared with the deep time series model, it more completely considers the complex spatiotemporal dependency of workshop data and has higher prediction accuracy. The above description is only used to introduce the specific implementation methods of the present invention in detail, but the technical solution proposed by the present invention is not limited to the above method. Without departing from the basic principles of the present technology, equivalent modifications and changes made by those skilled in the art to the technology proposed by the present invention should be included in the scope of the claims of the present invention.

Claims

1. A method for predicting process quality time series based on graph neural network, characterized in that: The method includes the following steps: converting the process flow into graph structure data, using graph structure data to model the control relationship between production indicators, using the collected process parameter data as the features of the corresponding nodes in the graph data, using graph neural networks to calculate the spatial information between production indicators, and on this basis, splicing the time series data corresponding to the process quality with the spatial information, using long short-term memory networks to model the complex temporal dependency of the processing quality indicator sequence, and outputting prediction results.

2. The process quality time series prediction method based on graph neural network according to claim 1 is characterized in that: The specific steps are: (1) Problem definition and spatial graph data construction: Define X∈R N×S is the time series input of the model, where N is the number of all parameters and S is the time step; then input the data of S time points into the model and define G = (V, E, W) as the spatial graph data input of the model, where V is the set of nodes corresponding to the parameters, including process parameter nodes and processing quality nodes, E is the set of edges between nodes, the edges between nodes correspond to the process flow, reflecting the clear control or influence relationship between nodes, and W is the weight set corresponding to the edge set, reflecting the size of the influence relationship between nodes; (2) Processing quality index prediction: Establish a processing quality prediction model f(·), input the time series data X containing time characteristics and the spatial data G containing the physical space influence relationship, and calculate the processing quality data Y∈R at the s+1th time point. N′×1 Make a prediction, where N′ is the number of quality indicators; that is, 3. The process quality time series prediction method based on graph neural network according to claim 2 is characterized in that: Use the adjacency matrix A to save V and E to achieve the mapping between model G and matrix; the element a of matrix A ij The calculation method is as follows:

4. The process quality time series prediction method based on graph neural network according to claim 3 is characterized in that: After completing the construction of the spatial graph data, GNN is used to realize the feature interaction between nodes and realize the calculation and update of node features under the constraints of physical space. The specific calculation formula is shown in the following formula: In the formula, H′ is the node feature after graph calculation, σ is the activation function RELU, I is the unit matrix, H is the node feature of the GNN input, the initial feature of the node to be predicted is set to 0, the data h of the process parameter in X is selected and concatenated with the node feature to be predicted to form H.

5. According to the method for predicting process quality time series based on graph neural network in claim 3, it is characterized in that The time step is S, then each time the calculation is performed, any node v in the model G i The feature dimension of is [S,1], then the data dimension input to GNN is [S,N], and the set of quality nodes to be predicted is For V pre Any node in Its neighbor node set is but The corresponding node features are node Features As shown below:

6. The process quality time series prediction method based on graph neural network according to claim 4 is characterized in that: The calculation process of the node feature H′ after graph calculation is: the feature dimension is [s,m] The node features are calculated by a layer of CNN and then superimposed with a [m, 1] fully connected layer to form a node feature with a dimension of [S, 1]. The neighbor features of the node to be predicted are aggregated and replaced with the features of the node to be predicted; for the GNN input features with feature dimension [S, N], the output feature H′ with output dimension [S, j] is obtained through the fully connected layer transformation.

7. The process quality time series prediction method based on graph neural network according to claim 5 is characterized in that: The time series calculation steps are as follows: The node v is obtained by GNN calculation in space j pre Features Expand to time series 8. The process quality time series prediction method based on graph neural network according to claim 5 is characterized in that: In model X, Nj columns of process parameter data are input into GNN as part of the process parameter feature H, and the remaining j columns of data and j quality node sets V to be predicted pre Correspondingly, for V pre Any node v j pre The corresponding original data Expand to time series V pre Corresponding spatial features With the time feature X(v j pre ) performs feature concatenation on the second dimension to form a feature vector with dimension [S,2] F j Input into the following LSTMCell: And output the final features through the fully connected layer; In the formula is the tth F j The eigenvalue of W i , W c , W f , W o is a learnable parameter, b i 、b c 、b f 、b o is the bias vector, h t-1 ,C t-1 is the output at the previous moment, h t ,C t is the output at time t.

9. The process quality time series prediction method based on graph neural network according to claim 8 is characterized in that: LSTMCell needs to be cycled S times to get the final output h of LSTMCell t ,h t Output the final features through the fully connected layer Loss is calculated by: Update the weights of each network layer by back propagation; where Y q (j) The corresponding true value.

Citation Information

Patent Citations

  • Industrial production process target data prediction method of multi-feature fusion deep neural network

    CN112001527A

  • Network traffic prediction method based on combination of GNN-LSTM

    CN112906982A

  • Multi-source heterogeneous twin data fusion method and system based on factory production process

    CN114595773A

  • Process quality prediction method based on CNN-LSTM hybrid neural network model

    CN115169737A

  • Multi-quality index output prediction method and system for shred-making loosening and moisture-regaining process

    CN115456460A

Cited By

  • Process quality time sequence prediction method based on graph neural network

    CN116307528A

  • Method and device for constructing intelligent smoke monitoring model based on wafer processing

    CN119106267A

  • Overcurrent prediction method, medium and system for liquid cooling over-charging pile

    CN119623514A

  • Intelligent building energy consumption monitoring system

    CN119783991A

  • Industrial spraying workpiece defective product factor intelligent detection method based on graph neural network model

    CN119807808A