A virtual measurement method for product quality suitable for industrial intelligent manufacturing

The Bayesian information criterion and Gaussian Bayesian network are used to construct dependencies between sensors, combined with graph convolutional neural networks, to solve the problems of high sensor parameter dimensions and complex process processes in virtual measurement, and improve the accuracy of product quality prediction. .

CN118313735BActive Publication Date: 2024-10-01UNIV OF SCI & TECH OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410737396.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-10-01
Estimated Expiration
2044-06-07

AI Technical Summary

Technical Problem

Existing virtual measurement methods are difficult to effectively extract high-dimensional sensor features in industrial manufacturing, and fail to fully consider the dependencies between multiple sensors, resulting in difficulty in predicting product quality and low measurement accuracy.

Method used

The Bayesian information criterion and Gaussian Bayesian network are used to construct the dependency graph structure between sensors, and combined with the graph convolutional neural network (GCN) training model to establish the relationship model between product production process data and product quality, and realize product Virtual measurement of quality.

Benefits of technology

It improves the accuracy of product quality prediction, can comprehensively analyze multiple sensor data, and solves the difficult problem of product quality prediction caused by high sensor parameter dimensions and complex process processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118313735B_ABST
    Figure CN118313735B_ABST
Patent Text Reader

Abstract

The present invention discloses a virtual measurement method for product quality suitable for industrial intelligent manufacturing. First, factory equipment sensors are used to collect data in the product production process and pre-process the data; each sensor that records the product production process data is regarded as a node, and a Gaussian Bayesian network between these nodes is constructed using the Bayesian information criterion and existing production rules, and the product production process data is represented in the form of a graph structure; a graph convolutional neural network GCN is used to train the graph structure data representing the product production process data, and a model between the product production process data and the product quality is established. The model is used to predict the product quality and realize the virtual measurement of the product quality. The above method can solve the problem of high dimension of sensor parameters and complex process in virtual measurement, which leads to difficulty in predicting product quality. It can comprehensively analyze the monitoring data of multiple sensors to realize quality monitoring and improve the measurement accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial intelligent manufacturing, and in particular to a product quality virtual measurement method suitable for industrial intelligent manufacturing. Background Art

[0002] Product quality inspection is of great significance for product quality control. Quality inspection can be divided into comprehensive quality inspection and sampling quality inspection. Comprehensive quality inspection takes a lot of time and high cost. For example, tensile test of steel products will destroy the toughness of steel, and riveted structure inspection will cut open the riveted structure. Therefore, manufacturing companies currently prefer sampling quality inspection. However, sampling quality inspection cannot guarantee the quality performance of all products, and will still result in defective products being delivered to consumers, which may bring higher costs to the company. Comprehensive quality inspection is the best practice to ensure that all products meet the required quality characteristics. Virtual measurement is a data analysis technology that has been widely used in manufacturing in recent years. By collecting and analyzing the production process data of a large number of sensor devices, conducting data analysis modeling, and evaluating product quality, it enables manufacturers to conduct comprehensive quality inspection without the cost and time cost of physical quality inspection, which helps to reduce the high cost of physical quality inspection, effectively shorten the product production cycle, and ensure the quality performance of products. This is of great significance for manufacturers to seize the market and optimize resource allocation.

[0003] In general, the existing virtual measurement methods can be divided into statistical analysis methods and data-driven methods. However, the existing statistical analysis methods rely heavily on production experience and expert knowledge, and the knowledge rules for each production line are different, which makes them difficult to manage and inefficient. Most data-driven methods require manual extraction of multi-dimensional sensor features, such as mean, variance, etc., and then input them into the classic machine learning model for training. However, due to the high dimension of sensor parameters and complex multi-parameter dependencies in industrial manufacturing, this method is difficult to extract effective features and has low measurement accuracy. Although some deep learning methods can automatically extract features, they do not consider the dependencies between multi-dimensional sensor features and are difficult to combine with existing knowledge and production rules. Therefore, it is of great value and practical significance to study a virtual measurement method that can effectively extract high-dimensional features and consider the dependencies between multiple sensors. Summary of the invention

[0004] The purpose of the present invention is to provide a virtual measurement method for product quality suitable for industrial intelligent manufacturing. The method can solve the problem of difficulty in product quality prediction caused by high dimension of sensor parameters and complex process in virtual measurement. It can comprehensively analyze the monitoring data of multiple sensors to realize quality monitoring and improve the measurement accuracy.

[0005] The objective of the present invention is achieved through the following technical solutions:

[0006] A product quality virtual measurement method applicable to industrial intelligent manufacturing, the method comprising:

[0007] Step 1: First, use factory equipment sensors to collect data during the product production process and pre-process the data;

