A design method for plate and shell reinforcement

By constructing a multi-agent deep Q network and introducing action masking and attention mechanisms, the problem of low training efficiency in plate and shell stiffener design is solved, and the efficiency of stiffener growth design and layout optimization are improved.

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

Patent Information

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

AI Technical Summary

Technical Problem

In the adaptive growth design of plate and shell stiffeners, there are problems such as low training efficiency, including the expansion of the possibility dimension of state information caused by multiple growth starting points, the increased trial and error cost of effective action space changes, and long-distance growth state interaction. Loss or weakening of information.

Method used

A multi-agent deep Q network (MADQN) model is constructed. The agent controls the growth and feature learning of multiple 'seeds', and introduces action masking processing and attention mechanisms to optimize the reinforcement growth design process.

Benefits of technology

It reduces the complexity of the exploration-exploitation trade-off of the agent, reduces the cost of trial and error, improves the acquisition rate and utilization rate of long-distance growth status interactive information, improves the efficiency of stiffener growth design, and obtains more reasonable plate and shell stiffeners. layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118350154B_ABST
    Figure CN118350154B_ABST
Patent Text Reader

Abstract

The present invention discloses a plate and shell stiffener design method. First, according to the plate and shell stiffener adaptive growth theory, the stiffener growth criterion is specified, the number of seeds and the initial growth point position of the plate and shell stiffener growth are determined, and the plate and shell stiffener growth environment is built by the base structure method; then, the IQL algorithm theory is used to create a multi-agent deep Q network for learning the plate and shell stiffener growth process, and the corresponding number of agents are built according to the number of seeds, and the multi-agent deep Q network is parameterized, and the ε-greedy strategy is selected as the action selection strategy; a reward function is set; an action masking module is created to perform action masking processing on invalid actions; the first interaction is performed, and then the concept of the attention mechanism is introduced to reduce the effective growth domain of the stiffener in the growth path design layout, and the interaction is performed again after remodeling, and the plate and shell stiffener optimization layout is finally obtained after multiple interactions and path reduction. The present invention can effectively improve the efficiency of the plate and shell stiffener growth design method based on deep reinforcement learning DQN.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of mechanical structure design, and in particular to a plate shell reinforcement rib design method. Background Art

[0002] Plate and shell stiffeners are an engineering design method commonly used in the mechanical field to increase the physical properties of structures. Arranging stiffeners on plate (shell) structures according to performance and constraint requirements can achieve lightweight while improving the strength or stiffness of the structure. The research on plate and shell stiffeners has always been a hot topic in the field of structural design. Commonly used methods include structural topology optimization, intelligent algorithms, adaptive growth methods, and some methods combined with artificial intelligence.

[0003] In the adaptive growth design process of plate and shell stiffeners, the stiffener growth sequence has a Markov property. Therefore, the Markov decision process can be used to model the stiffener growth step, and then the deep Q network (DQN) can be used to learn the stiffener growth process. However, this plate and shell stiffener growth design method based on deep reinforcement learning deep Q network still has the following problems that lead to low training efficiency:

[0004] (1) Due to the particularity of the stiffener design problem, multiple growth starting points “seeds” need to be set during the stiffener adaptive growth process. This will lead to the expansion of the total possible dimension of the stiffener growth state information, increasing the difficulty of the agent’s exploration-utilization trade-off.

[0005] (2) The effective action space of reinforcement growth changes with the change of reinforcement growth state. Only the penalty factor is used to flexibly avoid invalid action assignments, which increases the trial-and-error cost of intelligent agent learning and training.

[0006] (3) The reward information of the long-distance reinforcement growth state can only be obtained after multiple steps of growth state conversion, which leads to a decrease in the interaction frequency between the interaction information of these long-distance reinforcement growth states and the neural network, further causing the loss or weakening of important information. Summary of the invention

[0007] The technical problem to be solved by the present invention is to provide a plate and shell reinforcement rib design method, construct a multi-agent deep Q network (MADQN) model, and the intelligent agent controls the growth and feature learning of the corresponding "seed". At the same time, invalid actions are masked and the concept of attention mechanism is introduced for local re-learning, so as to improve the efficiency of the plate and shell reinforcement rib growth design method based on deep reinforcement learning DQN.

