Twin surface contact deformation error modeling method based on graph neural network

Through the twin surface contact deformation error modeling method based on graph neural network, the graph neural network is used to structure the assembly contact surface, which solves the complex and cumbersome calculation problems in the existing technology and achieves fast and efficient contact deformation error calculation and assembly performance. analyze.

CN118656933APending Publication Date: 2024-09-17SOUTHEAST UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410821544.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the process of modeling the contact deformation error of twin surfaces of complex products driven by digital twins, the existing mechanism-based contact deformation solution method is complex and cumbersome to calculate, especially in the multi-assembly surface correlation coupling calculation, the deformation error cannot be calculated quickly and efficiently, resulting in Virtual models cannot provide timely and accurate analysis and prediction results for assembly performance.

Method used

The twin surface contact deformation error modeling method based on graph neural network is used to discretize the assembly contact surface through edge density to form a discrete contact graph, and construct a graph neural network structure including input layer, intermediate layer and prediction layer, using nodes, Edges and global attributes are graph structured to solve and predict contact deformation errors.

Benefits of technology

This method does not require model reduction and potential energy function optimization, can quickly and efficiently calculate contact deformation errors, simplifies the calculation process, significantly improves calculation efficiency especially in multi-assembly surface correlation coupling calculations, and provides fast and timely assembly performance analysis and prediction. result.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656933A
    Figure CN118656933A
Patent Text Reader

Abstract

The invention designs a twin surface contact deformation error modeling method based on a graph neural network. The invention provides a twin surface contact deformation error modeling method based on a graph neural network through an idea of fusing a mechanism model and a data model, two assembly contact surfaces are discretized, graph structuring is performed through nodes, edges and global attributes on the basis of discretization, and a discrete contact graph is formed; solving a contact deformation error of the discrete contact diagram through a finite element method, and constructing a discrete contact deformation data set; constructing a graph neural network structure comprising an input layer, a middle layer, a reconstruction layer and a prediction layer; the input layer of the graph neural network structure is used for receiving discrete contact deformation samples in the data set; a vector aggregation updating mechanism is set in the middle layer, edge vectors serve as solving vectors, contact deformation errors are expressed through the edge vectors, and the real-time interactivity of the virtual model and the physical model can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of mechanical assembly, and in particular relates to a twin surface contact deformation error modeling method based on graph neural network. Background Art

[0002] In the process of modeling the contact deformation error of twin surfaces of complex products driven by digital twins, the existing mechanism-based contact deformation solution method requires model reduction and potential energy function optimization, and the calculation is complicated and cumbersome. Especially in the case of multi-assembly surface related coupling calculation, it is impossible to quickly and efficiently calculate the deformation error, resulting in the virtual model being unable to provide analysis and prediction results for assembly performance in a timely and accurate manner. Therefore, the method of the present invention is of great significance for improving the real-time interactivity between the virtual model and the physical model.

[0003] In terms of contact deformation error modeling, a large number of scholars have conducted research. Zhang Z and Liu Z respectively established the feedback mechanism between load and deformation error, the influence mechanism of load and stiffness, studied the deformation error of the assembly interface of parts under external load and the weight of the machine itself, and enriched the theoretical research on assembly deformation error. However, the deformation error modeling method based on the mechanism will bring a lot of calculations under the influence of complex parts and coupling, and the real-time performance is insufficient. Wang G, Lili D, David D and Hao G improved the modeling efficiency of deformation error under load by constructing a proxy model based on deep learning. Based on DeepMind's advanced vector quantized variational autoencoder, Wang G realized the full-field damage prediction of composite structures under different low-speed impact conditions. Lili D realized the prediction of bolt dynamic load through a fully connected neural network. David D and Hao G respectively realized the mechanical properties simulation of soft tissue structures such as heart and liver through graph neural network (GNN). The above studies explored the application of deep learning in the construction of mechanical properties proxy models, but most of them are suitable for the mechanical properties simulation of a single receptor under given load and constraint conditions, and there are few calculations of force deformation under the condition of two bodies in contact and mutual coupling. Summary of the invention

[0004] The purpose of the present invention is to address the problem that in the process of twin surface contact deformation error modeling of complex products driven by digital twins, the existing mechanism-based contact deformation solution method requires model reduction and potential energy function optimization, and the calculation is complicated and cumbersome. In particular, when calculating the associated coupling of multiple assembly surfaces, the deformation error cannot be calculated quickly and efficiently, resulting in the virtual model being unable to provide analysis and prediction results for assembly performance in a timely and accurate manner. A twin surface contact deformation error modeling method based on graph neural network is proposed.