[0008] Step 2: Consider each sensor that records the product production process data as a node, use the Bayesian information criterion and existing production rules to build a Gaussian Bayesian network between these nodes, and represent the product production process data in the form of a graph structure; wherein each node in the graph structure represents a sensor that records the production process data, the node attribute is the data reading of each sensor, and the edges connecting each node are the dependencies between sensors mined using the Gaussian Bayesian network;

[0009] Step 3: Use graph convolutional neural network (GCN) to train graph structure data that represents product production process data, establish a model between product production process data and product quality, use the model to predict product quality, and realize virtual measurement of product quality.

[0010] It can be seen from the technical solution provided by the present invention that the above method can solve the problem of difficulty in product quality prediction due to high dimension of sensor parameters and complex process in virtual measurement, and can comprehensively analyze the monitoring data of multiple sensors to realize quality monitoring and improve measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0012] Figure 1 A schematic diagram of a flow chart of a product quality virtual measurement method applicable to industrial intelligent manufacturing provided by an embodiment of the present invention;

[0013] Figure 2 This is a schematic diagram of a graph structure of product production process data according to an embodiment of the present invention;

[0014] Figure 3 Schematic diagram of the structure of the graph convolutional neural network described in an embodiment of the present invention. DETAILED DESCRIPTION

[0015] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, which does not constitute a limitation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0016] like Figure 1 The figure is a flow chart of a method for virtual measurement of product quality applicable to industrial intelligent manufacturing provided by an embodiment of the present invention, the method comprising:

[0017] Step 1: First, use factory equipment sensors to collect data during the product production process and pre-process the data;

[0018] In this step, since the data collected directly from factory equipment sensors usually contains a lot of noise, which seriously affects the features learned by the model, the processing of duplicate values, missing values, and outliers is also an important factor affecting the accuracy of the model. These can be preprocessed. The preprocessing of industrial data is very important to prevent the model from learning irrelevant features and causing overfitting.

[0019] For data in the product production process, missing values ​​are filled with zero, mean, and difference;

[0020] Outliers are used Principle deletion, assuming sensor variables It obeys Gaussian distribution, that is Represents sensor variables The mean is , the variance is The Gaussian distribution of has a probability density function of:

[0021] in is the standard deviation; is the mean vector; the values ​​are distributed in The probability of 0.9974 is 0.9974, so As sensor variable The actual possible value range, other points are considered as outliers and deleted.

[0022] Step 2: Treat each sensor that records the product production process data as a node, use the Bayesian information criterion and existing production rules to build a Gaussian Bayesian network between these nodes, and represent the product production process data in the form of a graph structure;

[0023] Each node in the graph structure represents a sensor that records production process data, the node attribute is the data reading of each sensor, and the edges connecting the nodes are the dependencies between sensors mined using the Gaussian Bayesian network;

[0024] In this step, a large number of experiments have shown that the sensor reading variables in industrial manufacturing conform to the Gaussian distribution, which allows us to use the Gaussian Bayesian Network (GBN) to study the dependencies between the various sensor reading variables. The Bayesian network is a probabilistic model that represents the conditional dependencies of a set of variables through a directed acyclic graph. GBN is a special case of the Bayesian network, in which all variables are continuous and the joint density function follows a multivariate Gaussian distribution. Use represents a set of variables containing multiple sensor readings, as shown in the following formula (1):

[0025] (1)

[0026] in, A vector representing a sensor information; Represents the sensor number. Each sensor data conforms to Gaussian distribution. The joint probability distribution of As shown in the following formula (2):

[0027] (2)

[0028] in Represents the mean vector; exp() represents the power of the natural exponential e, and the number inside () is the value of the power;

[0029] (3)

[0030] represents the mean of the random variable of the pth sensor;

[0031] Covariance matrix It is expressed as follows:

[0032] (4)

[0033] If two sensors The corresponding covariance matrix Results is 0, then define is uncorrelated, also called marginally independent;

[0034] if The corresponding precision matrix , then define the given removal Under the conditions of other nodes, Independent of each other;

[0035] in is the inverse matrix of the covariance matrix, that is:

[0036] (5)

[0037] in Indicates removal of sensor Other sensors besides

[0038] Based on the properties of the Bayesian network directed graph, the multivariate sensor reading variables The joint probability distribution of It is expressed as follows:

[0039] (6)

[0040] According to the chain rule of conditional probability, the joint probability distribution is decomposed as follows:

[0041] (7)

[0042] But if The dimension is too high, and the chain rule calculation cost is very high. Therefore, the corresponding probability graph model is regarded as a complete graph. The correlation between any two features needs to be solved. The conditional independence of the Bayesian network can greatly simplify the calculation process. Given the expression of the Bayesian network, the joint probability distribution of each node can be directly written as:

