Building structure frequency modulation mass damper parameter control method based on reinforcement learning

Through the frequency modulated mass damper parameter control method based on reinforcement learning, using deep Q network and discounted time-varying function, combined with the improved greedy algorithm and learning rate attenuation function, the traditional frequency modulated mass damper control method solves the problem of real-time changes in building structure vibration parameters The problem of insufficient timing accuracy is eliminated, and the vibration response of the building structure is effectively reduced and safety improved.

CN118607382APending Publication Date: 2024-09-06HEFEI GONGDA ENG TESTING CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410809631.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The traditional frequency modulated mass damper control method cannot effectively reduce the vibration response when the vibration parameters of the building structure change in real time, resulting in insufficient control accuracy and affecting the stability of the building.

Method used

A method based on reinforcement learning is used to calculate the parameters of the FM mass damper through deep Q network and discounted time-varying function. Combined with the improved greedy algorithm and learning rate attenuation function, the parameters of the FM mass damper are adjusted in real time to reduce the vibration response of the building structure. .

Benefits of technology

It realizes the accurate calculation of the adjustment action of the frequency modulated mass damper when the vibration parameters of the building structure change in real time, effectively reduces the vibration response of the building structure, improves the safety and earthquake resistance of the building structure, and makes the control system more flexible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607382A
    Figure CN118607382A
Patent Text Reader

Abstract

The invention relates to the technical field of vibration response regulation and control of building structures, in particular to a parameter control method of a frequency modulation mass damper for a building structure based on reinforcement learning, which uses a discount time-varying function, so that in the early stage of training, more attention is paid to future rewards, that is, the future rewards are more likely to be considered for a long time, and a main exploration direction is determined; in the later stage of training, function convergence is emphasized. A learning rate attenuation function is adopted, a large learning rate can be used in the initial stage of training to achieve rapid convergence, then the learning rate is gradually reduced to refine network parameters, and a more accurate convergence result is achieved. Therefore, under the cooperative use of the discount time-varying function and the learning rate attenuation function, the action, needing to be adjusted, of the frequency modulation mass damper can be accurately calculated through the optimal prediction model, then the vibration response of the building structure is effectively reduced, and the safety of the building structure is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of building structure vibration response regulation, and in particular to a method for controlling parameters of a frequency modulated mass damper for a building structure based on reinforcement learning. Background Art

[0002] A tuned mass damper is a passive control device used to reduce vibration and control the vibration of building structures. It usually consists of a mass block, a spring and a damper, and is installed on the building structure to reduce the vibration response of the building structure.

[0003] In the process of reducing the vibration response of building structures, it is usually achieved by controlling the parameter values ​​of the various components in the tuned mass damper so that the tuned mass damper interacts with the building structure to absorb and disperse the vibration energy, thereby reducing the vibration response of the building structure and improving the stability of the building structure.

[0004] The traditional frequency-tuned mass damper control method usually discretizes the parameters of the building structure and assigns a certain value, and then calculates the corresponding control scheme to reduce the vibration response of the building structure. However, in practical applications, the parameters of the building structure change continuously in real time. For example, the velocity, acceleration, displacement and other parameters of the building structure vibration change in real time over time. These real-time changing parameters lead to the performance degradation of the traditional frequency-tuned mass damper control method, resulting in the calculated frequency-tuned mass damper parameter control scheme being not accurate enough, and thus unable to effectively reduce the vibration response of the building structure. It can be seen that further research is needed on the method of effectively reducing the vibration response of the building structure by controlling the frequency-tuned mass damper parameters. Summary of the invention

[0005] In order to avoid and overcome the technical problems existing in the prior art, the present invention provides a method for controlling parameters of a frequency-tuned mass damper for a building structure based on reinforcement learning. The present invention can accurately calculate the action that the frequency-tuned mass damper needs to adjust, thereby effectively reducing the vibration response of the building structure and improving the safety of the building structure.

[0006] A parameter control method of a frequency-tuned mass damper for a building structure based on reinforcement learning, the control method comprising the following control steps:

[0007] S1. The learning rate in the deep Q network is calculated using a learning rate decay function that is inversely proportional to the number of iterations, and the discount factor in the deep Q network is calculated using a discount time-varying function that is inversely proportional to the number of iterations;