[0005] To achieve the aforementioned objectives, the present invention proposes a twin surface contact deformation error modeling method based on graph neural network, comprising the following steps:

[0006] Step 1: Discretize the two assembly contact surfaces with edge density ρ, and structure the graph through nodes, edges and global attributes on the basis of discretization to form a discrete contact graph.

[0007] Step 2: Use the finite element method to solve the contact deformation error of the discrete contact diagram in step 1 and construct a discrete contact deformation data set.

[0008] Step 3: Build a graph neural network structure including input layer, intermediate layer, reconstruction layer, and prediction layer.

[0009] Step 4: The input layer of the graph neural network structure is used to receive discrete contact deformation samples in the dataset.

[0010] Step 5: The middle layer consists of three neural networks. The vector aggregation update mechanism is set. The edge vector is used as the solution vector. The contact deformation error is expressed by the edge vector. The node vector, edge vector, and global vector are updated respectively.

[0011] Step 6: Construct a reconstruction layer based on the edge vector after aggregation and reconstruction obtained in step 5. The reconstruction layer is the output of the middle layer of the graph neural network.

[0012] Step 7: The prediction layer consists of a neural network. It takes the edge vector after the assembly contact graph is aggregated and reconstructed in the reconstruction layer of step 6 as input, builds an edge vector prediction neural network, and predicts the value of the edge vector. The predicted value is the result of the contact deformation of the twin surface.

[0013] Step 8: The constructed graph neural network model is the twin surface contact deformation error construction model.

[0014] The specific process of step 1 is as follows:

[0015] Discrete points are generated on the assembly interface according to a certain edge density ρ, and a graph-structured model is constructed based on them. First, a node vector is constructed for each discrete point, including its position index on the contact surface, material mechanical properties such as elastic modulus, hardness, yield strength, and normal errors such as surface roughness and micromorphology. Secondly, edge vectors are constructed to describe the distances between discrete points on the same contact surface along the +x and +y directions, as well as the relative gaps between the normals of discrete points on different contact surfaces. Furthermore, a global vector is constructed to describe the geometric dimensions such as the length and width of the macroscopic contact area and the contact loads such as the assembly load and the additional load generated by the part's own gravity. Finally, this information is graph-structured through node vectors, edge vectors, and global vectors to form a discrete contact graph model that comprehensively reflects the geometric, mechanical, and physical properties of the contact surface.

[0016] The specific process of step 2 is as follows:

[0017] The finite element method is used to perform detailed contact stress and strain analysis on discrete points. First, loads are applied in any direction on the contact surface, while the weight of the parts themselves is superimposed. The stress and strain conditions of the finite element nodes are comprehensively analyzed. A large number of simulations are performed to systematically generate discrete contact deformation samples under different working conditions, and finally a comprehensive discrete contact deformation data set is constructed. The data set not only covers the stress and strain distribution under various load conditions, but also reflects the influence of different materials and geometric properties on contact deformation, providing a data basis for building contact mechanics deformation error modeling based on graph neural networks.

[0018] The specific process of step 3 is as follows:

[0019] The graph neural network consists of four structures: input layer, intermediate layer, reconstruction layer and prediction layer.

[0020] Step 4: The specific process is as follows:

[0021] The input layer of the graph neural network is used to receive the instantiated node vectors and global vectors in the dataset, and the edge vectors initialized by random numbers, and the edge vectors are used as the final solution vectors. This is because the edge vector attributes contain geometric errors that are parallel and perpendicular to the contact direction and can characterize the contact deformation of the contact surface, and are used to characterize the contact deformation error.

[0022] Step 5: The specific process is as follows:

[0023] Each middle layer of the graph neural network is composed of three parts of neural networks, and includes aggregation and update mechanisms, which are used to aggregate and update the input node vectors, edge vectors, and global vectors respectively; the aggregation mechanism is that the node vectors and edge vectors are aggregated with each other, the edge vectors are aggregated themselves, and the global vectors and edge vectors are aggregated with each other. The aggregation method can be the sum of the corresponding positions of the vectors or the merging of the vectors; the update mechanism is to update the node vectors, edge vectors and global vectors through a neural network respectively to reflect the interaction and update of material properties, geometric error information, and load information in the graph structure.

[0024] Step 6 The specific process is as follows:

[0025] The reconstruction layer is the output of the intermediate layer of the graph neural network, which contains the aggregated and updated discrete contact graph in the dataset.

