This patent application claims the benefit and priority of Chinese Patent Application No. 202310826573.9, filed on Jul. 6, 2023, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The disclosure relates to the technical field of safety monitoring of concrete dam structures, in particular to a partition monitoring method and model for concrete dam operation key parts.
The layout of safety monitoring instruments for concrete dam structure is based on the principle of giving consideration to structural safety and engineering economy, and the calculation results are based on the arch-beam load sharing method. The layout of safety monitoring instruments for concrete dam structure are in accordance with the technical requirements of controlling key parts, paying attention to the relationship between time and space, and the multi-type monitoring instruments of key parts are mutually standby and mutually verified. The layout of safety monitoring instruments for concrete dam structure takes the horizontal arch ring as the arch direction monitoring base surface and the vertical dam section as the beam direction monitoring cross section, and all kinds of monitoring instruments are deployed on the monitoring base surface and monitoring cross section to form the monitoring spatial grid system for concrete dam arch beam.
The monitoring data reflecting the operation state of concrete dams can be collected through the measuring points arranged on the monitoring spatial grid of arch beams. Under the influence of external factors, there is a certain correlation between the same or multiple types of monitoring data in various parts. This correlation is mainly manifested in the similarity of time series trends of monitoring data in the same or similar parts.
Because the influence and even destruction of internal and external loads on the structural parts of concrete dams are random, there is still a lack of means to dynamically determine the key parts by analyzing the monitoring data of the structure. For the monitoring model of specific monitoring parts, at present, the monitoring data of the same type of instruments with high correlation degree are widely used to construct multi-measuring point correlation model to carry out the diagnosis and analysis of structural parts, but there is a lack of relevant research on establishing partition monitoring model using monitoring data of various types of instruments. The technical requirement that the monitoring effect quantity of structure must be mutually verified and comprehensively analyzed by monitoring data of various types of instruments cannot be met.
Therefore, the technical problem to be solved by the disclosure is to overcome the problems in the prior art that it is difficult to dynamically divide the key parts when the concrete dam is subjected to various loads, and it is impossible to accurately diagnose the operation behavior of the key parts only by measuring data of a single type of monitoring instrument.
In order to solve the above technical problems, the disclosure provides a partition monitoring method for of concrete dam operation key parts, which includes:
In some embodiments, the dividing the concrete dam operation key parts into partitions includes:
In some embodiments, obtaining the measuring point time-frequency vector includes:
In some embodiments, the establishing graph structures on the time series measurement data in a time dimension and a variable dimension respectively to obtain a time feature graph and a variable feature graph includes:
In some embodiments, the inputting the time feature graph and the variable feature graph into a time graph attention network and a variable graph attention network respectively to obtain a time attention matrix and a variable attention matrix includes:
In some embodiments, the calculating an abnormal score according to the target feature includes:
In some embodiments, the prediction module is a multi-layer perceptron.
In some embodiments, the reconstruction module includes a discriminator and an autoencoder.
In some embodiments, a calculation formula for the calculating the abnormal score according to the prediction value and the reconstruction probability is:
The disclosure also provides a partition monitoring model for concrete dam operation key parts, which includes:
Compared with the prior art, the technical scheme of this embodiment has the following advantages.
In the disclosure, the partition monitoring method for concrete dam operation key parts obtains time series measurement data of different types of monitoring instruments with high temporal and spatial correlation on basis of partitioning the concrete dam key parts, so as to establish a graph structure. Then, the dependence of time dimension and variable dimension of multivariate time series data is captured, and the relationship between further learning and representation of graph attention network is provided. Furthermore, the final feature representation of time series measured data is obtained, and finally the anomaly score is calculated through the final feature representation to detect anomalies. The complementary mutual verification of multiple measuring points of monitoring instruments with various types is realized. The structural integrity and spatial distribution law of concrete dams are fully embodied.
In order to make the contents of the disclosure more clearly understood, the disclosure will be further described in detail according to specific embodiments of the disclosure and with the accompanying drawings, in which:
The core of the embodiment is to provide a partition monitoring method and model for concrete dam operation key parts, the complementary mutual verification of multiple measuring points of monitoring instruments with various types is realized, the structural integrity and spatial distribution law of concrete dams are fully embodied.
In order to make those skilled in the art better understand the scheme of the disclosure, the disclosure will be further described in detail with attached drawings and specific embodiments. Apparently, the described embodiment is only a part of the embodiment of the disclosure, not all of the embodiment. Based on the embodiments in the disclosure, all other embodiments obtained by those skilled in the art without creative efforts belong to the protection scope of the disclosure.
According to the design principles and technical requirements, various types of monitoring instruments are arranged at the key parts of the concrete dam for the same monitoring effect, and the effects of mutual backup and mutual verification are achieved. Based on this, on the basis of dividing the concrete dam operation key parts, this embodiment establishes a partition monitoring method for the key parts with complementary mutual verification of multiple measuring points of multi-type monitoring instruments, so as to online judge of the operational behavior of concrete dams.
Please refer to
According to the time-space feature matrix of monitoring data of concrete dam, the monitoring data of various types and multi-measuring points involved in the concrete dam operation key parts are usually multivariate time series data. The multivariate time series data consists of a set of univariate time series data. The indicators represented by each univariate time series data have unique attributes, and these indicators are interrelated through linear and nonlinear relationships.
Based on the above embodiment, step S101 is described in detail in the embodiment.
Wherein, the specific methods for dividing the concrete dam operation key parts into partitions includes the following.
x
i=(xi1,xi2, . . . ,xin)
Where, xi is the time-frequency vector of the measured data of a certain measuring point in a period of time, xin is a time-frequency vector of the measured data of this measuring point, and the time-frequency vector extracted according to Chapter 3, n=24.
The extracting the time-frequency vector includes:
The time domain vectors corresponding to multiple low-frequency coefficients and frequency domain vectors corresponding to multiple wavelet packet coefficients are normalized respectively, and the time-frequency vectors are calculated according to the normalized time domain vectors and frequency domain vectors.
Where, Rn represents the time-frequency vector space-time matrix of monitoring data of all measuring points in a certain structural part.
The measured data set of the safety measuring points of the concrete dam X=(x1, x2, . . . xN) and the spatial nearest measuring point data of the measured data set of the safety measuring points
nk, ek, hk respectively represent the three-dimensional coordinate information of the measuring points, k=1 . . . N; a spatial distance feature Q=(Q1, Q2, . . . , QN) is calculated according to the spatial distance of the safety measuring point, where,
qmax and qmin are the maximum value and the minimum value of q respectively; component weight {w1, w2, . . . , wC} is obtained according to the types of monitoring instruments of safety measuring points, and hidden feature vector Z=(Z1, Z2, . . . , Zn) is calculated according to the component weights and the spatial distance feature, where, Zi=(zi1, zi2, . . . ziC), i=1, . . . , N, the value of zij depends on the spatial distance feature and component weight of the measuring point, in one embodiment, zij=wj*Qi, C is the number of components in the division model of concrete dam operation key parts; the joint probability density of (X,
the log-likelihood function of all data is calculated as:
The number C of model components and the mean and covariance matrix of each component are initialized, and make the component weight,
k=0; the expectation maximization algorithm is used to calculate the parameters of the division model of concrete dam operation key parts; after removing the k iteration, the division model of the concrete dam operation key parts with components with a component weight of 0, and k=k+1; steps 2-4 are repeated until the model converges, and the model parameters and component numbers of concrete dam operation key parts being iteratively optimized are get.
The applying the expectation maximization algorithm to calculate the parameters of the partition model of the concrete dam operation key parts includes:
Based on the above embodiment, step S102 is described in detail in the embodiment.
The occurrence of abnormal operation of the concrete dam shows that the monitoring data of each indicator changes in time dimension. Therefore, for the monitoring data in the same time window, two graph structures are used to explicitly model the dependence of time and variable dimensions respectively. The details are as follows:
First, an embedding vector vi∈d, i∈{1, 2, . . . , N} is set for each variable, where d represents the dimension of the vector, and different values are set according to the actual situation. The initial value of the vector is given randomly, and the specific value is obtained by continuous adjustment through back propagation in the training process of the model. The correlation of variables can be calculated by embedding vectors, for variable i and variable j, the correlation is calculated by formula (1):
Where, the value of K can be given by the user according to the specific situation to adjust the sparsity of the graph. The adjacency matrix A can be given directly by the user when there is prior information about the graph structure. In some special scenarios, the adjacency matrix can be set to a matrix with all values of 1, that is, a fully connected graph can be constructed.
For the time series in the input sliding window, a position code p{right arrow over (e)}j(i) is given to the vector at any time stamp j, and is calculated by formula (3):
In the formula, d is the dimension of position coding, which needs to be the same as the variable dimension of the current position, that is, d=N, and d needs to be a multiple of 2. Different from taking each variable as a node in the above variable feature graph, in order to construct an explicit time graph structure, it is necessary to take the data at each moment as a node in the graph. The specific form of position coding is calculated by formula (4):
After assigning a position code to each time point, a time graph is constructed by calculating the similarity between embedding vectors at different time points. It it calculated by formula (5):
The pairwise similarity between different time points shows the similarity degree between different timestamps. When constructing a time graph, similar to the above-mentioned variable graph, for data i with any time stamp, K neighbor time points j with the greatest similarity are selected and connected by edges, and the constructed time adjacency matrix is calculated by formula (6):
In the formula, A′∈ω×ω, the value of K is also specified by the user, which is generally the same as the sparsity of the spatial adjacency matrix.
Based on the above embodiment, step S103 is described in detail in this embodiment:
After the construction of graph structure data, graph attention network is used to learn the information of time dimension and variable dimension. After learning, each node in the graph structure will get a final representation vector, which contains the information of the current node and its adjacent nodes. Graph attention layer includes parallel variable graph attention network and time graph attention network, which is used to capture the dependencies of different dimensions in data at the same time. At the same time, by improving the attention mechanism in the variable graph attention layer, the indicator correlation in the data is explicitly captured. The details are as follows:
In the formula, {circumflex over (X)}=[xt−ω+1, xt−ω+2, . . . , xt]∈N×ω is the input series with length ω at the time stamp t, Win∈
ω×d is the learnable transformation matrix of the input data, ∥ is the splicing operation, and V is the matrix formed by the node representation vectors.
The framework of F-GAT is shown in
The multi-head attention module updates the feature representation of each node by aggregating the neighbor node information of the target node, and is calculated by formula (8):
Where, hatt={j|Aij>0} B is the set of neighbor nodes of node i in the adjacency matrix A representing the variable feature graph above. The attention score is calculated by formulas (8), (9) and (10):
Where, aT is a learnable bias vector, ∥ is a concatenation operation, and LeakyReLU is a nonlinear activation function.
The traditional graph attention network fails to consider the indicator correlation of multivariate time series, so it loses some important information of variable dimension. Neighboring nodes with different dependencies have different influences on the central node. In this section, by adding two relational attention modules, namely, intra-indicator attention and inter-indicator attention, the effectiveness of the model in modeling the dependence of variables between series is improved. The adjacency matrix of intra-indicator attention diagram and inter-indicator attention diagram is defined by formulas (12) and (13):
Where, Cintral={j|mi=mj} and Ciinter={j|mi≠mj} are the candidate sets, that is, Cintrai represents node that belong to the same indicator as node i, and Ciinter represents node that have different monitoring indicators from node i. It should be noted that when |Cintrai|>K or |Ciinter|>K, the adjacency matrix needs to be constructed using the TopK operation to select the indicator of the top K maximum cosine similarity.
Then, the multi-indicator correlations between different time series are clearly captured by two relational attention modules. The feature of the intra-indicator attention module is calculated by formula (14), formula (15) and formula (16):
In the formula, hintra={j|Aintraij>0} is the set of intra-indicator neighbor nodes of node i, βintra
={j|Aintraij>0} is the inter-indicator neighbor node set of node i. The final output hil+1 of the variable graph attention layer is obtained by splicing the inputs of three attention modules, and is calculated by formulas (17) and (18):
In the formula, hil+1 is the final representation of node i at the l+1 layer, Woutl+1 is the weight matrix of the l+1 layer, boutl+1 is the offset vector of the l+1 layer, ∥ is the splicing operation, and of oil+1 is obtained by splicing the intermediate feature hatt
In the formula, zil+1 is the feature representation of node i in the l+1 layer, ∥ is the splicing operation, S represents the number of attention heads, ={j|Aij′>0} is the set of neighbor nodes of node i in the adjacency matrix A′ of the time graph above, αijls′ is the attention fraction of node i and node j at the s attention head in the l layer, and Wattls′ is the weight matrix of the s attention head in the l layer, zjt∈Zl is the feature representation of node j at the l layer, and the calculation steps of αijlz′ are similar to the above steps of αijls, which can be calculated by formulas (20), (21) and (22):
In the formula, αijls′ represents the attention fraction of node i and node j at the s attention head in the l layer of the time graph, wattls′ is the learnable weight matrix of the s attention head in the l layer of the time graph attention module, aT is the learnable bias vector, ∥ is the splicing operation, and LeakyReLU is the nonlinear activation function.
Based on the above embodiment, step S104 is described in detail in this embodiment:
The output of the variable graph attention network is a N×ω dimensional matrix, and one row of the matrix represents the relationship between a node in the variable feature graph and its neighboring nodes captured by the graph attention network. Similarly, the output of the time graph attention network is a ω×N dimensional matrix. The output of two graph attention layers is spliced with the original time series data to form a ω×3N dimensional matrix, and one row of the matrix represents a 3N dimensional feature vector with a timestamp in the input time window. Finally, the ω×3N dimensional matrix is used as the input of the Gated Convolution Network (GRU), GRU, as a variant of circular convolution network, can capture the series pattern information in the data well and get the target feature.
Based on the above embodiment, step S105 is described in detail in the embodiment:
In order to take advantage of both reconstruction-based and prediction-based models, the loss function of MTS-GAT contains two objectives: capturing the distribution of the whole input data in the reconstruction module and accurately predicting the value at the next timestamp in the prediction module. The input of the reconstruction module and the prediction module at time t is the output of XχXGRU. The loss function of joint optimization is defined by formula (23):
Where, is the loss function of the reconstruction module,
is the loss function of the prediction module, and γ1 is the hyperparameter that balances the weights of the two modules.
The prediction module uses to predict the observed value at the next time stamp. In this section, Multilayer Perceptron (MLP) is used as the prediction module, and the loss function is defined by formula (24):
The reconstruction module is to learn the reconstruction probability of the input data. In order to enhance the robustness of the model, two discriminators DE(⋅) and DD(⋅) are used for adversarial training of autoencoder GA as a reconstruction-based model. The encoder GE(⋅) and the decoder GD(⋅) of GA can be regarded as two generators. The model is shown in , z is the potential representation of the autoencoder, p(z) represents the prior distribution of z, and the posterior distribution q(z) generated by the autoencoder in the potential space is calculated by formula (25):
In the formula, q(z|) represents the code distribution, and pd(
) represents the input data distribution. The countermeasure network DE(⋅) is used to adjust the posterior distribution q(z) to satisfy the prior distribution p(z), that is, the loss function
is maximized, which is calculated by formula (26):
The corresponding generator GE(⋅) mixes DE(⋅), that is, the loss function minimized, and is calculated by formula (27):
Similarly, the countermeasure network DD(⋅) avoids the over-fitting problem of the model by increasing the difference between the input data and the reconstructed data, that is, the loss function is maximized, and is calculated by formula (28):
The corresponding generator GD(⋅) needs to minimize the loss function , which is calculated by formula (29):
The reconstruction of the input data is represented as =GD(GE(
)). Finally,
and
are used as anti-regularization to ensure the robustness of the reconstructed model, and the loss function of the reconstructed model is defined by formulas (30) and (31):
Where, represents reconstruction loss.
For the i univariate time series, at any time stamp t, the prediction module generates the prediction value {circumflex over (x)}i, and the reconstruction module generates the reconstruction probability pi. The final abnormal score for each timestamp balances the weight of the two modules by formula (32):
In the formula, xl is the measured value, and γ2 is the hyperparameter for balancing the two modules. In the anomaly detection stage, when the anomaly score of a timestamp is greater than the given anomaly threshold, the timestamp is marked as “abnormal timestamp”, otherwise it is “normal timestamp”. The selection of abnormal threshold is made on the verification set by the peaks-over-threshold (POT) algorithm.
Based on the above embodiment,
The partition monitoring model for the concrete dam operation key parts in the embodiment is used to realize the above-mentioned partition monitoring method for concrete dam operation key parts. Therefore, the specific implementation of the partition monitoring model for concrete dam operation key parts can be seen in the embodiment of the partition monitoring method for concrete dam operation key parts mentioned above. For example, data acquisition module, feature graph construction module, attention mechanism module, target feature acquisition module, and anomaly detection module are respectively used to realize steps S101, S102, S103, S104 and S105 in the above-mentioned partition monitoring method for the concrete dam operation key parts. Therefore, the specific implementation can refer to the corresponding descriptions of each part of the embodiments, and will not be repeated here.
The embodiment firstly extracts the structure monitoring data time-frequency vector of concrete dam and establishes the monitoring data time-frequency vector space-time matrix of concrete dam. Then, combined with the typical time-frequency vectors of structural monitoring data identified in real time, a key part partition method based on data time-frequency vectors is proposed to dynamically divide the concrete dams key parts. On this basis, the arch crown beam area on the upper part of the dam body is selected, including the dam body with the elevation from 1190 m to 1245 m from the 19 #dam section to the 25 #dam section. Four types of monitoring instruments, such as normal vertical line, surface deformation observation point, static level and seam gauge, are arranged in this key part to monitor the deformation effect. The normal vertical line and surface deformation observation points include C4-A19-PL-01˜02, C4-A22-PL-01˜02, C4-A25-PL-01˜02, C4-A19˜A25-TP-01 and C4-A19˜A25-TP-02, totally 20 measuring points, which are use for monitoring that horizontal radial and tangential displacements of the part. Static level includes 7 measuring points, that is, 1245-SL4-03˜09, which are used to monitor the vertical displacement of the part. The seam gauge includes 10 measuring points, that is, C4-A19-J-33, C4-A25-J-31, C4-A22-KZ-J-04˜09, which are used to monitor the opening and closing degree of the transverse seam in this part and the opening and closing degree of the seam-crossing area where the seismic reinforcement is laid on the upstream and downstream surfaces.
On the basis of preprocessing the original measured data, firstly, four kinds of monitoring instruments and six kinds of monitoring data used in the experiment are fitted (normal vertical line, radial displacement and tangential displacement of surface deformation observation points are regarded as one kind of data respectively). The data time series spans from Jan. 1 to Dec. 31, 2021, so 365 time stamps are set in total. Typical monitoring data process lines are shown in
Through model training, it is found that the horizontal tangent displacement monitoring data of two measuring points (C4-A22-PL-01 and C4-A22-PL-02) of the normal vertical line of dam section 22 and the transverse seam opening and closing degree monitoring data of 7 measuring points of the seam gauge C4-A22-KZ-J-05 have 13 times of high abnormal scores. As shown in
After determining the abnormal time points of monitoring data, all the monitoring data in the upper area of the arch crown beam from May 27 to May 28 are selected to establish a similarity matrix, and the correlation between abnormal measuring points is further analyzed. As shown in
The specific embodiment of the disclosure also provides a partition monitoring apparatus for the concrete dam operation key parts, including: a memory for storing computer programs; a processor for implementing the steps of the partition monitoring method for the concrete dam operation key parts when executing the computer program.
The specific embodiment of the disclosure also provides a computer-readable storage medium, on which a computer program is stored, when the computer program is executed by a processor, the steps of the above-mentioned partition monitoring method for the concrete dam operation key parts are realized.
It should be understood by those skilled in the art that embodiments of the disclosure can be provided as a method, a system, or a computer program product. Therefore, the disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the disclosure may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer usable program codes embodied therein.
The disclosure is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It should be understood that each flow and/or block in the flowchart and/or block diagram, and combinations of the flow and/or block in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus produce device for implementing the functions specified in one flowchart or flowcharts and/or one block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction device that implement the functions specified in one flowchart or flowcharts and/or one block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus, such that a series of operational steps are performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in one flowchart or flowcharts and/or one block or blocks.
Apparently, the above-mentioned embodiment is only an example for clear explanation, not a limitation of the implementation. For those skilled in the art, other changes and variants in different forms can be made on the basis of the above description. It is not necessary and impossible to exhaust all the embodiments here. However, the apparent changes or variants caused by this are still within the scope of protection created by the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202310826573.9 | Jul 2023 | CN | national |