[0008] S2. Obtaining the environmental state of the building structure that changes continuously over time and the corresponding action; the environmental state is the vibration response of the building structure, including the vibration acceleration, vibration displacement and maximum vibration acceleration of the building structure, and the weighted mass change of the mass block of the frequency modulation mass damper, the spring stiffness change and the damping change of the damper constitute the corresponding action;

[0009] S3. Use the environmental state and the corresponding action to train the deep Q network to obtain the optimal prediction network; use the optimal prediction network to predict the optimal action of the building structure to minimize the vibration response under the new environmental state, and then adjust the parameters of the frequency-modulated mass damper according to the optimal action.

[0010] As a further solution of the present invention: the learning rate decay function is specifically expressed as follows:

[0011]

[0012] In the formula, ρ(k t ) represents the learning rate of the kth iteration during the iteration of the environment state of the deep Q network at time t; k t Represents the number of iterations of the environment state at time t.

[0013] As a further solution of the present invention: the discounted time-varying function is specifically expressed as follows:

[0014]

[0015] In the formula, γ(k t ) represents the discount factor at the kth iteration during the iteration of the environment state of the deep Q network at time t; K t Represents the total number of iterations of the environment state at time t.

[0016] As a further solution of the present invention: during the training of the deep Q network, the iteration step length is determined according to the wind speed in the current environmental state of the building structure, and the calculation formula of the iteration step length is as follows:

[0017]

[0018] Where η t represents the iteration step length in the iteration process of the environment state at time t; v t represents the measured wind speed at the building structure in the environmental state at time t; v t,0 It represents the standard value of wind speed at the building structure in the environmental state at time t.

[0019] As a further solution of the present invention: the actions formed after weighted processing are specifically expressed as follows:

[0020] a t,i=αm t,i +βh t,i +μc t,i ;

[0021] In the formula, a t,i represents the action i of the frequency-tuned mass damper at time t; m t,i represents the mass change i of the mass block in the frequency-tuned mass damper at time t, α represents the mass parameter; h t,i represents the change in stiffness of the spring in the frequency-tuned mass damper at time t, β represents the stiffness parameter; c t,i represents the damping change i of the damper in the tuned mass damper at time t, and μ represents the damping parameter.

[0022] As a further solution of the present invention: the reward obtained after performing the action is calculated by a reward function, and the reward function is specifically expressed as follows:

[0023] r t,i =δ(U0-U t )+(1-δ)T;

[0024] In the formula, r t,i represents the reward obtained after executing action i of the frequency-tuned mass damper at time t; U0 represents the maximum value of the vibration acceleration in the initial environmental state of the building structure; U t It represents the maximum value of vibration acceleration in the environmental state of the building structure at time t; δ represents the vibration weight parameter; T represents the iteration time.

[0025] As a further solution of the present invention: in the process of training the deep Q network, an improved greedy algorithm is used to select the corresponding action; the improved greedy algorithm is specifically expressed as follows:

[0026]

[0027] In the formula, P(s t ) represents the strategy of selecting actions in the environment state at time t, that is, represents the selected action; argmaxQ(s t ,a t ) represents the action that maximizes the Q value among all actions in the environment state at time t; random(A t ) represents an action randomly selected from all actions in the environment state at time t; It represents the exploration rate at the kth iteration during the iteration of the environment state at time t.

[0028] As a further solution of the present invention: the environmental state of the building structure and the corresponding action are input into the strategy network and the target network in chronological order, and the following iterative processing is performed respectively;

[0029] S31, input the current environment state and the corresponding action into the strategy network, set the iteration step size according to the wind speed, calculate the corresponding discount factor, learning rate, and predicted action value corresponding to each action in the current environment, and select the corresponding action in combination with the predetermined strategy;

[0030] S32, executing the selected action, obtaining the reward corresponding to the action, and simultaneously obtaining the next environment state after executing the action;

[0031] S33, construct interaction samples, and store each interaction sample in the playback pool; the interaction sample is represented as: (current environment state, action corresponding to the current environment state, reward, next environment state);

[0032] S34. When the number of interaction samples in the replay pool reaches the set value, N interaction samples are randomly selected from the replay pool; and the selected interaction samples are input into the target network one by one, and the target action value corresponding to each interaction sample is calculated;

[0033] S325, updating the network parameters of the policy network by minimizing the difference between the target action value and the corresponding predicted action value; assigning the current network parameters of the policy network to the target network every set number of iterations, thereby updating the target network;

