Structural anti-seismic response calculation method based on dynamics guide support vector machine
Through the dynamically guided support vector machine method, the PDLS-SVM model was established, which solved the problems of stability, accuracy and data dependence in the calculation of structural seismic response, improved the calculation efficiency and prediction performance, and enhanced the interpretability and generalization of the model. ization ability.
Patent Information
- Application Number
- CN202410395173.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-02
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-04-02
AI Technical Summary
Existing structural seismic response calculation methods have deficiencies in stability, accuracy, and time step selection sensitivity, and traditional machine learning models rely on data quality and lack transparency, which affects the interpretability and generalization ability of predictions.
The support vector machine method based on dynamics guidance is used to build the PDLS-SVM model by establishing a finite element model, optimizing the model parameters, and using the LS-SVM algorithm and modal decomposition method to reduce the sensitivity of time step selection and combine it with physics Regularity improves the interpretability and generalization ability of the model.
It improves the calculation accuracy and stability, reduces the dependence on data, enhances the transparency and generalization ability of the model, and achieves more efficient seismic response prediction.
Smart Images

Figure CN118607342A
Abstract
Description
Technical Field
[0001] The invention relates to the fields of structural engineering and earthquake-resistant engineering, and in particular to a method for calculating structural earthquake-resistant response based on a dynamically guided support vector machine. Background Art
[0002] With the development of urban disaster resistance and safety, the field of structural seismic resistance is gradually expanding from the focus on single structures to the entire urban building group. Among them, the rapid and accurate prediction of the dynamic response of urban high-rise buildings under earthquakes has become a key technical challenge in the disciplines of structural engineering and seismic engineering. Structural dynamic response analysis provides a basis for determining the bearing capacity and dynamic characteristics of the structure and improving the seismic design of structural performance.
[0003] Since the early 1970s, traditional numerical calculation methods have been widely used in engineering practice. Direct integration methods have obvious drawbacks due to their theoretical assumptions, so these methods generally only have first-order or second-order accuracy, especially at high frequencies. In view of the defects of traditional numerical calculation methods, in 1994, Academician Zhong Wanxie of my country proposed the fine time-history integration method. Due to its high calculation accuracy and efficiency, this new step-by-step integration method has attracted widespread attention in the academic community. This method makes full use of the characteristics of the matrix exponential function that can be accurately calculated within the computer word length range to obtain high-precision solutions to the dynamic equations. However, for large structures in actual engineering, due to the large number of degrees of freedom and the fact that the exponential matrix is generally full, the storage volume and calculation workload increase significantly, limiting the application of the fine integration method. In order to solve the problem of the exponential matrix being too large, Academician Zhong Wanxie further proposed the subdomain fine integration method, which can not only take advantage of the unconditional stability and high accuracy of the fine integration, but also have the advantage of small bandwidth. With the improvement of people's material living standards, people have more and higher requirements for the form and height of building structures. Nowadays, large and complex structural systems can be seen everywhere. The precise integration method is not enough to completely solve the seismic response analysis problem of complex structures. The current analysis method for such structures generally uses the finite element method for theoretical analysis.
[0004] There is a huge demand for earthquake-resistant structural design in many parts of the world, especially in seismic zones. These structures must be able to protect people and reduce economic losses when an earthquake occurs. Building structural design must meet multiple requirements, including durability, functionality, economy, and safety. Traditional numerical integration methods are often inefficient when dealing with high-dimensional, multi-constrained seismic design problems. In recent years, advanced technologies represented by machine learning algorithms such as neural networks, deep learning, and support vector machines have been successfully applied to the prediction of building seismic response, making up for the shortcomings of classical methods. These methods use data-driven learning processes and do not rely on traditional approximate theories. They can improve computational efficiency while maintaining high prediction accuracy. For example, in the March 2021 article "Seismic Drift Demand Estimation for Steel Moment Frame Buildings: From Mechanics-Based to Data-Driven Models", the journal Journal of Structural Engineering established a framework for developing hybrid or data-driven models to estimate structural responses under extreme events. In the March 2023 article "Combination of physics-based and data-driven modeling for nonlinearstructural seismic response prediction through deep residual learning" in the journal Earthquake Engineering & Structural Dynamics, a discrete physics-DNN hybrid integral time recorder was proposed to calculate the time evolution of nonlinear structural dynamic systems under seismic excitation. Machine learning methods adopt a data-driven modeling strategy that eliminates prior assumptions about the form of functions. Unlike modeling methods that rely on traditional approximate theories, machine learning techniques can learn and build models directly from the data itself without predefining or assuming mathematical relationships between data.
[0005] Although machine learning methods have demonstrated their powerful data processing and prediction capabilities in many fields, they also have some shortcomings and limitations in the application process. First, machine learning methods are highly dependent on data, which means that the performance of the model is directly affected by the quality and amount of data. If the data set is biased, noisy or incomplete, it may cause the model to learn wrong information, which in turn affects the accuracy of the prediction. Secondly, machine learning models, especially deep learning models, are often criticized as "black box" models because their decision-making process lacks transparency and explainability. This poses certain challenges for fields that require a high degree of explainability (such as medical care, financial security, etc.), so it is difficult for decision makers to fully understand the basis for the model's predictions. In addition, the choice of hyperparameters has an important impact on the performance of machine learning models. However, there are currently no universal rules or methods to guide the optimal selection of hyperparameters, which makes the model tuning process often require a lot of trial and error and empirical judgment, which is not only time-consuming but may also fail to achieve optimal performance due to lack of experience. Finally, the generalization ability of machine learning models is also a key issue. The model may perform well on the training set, but the performance deteriorates on new data that has not been seen, which is a manifestation of overfitting. Therefore, although machine learning technology has shown great potential in data analysis and predictive modeling, its limitations in data dependence, model interpretability, hyperparameter tuning, computing resource requirements, and generalization capabilities cannot be ignored. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a structural seismic response calculation method based on a dynamically guided support vector machine, so as to solve the two key problems that the existing classic structural seismic response calculation method has obvious deficiencies in stability, accuracy, and sensitivity to the selection of time step, and the traditional machine learning model has low data dependence and model interpretability.
[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is a method for calculating the seismic response of a structure based on a dynamically guided support vector machine, comprising the following steps: Step 1: Establish a finite element model for structural dynamic analysis and extract the dynamic characteristics of the structure as the input of the model; Step 2: According to the dynamic characteristics of the structure, establish the objective function, solve the objective function to select the optimal parameters of the model, and optimize the parameters of the prediction model; Step 3: Based on the LS-SVM algorithm, the PDLS-SVM model is established with the properties of the structural system and ground motion as input and the displacement, velocity and other responses as output; Step 4: Use the modal decomposition method to achieve the decoupling of the multi-degree-of-freedom system. According to the dynamic response of each vibration mode, the modal superposition principle is used to establish the seismic response prediction model of the structure; Step 5: Based on the linear interpolation recursive formula, test the performance of the seismic response prediction model of the structure and obtain its performance evaluation index.
[0008] In the preferred embodiment, the dynamic characteristics of the structure extracted in Step 1 include the core parameters of structural dynamics analysis such as the mass matrix, stiffness matrix, natural frequency, period and modal shape of the structure; the finite element model is derived from the PDLS-SVM model analysis of the designed cantilever column with lateral freedom as a single-degree-of-freedom system and the seven-story three-dimensional frame structure model as a multi-degree-of-freedom system.
[0009] In the preferred solution, the theoretical basis of the LS-SVM algorithm in Step 2 is to solve the linear system problem by using the sum of square errors as the loss function and equality constraints instead of inequality constraints based on statistical learning theory and optimization theory.
[0010] In the preferred solution, the theoretical basis of the PDLS-SVM model in Step 3 is the structural dynamic characteristics of the finite element model combined with the classic LS-SVM method, which is driven by the dynamic principle and uses the motion equation of the single degree of freedom system as a constraint to determine the prediction model parameters. Its mathematical principle can be expressed as: Given the equation of motion of a linear single degree of freedom (SDOF) system under ground motion, : (1) Its initial conditions are:
[0011] Where m represents the mass matrix of the single degree of freedom system, c is the damping matrix, k is the stiffness matrix, and u is the displacement vector. is the velocity vector, is the acceleration vector.
[0012] Equation (1) governs the motion of a linear single degree of freedom system subjected to ground acceleration , divide both sides of the equation by , we can get: (2) In the formula, is the damping ratio of the nth mode; is the natural frequency of the damped vibration.
[0013] If the training sample is , , The basic idea of the classic LSSVM method is to use a nonlinear mapping The input data of the sample is mapped to a higher-dimensional feature space, in which the data is best separated or fitted, that is, the parameters of the prediction model are determined by minimizing a regularized loss function. ; The original form of the prediction model is , is a predictor Based on the principle of structural risk minimization, the problem can be described as solving the following optimization problem: (3)
[0014] In the formula, Represents the prediction error of the nth training sample; is the regularization parameter; is the eigenvector. Referring to the classic LSSVM method, the earthquake response in (2) is Predictive models, is the predicted displacement response within time t; assuming that the high-dimensional feature mapping function is sufficiently differentiable, given the ground motion , in order to obtain the parameters of the prediction model , which is equivalent to solving the following optimization problem: (4)
[0015] Solve this optimization problem using the Lagrange method: (5) In the formula, is the Lagrange multiplier. According to the Karush_Kuhn_Tucker (KKT) condition, we can get: (6) (7) (8) (9) (10) (11) The present invention considers the Gaussian kernel function RBF, which is clever in that it can implicitly calculate the inner product in the high-dimensional feature space without explicitly mapping the data, so that the originally linearly inseparable data becomes linearly separable in the high-dimensional space. Its mathematical model is as follows: (12) (13) In the formula, is the kernel parameter, and the kernel function is used to transform the feature vector and The inner product replacement kernel function , we can get the matrix equation: (14) In formula (19), and Respectively expressed as: (15) (16) (17) (18) (19) By solving equations (15)~(19) and parameters Establishing the matrix equation (14), we can get the coefficients , because of the kernel trick, the original prediction model is replaced by the dual form of the model in equation (20), with coefficients It can also be substituted into formula (20). Therefore, using the obtained prediction model, the dynamic response can be calculated in dual form, which is: (20) The velocity response and acceleration response can be calculated by taking the first and second order derivatives of equation (20) respectively: (twenty one) (twenty two).
[0016] In the preferred solution, the theoretical basis described in Step 4 is to use the modal decomposition method to achieve the decoupling of the multi-degree-of-freedom system, and obtain N independent single-degree-of-freedom equations corresponding to the natural vibration mode; according to the dynamic response of each vibration mode, the modal superposition principle is used to integrate the dynamic response of the multi-degree-of-freedom system. Its mathematical principle can be expressed as: Given the equation of motion of a linear multi-degree-of-freedom system with N degrees of freedom under the action of ground motion, ,in : (twenty three) In the formula, They represent the mass matrix, damping matrix and stiffness matrix of the multi-degree-of-freedom system respectively; u, , are the displacement vector, velocity vector and acceleration vector of the system respectively.
[0017] The seismic response of a multi-degree-of-freedom system can be expressed as: (twenty four) In the formula, is the modal matrix, ; is the rth order mode; is the r-th order modal coordinate; Substituting equation (24) and its first-order inverse and second-order inverse into equation (23), the control equation is obtained: (25) In the formula, ; is the damping ratio of the rth-order vibration mode; is the natural frequency of the damped vibration.
[0018] In the preferred solution, the verification and performance evaluation in Step 5 is performed by comparing the results obtained by the linear interpolation recursive formula, and then by comparing and analyzing the calculation efficiency and accuracy with the traditional integration methods, such as the central difference method and the Newmark method; finally, the performance indicators of the prediction model are evaluated: the determination coefficient R 2 , root mean square error RMSE, and mean absolute error MAE are used to verify the performance of the model.
[0019] The structural seismic response calculation method based on the dynamics-guided support vector machine provided by the present invention has the following beneficial effects: 1. The structural seismic response calculation method of the dynamics-guided support vector machine proposed in the present invention has better solved the problem that the structural seismic response method based on the traditional integration method is sensitive to the selection of time steps. Inappropriate time step selection may lead to stability problems or precision loss. The PDLS-SVM model reduces the sensitivity to the selection of time steps through its algorithm design, thereby reducing the uncertainty and complexity of the calculation process; 2. The structural seismic response calculation method of the dynamics-guided support vector machine proposed in the present invention solves the problems of low calculation accuracy and long calculation time of the structural seismic response method based on the traditional integral method by developing the PDLS-SVM model; 3. This paper compares the PDLS-SVM model with common machine learning methods and solves the problem that machine learning methods rely on a large amount of data to train models through a physics-driven approach. The PDLS-SVM model directly introduces the constraints of dynamic equilibrium and initial conditions into the model, realizes the effective coupling of physical laws and machine learning models, reduces the demand for actual data, and improves the generalization ability of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The present invention will be further described below in conjunction with the accompanying drawings: Figure 1 It is the technical roadmap of the present invention. DETAILED DESCRIPTION
[0021] like Figure 1 As shown in the figure, the structural seismic response calculation method based on dynamics guided support vector machine includes the following steps: Step 1: Establish a finite element model for structural dynamic analysis and extract the dynamic characteristics of the structure as the input of the model; Step 2: According to the dynamic characteristics of the structure, establish the objective function, solve the objective function to select the optimal parameters of the model, and optimize the parameters of the prediction model; Step 3: Based on the LS-SVM algorithm, the PDLS-SVM model is established with the properties of the structural system and ground motion as input and the displacement, velocity and other responses as output; Step 4: Use the modal decomposition method to achieve the decoupling of the multi-degree-of-freedom system. According to the dynamic response of each vibration mode, the modal superposition principle is used to establish the seismic response prediction model of the structure; Step 5: Based on the linear interpolation recursive formula, test the performance of the seismic response prediction model of the structure and obtain its performance evaluation index.
[0022] In this embodiment, the dynamic characteristics of the structure extracted in Step 1 include the core parameters of structural dynamics analysis such as the mass matrix, stiffness matrix, natural frequency, period and modal shape of the structure; the finite element model is derived from the PDLS-SVM model analysis of the designed cantilever column with lateral freedom as a single-degree-of-freedom system and the seven-story three-dimensional frame structure model as a multi-degree-of-freedom system.
[0023] Furthermore, the theoretical basis of the LS-SVM algorithm in Step 2 is to solve the linear system problem by using the sum of square errors as the loss function and equality constraints instead of inequality constraints based on statistical learning theory and optimization theory.
[0024] Furthermore, the theoretical basis of the PDLS-SVM model in Step 3 is the structural dynamic characteristics of the finite element model combined with the classic LS-SVM method, which is driven by the dynamic principle and uses the motion equation of the single degree of freedom system as a constraint to determine the prediction model parameters. Its mathematical principle can be expressed as: Given the equation of motion of a linear single degree of freedom (SDOF) system under ground motion, : (1) Its initial conditions are:
[0025] Where m represents the mass matrix of the single degree of freedom system, c is the damping matrix, k is the stiffness matrix, and u is the displacement vector. is the velocity vector, is the acceleration vector.
[0026] Equation (1) governs the motion of a linear single degree of freedom system subjected to ground acceleration , divide both sides of the equation by , we can get: (2) In the formula, is the damping ratio of the nth mode; is the natural frequency of the damped vibration.
[0027] If the training sample is , , The basic idea of the classic LSSVM method is to use a nonlinear mapping The input data of the sample is mapped to a higher-dimensional feature space, in which the data is best separated or fitted, that is, the parameters of the prediction model are determined by minimizing a regularized loss function. ; The original form of the prediction model is , is a predictor Based on the principle of structural risk minimization, the problem can be described as solving the following optimization problem: (3)
[0028] In the formula, Represents the prediction error of the nth training sample; is the regularization parameter; is the eigenvector. Referring to the classic LSSVM method, the earthquake response in (2) is Predictive models, is the predicted displacement response within time t; assuming that the high-dimensional feature mapping function is sufficiently differentiable, given the ground motion , in order to obtain the parameters of the prediction model , which is equivalent to solving the following optimization problem: (4)
[0029] Solve this optimization problem using the Lagrange method: (5) In the formula, is the Lagrange multiplier. According to the Karush_Kuhn_Tucker (KKT) condition, we can get: (6) (7) (8) (9) (10) (11) The present invention considers the Gaussian kernel function RBF, which is clever in that it can implicitly calculate the inner product in the high-dimensional feature space without explicitly mapping the data, so that the originally linearly inseparable data becomes linearly separable in the high-dimensional space. Its mathematical model is as follows: (12) (13) In the formula, is the kernel parameter, and the kernel function is used to transform the feature vector and The inner product replacement kernel function , we can get the matrix equation: (14) In formula (19), and Respectively expressed as: (15) (16) (17) (18) (19) By solving equations (15)~(19) and parameters Establishing the matrix equation (14), we can get the coefficients , because of the kernel trick, the original prediction model is replaced by the dual form of the model in equation (20), with coefficients It can also be substituted into formula (20). Therefore, using the obtained prediction model, the dynamic response can be calculated in dual form, which is: (20) The velocity response and acceleration response can be calculated by taking the first and second order derivatives of equation (20) respectively: (twenty one) (twenty two).
[0030] Furthermore, the theoretical basis described in Step 4 is to use the modal decomposition method to achieve the decoupling of the multi-degree-of-freedom system, and obtain N independent single-degree-of-freedom equations corresponding to the natural vibration mode; according to the dynamic response of each vibration mode, the modal superposition principle is used to integrate the dynamic response of the multi-degree-of-freedom system. Its mathematical principle can be expressed as: Given the equation of motion of a linear multi-degree-of-freedom system with N degrees of freedom under the action of ground motion, ,in : (twenty three) In the formula, They represent the mass matrix, damping matrix and stiffness matrix of the multi-degree-of-freedom system respectively; u, , are the displacement vector, velocity vector and acceleration vector of the system respectively.
[0031] The seismic response of a multi-degree-of-freedom system can be expressed as: (twenty four) In the formula, is the modal matrix, ; is the rth order mode; is the r-th order modal coordinate; Substituting equation (24) and its first-order inverse and second-order inverse into equation (23), the control equation is obtained: (25) In the formula, ; is the damping ratio of the rth-order vibration mode; is the natural frequency of the damped vibration.
[0032] Furthermore, the verification and performance evaluation in Step 5 is performed by comparing the results obtained by the linear interpolation recursive formula, and then by comparing and analyzing the calculation efficiency and accuracy with the traditional integration methods, such as the central difference method and the Newmark method; finally, the performance indicators of the prediction model are evaluated: the determination coefficient R 2 , root mean square error RMSE, and mean absolute error MAE are used to verify the performance of the model. The specific results are shown in Table 1: Table 1 Performance comparison between PDLS-SVM and classic methods Table.1 Comparison of the performance of PDLS-SVM with the classical models
[0033] Table 1 shows the performance comparison between the PDLS-SVM model and the classical seismic response prediction methods (including the average acceleration method, the central difference method, and the linear acceleration method). 2 The PDLS-SVM model is measured by two key indicators: coefficient of determination and root mean square error. 2 The value is as high as 0.9987, which is close to perfect prediction (R 2 =1 for perfect prediction). In contrast, other classical methods have R 2 The value is much lower than that of PDLS-SVM, where the R 2 The value is the lowest, only 0.3404. The R 2 The values are 0.7652 and 0.8195 respectively. This shows that the PDLS-SVM model can capture the relationship between the seismic response and the predicted variables with extremely high accuracy, and its predicted results are very close to the actual values, while the traditional methods have large deviations in describing this relationship. Secondly, from the perspective of RMSE, the performance of the PDLS-SVM model is also excellent. Its RMSE value is only 0.4315, which is much lower than the other three classic methods. The average acceleration method has the highest RMSE, reaching 9.7068, and the RMSE values of the central difference method and the linear acceleration method are 5.7913 and 5.0779 respectively. RMSE measures the deviation between the model's predicted value and the actual value. The low RMSE value of the PDLS-SVM model means that its prediction error is small and the accuracy is high.
[0034] In summary, the present invention provides a method for calculating the seismic response of a structure based on a dynamically guided support vector machine, which is used to solve the two key problems that the existing classical method for calculating the seismic response of a structure has obvious deficiencies in stability, accuracy, and sensitivity to the selection of time steps, and the traditional machine learning model has low data dependence and model interpretability. The computational efficiency and prediction performance of the established PDLS-SVM prediction model are verified by comparative analysis with the classical seismic response prediction method, which has important scientific guiding significance for improving the safety and reliability of building structures under earthquake action.
Claims
1. A method for calculating structural seismic response based on a dynamically guided support vector machine, characterized in that: The method comprises the following steps: Step 1: Establish a finite element model for structural dynamic analysis and extract the dynamic characteristics of the structure as the input of the model; Step 2: According to the dynamic characteristics of the structure, establish the objective function, solve the objective function to select the optimal parameters of the model, and optimize the parameters of the prediction model; Step 3: Based on the LS-SVM algorithm, the properties of the structural system and ground motion are used as input, and the response quantities such as displacement and velocity are used as output to establish the PDLS-SVM model for predicting the structural seismic response of the dynamics-guided support vector machine; Step 4: Use the modal decomposition method to achieve the decoupling of the multi-degree-of-freedom system. According to the dynamic response of each vibration mode, the modal superposition principle is used to establish the seismic response prediction model of the structure; Step 5: Based on the linear interpolation recursive formula, test the performance of the seismic response prediction model of the structure and obtain its performance evaluation index.
2. The method for calculating structural seismic response based on dynamics-guided support vector machine according to claim 1 is characterized in that: In step 1, the dynamic characteristics of the structure are extracted, including the core parameters of the structural dynamic analysis such as the mass matrix, stiffness matrix, natural frequency, period and modal shape of the structure; the finite element model is derived from the PDLS-SVM model of the designed cantilever column with lateral freedom as a single-degree-of-freedom system and the seven-story three-dimensional frame structure model as a multi-degree-of-freedom system.
3. The method for calculating structural seismic response based on a dynamically guided support vector machine according to claim 1, characterized in that: The theoretical basis of the LS-SVM algorithm in Step 2 is to solve the linear system problem by using the sum of square errors as the loss function and equality constraints instead of inequality constraints based on statistical learning theory and optimization theory.
4. The method for calculating structural seismic response based on dynamics-guided support vector machine according to claim 1, characterized in that: The theoretical basis of Step 3 is the structural dynamic characteristics of the finite element model combined with the classic LS-SVM method, which is achieved by driving the principle of dynamics and using the motion equation of the single degree of freedom system as a constraint to determine the prediction model parameters.
5. The method for calculating structural seismic response based on a dynamically guided support vector machine according to claim 1, characterized in that: The theoretical basis of Step 4 is to use the modal decomposition method to achieve the decoupling of the multi-degree-of-freedom system, and obtain N independent single-degree-of-freedom equations corresponding to the natural vibration mode; according to the dynamic response of each vibration mode, the modal superposition principle is used to integrate the dynamic response of the multi-degree-of-freedom system.
6. The method for calculating structural seismic response based on a dynamically guided support vector machine according to claim 1, characterized in that: The Step 5 is to compare the results obtained by the linear interpolation recursive formula, and then compare and analyze with traditional integration methods, such as the central difference method and the Newmark method in terms of calculation efficiency and accuracy; finally, the performance indicators of the prediction model are evaluated: the determination coefficient R 2 , root mean square error RMSE, and mean absolute error MAE are used to verify the performance of the model.
Citation Information
Patent Citations
A unified recursion calculation method for structural time-history response integrals in different damping forms
CN109902404A
Elastic aircraft flight dynamics modeling method based on nonlinear aerodynamic force order reduction
CN113111430A
Rapid assessment method for anti-seismic performance of reinforced concrete structure after seismic damage
CN117610374A
RC frame seismic response calculation method based on support vector machine
CN117688795A
Multi-modal performance-based Anti-seismic design method based on performance bispectrum
WO2019153798A1