[0026] The edge vector after aggregation, updating and reconstruction associates the position coordinates of the discrete points in the node vector on the contact surface, the material contact mechanical properties, the surface shape error and other properties, as well as the macroscopic geometry and physical properties of the contact surface in the global vector, which can comprehensively describe the influence mechanism of the geometric, mechanical and physical properties of the contact surface on the contact deformation.

[0027] Step 7 The specific process is as follows:

[0028] The prediction layer consists of a neural network, which uses the edge vectors in the data set samples input by the input layer as labels to train the edge vector prediction neural network. The neural network can adapt to the change in the dimension of the reconstructed edge vector compared to the initial state, and ensure that the deformation of the predicted output is consistent with the dimension of the initial edge vector.

[0029] The specific process of step 8 is as follows: The constructed twin surface contact deformation error construction model based on graph neural network only needs to input material mechanical parameters, initial contact geometry and contact normal load to quickly solve the contact deformation error during the digital twin-driven assembly process.

[0030] Compared with the existing technology, the advantages of this solution are as follows:

[0031] (1) Compared with the traditional mechanism-based solution method, the present invention does not require model reduction and potential energy function optimization, and the calculation is simple. Especially in the case of multi-assembly surface correlation coupling calculation, the contact deformation error can be calculated quickly and efficiently.

[0032] (2) Compared with the existing convolutional neural network model and the fully connected neural network model, the present invention does not require a large number of parameters to participate in the calculation. It only needs the material mechanical parameters, the initial value of the surface shape error, the initial contact geometry and the contact normal load to quickly solve the contact deformation error. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Attached Figure 1 The present invention provides an overall modeling flow chart of a twin surface contact deformation error modeling method based on a graph neural network.

[0034] Attached Figure 2 A discrete contact graph of a twin surface contact deformation error modeling method based on a graph neural network implemented according to the present invention.

[0035] Attached Figure 3 A diagram of the vector aggregation update mechanism of the middle layer of a twin surface contact deformation error modeling method based on a graph neural network implemented in accordance with the present invention.

[0036] Attached Figure 4 A schematic diagram of an edge vector reconstruction layer of a twin surface contact deformation error modeling method based on a graph neural network implemented in accordance with the present invention.

[0037] Attached Figure 5 A schematic diagram of an edge vector prediction layer of a twin surface contact deformation error modeling method based on a graph neural network implemented in accordance with the present invention. DETAILED DESCRIPTION

[0038] The present invention is further described below in conjunction with the embodiments: The following embodiments are illustrative rather than restrictive, and the protection scope of the present invention cannot be limited by the following embodiments.

[0039] For the case where the contact area is rectangular and the length and width of the assembly joint are (l, w) and the assembly is in contact along the vertical direction, the graph neural network is used to solve the contact deformation error.

[0040] The contact surface is discretized with edge density ρ, and the graph is structured through nodes, edges and global attributes on the basis of discretization to form a discrete contact graph, as shown in the attached figure. Figure 2 As shown;

[0041] Generate discrete points on the assembly interface with edge density ρ;

[0042] A rectangular coordinate system is established for the contact surface, and the node vector N is constructed by using the position index (x, y) of the discrete point on the contact surface, the elastic modulus E, the Poisson's ratio μ, and the convex peak value z to represent the normal error of the discrete point. i =[x,y,E,μ,z];

[0043] The distance between nodes on the same contact surface along the +x and +y directions (d x ,d y ), construct edge vector E by using the gap g between the relative discrete points of different contact surface normals i =[d x ,d y ,g];

[0044] The global vector G is constructed based on the length and width of the macro contact area (l, w) and the contact load F including gravity. i = [l,w,F];

[0045] Through the node vector N i , edge vector E i , global vector G i Conduct graph structuring to form a discrete contact graph model that comprehensively reflects the geometric, mechanical and physical characteristics of the contact surface;

[0046] Solve the contact deformation error of the discrete contact graph and construct a discrete contact deformation data set;

[0047] The contact stress and strain analysis of discrete points is performed by finite element method, and the node vector N is instantiated. i , edge vector E i , global vector G i ;

[0048] The edge vector E i =[d x ,d y ,g] contains the geometric errors parallel and perpendicular to the contact direction, which is used to characterize the contact deformation error;

[0049] Conduct a large number of simulations to systematically generate discrete contact deformation samples under different working conditions, and finally construct a comprehensive discrete contact deformation data set;

[0050] The dataset not only covers the stress-strain distribution under various loading conditions, but also reflects the influence of different materials and geometric properties on contact deformation, providing a data basis for building contact mechanics deformation error modeling based on graph neural networks.

[0051] The graph neural network consists of four structures: input layer, intermediate layer, reconstruction layer and prediction layer;