[0043] (8)

[0044] in express The set of parent nodes of a node; the directed graph is represented by ,in represents a set of sensor variables; Represent the relationship between sensors, delete the edges without dependencies through the conditional independence of the Bayesian network, and then combine the Bayesian information criterion (BIC) for structured learning; here, BIC is a statistical criterion for model selection, which evaluates the model, considers the goodness of fit and model complexity, and is used to select the optimal model. The most basic score-based search algorithm, hill climbing, is used to greedily search the feasible space of the directed graph. Usually, the hill climbing method starts with an empty, complete or random network, and then considers every possible action of the current network, including adding edges, deleting edges or changing the direction of edges, selects the action with the highest score, and repeats the process.

[0045] When no improvement can be achieved by modifying any edge, the learning process stops, and the product production process data is finally represented in the form of a graph structure, such as Figure 2 The figure shows a schematic diagram of a graph structure in which the product production process data described in an embodiment of the present invention is a graph structure, where each node in the graph structure represents a sensor that records production process data, the node attribute is the data reading of each sensor, and the edges connecting the nodes are the dependencies between sensors mined using a Gaussian Bayesian network.

[0046] Step 3: Use graph convolutional neural network (GCN) to train graph structure data that represents product production process data, establish a model between product production process data and product quality, use the model to predict product quality, and realize virtual measurement of product quality.

[0047] In this step, the graph convolutional neural network (GCN) is a deep learning model used to process graph structure data, and has achieved great success in graph classification and node classification tasks. It can process data in non-Euclidean space, and can still work normally even when the data collected by the sensor is missing, such as Figure 3 The figure is a schematic diagram of the structure of the graph convolutional neural network according to an embodiment of the present invention:

[0048] The input of the graph convolutional neural network GCN is the product production process data represented by a graph structure, which is passed through several graph convolution layers for feature extraction. Each graph convolution layer is connected to a Activation function, used to enhance the nonlinearity of the model, improve the sparsity of the model, and speed up training; The activation function is expressed as follows;

[0049] In the graph convolutional neural network GCN, the graph is represented as an adjacency matrix and the node feature matrix A combination of It is a two-dimensional matrix, which represents the dependency relationship between sensors; is a node feature matrix, each row corresponds to a node, and each column corresponds to a feature; the core of GCN is the graph convolution operation, which essentially aims to find a learnable convolution kernel suitable for the graph. It simulates the idea of ​​local perception and weight sharing in traditional convolutional neural networks, but is applied to graph structures. A graph of nodes, given the adjacency matrix and the node feature matrix , No. Node feature representation of the layer , calculated by the following formula:

[0050] (9)

[0051] in It represents the layers in the graph neural network. In GCN, each layer aims to update the feature representation of a node by considering the information of its neighbors. Use the original node features, that is, ,Each subsequent layer will update these feature representations according to certain rules to capture deeper relationships between nodes; It is Node feature representation of the layer; is the activation function; ,in is the identity matrix; yes The degree matrix of Refers to the The weight matrix of the layer is the parameter that needs to be learned during the training process;

[0052] In solving the problem of graph classification, a convergence operation is used to aggregate the information of the entire graph into a global representation. Here, the convergence layer takes the average of all node representations to form a representation of the entire graph. After obtaining the representation of the entire graph, it is input into the fully connected layer of the graph convolutional neural network GCN for graph classification. Finally, it is classified through the Softmax function and outputs a label of good or bad product quality. The Softmax function is used to "compress" a vector containing any real number into a vector with a real value in the range of (0,1), and the sum of the compressed vector elements is 1. For an input vector, Represents the number of categories, the Softmax function is for each element in the vector The output definition is as follows:

[0053]

[0054] Zn represents the nth category; Z j The j in the summation formula is the index value from 1 to n;

[0055] In this way, the Softmax function can convert each element in the vector into a value representing probability. These values ​​represent the probability that the current input belongs to each category. Since the quality detection scenario considered in this article belongs to binary classification, n is 2.

[0056] It is worth noting that the contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field.

[0057] In addition, a person skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be implemented by instructing related hardware through a program, and the corresponding program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc.

[0058] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or in any form that the information constitutes prior art known to those skilled in the art.

Claims