[0034] S36. After the iteration stop condition is reached, the training of the policy network and the target network under the current environment state is completed.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] 1. The present invention uses a discounted time-varying function, which can make it possible to pay more attention to future rewards in the early stage of training, that is, to be more inclined to consider future rewards in the long term, thereby determining the main exploration direction; in the later stage of training, the function convergence is emphasized. The use of a learning rate decay function can enable a larger learning rate to be used in the early stage of training for rapid convergence, and then gradually reduce the learning rate to refine the parameters of the network to achieve a more accurate convergence result. Therefore, with the coordinated use of the discounted time-varying function and the learning rate decay function, the optimal prediction model can accurately calculate the action that the frequency-modulated mass damper needs to adjust, thereby effectively reducing the vibration response of the building structure and improving the safety of the building structure.

[0037] 2. When the external environment is bad and the wind speed is high, the vibration response of high-rise building structures is more serious. At this time, it is necessary to find an action as soon as possible to reduce the vibration response of high-rise buildings to a safe range in a short time. Therefore, the iteration step size is increased to speed up convergence, and then the appropriate action is quickly solved to reduce the vibration response of high-rise buildings. On the contrary, when the wind speed is low, the iteration step size will be relatively small, and the convergence speed will slow down at this time, and it will be more accurate to find the appropriate action to reduce the vibration response of high-rise buildings.

[0038] 3. The present invention uses a deep Q network to design and optimize the control method, combines deep learning and reinforcement learning techniques, and can learn the mapping relationship between high-dimensional state space and action space, thereby improving the performance of the control method.

[0039] 4. The control method of the present invention can be adaptively adjusted according to the real-time vibration response of the building structure and environmental conditions, so that the change of the frequency-tuned mass damper parameters can effectively reduce the vibration response of the building structure and improve the seismic resistance of the building structure. Taking into account multiple parameters of the frequency-tuned mass damper, the optimization strategy of the deep Q network is adjusted according to historical data through experience playback, which reduces the influence of factors such as material inhomogeneity, construction errors and environmental changes on the control of the frequency-tuned mass damper, and improves the accuracy and reliability of the control.

[0040] 5. The present invention can increase or decrease the convergence speed according to the external wind speed environment of the high-rise building, making the control system more flexible.

[0041] 6. The present invention adjusts the vibration reduction effect of the frequency-modulated mass damper by adjusting multiple parameters of the frequency-modulated mass damper, which is more flexible and changeable. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is the main control flow chart of the present invention. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] See also Figure 1 In an embodiment of the present invention, a parameter control method of a frequency-tuned mass damper for a building structure based on reinforcement learning includes the following contents.

[0045] 1. Get data.

[0046] A reinforcement learning environment is established, and the vibration response of the building structure is used as the environmental state. The vibration response includes the vibration acceleration, vibration displacement and maximum vibration acceleration of the building structure.

[0047] The weighted changes in mass of the mass block of the frequency modulated mass damper, the changes in spring stiffness and the changes in damping of the damper are used as corresponding actions.

[0048] Based on the known building parameters such as mass, stiffness, and natural frequency, the theoretical initial value of the tuned mass damper action is obtained through calculation and analysis, which is called the TMD nominal parameter.

[0049] Define a reward function to evaluate the control effectiveness of the tuned mass damper.

[0050] 2. Initialize the deep Q network.

[0051] Determine the structure of the deep Q network, including the number of input layers and nodes, the number of hidden layers and nodes, and the number of output layers and nodes. The input layer receives the state of the environment as input; the hidden layer is responsible for nonlinear transformation and feature extraction of the input, and the number of hidden layers and the number of neurons in each hidden layer can be adjusted according to specific problems and performance requirements; the output layer is used to output the value of the action.

[0052] 3. Perform reinforcement learning.

[0053] Use the deep Q network to perform iterative training. The iterative process is as follows:

[0054] S31, input the current environment state and the corresponding action into the strategy network, set the iteration step length according to the wind speed, calculate the predicted action value corresponding to each action in the current environment, and select the corresponding action in combination with the predetermined strategy. The calculation formula of the iteration step length is as follows:

[0055]

