This application claims priority of Chinese Patent Application No. 202310171567.4, filed on Feb. 22, 2023, the content of which is entirely incorporated herein by reference.
The present disclosure relates to the field of bridge structural health monitoring, and in particular to a method for reconstructing internal response of a bridge.
For a recent decade, reconstruction of structural internal response has attracted extensive attention. For comprehensive diagnosis and prediction of an engineering structure, it is necessary to accurately estimate a health status of an internal key part of the structure to determine a maintenance plan accordingly. Response of an internal point of the structure is unreachable, i.e., a sensor cannot measure the internal response of the structure. Accordingly, it is particularly important to develop a method for predicting, in an operation state, the internal response of the structure that is impossible to directly measure. For structural engineering, a virtual sensor method collects some physical variables that are easy to measure, and computes values of other physical variables to be monitored through processing of the physical variables. According to the idea of virtual sensor, response of a position that is difficult to measure can be predicted using response of some measurable structural positions, such that the problem that response of a target position cannot be measured directly in the operation state can be solved.
The above problems can be solved through two main modeling methods, i.e. physics/formula-based modeling and data-driven machine learning. A model-based method assumes availability of an accurate system model, while a data-driven method is based on machine learning. The two methods both have some limitations. The physics/formula-based modeling models a process to be monitored based on knowledge of a pre-known mechanism. However, in a practical application, despite of the knowledge of the entire model, it is still difficult to establish a complete mechanism model based on the prior knowledge. Firstly, it is difficult to establish a very accurate mechanism model since the entire model structure is very complicated. In addition, there may be numerous uncertainties during operation, which makes the mechanism model difficult to use for solving practical engineering problems. The data-driven virtual sensor performs analysis and regression by sorting and processing collected historical data. It is efficient to perform model training through a vast amount of data without deep understanding of an original system. However, due to discreteness of input parameters and output variables of the system, the data can never be complete, and a state space cannot be filled with the data despite of cost of data obtaining. As a result, a gap between the system and the data generated by the system is ineradicable in the data-driven model. Therefore, the model often fails except for the training data. An actual prediction result of the response is inaccurate due to a lack of inference.
In order to solve the disadvantages in the prior art, the present disclosure provides a dual physically-driven and data-driven method for reconstructing internal response of a bridge, through which the problems that the internal response of the bridge is difficult to measure and excessively depends measured data can be effectively solved, and accuracy and robustness of internal response prediction of the bridge can be improved.
In order to achieve the above objective, the present disclosure uses the following technical solution.
The dual physically-driven and data-driven method for reconstructing the internal response of the bridge may include the following steps.
Step 1, arranging sensors on m nodes of the bridge, respectively, where the sensors are configured to collect acceleration response of the bridge;
Step 2, modeling the bridge by using a finite element model to obtain the finite element model of the bridge, applying a random load to the finite element model of the bridge, and obtaining an acceleration response matrix {umlaut over (X)}k=[u1, u2, . . . ui, . . . um]T of m external nodes and a frequency response function matrix Hk=[H1, H2, . . . Hi, . . . Hm]T thereof, and an acceleration response matrix {umlaut over (X)}u=[u′1, u′2, . . . u′j, . . . u′n]T of n internal nodes of the bridge and a frequency response function matrix Hu=[H′1, H′2, . . . H′j, . . . H′h]T thereof, wherein ui denotes acceleration response with a length of w at an ith external node, u′j denotes acceleration response with a length of w at a jth internal node, Hi denotes frequency response with a length of w at an mth external node, Hi denotes frequency response with a length of w at a nth internal node, let a total acceleration response set be {umlaut over (X)}={{umlaut over (X)}k, {umlaut over (X)}u}, and let a total frequency response function set be H={Hk, Hu}; Step 3, constructing a convolutional neural network (CNN) model sequentially including an input layer, α convolutional layers, α-1 maximum pooling layers, e fully connected layers, and an output layer, adding a maximum pooling layer between two adjacent convolutional layers, and using a relu activation function between the fully connected layers;
inputting {umlaut over (X)}k as an input set into the convolutional neural network, sequentially performing convolution and pooling by a convolutional layers and α-1 maximum pooling layers that are cross-connected, and outputting a feature vector with a dimension of b×c×d from an ath convolutional layer; where b denotes a number of channels for signal input, c denotes a number of channels for convolution generation, and c denotes a size of a convolution kernel;
flattening a feature vector set with a dimension of b×c×d, and obtaining a feature vector set with a dimension of b×c; and
sequentially processing the feature vector set with the dimension of b×c by the e fully connected layers, and obtaining an internal node response prediction vector with a dimension of w×n expressed as {umlaut over (X)}net;
Step 4, constructing a difference function;
Step 4.1: performing dimensionality reduction on acceleration responses in {umlaut over (X)}k, performing Fourier transform, and obtaining acceleration response matrices {umlaut over (X)}k(w)=[u1(w), u2(w), . . . , ui(w), . . . um(w)]T of m external nodes on a frequency domain with a dimension of m×w, wherein ui(w) denotes acceleration response on a frequency domain with a length of w at an ith node;
Step 4.2, performing Fourier transform on {umlaut over (X)}net, and obtaining a prediction vector {umlaut over (X)}net (w)=[u′1(w), u′2(w), . . . , u′j(w), . . . , u′n(w)]T of n internal response nodes on a frequency domain with a dimension of n×w, wherein u′j(w) denotes acceleration response on a frequency domain with a length of w at a jth internal node predicted by the network;
Step 4.3: constructing a relation formula between external node response and internal node response in structural dynamics by formula (1):
wherein in formula (1), Taku (ω) denotes a transfer matrix, performing pseudo-inverse multiplication on an acceleration frequency response function matrix Hu of an internal node and an acceleration frequency response function matrix Hk of an external node, obtaining a true acceleration response transfer matrix Taku (w), and computing a difference f by formula (2):
Step 4.4, performing pseudo-inverse multiplication on {umlaut over (X)}net (w) and {umlaut over (X)}k(w), and obtaining a predicted acceleration response transfer matrix Tnet (w)=[a1(w), a2(w), . . . , aj(w), am (w)]; wherein aj(w) denotes an acceleration response transfer function with a length n at a jth external node; and
computing a difference T by formula (3):
Step 5: generating a total loss La11 of the CNN by formula (4):
where in formula (4), L1 denotes a first loss and is obtained by formula (5), L2 denotes a second loss and is obtained by formula (6), L3 denotes a third loss and is obtained by formula (7), and L4 denotes a fourth loss and is obtained by formula (8);
where in formulas (5)-(8), f0 denotes an all-zero matrix with a dimension of n×w, {umlaut over (X)}net0 denotes predicted response output by an acceleration response matrix under an initial condition through the CNN model, let the acceleration response matrix under the initial condition be an all-zero matrix with a dimension of w×1×m, and {umlaut over (X)}0 denotes acceleration response of {umlaut over (X)}u under the initial condition; and
Step 6: based on the total acceleration response set {umlaut over (X)}={{umlaut over (X)}k, {umlaut over (X)}u} and the total frequency response function set H={Hk, Hu}, training the CNN model with an Adam optimizer, computing a total loss La11 and updating network parameters until a maximum training time is reached or the total loss La11 converges, and obtaining a trained CNN for reconstructing response of any internal node of the bridge.
The present disclosure provides an electronic device, including a memory and a processor. The memory may be configured to store programs supporting the processor in execution of the method for reconstructing internal response of a bridge. The processor may be configured to execute the programs stored in the memory.
The present disclosure provides a non-transitory computer-readable storage medium, storing computer programs that, when executed by a processor, may direct the processor to execute the steps of a method for reconstructing internal response of a bridge. Compared with the prior art, the present disclosure has the following beneficial effects.
1. Compared with traditional physical modeling, the present disclosure reduces requirements for model accuracy, constructs a relation between the external point and the internal point of the structure by using the physical logic under the condition of an incomplete mechanism model, and corrects the reconstructed internal response based on the data of the external point. In addition, benefited by a determined physical relation, the hybrid drive model has more accurate and reliable results in the case of complex engineering problems.
2. Compared with the data-driven machine learning, the present disclosure supplements the data driving with physical constraints, and adds physical laws such as control formulas to the loss function, such that dependence of the network on tag data is reduced and a generalization capacity and an application value are greatly improved. As for prediction results, the physical logic limits the space of the feasible solution, such that the model can converge quickly with few iterations, more accurate predicted values can be obtained in the case of problems such as missing data and too concentrated data in practical projects, and more accurate response results can be obtained in the case of complex loads.
In Example 1, a bridge may have a span length of 50 m, a width and a height of 10 m, an elastic modulus of 21 Gpa, and a mass per linear meter of 7800 kg/m. When a finite element method is used for simulation, the bridge may be divided into hexahedral elements. A dual physically-driven and data-driven method for reconstructing internal response of a bridge can avoid the phenomenon that prediction of internal acceleration response of a structure is inaccurate or deviated due to insufficient precision of a finite element model and a lack of training data. By embedding a physical model into a neural network and limiting a space of a feasible solution with a physical logic, quick convergence can be achieved with few iterations, more accurate results can be obtained for different structures and accurate response results can also be obtained in the case of complex loads. Specifically, a principle of the method for reconstructing the internal response of the bridge may use a simply supported beam bridge model as shown in
Step 1, sensors may be arranged on m=2 nodes of the bridge, respectively, where the sensors may be configured to collect acceleration response of the bridge.
Step 2, the bridge may be modeled by using a finite element model to obtain the finite element model of the bridge, a random load may be applied to the finite element model of the bridge, and an acceleration response matrix {umlaut over (X)}k=[u1, u2]T of 2 external nodes and a frequency response function matrix Hk=[H1, H2]T thereof, and an acceleration response matrix {umlaut over (X)}u=[u′1]T of n=1 internal mode of the bridge and a frequency response function matrix Hu=[H′1]T thereof may be obtained, where u1 and u2 denote acceleration responses with a length of w=32 at a first external node and a second external node, u′1 denotes acceleration response with a length of 32 at the first internal node, H1 and H2 denote frequency response with a length of 32 at the first external node and the second external node respectively, H1 denotes frequency response with a length of 32 at a first internal node, let a total acceleration response set be {umlaut over (X)}={{umlaut over (X)}k, {umlaut over (X)}u}, and let a total frequency response function set be H={Hk, Hu}.
Step 3, a CNN model sequentially including an input layer, a=3 convolutional layers, 2 maximum pooling layers, e=4 fully connected layers, and an output layer may be constructed, a maximum pooling layer may be added between two adjacent convolutional layers, and a relu activation function may be used between the fully connected layers.
The {umlaut over (X)}k as an input set may be input into the CNN, convolution and pooling may be sequentially performed by the 3 convolutional layers and the 2 maximum pooling layers that are cross-connected, and a feature vector with a dimension of b×c×d=128×256×3 may be output from a third convolutional layer.
A feature vector set with a dimension of 128×256×3 may be flattened, and a feature vector set with a dimension of b×c=128×256 may be obtained.
The feature vector set with the dimension of 128×256 may be sequentially processed by the 3 fully connected layers, and an internal node response prediction vector with a dimension of w×n=1×32 may be obtained and expressed as {umlaut over (X)}net.
Step 4, a difference function may be constructed.
Step 4.1: dimensionality reduction may be performed on acceleration response in {umlaut over (X)}k, Fourier transform may be performed, and an acceleration response matrix {umlaut over (X)}k(w), {umlaut over (X)}k(w)=[u1(w), u2(w)]T of 2 external nodes on a frequency domain with a dimension of m×w=2×32 may be obtained, where u1(w) and u2(w) denote acceleration response on a frequency domain with a length of 32 at the first node and the second node, respectively.
Step 4.2, Fourier transform may be performed on {umlaut over (X)}net, and a prediction vector {umlaut over (X)}net (w) of 1 internal response node on a frequency domain with a dimension of n×w=1×32 may be obtained, where {umlaut over (X)}net (w)=[u′1(w)]T, and u′1(w) denote acceleration response on a frequency domain with a length of 32 at the first internal node predicted by the network.
Step 4.3: a relation formula may be constructed between external node response and internal node response in structural dynamics by formula (1):
In formula (1), Taku(w) denotes a transfer matrix, pseudo-inverse multiplication may be performed on an acceleration frequency response function matrix Hu of an internal node and an acceleration frequency response function matrix Hk of an external node, a true acceleration response transfer matrix Taku (w) may be obtained and a difference f may be computed by formula (2):
Step 4.4, pseudo-inverse multiplication may be performed on {umlaut over (X)}net (w) and Xx (w), and a predicted acceleration response transfer matrix Tnet (w)=[a1(w), a2(w)] may be obtained; where a1 (w) and a2(w) denote acceleration response transfer functions with a length 32 at a first external node and a second external node, and a difference T may be computed by formula (3) by subtracting Tnet (w) from the true acceleration response transfer matrix Taku (w):
Step 5: a total loss La11 of the CNN may be generated by formula (4):
In formula (4), L1 denotes a first loss and may be obtained by formula (5), L2 denotes a second loss and may be obtained by formula (6), L3 denotes a third loss and may be obtained by formula (7), and L4 denotes a fourth loss and may be obtained by formula (8).
In formulas (5)-(8), f0 denotes an all-zero matrix with a dimension of n×w=1×32, {umlaut over (X)}net0 denotes predicted response output by an acceleration response matrix under an initial condition through the CNN model, let the acceleration response matrix under the initial condition be an all-zero matrix with a dimension of w×1×m=32×1×2, and Xo denotes acceleration response of {umlaut over (X)}u under the initial condition.
Step 5: based on the total acceleration response set {umlaut over (X)}={{umlaut over (X)}k, {umlaut over (X)}u} and the total frequency response function set H={Hk, Hu}, the CNN may be trained with an Adam optimizer, a total loss La11 may be computed and network parameters may be updated until a maximum training time is reached or the total loss La11 converges, a trained CNN may be obtained for reconstructing response of any internal node of the structure. A schematic diagram illustrating a response structure process may be found in
The Example of the present disclosure provides an electronic device, including a memory and a processor. The memory may be configured to store programs supporting the processor in execution of the method. The processor may be configured to execute the programs stored in the memory.
The Example of the present disclosure provides a non-transitory computer-readable storage medium, storing computer programs that, when executed by a processor, may direct the processor to execute the steps pf the method.
The comparison between some response results and true values of internal measurement points of the structure may be shown in Table 1 and
In Example 1, the bridge may have a span length of 50 m, a width and a height of 10 m, an elastic modulus of 21 Gpa, and a mass per linear meter of 7800 kg/m. When the finite element method is used for simulation, the bridge may be divided into hexahedral elements.
In Example 2, for a cantilever bridge model shown in
From Table 1 and Table 2, it can be seen that the precision of the network may reach about 0.1% for prediction of the internal response of the bridge, and the network may have desirable performance in the case of different bridge types and complex loads. It can be seen from
Number | Date | Country | Kind |
---|---|---|---|
202310171567.4 | Feb 2023 | CN | national |