[0008] In order to solve the above technical problems, the present invention provides a plate shell reinforcement rib design method, comprising the following steps:

[0009] Step 1) According to the adaptive growth theory of plate and shell reinforcement, the reinforcement growth criteria are specified, the number of seeds for the growth of the plate and shell reinforcement and the position of the initial growth point are determined, and the growth environment of the plate and shell reinforcement is built through the base structure;

[0010] Step 2) Using the IQL algorithm theory to create a multi-agent deep Q network for learning the growth process of plate and shell reinforcement, and building a corresponding number of agents according to the number of seeds;

[0011] Setting the reward function of the multi-agent deep Q network and the efficiency of reward delivery;

[0012] Set the observation state of the multi-agent deep Q network;

[0013] Set up the action space of the multi-agent deep Q-network;

[0014] Select ε-greedy strategy as the action selection strategy;

[0015] Create an action masking module to perform action masking on invalid actions;

[0016] Step 3) interacting the multi-agent deep Q network with the plate and shell stiffener growth environment to obtain the current plate and shell stiffener design layout diagram, extracting and retaining the repeated features of the design layout diagram, and obtaining the early growth path design layout of the stiffener;

[0017] Step 4) Introducing the concept of attention mechanism, reducing the effective growth domain of the reinforcement in the growth path design layout, and then remodeling the reinforcement and base structure in the design layout of the reinforcement's early growth path to obtain a new model environment;

[0018] Step 5) interact the new model environment with the multi-agent deep Q network to obtain the optimized design layout diagram of the plate and shell stiffeners, extract and retain the repeated features of the design layout diagram, and obtain the optimized growth path design layout of the stiffeners. If the growth path design layout does not meet the requirements, jump to step 4) to execute. If the growth path design layout meets the requirements, the optimized layout of the plate and shell stiffeners can be obtained.

[0019] Furthermore, in step 1), the growth criterion of the stiffener is set as single-vein growth with the minimum strain energy of the entire structure as the optimization target and the upper limit of the stiffener volume as the constraint condition, without secondary veins, branches and degeneration. According to the bearing conditions of the entire structure, seeds are arranged in the constraint and load action area, including the number of seeds and the position of the initial growth point of the seeds.

[0020] Furthermore, in step 1), in the process of building a growth environment for plate and shell reinforcements through the base structure, a Kirchhoff plate is used to simulate the deformation of the base plate, and a two-node beam unit is created to connect the relevant nodes of the shell unit to construct the reinforcement, and the reinforcement is arranged in such a way that the centroid of its cross section is located on one side of the base plate.

[0021] Further, in step 2), the observed state of the multi-agent deep Q network is the current growth starting point of each seed, the difference between the overall strain energy of the current state structure and the overall strain energy of the previous state structure, and the difference between the overall quality of the current structure and the overall quality of the previous state structure;

[0022] Furthermore, in step 2), the action space of the multi-agent deep Q network is eight growth angles centered on the starting point of reinforcement growth: 0°, 45°, 90°, 135°, 180°, 225°, 315°, and 270°.

[0023] Furthermore, in the process of action masking for invalid actions, the grid nodes with the starting points of reinforcement growth of invalid actions are classified according to the types of invalid actions and a corresponding invalid action set is created. At the same time, a corresponding valid action set is created to call and obtain valid actions at any time, and a function is written to judge the type of grid node and update its valid action space.

[0024] Furthermore, each time the ε-greedy strategy selects an action, a random number P in the range of 0-1 is randomly generated. When 0<P<ε, an action is randomly selected from the valid action set. When ε≤P<1, an action with a larger estimated Q value is selected. In order to ensure that the action selected is valid when ε≤P<1, the estimated Q value of the invalid action is assigned -Inf. At the same time, in order to ensure that the probability of back propagation of the multi-agent deep Q network is consistent with the sampling, the target Q value of the invalid action is assigned -9999.

[0025] Furthermore, during the interaction process, the seeds corresponding to each agent are sent to the action selection module of the ε-greedy strategy for action selection and Q-value estimation. The agent controls the growth of the corresponding seeds and extracts and learns the features of the acquired interaction information to obtain the training set data. The training set data is then used to update the target network corresponding to the agent, thereby realizing the parallelization and synchronization of multi-agent training.