1. A product quality virtual measurement method suitable for industrial intelligent manufacturing, characterized in that: The method comprises: Step 1: First, use factory equipment sensors to collect data during the product production process and pre-process the data; Step 2: Consider each sensor that records the product production process data as a node, use the Bayesian information criterion and existing production rules to build a Gaussian Bayesian network between these nodes, and represent the product production process data in the form of a graph structure; wherein each node in the graph structure represents a sensor that records the production process data, the node attribute is the data reading of each sensor, and the edges connecting each node are the dependencies between sensors mined using the Gaussian Bayesian network; In step 2, use represents a set of variables containing multiple sensor readings, as shown in the following formula (1): (1) in, A vector representing a sensor information; Represents the sensor number. Each sensor data conforms to Gaussian distribution. The joint probability distribution of As shown in the following formula (2): (2) in Represents the mean vector; exp() represents the power of the natural exponential e, and the number inside () is the value of the power; (3) represents the mean of the random variable of the pth sensor; Covariance matrix It is expressed as follows: (4) If two sensors The corresponding covariance matrix Results is 0, then define is uncorrelated, also called marginally independent; if The corresponding precision matrix , then define the given removal Under the conditions of other nodes, Independent of each other; in is the inverse matrix of the covariance matrix, that is: (5) in Indicates removal of sensor Other sensors besides Based on the properties of the Bayesian network directed graph, the multivariate sensor reading variables The joint probability distribution of It is expressed as follows: (6) According to the chain rule of conditional probability, the joint probability distribution is decomposed as follows: (7) Based on the expression of the fixed Bayesian network, the joint probability distribution of each node is directly written as: (8) in express The set of parent nodes of a node; the directed graph is represented by ,in represents a set of sensor variables; Represent the relationship between sensors, delete the edges without dependencies through the conditional independence of the Bayesian network, and then combine the Bayesian information criterion for structured learning; When no improvement can be achieved by modifying any edge, the learning process stops, and the product production process data is finally represented in the form of a graph structure; each node in the graph structure represents a sensor that records production process data, the node attribute is the data reading of each sensor, and the edges connecting the nodes are the dependencies between sensors mined using the Gaussian Bayesian network; Step 3: Use graph convolutional neural network (GCN) to train graph structure data that represents product production process data, establish a model between product production process data and product quality, use the model to predict product quality, and realize virtual measurement of product quality.

2. The product quality virtual measurement method applicable to industrial intelligent manufacturing according to claim 1 is characterized in that: In step 1, for the data in the product production process, missing values ​​are filled with zero, mean, and difference; Outliers are used Principle deletion, assuming sensor variables It obeys Gaussian distribution, that is Represents sensor variables The mean is , the variance is The Gaussian distribution of has a probability density function of: in is the standard deviation; is the mean vector; the values ​​are distributed in The probability of 0.9974 is 0.9974, so As sensor variable The actual possible value range, other points are considered as outliers and deleted.

3. The product quality virtual measurement method applicable to industrial intelligent manufacturing according to claim 1 is characterized in that: In step 3, the input of the graph convolutional neural network GCN is the product production process data represented by a graph structure, which is used for feature extraction through several graph convolution layers. Each graph convolution layer is connected to a Activation function, used to enhance the nonlinearity of the model, improve the sparsity of the model, and speed up training; The activation function is expressed as follows; In the graph convolutional neural network GCN, the graph is represented as an adjacency matrix and the node feature matrix A combination of It is a two-dimensional matrix, which represents the dependency relationship between sensors; is a node feature matrix, each row corresponds to a node, and each column corresponds to a feature; For a A graph of nodes, given the adjacency matrix and the node feature matrix , No. Node feature representation of the layer , calculated by the following formula: (9) in It represents the layers in the graph neural network. In GCN, each layer aims to update the feature representation of a node by considering the information of its neighbors. Use the original node features, that is, ,Each subsequent layer will update these feature representations according to certain rules to capture deeper relationships between nodes; It is Node feature representation of the layer; is the activation function; ,in is the identity matrix; yes The degree matrix of Refers to the The weight matrix of the layer is the parameter that needs to be learned during the training process; In solving the problem of graph classification, the aggregation operation is used to aggregate the information of the entire graph into a global representation. Here, the aggregation layer takes the average of all node representations to form the representation of the entire graph. After obtaining the representation of the entire graph, it is input into the fully connected layer of the graph convolutional neural network GCN for graph classification. Finally, the Softmax function is used for classification, and the label of good or bad product quality is output; The Softmax function is used to "compress" a vector containing any real number into a vector with real values ​​in the range of (0, 1), and the sum of the compressed vector elements is 1. For an input vector, Represents the number of categories, the Softmax function is for each element in the vector The output definition is as follows: Zn represents the nth category; Z j The j in the formula is the index value from 1 to n in the summation formula. In this way, the Softmax function can convert each element in the vector into a value representing probability. These values ​​represent the probability that the current input belongs to each category. Since the quality detection scenario belongs to binary classification, n is 2.