[0056] When the external environment is bad and the wind speed is high, the vibration response of high-rise building structures is more serious. At this time, it is necessary to find an action as soon as possible to reduce the vibration response of high-rise buildings to a safe range in a short time. Therefore, the iteration step size is increased to speed up convergence, and then the appropriate action is quickly solved to reduce the vibration response of high-rise buildings. On the contrary, when the wind speed is low, the iteration step size will also be relatively small, and the convergence speed will slow down at this time, and the appropriate action will be found more accurately to reduce the vibration response of high-rise buildings.

[0057] Use the improved greedy algorithm to select the corresponding action; the improved greedy algorithm is specifically expressed as follows:

[0058]

[0059] In the early stage of iterative training, exploration is the main method, and the value of the exploration rate is relatively large. In the later stage of iterative training, experience value accumulation is used to gradually reduce the exploration rate, thereby accelerating the convergence process. In the first iteration, the exploration rate is approximately equal to 0.99, indicating that only exploration is performed at the beginning of training without using experience value accumulation, and the exploration rate is relatively large. When iterating in sequence for the last time, the exploration rate is approximately equal to 0.01, indicating that only experience value accumulation is used without exploration in the later stage of training, and the intelligent agent selects actions with a high probability to execute based on the previous learning effect. Compared with the traditional greedy algorithm, the improved greedy algorithm in the present invention adopts a time-varying exploration probability, which allows efficient exploration in the early stage and efficient use of experience in the later stage of the algorithm.

[0060] S32: Execute the selected action, obtain the reward corresponding to the action, and simultaneously obtain the next environment state after executing the action.

[0061] S33. Construct interaction samples and store each interaction sample in the replay pool; the interaction sample is represented as: (current environment state, action corresponding to the current environment state, reward, next environment state).

[0062] S34. When the number of interaction samples in the replay pool reaches the set value, N interaction samples are randomly selected from the replay pool; and the selected interaction samples are input into the target network one by one to calculate the target action value corresponding to each interaction sample.

[0063] S325. Calculate the corresponding discount factor and learning rate, and update the network parameters of the policy network by minimizing the difference between the target action value and the corresponding predicted action value; assign the current network parameters of the policy network to the target network every set number of iterations to update the target network.

[0064] S36. After the iteration stop condition is reached, the training of the policy network and the target network under the current environment state is completed.

[0065] The learning rate decay function is used to calculate the corresponding learning rate. The learning rate decay function is specifically expressed as follows:

[0066]

[0067] It can be seen that the learning rate is inversely proportional to the number of iterations. Therefore, using a larger learning rate in the early stage of training to converge quickly, and then gradually reducing the learning rate to refine the parameters of the model can achieve a more accurate convergence effect.

[0068] The corresponding discount factor is calculated using the discount time-varying function, which is specifically expressed as follows:

[0069]

[0070] The discount factor determines the importance that the agent places on future rewards. When the discount factor is close to 1, the agent places more emphasis on future rewards, that is, it is more inclined to consider future rewards in the long term. When the discount factor is close to 0, the agent places more emphasis on immediate rewards, that is, it is more inclined to short-term rewards. Using a discounted time-varying function can make it possible to pay more attention to future rewards in the early stages of training and determine the main exploration direction; in the later stages of training, it can focus on function convergence.

[0071] 4. Predict actions.

[0072] When all environmental states of the building structure have been iteratively processed, the optimal prediction network consisting of the trained strategy network and target network is obtained. Then the new environmental state of the building structure is input into the optimal prediction network to predict the corresponding optimal action under the environmental state, and the parameters of the frequency-modulated mass damper are adjusted accordingly according to the optimal action.

[0073] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for controlling parameters of a frequency-tuned mass damper for a building structure based on reinforcement learning, characterized in that: The control method comprises the following control steps: S1. The learning rate in the deep Q network is calculated using a learning rate decay function that is inversely proportional to the number of iterations, and the discount factor in the deep Q network is calculated using a discount time-varying function that is inversely proportional to the number of iterations; S2. Obtaining the environmental state of the building structure that changes continuously over time and the corresponding action; the environmental state includes the vibration acceleration, vibration displacement and maximum vibration acceleration of the building structure, and the weighted mass change of the mass block of the frequency modulation mass damper, the spring stiffness change and the damper damping change constitute the corresponding action; S3. Use the environmental state and the corresponding action to train the deep Q network to obtain the optimal prediction network; use the optimal prediction network to predict the optimal action of the building structure to minimize the vibration response under the new environmental state, and then adjust the parameters of the frequency-modulated mass damper according to the optimal action.