[0026] Furthermore, the agent training and learning focuses on the interactive information of the growth status of long-distance reinforcements.

[0027] Beneficial effects of the present invention:

[0028] This application proposes to construct a multi-agent deep Q network to replace the single-agent system to control and learn the growth of each "seed" separately, thereby reducing the complexity of the agent's interactive learning and exploration-utilization trade-offs in the plate and shell stiffener growth design environment. At the same time, it is proposed to mask invalid actions under different stiffener growth states, which greatly reduces the trial and error cost of the agent training process. In addition, the concept of attention mechanism is introduced to repeatedly extract and retain features of the initially obtained stiffener growth layout, and the effective growth domain of the re-modeled stiffener growth environment is reduced. Retraining is performed in the reduced growth domain to improve the acquisition rate and utilization rate of the interactive information of the long-distance stiffener growth state. Finally, under the premise of ensuring the stability of multi-agent deep Q network training, the efficiency of stiffener growth design is improved, and a more reasonable plate and shell stiffener layout is obtained. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic flow chart of the plate and shell reinforcement rib design method of the present invention;

[0030] Figure 2 This is a schematic diagram of the effective growth domain for initial training of the present invention;

[0031] Figure 3 It is a schematic diagram of the effective growth domain of retraining of the present invention. DETAILED DESCRIPTION

[0032] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0033] For the growth design of plate and shell stiffeners based on deep reinforcement learning DQN, the multiple "seeds" in the growth process of plate and shell stiffeners will increase the difficulty of the agent's exploration-utilization trade-off; when the effective action space of stiffener growth changes, only the penalty factor is used to flexibly avoid invalid actions, which increases the trial-error cost of the agent's learning process; and the interaction information of the stiffener growth state over long distances may be lost or weakened. Figure 1 As shown in the figure, a plate and shell stiffener design method is proposed, and a multi-agent deep Q network (MADQN) model is constructed. The agent controls the growth and feature learning of the corresponding "seed". At the same time, the invalid actions are masked and the concept of attention mechanism is introduced for local re-learning to improve the efficiency of the plate and shell stiffener growth design method based on deep reinforcement learning DQN.

[0034] The reinforcement design method includes the following contents:

[0035] First, according to the adaptive growth theory of plate and shell stiffeners, the base structure method is used to construct a finite element geometric model, the stiffener growth criteria are specified, and the plate and shell stiffener growth environment is built; the Kirchhoff plate is used to simulate the deformation of the substrate, and a two-node beam unit is created to connect the relevant nodes of the shell unit to construct the stiffener. The stiffener is arranged in such a way that the centroid of its cross section is located on one side of the substrate. At the same time, the beam unit has a square cross section (this is a limitation of this embodiment, and it can also be rectangular, circular, etc.), and the cross-sectional size is fixed. Therefore, this embodiment is a square thin plate with four corners fixed, and the centroid of the square plate is subjected to concentrated loads. The initial training effective growth domain is the entire domain of the square plate, such as Figure 2 As shown;

[0036] In the growth environment of plate and shell stiffeners, the optimization goal is set to minimize the overall strain energy of the structure, and the constraint condition is the upper limit of the stiffener volume. According to the bearing conditions of the entire structure, the "seeds" and the number of seeds are arranged in the constraint and load action areas. The seeds are the initial growth points of the stiffeners, and only the main veins of the stiffeners grow during the growth process, without secondary veins, branches, or degeneration.

[0037] The IQL (Independent Q-Learning) algorithm theory is used to create a multi-agent deep Q network (MADQN) for learning the growth process of plate and shell reinforcement; a code module with agent selection function is created, 4 seeds are set according to the case conditions, and corresponding agents are assigned to each seed, thus building 4 deep Q network agents;

[0038] In the multi-agent deep Q network, it is necessary to set the observation state of the multi-agent deep Q network, which is the node number of the current reinforcement growth starting point of each seed The difference between the overall strain energy of the structure in the current state and the overall strain energy of the structure in the previous state And the difference between the overall quality of the current structure and the overall quality of the previous state structure The nth agent can observe the environment state associated with its corresponding nth seed at time t