[0052] The input layer of the graph neural network is used to receive the instantiated node vectors and global vectors in the dataset;

[0053] The input layer of the graph neural network is used to receive edge vectors initialized by random numbers in the dataset;

[0054] That is, the node vector N after instantiation in the discrete contact deformation sample i , global vector G i , the edge vector E after random initialization i =[rand_x,rand_y,rand_g].

[0055] Each intermediate layer of the graph neural network consists of three parts of the neural network, and includes aggregation and update mechanisms, which are used to input node vectors N i, edge vector E i , global vector G i Update as attached Figure 3 As shown;

[0056] The middle layer sets the vector aggregation update mechanism, with the edge vector E i To solve the vector, the contact deformation error is expressed by the edge vector, and the node vector N i , edge vector E i , global vector G i Update to N i+1 、E i+1 , G i+1 ; The aggregation mechanism is the node vector N i With edge vector E i Mutual aggregation, edge vector E i Self-aggregation, the global vector and the edge vector aggregate with each other;

[0057] The aggregation method can be to sum the corresponding positions of the vectors, such as N i +E i =[x+rand_x,y+rand_y,E+rand_g,μ,z], or vector merging, such as N i UE i =[x,y,E,μ,z,rand_x,rand_y,rand_g], as shown in the attached Figure 4 As shown;

[0058] The update mechanism is to use a neural network to update N i , edge vector E i , global vector G i Update to N i+1 、E i+1 , G i+1 , to reflect the interaction and update of material properties, geometric error information, and load information in the graph structure.

[0059] The reconstruction layer expresses the edge vector E' after aggregation update;

[0060] The reconstruction layer is the output of the middle layer of the graph neural network, which contains the aggregated and updated discrete contact graph in the data set; the edge vector E' after aggregation and reconstruction associates the position index (x, y) of the discrete points on the contact surface in the node vector N', the elastic modulus E, the Poisson's ratio μ, the normal error z of the discrete points, and the distance (d x ,d y ), the gap g between the relative discrete points of different contact surface normals.

[0061] The prediction layer consists of a neural network that takes the edge vector E in the dataset sample as input.i =[d x ,d y ,g] is the label, and the edge vector prediction neural network is trained, as shown in the attached Figure 5 shown.

[0062] The prediction layer is used to predict the edge vector E', that is, the contact deformation error.

[0063] The prediction layer takes the edge vector after the assembly contact graph is aggregated and reconstructed in the reconstruction layer as input, constructs an edge vector prediction neural network, and predicts the edge vector E p The value of

[0064] Among them, the neural network can adapt to the change of the dimension of the edge vector after reconstruction compared to the initial state, and ensure that the deformation of the predicted output is consistent with the dimension of the initial edge vector;

[0065] The predicted value E p That is the result of the contact deformation of the twin surfaces;

[0066] The constructed edge vector prediction neural network can adapt to the change of the dimension of the reconstructed edge vector E' compared to the initial state, and the deformation of the predicted output is consistent with the initial edge vector E i The dimensions are consistent.

[0067] The constructed graph neural network model is a model for building contact deformation errors of rectangular twin surfaces;

[0068] The constructed twin surface contact deformation error construction model based on graph neural network only needs to input the elastic modulus E, Poisson's ratio μ, the initial value of the discrete point normal error z, the initial macroscopic contact area length and width dimensions (l, w), and the contact normal load F in the digital twin-driven assembly process to quickly solve the contact deformation error.

Claims

1. A twin surface contact deformation error modeling method based on graph neural network, characterized in that: The following steps are involved: Step 1: Discretize the two assembly contact surfaces with edge density ρ, and structure the graph through nodes, edges and global attributes on the basis of discretization to form a discrete contact graph. Step 2: Use the finite element method to solve the contact deformation error of the discrete contact diagram in step 1 and construct a discrete contact deformation data set. Step 3: Build a graph neural network structure including input layer, intermediate layer, reconstruction layer, and prediction layer. Step 4: The input layer of the graph neural network structure is used to receive discrete contact deformation samples in the dataset. Step 5: The middle layer consists of three neural networks. The vector aggregation update mechanism is set. The edge vector is used as the solution vector. The contact deformation error is expressed by the edge vector. The node vector, edge vector, and global vector are updated respectively. Step 6: Construct a reconstruction layer based on the edge vector after aggregation and reconstruction obtained in step 5. The reconstruction layer is the output of the middle layer of the graph neural network. Step 7: The prediction layer consists of a neural network. It takes the edge vector after the assembly contact graph is aggregated and reconstructed in the reconstruction layer of step 6 as input, builds an edge vector prediction neural network, and predicts the value of the edge vector. The predicted value is the result of the contact deformation of the twin surface. Step 8: The constructed graph neural network model is the twin surface contact deformation error construction model.