2. The method for controlling parameters of a tuned mass damper for a building structure based on reinforcement learning according to claim 1, characterized in that: The learning rate decay function is specifically expressed as follows: In the formula, ρ(k t ) represents the learning rate of the kth iteration during the iteration of the environment state of the deep Q network at time t; k t Represents the number of iterations of the environment state at time t.

3. The method for controlling parameters of a tuned mass damper for a building structure based on reinforcement learning according to claim 2, characterized in that: The discount time-varying function is specifically expressed as follows: In the formula, γ(k t ) represents the discount factor at the kth iteration during the iteration of the environment state of the deep Q network at time t; K t Represents the total number of iterations of the environment state at time t.

4. The method for controlling parameters of a tuned mass damper for a building structure based on reinforcement learning according to claim 1, 2 or 3, characterized in that: During the training of the deep Q network, the iteration step length is determined according to the wind speed in the current environmental state of the building structure. The calculation formula of the iteration step length is as follows: Where η t represents the iteration step length in the iteration process of the environment state at time t; v t represents the measured wind speed at the building structure in the environmental state at time t; v t,0 It represents the standard value of wind speed at the building structure in the environmental state at time t.

5. The method for controlling parameters of a tuned mass damper for a building structure based on reinforcement learning according to claim 4, characterized in that: The actions formed after weighted processing are specifically expressed as follows: a t,i =αm t,i +βh t,i +μc t,i ; In the formula, a t,i represents the action i of the frequency-tuned mass damper at time t; m t,i represents the mass change i of the mass block in the frequency-tuned mass damper at time t, α represents the mass parameter; h t,i represents the change in stiffness of the spring in the frequency-tuned mass damper at time t, β represents the stiffness parameter; c t,i represents the damping change i of the damper in the tuned mass damper at time t, and μ represents the damping parameter.

6. The method for controlling parameters of a tuned mass damper for a building structure based on reinforcement learning according to claim 5, characterized in that: The reward obtained after executing the action is calculated by the reward function, which is specifically expressed as follows: r t,i =δ(U0-U t )+(1-δ)T; In the formula, r t,i represents the reward obtained after executing action i of the frequency-tuned mass damper at time t; U0 represents the maximum value of the vibration acceleration in the initial environmental state of the building structure; U t It represents the maximum value of vibration acceleration in the environmental state of the building structure at time t; δ represents the vibration weight parameter; T represents the iteration time.

7. The method for controlling parameters of a tuned mass damper for a building structure based on reinforcement learning according to claim 6, characterized in that: In the process of training the deep Q network, an improved greedy algorithm is used to select the corresponding action; the improved greedy algorithm is specifically expressed as follows: In the formula, P(s t ) represents the strategy of selecting actions in the environment state at time t, that is, represents the selected action; argmaxQ(s t ,a t ) represents the action that maximizes the Q value among all actions in the environment state at time t; random(A t ) represents an action randomly selected from all actions in the environment state at time t; It represents the exploration rate at the kth iteration during the iteration of the environment state at time t.

8. The method for controlling parameters of a tuned mass damper for a building structure based on reinforcement learning according to claim 7, characterized in that: The environmental state of the building structure and the corresponding actions are input into the strategy network and the target network in chronological order, and the following iterative processes are performed respectively; S31, input the current environment state and the corresponding action into the strategy network, set the iteration step size according to the wind speed, calculate the corresponding discount factor, learning rate, and predicted action value corresponding to each action in the current environment, and select the corresponding action in combination with the predetermined strategy; S32, executing the selected action, obtaining the reward corresponding to the action, and simultaneously obtaining the next environment state after executing the action; S33, construct interaction samples, and store each interaction sample in the playback pool; the interaction sample is represented as: (current environment state, action corresponding to the current environment state, reward, next environment state); S34. When the number of interaction samples in the replay pool reaches the set value, N interaction samples are randomly selected from the replay pool; and the selected interaction samples are input into the target network one by one, and the target action value corresponding to each interaction sample is calculated; S325, updating the network parameters of the policy network by minimizing the difference between the target action value and the corresponding predicted action value; assigning the current network parameters of the policy network to the target network every set number of iterations, thereby updating the target network; S36. After the iteration stop condition is reached, the training of the policy network and the target network under the current environment state is completed.