[0039]

[0040] It is also necessary to set the action space of the multi-agent deep Q network to eight growth angles centered on the starting point of reinforcement growth: 0°, 45°, 90°, 135°, 180°, 225°, 315°, and 270°; and select the ε-greedy strategy as the action selection strategy. Each agent sends the corresponding reinforcement growth starting point to the action selection module of the ε-greedy strategy for action selection and Q value estimation.

[0041] It is also necessary to set the reward function of the multi-agent deep Q network and the efficiency of reward transfer according to the optimization goal;

[0042] At the same time, in order to reduce the trial and error cost in the agent training process, an action masking module is created to perform action masking on invalid actions in different states. Specifically, according to the type of invalid actions, the rib growth grid nodes with invalid actions are classified and corresponding sets are created. In this embodiment, the rib growth grid nodes with invalid actions are counted as special nodes, and the set of special nodes is:

[0043] Jud.label i ={Seed_label s1 , Seed_label s2 , ..., Seed_label sn}

[0044] Among them, Jud.label i Represents a set of i special nodes, including the upper, lower, left, and right boundary nodes and the four vertices of the square plate; Seed_label s1 , Seed_label s2 ,......,Seed)label sn are special nodes with corresponding features. At the same time, the corresponding valid action sets TheTa_avail of these special nodes are created to call and obtain valid actions at any time, and the function is written to judge the node type and update its valid action space; when the ε-greedy strategy selects an action each time, a random number P in the range of 0-1 is randomly generated. When 0<P<ε, an action is randomly selected from the valid action set. When ε≤P<1, an action with a larger estimated Q value is selected.

[0045] Furthermore, for the above-mentioned invalid actions, the ε-greedy strategy function module is used to assign -Inf value to the estimated Q value of the invalid action to avoid selecting invalid actions when selecting actions with larger estimated Q values, so that the actions selected by the ε-greedy strategy are reasonable; in the function module of the target network learning to update the target Q value, -9999 is used to replace the target Q value of the invalid action to ensure that the probability of back propagation is consistent with the sampling.

[0046] Subsequently, the multi-agent deep Q network agent interacts with the plate and shell reinforcement growth environment to obtain a preliminary plate and shell reinforcement design layout diagram, wherein, when the nth agent interacts with the reinforcement growth environment, it controls the growth of the corresponding nth seed and extracts and learns the features of the acquired interaction information, and then uses the training set data to update the target network corresponding to the nth agent to achieve parallelization and synchronization of multi-agent training; specifically, the features of the preliminary plate and shell reinforcement design layout diagram are extracted and retained, that is, the repeated features of the design layout diagram (reinforcements with a higher repetition rate) are extracted and retained to obtain the design layout of the early growth path of the reinforcement, such as Figure 3 As shown, the thick lines are the reinforcement growth steps that are extracted and retained.

[0047] According to the design layout of the early growth path of the reinforcement, the idea of ​​attention mechanism is introduced. By shrinking the boundary from the seed according to the development trend of the early growth path, the effective growth domain of the reinforcement in the retraining process is as follows: Figure 3 As shown, the dotted box and its inner area are the effective growth domain of the stiffener retraining, that is, the stiffener growth range is narrowed, and the stiffener and the base structure (substrate) in the design layout of the stiffener's previous growth path are remodeled to obtain a new model environment; in the above method, the attention of the intelligent agent training and learning is focused on the interactive information of the long-distance stiffener growth state, that is, the stiffener that needs to grow next in the new model environment, so as to improve the effect of the plate and shell stiffener design.

[0048] The new model environment with a reduced effective growth domain of the stiffener is submitted and retrained with the multi-agent deep Q-network. The new model environment with a reduced effective growth domain of the stiffener interacts continuously with the multi-agent deep Q-network, which continuously optimizes the network weight parameters and strategies during the interaction process, and finally obtains the optimized layout of the plate and shell stiffeners.

