Part statics state identification method, system, medium and equipment
By building a component geometric model and training a multi-layer perceptron network based on a method based on a multi-layer perceptron network, the problem of insufficient recognition accuracy of traditional static analysis methods under complex structures and working conditions is solved, high-precision component status recognition and fault prevention are achieved, and the development of digital twin technology is supported.
Patent Information
- Application Number
- CN202411964245.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-09-16
AI Technical Summary
When dealing with complex structures and key mechanical components under complex working conditions, traditional static analysis methods have problems such as a large gap between calculated loads and actual loads, sparse sensor measurement points, and excessive noise, resulting in insufficient recognition accuracy.
A method based on a multi-layer perceptron network is adopted. By constructing a component geometric model, collecting strain data and training a multi-layer perceptron network, combined with loss function optimization, the displacement, strain and external load of the component are identified. The nonlinear mapping ability and adaptive learning ability of the multi-layer perceptron network are utilized to improve the recognition accuracy.
It significantly improves the accuracy of component static state identification, reduces the impact of sensor noise, realizes accurate state detection and early fault prevention of complex equipment components, and supports the development of digital twin technology.
Smart Images

Figure CN120654336A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mechanical structure component state recognition, and in particular to a component static state recognition method, system, medium and equipment based on a multi-layer perception network. Background Art
[0002] In the field of mechanical engineering, identifying the state of key mechanical component structures under static models is a crucial step in design, analysis, and optimization. With the advancement of science and technology and the rapid development of the manufacturing industry, the complexity and precision requirements of mechanical structural components are increasing, and the operating environment is becoming increasingly harsh. Traditional static analysis methods face numerous challenges. Traditional methods use physical models and complex numerical calculation methods to perform calculations, relying on sensor measurements to obtain a large amount of real data on components. These methods often have limitations when dealing with complex structures and component structural requirements under complex working conditions. For example, there is a large gap between the calculated load and the actual load, the problem of sparse measurement points due to a small number of sensor measurement points, and excessive noise in the sensor acquisition signal.
[0003] The above information disclosed in this Background section is only for enhancement of understanding of the background of the invention and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art. Summary of the Invention
[0004] The present invention provides a component static state identification method, system, medium, and device based on a multi-layer perception network. These methods are used to calculate the displacement and strain at any point on a component, as well as the magnitude of its external load, while significantly improving identification accuracy. This method can be applied to cantilever beams, thick plates, blocks, and other structures by constructing component geometric models and identifying the component's static state. Specifically, it can be applied to vibration analysis, testing, and vibration reduction design for gas turbine support bases and feedwater pump bases.
[0005] A component static state recognition method based on a multi-layer perception network is used to construct component geometric models and identify the static state of cantilever beams, thick plates, and blocks;
[0006] The method comprises,
[0007] Step 1: constructing a component geometric model and dividing the component geometric model into first grid units, numbering first nodes and recording first node coordinates, and dividing the component geometric model into second grid units, numbering second nodes and recording second node coordinates, wherein the first grid size is larger than the second grid size;
[0008] Step 2: Collect first strain data at the first node coordinate and second strain data at the second node coordinate of the component in a stationary state under the action of an external force, wherein a strain gauge is installed at the first node coordinate, and a strain gauge is installed at the second node coordinate. The first node coordinate and its first strain data constitute a training set, and the second node coordinate and its second strain data constitute a test set;
[0009] Step 3: Build three multilayer perceptron networks, with the input being the x-axis coordinates of the nodes , y-axis coordinate , z-axis coordinate and time nodes , the outputs are x-axis displacement , y-axis displacement , z-axis displacement , combining the three multilayer perceptron network outputs into a node displacement vector ;
[0010] Step 4: Using the training set data to train a multilayer perceptron network, the first node coordinate is used as input, and the first strain data is used as input data of a loss function, wherein the loss function is composed of four parts: observation loss, constitutive loss, boundary loss, and virtual work loss; wherein the loss function is calculated using a linear differential method;
[0011] Step 5: The trained multilayer perceptron network is tested using a test set. The second node coordinates are used as input for the multilayer perceptron network to calculate and output target second strain data. The target second strain data is compared with the second strain data. If the difference is less than a threshold, step 6 is executed, and the process returns to step 1 to adjust the first grid size and the second grid size, and returns to step 3 to adjust the network parameters of the multilayer perceptron network, and / or returns to step 4 to adjust the training parameters of the multilayer perceptron network.
[0012] Step 6: Solve the equivalent load of the second node coordinate of the force-applying surface of the component according to the node load expression. The equivalent load of the second node coordinate is the stress magnitude of the second node on the outer surface of the component in a direction perpendicular to the outer surface.
[0013] Step 7: Calculate the component deformation state cloud map, calculate the second node displacement size, second node strain size, second node stress size, second node deformed coordinates, strain energy size, boundary support reaction size of the component according to the displacement at the second node coordinate and draw a cloud map.
[0014] In the component static state recognition method based on the multi-layer perceptron network, the multi-layer perceptron network model is divided into four parts: input layer, sub-network, connection layer, and output layer. The input layer is connected to three independent and identical sub-networks respectively. The output data of the three sub-networks are combined into a three-channel vector through the connection layer and output through the output layer. The input data of the input layer is a 4-row n-column matrix, where n is equal to the total number of nodes, and each column is sequentially represented as the x-axis coordinate of the node. , y-axis coordinate , z-axis coordinate and time coordinates , where i is the grid node number, j is the sampling time point number, and each sub-network consists of a normalization layer, multiple fully connected layers, and an activation layer connected in sequence. The number of neurons in the last fully connected layer is 1, and the output layer outputs a 3-row n-column matrix, where each row represents the node displacement in the x-axis direction. , displacement in the y-axis direction , z-axis displacement .
[0015] For the loss function involved in the training process, the loss function is defined as:
[0016] ,
[0017] in, is the loss weight ratio, is the observation loss, is the constitutive loss, is the boundary loss, is the virtual work loss. The loss function calculation process is shown in the following steps:
[0018] Step 1: Calculate the Lamé constant, which is expressed as:
[0019]
[0020] Where E is the elastic modulus of the material, is the Poisson's ratio of the material, is the Lamé constant.
[0021] Step 2: Calculate the node strain, the expression is:
[0022]
[0023] in, is the positive strain in the x-axis direction, is the positive strain in the y-axis direction, is the positive strain in the z-axis direction, is the shear strain in the xy direction, is the shear strain in the yz direction, is the shear strain in the xz direction.
[0024] Step 3: Calculate nodal stresses
[0025]
[0026] in, is the normal stress in the x-axis direction, is the normal stress in the y-axis direction, is the normal stress in the z-axis direction, is the shear stress in the xy direction, is the shear stress in the yz direction, is the shear stress in the xz direction.
[0027] Step 4: Calculate the constitutive equilibrium equation
[0028]
[0029] in, is the residual of the constitutive equilibrium equation in the x-axis direction of the constitutive equation, is the residual of the constitutive equilibrium equation in the x-axis direction of the constitutive equation, is the residual of the constitutive equilibrium equation in the x-axis direction.
[0030] Step 5: Calculate the observation loss. The observation loss expression is:
[0031]
[0032] in, is the node number. Here, only the loss calculation is performed on the grid nodes selected in step 2. No. The normal strain measured in the x-axis direction of each node, No. The normal strain measured in the y-axis direction of each node, No. The normal strain measured in the z-axis direction of each node is It is expressed as the calculation of partial derivatives of the output data of the multi-layer perception network, and the difference form is used to simplify the calculation during the calculation process.
[0033] Step 6: Calculate the constitutive loss. The constitutive loss expression is:
[0034]
[0035] in, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction.
[0036] Step 7: Calculate the boundary loss. The boundary loss expression is:
[0037]
[0038] in, Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the yoz plane , Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the xoz plane , Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the xoy plane .
[0039] Step 8: Calculate the virtual work loss. The expression for virtual work loss is:
[0040]
[0041] in, is the node number, No. The normal strain calculated in the x-axis direction of each node, No. The normal strain calculated in the y-axis direction of each node, No. The normal strain calculated in the z-axis direction of each node, No. The shear strain calculated in the xy direction of each node, No. The shear strain calculated in the yz axis direction of each node, No. The shear strain calculated in the xz axis direction of each node, No. The normal stress calculated in the x-axis direction of each node, No. The normal stress calculated in the y-axis direction of each node, No. The normal stress calculated in the z-axis direction of each node, No. The shear stress calculated in the xy direction of each node, No. The shear stress calculated in the yz axis direction of each node, No. The shear stress calculated along the xz axis of each node.
[0042] A component static state recognition system based on a multi-layer perception network, which is used to construct component geometric models and identify the static state of cantilever beams, thick plates, and blocks;
[0043] The system comprises,
[0044] a component geometric model construction unit, which constructs the component geometric model and divides the component geometric model into first grid units, numbers first nodes and records first node coordinates, and divides the component geometric model into second grid units, numbers second nodes and records second node coordinates, wherein the first grid size is larger than the second grid size;
[0045] an acquisition unit, configured to acquire first strain data at a first node coordinate and second strain data at a second node coordinate of a component in a stationary state under the action of an external force, wherein a strain gauge is installed at the first node coordinate and a strain gauge is installed at the second node coordinate, the first node coordinate and its first strain data constitute a training set, and the second node coordinate and its second strain data constitute a test set;
[0046] Multilayer perceptron network unit, which is used to build three multilayer perceptron networks, with the input being the x-axis coordinates of the nodes , y-axis coordinate , z-axis coordinate and time nodes , the outputs are x-axis displacement , y-axis displacement , z-axis displacement , combining the three multilayer perceptron network outputs into a node displacement vector ;
[0047] a training unit, configured to train a multilayer perceptron network using the training set data, taking the first node coordinate as input and the first strain data as input data of a loss function, wherein the loss function is composed of four parts: observation loss, constitutive loss, boundary loss, and virtual work loss; wherein the loss function is calculated using a linear differential method;
[0048] a testing unit configured to test the trained multilayer perceptron network using a test set, using the second node coordinates as input for the multilayer perceptron network to calculate and output target second strain data, comparing the target second strain data with the second strain data, and executing step six if the difference is less than a threshold, returning to step one to adjust the first grid size and the second grid size, returning to step three to adjust network parameters of the multilayer perceptron network, and / or returning to step four to adjust training parameters of the multilayer perceptron network;
[0049] a calculation unit, configured to solve an equivalent load of a second node coordinate of the force-applying surface of the component according to a node load expression, wherein the equivalent load of the second node coordinate is a stress magnitude of the second node on the outer surface of the component in a direction perpendicular to the outer surface;
[0050] A cloud map unit is used to calculate the deformation state cloud map of the component, calculate the displacement size of the second node of the component, the strain size of the second node, the stress size of the second node, the coordinates of the second node after deformation, the strain energy size, and the boundary support reaction force size according to the displacement at the second node coordinate and draw a cloud map.
[0051] A computer storage medium includes computer instructions, which, when executed on a computer, cause the computer to execute the method described above.
[0052] An electronic device, comprising:
[0053] A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:
[0054] When the processor executes the program, the method described is implemented.
[0055] Compared with existing technologies, this invention offers the following advantages: It combines experimentally measured strain data to identify the current displacement changes and load states of component structures, while conforming to finite element constitutive relations and reducing the impact of sensor noise on the model. This provides a real-time analysis method for accurate status detection of key components, early prevention of component failures, and the creation of digital twins of component structures. It also addresses the issue of complex equipment components with limited measurement points, making it difficult to obtain comprehensive sensor measurement information. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Various other advantages and benefits of the present invention will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiments below. The accompanying drawings are intended only to illustrate preferred embodiments and are not to be construed as limiting the present invention. It should be understood that the drawings described below are merely examples of the present invention, and that those skilled in the art will be able to derive other drawings from these drawings without inventive effort. Throughout the drawings, identical reference numerals are used to denote identical components.
[0057] In the attached figure:
[0058] Figure 1 This is an architecture diagram of the execution steps of the component static state recognition method based on the multi-layer perception network;
[0059] Figure 2 This is a calculation process diagram of a component static state recognition method based on a multi-layer perception network;
[0060] Figure 3 This is a three-dimensional schematic diagram of the cantilever beam mesh model;
[0061] Figure 4 This is a schematic diagram of the measurement node locations of the cantilever beam mesh model;
[0062] Figure 5 This is the framework diagram of the multi-layer perception network structure in Matlab;
[0063] Figure 6 is the change in loss function during the training process of the case model;
[0064] Figure 7 This is the stress-strain cloud diagram of the case calculation results.
[0065] The present invention will be further explained below with reference to the accompanying drawings and embodiments. DETAILED DESCRIPTION
[0066] Specific embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although specific embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0067] It should be noted that certain words are used in the specification and claims to refer to specific components. Those skilled in the art should understand that technicians may use different nouns to refer to the same component. This specification and claims do not use the difference in nouns as a way to distinguish components, but use the difference in the functions of the components as the criterion for distinction. As mentioned throughout the specification and claims, "including" or "comprising" is an open term, so it should be interpreted as "including but not limited to". The subsequent description of the specification is a preferred embodiment of the present invention, but the description is based on the general principles of the specification and is not intended to limit the scope of the invention. The scope of protection of the present invention shall be as defined in the attached claims.
[0068] To facilitate understanding of the embodiments of the present invention, further explanation will be given below using specific embodiments as examples in conjunction with the accompanying drawings, and the accompanying drawings do not constitute a limitation on the embodiments of the present invention.
[0069] like Figures 1 to 7 As shown, among them, Figure 1 The following is a diagram showing the execution steps of a component static state recognition method based on a multi-layer perception network. The steps in the diagram are explained step by step based on this case. Figure 2This is a calculation process diagram of a component static state recognition method based on a multi-layer perception network.
[0070] For step one, Figure 3 The rod structure shown is a cuboid with a length of 200 mm, a width of 50 mm, and a height of 20 mm. The material is aluminum alloy 6061, and the material parameters are elastic modulus of 68.9 GPa, Poisson's ratio of 0.33, and density of The component geometry model was meshed using C3D8 elements. The coarse mesh used a 2×4×16 grid, resulting in 128 elements and 255 nodes. The fine mesh used a 4×8×32 grid, resulting in 1024 elements and 1485 nodes. The coarse and fine mesh model element nodes were numbered, and their element node matrices and element coordinate matrices were recorded.
[0071] For step 2, use a marker to mark the node positions of the outer surface of the coarse mesh model and the outer surface of the fine mesh model on the outer surface of the cantilever beam. Figure 4 As shown, 4 nodes on the front and back, 8 nodes on the top and bottom, and 2 nodes on the right side were equally selected from the coarse mesh outer surface nodes. The left side was fixed and could not be selected, totaling 26 coarse mesh measurement points. 2 nodes on the front and back, 4 nodes on the top and bottom, and 2 nodes on the right side were equally selected from the fine mesh outer surface nodes. The left side was fixed and could not be selected, totaling 14 fine mesh measurement points. In the cantilever beam case, a larger number of measurement points was used for ease of demonstration. In practice, a smaller number of measurement points can be used as the measurement point selection scheme. The cantilever beam was placed under working conditions, that is, a concentrated load was applied to the upper surface of the free end of the cantilever beam. After deformation, the cantilever beam gradually came to rest. The strain at each measurement point in the static state was measured. It should be noted that the bidirectional strain gauge used to measure the outer surface strain can only measure the strain in the two perpendicular directions parallel to the measured surface. The strain perpendicular to the side of the belt is defaulted to 0. The three-dimensional strain data of the node in the orthogonal directions of the spatial coordinate system are recorded.
[0072] For step three, it is necessary to build a multi-layer perceptron network model. The multi-layer perceptron network model is divided into four parts: input layer, sub-network, connection layer, and output layer. The input layer is connected to three independent and identical sub-networks respectively. The output data of the three sub-networks are combined into a three-channel vector through the connection layer and output through the output layer. The input data of the input layer is a three-channel vector, which is sequentially represented as the x-axis coordinates of the nodes. , y-axis coordinate And the z-axis coordinate , where i is the grid node number. Each sub-network consists of multiple fully connected layers and an activation layer (such as Sigmoid activation layer and Relu activation layer) connected in sequence, where the number of neurons in the last fully connected layer is 1. The three-channel vector output by the output layer represents the node x-axis displacement , y-axis displacement , z-axis displacement , where i is the grid node number.
[0073] For step 4, it is necessary to train the multilayer perceptron network constructed in step 3. First, the data set is divided and defined, and the coarse grid node coordinate data set in step 1 is used as the training set input data set of the multilayer perceptron network. , use the fine grid node coordinate dataset in step 1 as the test set input dataset of the multilayer perceptron network , the strain data in the orthogonal direction of the spatial coordinate system of the outer surface nodes of the coarse grid model selected in step 2 is used as the target data set of the multilayer perceptron network training set , where i is the node number of the node in the coarse grid model, and the strain data in the orthogonal direction of the spatial coordinate system of the outer surface node of the fine grid model selected in step 3 is used as the target data set of the multilayer perceptron network test set , where i is the node number in the fine mesh model. During training, you can select training parameters such as the test set frequency, learning rate, solver type, maximum number of iterations, and training termination criteria. During training, the loss function is calculated using linear differentiation.
[0074] For step five, the trained network is tested using the test set described in step four. The displacements at the nodes of the fine grid model are calculated using the trained multilayer perceptron model. The observation loss, constitutive loss, boundary loss, and virtual work loss are calculated using the loss function calculation method described in step four. The strain magnitude at the selected fine grid coordinate node and the accuracy of the actual measurement results are further calculated. The training effect is evaluated in the above manner. If the difference between the training loss and the test loss is too large or the test node coordinate accuracy is too low, the grid size of step one, the sub-network parameters of the network in step two, and the network training parameters in step three are re-selected. If the training set loss is too large but the loss tends to be stable, the number of fully connected layers or neurons in the sub-network is adjusted. If the training set loss is too large and still has a downward trend, the training parameters such as the solver type, the maximum number of iterations, and the learning rate are adjusted. If the test set loss is much larger than the training set loss, indicating that the network may be overfitting, the grid size can be reduced, the learning rate can be lowered, and the number of sub-network layers and neurons can be adjusted.
[0075] For step six, solve the equivalent load of the external nodes of the force-applying surface. According to the fine mesh model node displacement obtained in step five, the stress at the component node is calculated through the calculation steps in the loss function calculation method in step four. The external node equivalent load is the stress at the node on the outer surface of the component perpendicular to the outer surface.
[0076] For step seven, calculate the component deformation state cloud map. According to the displacement at the test point calculated in step five, calculate the component node displacement, node strain, node stress, node coordinates after deformation, strain energy, boundary support reaction force and draw a cloud map.
[0077] In a preferred embodiment of the component static state identification method based on the multilayer perceptron network, the multilayer perceptron network model is divided into four parts: input layer, subnetwork, connection layer, and output layer. The input layer is connected to three independent and identical subnetworks respectively. The output data of the three subnetworks are combined into a three-channel vector through the connection layer and output through the output layer. The input data of the input layer is a 4-row n-column matrix, where n is equal to the total number of nodes, and each column is sequentially represented as the x-axis coordinate of the node. , y-axis coordinate , z-axis coordinate and time coordinates , where i is the grid node number, j is the sampling time point number, and each sub-network consists of a normalization layer, multiple fully connected layers, and an activation layer connected in sequence. The number of neurons in the last fully connected layer is 1, and the output layer outputs a 3-row n-column matrix, where each row represents the node displacement in the x-axis direction. , displacement in the y-axis direction , z-axis displacement .
[0078] For the loss function involved in the training process, the loss function is defined as:
[0079] ,
[0080] in, is the loss weight ratio, is the observation loss, is the constitutive loss, is the boundary loss, is the virtual work loss. The loss function calculation process is shown in the following steps:
[0081] Step 1: Calculate the Lamé constant, which is expressed as:
[0082]
[0083] Where E is the elastic modulus of the material, is the Poisson's ratio of the material, is the Lamé constant.
[0084] Step 2: Calculate the node strain, the expression is:
[0085]
[0086] in, is the positive strain in the x-axis direction, is the positive strain in the y-axis direction, is the positive strain in the z-axis direction, is the shear strain in the xy direction, is the shear strain in the yz direction, is the shear strain in the xz direction.
[0087] Step 3: Calculate nodal stresses
[0088]
[0089] in, is the normal stress in the x-axis direction, is the normal stress in the y-axis direction, is the normal stress in the z-axis direction, is the shear stress in the xy direction, is the shear stress in the yz direction, is the shear stress in the xz direction.
[0090] Step 4: Calculate the constitutive equilibrium equation
[0091]
[0092] in, is the residual of the constitutive equilibrium equation in the x-axis direction of the constitutive equation, is the residual of the constitutive equilibrium equation in the x-axis direction of the constitutive equation, is the residual of the constitutive equilibrium equation in the x-axis direction.
[0093] Step 5: Calculate the observation loss. The observation loss expression is:
[0094]
[0095] in, is the node number. Here, only the loss calculation is performed on the grid nodes selected in step 2. No. The normal strain measured in the x-axis direction of each node, No. The normal strain measured in the y-axis direction of each node, No. The normal strain measured in the z-axis direction of each node is It is expressed as the calculation of partial derivatives of the output data of the multi-layer perception network, and the difference form is used to simplify the calculation during the calculation process.
[0096] Step 6: Calculate the constitutive loss. The constitutive loss expression is:
[0097]
[0098] in, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction.
[0099] Step 7: Calculate the boundary loss. The boundary loss expression is:
[0100]
[0101] in, Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the yoz plane , Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the xoz plane , Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the xoy plane .
[0102] Step 8: Calculate the virtual work loss. The expression for virtual work loss is:
[0103]
[0104] in, is the node number, No. The normal strain calculated in the x-axis direction of each node, No. The normal strain calculated in the y-axis direction of each node, No. The normal strain calculated in the z-axis direction of each node, No. The shear strain calculated in the xy direction of each node, No. The shear strain calculated in the yz axis direction of each node, No. The shear strain calculated in the xz axis direction of each node, No. The normal stress calculated in the x-axis direction of each node, No. The normal stress calculated in the y-axis direction of each node, No. The normal stress calculated in the z-axis direction of each node, No. The shear stress calculated in the xy direction of each node, No. The shear stress calculated in the yz axis direction of each node, No. The shear stress calculated along the xz axis of each node.
[0105] A component static state recognition system based on a multi-layer perception network includes:
[0106] a component geometric model construction unit, which constructs the component geometric model and divides the component geometric model into first grid units, numbers first nodes and records first node coordinates, and divides the component geometric model into second grid units, numbers second nodes and records second node coordinates, wherein the first grid size is larger than the second grid size;
[0107] an acquisition unit, configured to acquire first strain data at a first node coordinate and second strain data at a second node coordinate of a component in a stationary state under the action of an external force, wherein a strain gauge is installed at the first node coordinate and a strain gauge is installed at the second node coordinate, the first node coordinate and its first strain data constitute a training set, and the second node coordinate and its second strain data constitute a test set;
[0108] Multilayer perceptron network unit, which is used to build three multilayer perceptron networks, with the input being the x-axis coordinates of the nodes , y-axis coordinate , z-axis coordinate and time nodes , the outputs are x-axis displacement , y-axis displacement , z-axis displacement , combining the three multilayer perceptron network outputs into a node displacement vector ;
[0109] a training unit, configured to train a multilayer perceptron network using the training set data, taking the first node coordinate as input and the first strain data as input data of a loss function, wherein the loss function is composed of four parts: observation loss, constitutive loss, boundary loss, and virtual work loss; wherein the loss function is calculated using a linear differential method;
[0110] a testing unit configured to test the trained multilayer perceptron network using a test set, using the second node coordinates as input for the multilayer perceptron network to calculate and output target second strain data, comparing the target second strain data with the second strain data, and executing step six if the difference is less than a threshold, returning to step one to adjust the first grid size and the second grid size, returning to step three to adjust network parameters of the multilayer perceptron network, and / or returning to step four to adjust training parameters of the multilayer perceptron network;
[0111] a calculation unit, configured to solve an equivalent load of a second node coordinate of the force-applying surface of the component according to a node load expression, wherein the equivalent load of the second node coordinate is a stress magnitude of the second node on the outer surface of the component in a direction perpendicular to the outer surface;
[0112] A cloud map unit is used to calculate the deformation state cloud map of the component, calculate the displacement size of the second node of the component, the strain size of the second node, the stress size of the second node, the coordinates of the second node after deformation, the strain energy size, and the boundary support reaction force size according to the displacement at the second node coordinate and draw a cloud map.
[0113] In one embodiment, the method includes,
[0114] For step one, Figure 3 The rod structure shown is a cuboid with a length of 200 mm, a width of 50 mm, and a height of 20 mm. The material is aluminum alloy 6061, and the material parameters are elastic modulus of 68.9 GPa, Poisson's ratio of 0.33, and density of The component geometry model was meshed using C3D8 elements. The coarse mesh used a 2×4×16 grid, resulting in 128 elements and 255 nodes. The fine mesh used a 4×8×32 grid, resulting in 1024 elements and 1485 nodes. The coarse and fine mesh model element nodes were numbered, and their element node matrices and element coordinate matrices were recorded.
[0115] For step 2, use a marker to mark the node positions of the outer surface of the coarse mesh model and the outer surface of the fine mesh model on the outer surface of the cantilever beam. Figure 4As shown, 4 nodes on the front and back, 8 nodes on the top and bottom, and 2 nodes on the right side were equally selected from the coarse mesh outer surface nodes. The left side was fixed and could not be selected, totaling 26 coarse mesh measurement points. 2 nodes on the front and back, 4 nodes on the top and bottom, and 2 nodes on the right side were equally selected from the fine mesh outer surface nodes. The left side was fixed and could not be selected, totaling 14 fine mesh measurement points. In the cantilever beam case, a larger number of measurement points was used for ease of demonstration. In practice, a smaller number of measurement points can be used as the measurement point selection scheme. The cantilever beam was placed under working conditions, that is, a concentrated load was applied to the upper surface of the free end of the cantilever beam. After deformation, the cantilever beam gradually came to rest. The strain at each measurement point in the static state was measured. It should be noted that the bidirectional strain gauge used to measure the outer surface strain can only measure the strain in the two perpendicular directions parallel to the measured surface. The strain perpendicular to the side of the belt is defaulted to 0. The three-dimensional strain data of the node in the orthogonal directions of the spatial coordinate system are recorded.
[0116] For step three, Figure 5 The multilayer perceptron network model is constructed as shown in the figure. The multilayer perceptron network model is divided into four parts: input layer, subnetwork, connection layer, and output layer. The input layer is connected to three independent and identical subnetworks respectively. The output data of the three subnetworks are combined into a three-channel vector through the connection layer and output through the output layer. The input layer input data is a three-channel vector, which is sequentially represented as the x-axis coordinates of the nodes. , y-axis coordinate And the z-axis coordinate , where i is the grid node number. In this case, each sub-network consists of four fully connected layers and a Relu activation layer connected in sequence. The number of neurons in the first three fully connected layers is 20, and the number of neurons in the last fully connected layer is 1. The three-channel vectors output by the output layer represent the node displacement in the x-axis direction. , y-axis displacement , z-axis displacement , where i is the grid node number.
[0117] For step 4, the node coordinate matrices of the coarse grid model and the fine grid model obtained in step 1 and the three-dimensional strain data of the local node space coordinate system orthogonal to the coarse grid and the fine grid obtained in step 2 are combined into the training set (coarse grid model coordinate data and local node strain data) and the test set (fine grid model coordinate data and local node strain data) of the multilayer perceptron network model. Set the training parameters. The training parameters used in this case include the use of the adam solver as the training solver, the maximum number of iterations of 300 times, and the learning rate of 0.01. Figure 2 As shown, according to the loss function calculation step described in step 4 of the invention, the loss function is calculated and the learning parameters are iteratively updated. The loss change curve is shown as Figure 6 shown.
[0118] For step five, the trained network is tested using the test set described in step four. The displacements at the nodes of the fine grid model are calculated using the trained multilayer perceptron model. The observation loss, constitutive loss, boundary loss, and virtual work loss are calculated using the loss function calculation method described in step four. The strain magnitude at the selected fine grid coordinate node and the accuracy of the actual measurement results are further calculated. The training effect is evaluated in the above manner. If the difference between the training loss and the test loss is too large or the test node coordinate accuracy is too low, the grid size of step one, the sub-network parameters of the network in step two, and the network training parameters in step three are re-selected. If the training set loss is too large but the loss tends to be stable, the number of fully connected layers or neurons in the sub-network is adjusted. If the training set loss is too large and still has a downward trend, the training parameters such as the solver type, the maximum number of iterations, and the learning rate are adjusted. If the test set loss is much larger than the training set loss, indicating that the network may be overfitting, the grid size can be reduced, the learning rate can be lowered, and the number of sub-network layers and neurons can be adjusted.
[0119] For step six, solve the equivalent load of the external nodes of the force-applying surface. According to the fine mesh model node displacement obtained in step five, the stress at the component node is calculated through the calculation steps in the loss function calculation method in step four. The external node equivalent load is the stress at the node on the outer surface of the component perpendicular to the outer surface.
[0120] For step seven, calculate the component deformation state cloud map. According to the displacement at the test point calculated in step five, calculate the component node displacement, node strain, node stress, node coordinates after deformation, strain energy, boundary support reaction force and draw a cloud map.
[0121] The present invention utilizes the multi-layer perceptron (MLP) deep learning model, leveraging its powerful nonlinear mapping and adaptive learning capabilities to construct a high-precision data-driven model. The present invention can automatically train the network model from experimentally measured sparse strain data, and combined with the constitutive relations of finite element analysis (FEA), it can identify the displacement changes, stress-strain distribution, and external load state of key mechanical components under static conditions. Furthermore, the present invention provides a real-time, efficient analytical tool for accurate state detection of key components, early fault prevention, and the development of digital twin technology, laying a solid foundation for the intelligent and precise development of mechanical engineering. In practice, the present invention uses linear differentiation to calculate the loss function, achieving a goodness of fit of 0.99 for strain and 0.94 for stress.
[0122] A computer storage medium includes computer instructions, which, when executed on a computer, cause the computer to execute the method described above.
[0123] An electronic device, comprising:
[0124] A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:
[0125] When the processor executes the program, the method described is implemented.
[0126] Although the embodiments of the present invention have been described above with reference to the accompanying drawings, the present invention is not limited to the above-mentioned specific embodiments and application fields. The above-mentioned specific embodiments are merely illustrative and instructive, and are not restrictive. A person skilled in the art, guided by this specification and without departing from the scope of protection of the claims of the present invention, may also devise various forms, all of which fall within the scope of protection of the present invention.
Claims
1. A component static state recognition method based on a multi-layer perception network, characterized in that: The method is used to construct component geometric models and identify the static state of cantilever beams, thick plates and blocks; The method comprises the following steps: Step 1: constructing a component geometric model and dividing the component geometric model into first grid units, numbering first nodes and recording first node coordinates, and dividing the component geometric model into second grid units, numbering second nodes and recording second node coordinates, wherein the first grid size is larger than the second grid size; Step 2: Collect first strain data at the first node coordinate and second strain data at the second node coordinate of the component in a stationary state under the action of an external force, wherein a strain gauge is installed at the first node coordinate, and a strain gauge is installed at the second node coordinate. The first node coordinate and its first strain data constitute a training set, and the second node coordinate and its second strain data constitute a test set; Step 3: Build three multilayer perceptron networks, with the input being the x-axis coordinates of the nodes , y-axis coordinate , z-axis coordinate and time nodes , the outputs are x-axis displacement , displacement in the y-axis direction , z-axis displacement , combining the three multilayer perceptron network outputs into a node displacement vector ; Step 4: Using the training set data to train a multilayer perceptron network, the first node coordinate is used as input, and the first strain data is used as input data of a loss function, wherein the loss function is composed of four parts: observation loss, constitutive loss, boundary loss, and virtual work loss; wherein the loss function is calculated using a linear differential method; Step 5: The trained multilayer perceptron network is tested using a test set. The second node coordinates are used as input for the multilayer perceptron network to calculate and output target second strain data. The target second strain data is compared with the second strain data. If the difference is less than a threshold, step 6 is executed, and the process returns to step 1 to adjust the first grid size and the second grid size, and returns to step 3 to adjust the network parameters of the multilayer perceptron network, and / or returns to step 4 to adjust the training parameters of the multilayer perceptron network. Step 6: Solve the equivalent load of the second node coordinate of the force-applying surface of the component according to the node load expression. The equivalent load of the second node coordinate is the stress magnitude of the second node on the outer surface of the component in a direction perpendicular to the outer surface. Step 7: Calculate the component deformation state cloud map, calculate the second node displacement size, second node strain size, second node stress size, second node deformed coordinates, strain energy size, boundary support reaction size of the component according to the displacement at the second node coordinate and draw a cloud map.
2. The component static state recognition method based on a multi-layer perception network according to claim 1, characterized in that: Preferably, the multilayer perceptron network model is divided into four parts: input layer, subnetwork, connection layer, and output layer. The input layer is connected to three independent and identical subnetworks respectively. The output data of the three subnetworks are combined into a three-channel vector through the connection layer and output through the output layer. The input layer input data is a 4-row n-column matrix, where n is equal to the total number of nodes, and each column is sequentially represented as the x-axis coordinate of the node. , y-axis coordinate , z-axis coordinate and time coordinates , where i is the grid node number, j is the sampling time point number, and each sub-network consists of a normalization layer, multiple fully connected layers, and an activation layer connected in sequence. The number of neurons in the last fully connected layer is 1, and the output layer outputs a 3-row n-column matrix, where each row represents the node displacement in the x-axis direction. , displacement in the y-axis direction , z-axis displacement .
3. The component static state recognition method based on multi-layer perception network according to claim 1 is characterized in that: The loss function is expressed as: , in, is the loss weight ratio, is the observation loss, is the constitutive loss, is the boundary loss, It is the loss of virtual work.
4. The method for identifying component static state based on a multi-layer perception network according to claim 3, characterized in that: The steps for calculating the loss function are as follows: Step 1: Calculate the Lamé constant, which is expressed as: , Where E is the elastic modulus of the material, is the Poisson's ratio of the material, is the Lamé constant, Step 2: Calculate the node strain, the expression is: , in, is the positive strain in the x-axis direction, is the positive strain in the y-axis direction, is the positive strain in the z-axis direction, is the shear strain in the xy direction, is the shear strain in the yz direction, is the shear strain in the xz direction, Step 3: Calculate nodal stresses , in, is the normal stress in the x-axis direction, is the normal stress in the y-axis direction, is the normal stress in the z-axis direction, is the shear stress in the xy direction, is the shear stress in the yz direction, is the shear stress in the xz direction, Step 4: Calculate the constitutive equilibrium equation , in, is the residual of the constitutive equilibrium equation in the x-axis direction of the constitutive equation, is the residual of the constitutive equilibrium equation in the x-axis direction of the constitutive equation, is the residual of the constitutive equilibrium equation in the x-axis direction of the constitutive equation, Step 5: Calculate the observation loss. The observation loss expression is: , in, is the node number. Here, only the loss calculation is performed on the grid nodes selected in step 2. No. The normal strain measured in the x-axis direction of each node, No. The normal strain measured in the y-axis direction of each node, No. The normal strain measured in the z-axis direction of each node is It is expressed as the partial derivative calculation of the output data of the multi-layer perception network. The difference form is used to simplify the calculation process. Step 6: Calculate the constitutive loss. The constitutive loss expression is: , in, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction, For the The residual of the constitutive equilibrium equation of the node constitutive equation in the x-axis direction, Step 7: Calculate the boundary loss. The boundary loss expression is: , in, Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the yoz plane , Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the xoz plane , Represented as the network output corresponding to the nodes on the outer surface of the component parallel to the xoy plane , Step 8: Calculate the virtual work loss. The expression for virtual work loss is: , in, is the node number, No. The normal strain calculated in the x-axis direction of each node, No. The normal strain calculated in the y-axis direction of each node, No. The normal strain calculated in the z-axis direction of each node, No. The shear strain calculated in the xy direction of each node, No. The shear strain calculated in the yz axis direction of each node, No. The shear strain calculated in the xz axis direction of each node, No. The normal stress calculated in the x-axis direction of each node, No. The normal stress calculated in the y-axis direction of each node, No. The normal stress calculated in the z-axis direction of each node, No. The shear stress calculated in the xy direction of each node, No. The shear stress calculated in the yz axis direction of each node, No. The shear stress calculated along the xz axis of each node.
5. A component static state recognition system based on a multi-layer perception network, characterized in that: The system is used to construct component geometric models for cantilever beams, thick plates, and blocks, and to identify the static state of the components; The system comprises, a component geometric model construction unit, which constructs the component geometric model and divides the component geometric model into first grid units, numbers first nodes and records first node coordinates, and divides the component geometric model into second grid units, numbers second nodes and records second node coordinates, wherein the first grid size is larger than the second grid size; an acquisition unit, configured to acquire first strain data at a first node coordinate and second strain data at a second node coordinate of a component in a stationary state under the action of an external force, wherein a strain gauge is installed at the first node coordinate and a strain gauge is installed at the second node coordinate, the first node coordinate and its first strain data constitute a training set, and the second node coordinate and its second strain data constitute a test set; Multilayer perceptron network unit, which is used to build three multilayer perceptron networks, with the input being the x-axis coordinates of the nodes , y-axis coordinate , z-axis coordinate and time nodes , the outputs are x-axis displacement , displacement in the y-axis direction , z-axis displacement , combining the three multilayer perceptron network outputs into a node displacement vector ; a training unit, configured to train a multilayer perceptron network using the training set data, taking the first node coordinate as input and the first strain data as input data of a loss function, wherein the loss function is composed of four parts: observation loss, constitutive loss, boundary loss, and virtual work loss; wherein the loss function is calculated using a linear differential method; a testing unit configured to test the trained multilayer perceptron network using a test set, using the second node coordinates as input for the multilayer perceptron network to calculate and output target second strain data, comparing the target second strain data with the second strain data, and executing step six if the difference is less than a threshold, returning to step one to adjust the first grid size and the second grid size, returning to step three to adjust network parameters of the multilayer perceptron network, and / or returning to step four to adjust training parameters of the multilayer perceptron network; a calculation unit, configured to solve an equivalent load of a second node coordinate of the force-applying surface of the component according to a node load expression, wherein the equivalent load of the second node coordinate is a stress magnitude of the second node on the outer surface of the component in a direction perpendicular to the outer surface; A cloud map unit is used to calculate the deformation state cloud map of the component, calculate the displacement size of the second node of the component, the strain size of the second node, the stress size of the second node, the coordinates of the second node after deformation, the strain energy size, and the boundary support reaction force size according to the displacement at the second node coordinate and draw a cloud map.
6. A computer storage medium, characterized in that The storage medium includes computer instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 5.
7. An electronic device, characterized in that: The electronic device comprises: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.