2. According to claim 1, a twin surface contact deformation error modeling method based on graph neural network is characterized in that: Step 1 The specific process is as follows: Discrete points are generated on the assembly interface according to a certain edge density ρ, and a graph-structured model is constructed based on them. First, a node vector is constructed for each discrete point, including its position index on the contact surface, material mechanical properties such as elastic modulus, hardness, yield strength, and normal errors such as surface roughness and micromorphology. Secondly, edge vectors are constructed to describe the distances between discrete points on the same contact surface along the +x and +y directions, as well as the relative gaps between the normals of discrete points on different contact surfaces. Furthermore, a global vector is constructed to describe the geometric dimensions such as the length and width of the macroscopic contact area and the contact loads such as the assembly load and the additional load generated by the part's own gravity. Finally, this information is graph-structured through node vectors, edge vectors, and global vectors to form a discrete contact graph model that comprehensively reflects the geometric, mechanical, and physical properties of the contact surface.

3. The twin surface contact deformation error modeling method based on graph neural network according to claim 1 is characterized in that: Step 2: The specific process is as follows: The finite element method is used to perform detailed contact stress and strain analysis on discrete points. First, loads are applied on the contact surface in any direction, and the weight of the parts themselves is superimposed. The stress and strain conditions of the finite element nodes are comprehensively analyzed. A large number of simulations are performed to systematically generate discrete contact deformation samples under different working conditions. Finally, a comprehensive discrete contact deformation data set is constructed.

4. The twin surface contact deformation error modeling method based on graph neural network according to claim 1 is characterized in that: Step 3: The specific process is as follows: The graph neural network consists of four structures: input layer, intermediate layer, reconstruction layer and prediction layer.

5. The twin surface contact deformation error modeling method based on graph neural network according to claim 1 is characterized in that: Step 4: The specific process is as follows: The input layer of the graph neural network is used to receive the instantiated node vectors and global vectors in the dataset, and the edge vectors initialized by random numbers, and the edge vectors are used as the final solution vectors. This is because the edge vector attributes contain geometric errors that are parallel and perpendicular to the contact direction and can characterize the contact deformation of the contact surface, and are used to characterize the contact deformation error.

6. A twin surface contact deformation error modeling method based on graph neural network according to claim 1, characterized in that: Step 5: The specific process is as follows: Each middle layer of the graph neural network is composed of three parts of neural networks, and includes aggregation and update mechanisms, which are used to aggregate and update the input node vectors, edge vectors, and global vectors respectively; the aggregation mechanism is that the node vectors and edge vectors are aggregated with each other, the edge vectors are aggregated themselves, and the global vectors and edge vectors are aggregated with each other. The aggregation method can be the sum of the corresponding positions of the vectors or the merging of the vectors; the update mechanism is to update the node vectors, edge vectors and global vectors through a neural network respectively to reflect the interaction and update of material properties, geometric error information, and load information in the graph structure.

7. The twin surface contact deformation error modeling method based on graph neural network according to claim 1 is characterized in that: Step 6 The specific process is as follows: The reconstruction layer is the output of the middle layer of the graph neural network, which contains the aggregated and updated discrete contact graph in the dataset. The edge vector after aggregation, updating and reconstruction associates the position coordinates of the discrete points in the node vector on the contact surface, the material contact mechanical properties, the surface shape error and other properties, as well as the macroscopic geometry and physical properties of the contact surface in the global vector. It can comprehensively describe the influence mechanism of the geometric, mechanical and physical properties of the contact surface on the contact deformation.

8. The twin surface contact deformation error modeling method based on graph neural network according to claim 1 is characterized in that: Step 7 The specific process is as follows: The prediction layer consists of a neural network. The edge vectors in the data set samples input by the input layer are used as labels to train the edge vector prediction neural network. The neural network can adapt to the changes in the dimension of the reconstructed edge vector compared to the initial state and ensure that the deformation of the predicted output is consistent with the dimension of the initial edge vector.

9. The twin surface contact deformation error modeling method based on graph neural network according to claim 1 is characterized in that: Step 8 The specific process is as follows: The twin surface contact deformation error construction model based on graph neural network can quickly solve the contact deformation error by simply inputting material mechanical parameters, initial contact geometry and contact normal load in the digital twin driven assembly process.

Citation Information

Cited By

  • In-service tunnel explosion response rapid analysis method and system based on graph neural network

    CN122197167A