[0049] The above-described embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A method for designing plate and shell reinforcement ribs, characterized in that: The following steps are involved: Step 1) According to the adaptive growth theory of plate and shell reinforcement, the reinforcement growth criteria are specified, the number of seeds for the growth of plate and shell reinforcement and the location of the initial growth point are determined, and the growth environment of the plate and shell reinforcement is constructed by the base structure method; Step 2) Use the IQL algorithm theory to create a multi-agent deep Q network for learning the growth process of plate and shell reinforcement, and build a corresponding number of agents according to the number of seeds; Setting the reward function of the multi-agent deep Q network and the efficiency of reward delivery; Set the observation state of the multi-agent deep Q network; Set up the action space of the multi-agent deep Q-network; Select ε-greedy strategy as the action selection strategy; Create an action masking module to perform action masking on invalid actions; Step 3) The multi-agent deep Q network interacts with the plate and shell stiffener growth environment to obtain the current plate and shell stiffener design layout diagram, extract and retain the repeated features of the design layout diagram, and obtain the early growth path design layout of the stiffener; Step 4) Introduce the concept of attention mechanism to reduce the effective growth domain of the reinforcement in the growth path design layout, and then remodel the reinforcement and base structure in the design layout of the reinforcement's early growth path to obtain a new model environment; Step 5) The new model environment is interacted with the multi-agent deep Q network to obtain the optimized design layout diagram of the plate and shell stiffeners, and the repeated features of the design layout diagram are extracted and retained to obtain the optimized growth path design layout of the stiffeners. If the growth path design layout does not meet the requirements, jump to step 4) to execute. If the growth path design layout meets the requirements, the optimized layout of the plate and shell stiffeners can be obtained; During the interaction process, the seeds corresponding to each agent are sent to the action selection module of the ε-greedy strategy for action selection and Q-value estimation. The agent controls the growth of the corresponding seeds and extracts and learns the features of the acquired interaction information to obtain the training set data. The training set data is then used to update the target network corresponding to the agent to achieve parallelization and synchronization of multi-agent training.

2. The plate and shell reinforcement rib design method according to claim 1, characterized in that: In step 1), the stiffener growth criterion is set as single-vein growth with the minimum strain energy of the entire structure as the optimization target and the upper limit of the stiffener volume as the constraint condition, without secondary veins, branches and degeneration. According to the bearing conditions of the entire structure, seeds are arranged in the constraint and load action area, including the number of seeds.

3. The plate and shell reinforcement rib design method according to claim 1, characterized in that: In step 1), in the process of building the plate and shell stiffener growth environment through the base structure method, the Kirchhoff plate is used to simulate the deformation of the base plate, and a two-node beam unit is created to connect the relevant nodes of the shell unit to construct the stiffener. The stiffener is arranged in such a way that the centroid of its cross section is located on one side of the base plate.

4. The plate and shell reinforcement rib design method according to claim 1, characterized in that: In step 2), the observed state of the multi-agent deep Q network is the current growth starting point of each seed, the difference between the overall strain energy of the current state structure and the overall strain energy of the previous state structure, and the difference between the overall mass of the current structure and the overall mass of the previous state structure.

5. The plate and shell reinforcement rib design method according to claim 1, characterized in that: In step 2), the action space of the multi-agent deep Q network is eight growth angles centered on the starting point of reinforcement growth: 0°, 45°, 90°, 135°, 180°, 225°, 315°, and 270°.

6. The plate and shell reinforcement rib design method according to claim 1, characterized in that: In the process of action masking for invalid actions, the grid nodes with the starting points of reinforcement growth of invalid actions are classified according to the types of invalid actions and the corresponding invalid action sets are created. At the same time, the corresponding valid action sets are created to call and obtain valid actions at any time, and the function functions are written to judge the type of grid nodes and update their valid action space.

7. The plate and shell reinforcement rib design method according to claim 6, characterized in that: Each time the ε-greedy strategy selects an action, a random number P in the range of 0-1 is randomly generated. When 0<P<ε, an action is randomly selected from the valid action set. When ε≤P<1, an action with a larger estimated Q value is selected. In order to ensure that the action selected is valid when ε≤P<1, the estimated Q value of the invalid action is assigned -Inf. At the same time, in order to ensure that the probability of back propagation of the multi-agent deep Q network is consistent with the sampling, the target Q value of the invalid action is assigned -9999.

8. The plate and shell reinforcement rib design method according to claim 1, characterized in that: The agent training and learning focuses on the interactive information of the growth state of long-distance reinforcement.