Bridge acceleration data denoising method based on long short-term memory deep neural network
Through the denoising method based on long short-term memory deep neural network, the problem of noise processing in bridge acceleration data is solved, reliable data support for bridge condition assessment and more accurate modal parameter identification are achieved, which is suitable for denoising complex bridge acceleration data. .
Patent Information
- Application Number
- CN202410841971.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing techniques are difficult to effectively denoise bridge acceleration data, especially when noise levels are high and data complexity is high, resulting in inaccurate bridge condition assessment.
Adopting a denoising method based on long short-term memory deep neural network, by establishing simulation acceleration and noise models, using LSTM network for end-to-end denoising processing, combining full-frequency and low-frequency denoising models, using Adam optimizer and early stopping method to prevent Overfitting to achieve adaptive denoising.
It achieves efficient denoising of bridge acceleration data, can accurately extract structural response components under high noise levels, supports more accurate modal parameter identification, and does not require manual parameter setting.
Smart Images

Figure CN118378037B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of bridge health monitoring, and in particular to a bridge acceleration data denoising method based on a long short-term memory deep neural network. Background Art
[0002] Acceleration is an important type of data in bridge health monitoring. It contains a variety of detailed information such as frequency, damping, vibration mode and energy. These characteristics are effective indicators for evaluating the operating status of bridges. However, due to the complex working environment of bridges and their susceptibility to external interference, the measured data inevitably contains a lot of noise, such as environmental noise, system electromagnetic radiation, equipment circuit noise, etc. These noises mask the valuable structural responses in the data, which may lead to inaccurate or even failed subsequent bridge status assessment. Therefore, it is crucial to effectively denoise acceleration data to improve data quality.
[0003] Current data denoising methods can be roughly divided into filtering denoising and decomposition and reconstruction denoising. The working principle of filtering denoising is simple and relatively easy to implement. It is mostly used for data with simple structure and low noise level. With the development of time-frequency decomposition techniques such as empirical mode decomposition, wavelet transform and variational mode decomposition, decomposition and reconstruction denoising is widely used because it can handle complex data. However, bridge acceleration data is non-stationary, nonlinear, and has the characteristics of dense low-order modes and low signal-to-noise ratio. Filtering denoising is difficult to handle such complex data and may cause data distortion; decomposition and reconstruction denoising is difficult to decompose all modes and accurately identify noise components. The optimal selection of decomposition parameters is also a problem that needs to be solved urgently.
[0004] Deep neural networks (DNNs) have powerful learning capabilities and can effectively handle complex and nonlinear problems. Data denoising methods based on DNNs have also been proposed and have been initially tried in many fields. The first is to combine DNNs with traditional methods, use DNNs for feature extraction and processing, and enhance denoising capabilities; further, use DNNs independently to establish denoising models without manually setting parameters to achieve end-to-end data denoising. However, the data targeted in existing studies often have simple waveforms and low noise levels, making denoising easy to implement. Applying DNNs to denoising complex bridge acceleration data is a huge challenge. Recurrent neural networks (RNNs) can consider the impact of previous states on the current state and are suitable for processing time series data with contextual associations, but face gradient vanishing and explosion problems when processing long sequences. Summary of the invention
[0005] In order to solve the problems of insufficient denoising ability, poor denoising effect and parameter selection in the prior art, the present invention proposes a bridge acceleration data denoising method based on a long short-term memory deep neural network, using a long short-term memory (LSTM) network as the main tool for denoising. The gating mechanism introduced by the long short-term memory network can effectively solve the gradient vanishing problem and reduce the probability of gradient explosion, which is more suitable for processing bridge acceleration data. The present invention can provide reliable data support for bridge status assessment.
[0006] The technical solution adopted by the present invention is as follows:
[0007] A bridge acceleration data denoising method based on a long short-term memory deep neural network comprises the following steps:
[0008] S1. Bridge acceleration data analysis, including typical noise types, levels and structural response time and frequency domain characteristics;
[0009] S2. Based on the analysis results of the bridge acceleration data, a generation model of simulated acceleration, simulated noise and simulated noisy acceleration is established, with the normalized simulated noisy acceleration as input and the corresponding noise component as output, the input and output are assembled as learning samples, and the learning samples are divided into a training set, a validation set and a test set;
[0010] S3. Establish a bridge acceleration denoising model based on a long short-term memory deep neural network, perform model training, model verification and model testing in combination with the learning samples, track the model training process and evaluate the model testing performance, and determine the final bridge acceleration denoising model;
[0011] S4. Input the bridge acceleration data into the final bridge acceleration denoising model to obtain denoised bridge acceleration data.
[0012] Furthermore, in S1, the bridge acceleration data is divided into several segments so that each segment contains a periodic vibration process, and the amplitude is normalized; the bridge acceleration data is converted from the time domain to the frequency domain using the fast Fourier transform, and the frequency components and energy distribution are analyzed.
[0013] Furthermore, the amplitude normalization processing method includes:
[0014]
[0015] in, is the original data, is the normalized data; and are the normalized lower and upper limits, respectively; and are the maximum and minimum values of the original data respectively.
[0016] Furthermore, in S2, the simulated acceleration is constructed by superimposing N sinusoidal function components to simulate the first N frequencies, and the expression of the sinusoidal function component is:
[0017]
[0018] in, For the acceleration components, For the The frequency of the acceleration component, is the amplitude, is the initial phase, t For time;
[0019] The simulated acceleration adopts an envelope simulation amplitude change superimposed by multiple free decay curves, and the expression of the free decay curve is:
[0020]
[0021] in, is the initial strength, is the free decay constant.
[0022] Further, in S2, the simulated noise includes Gaussian white noise, and the simulated noisy acceleration is obtained by randomly superimposing Gaussian white noise with a preset signal-to-noise ratio on the basis of the simulated acceleration.
[0023] Furthermore, in S3, the bridge acceleration denoising model includes two independent sub-models, namely a full-frequency denoising model and a low-frequency denoising model, which respectively perform full-frequency domain denoising and low-frequency domain special denoising. The input of the full-frequency denoising model is the original data, and the input of the low-frequency denoising model is the data processed by full-frequency denoising.
[0024] Furthermore, the full-frequency denoising model uses the normalized simulated noisy acceleration superimposed with full-frequency Gaussian white noise as the model input, and the corresponding full-frequency Gaussian white noise component as the model output; the low-frequency denoising model uses the normalized simulated noisy acceleration superimposed with preset frequency-domain Gaussian white noise as the model input, and the corresponding preset frequency-domain Gaussian white noise component as the model output.
[0025] Furthermore, the full-frequency denoising model and the low-frequency denoising model both adopt the anti-overfitting strategy of early stopping method and small batch gradient descent method, both adopt Adam optimizer to accelerate the network convergence speed, and both adopt mean square error as the loss function.
[0026] Furthermore, the full-frequency denoising model includes 1 input layer, 4 LSTM layers, 1 flattening layer, 3 fully connected layers and 1 output layer connected in sequence; the low-frequency denoising model includes 1 input layer, 4 LSTM layers, 1 flattening layer, 4 fully connected layers and 1 output layer connected in sequence.
[0027] Furthermore, it also includes: S5. Using the covariance driven random subspace method to identify the modal parameters of the denoised bridge acceleration data, and identifying the modal parameters of more-order denoised responses.
[0028] The beneficial effects of the present invention are:
[0029] 1. The present invention utilizes the powerful learning and prediction capabilities of the long short-term memory deep neural network to predict and remove the noise components in the bridge acceleration data without manually setting parameters, thus achieving end-to-end adaptive denoising.
[0030] 2. The present invention can be applied to the denoising of measured bridge acceleration data, has strong generalization ability, and the structural response components are not distorted after denoising, and can function even under high noise levels.
[0031] 3. The denoised bridge acceleration data of the present invention is helpful for the Cov-SSI method to identify modal parameters, and can identify more-order and more stable bridge modal parameters, and the identified results are consistent with the finite element calculation values. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A bridge acceleration data denoising method based on a long short-term memory deep neural network according to embodiment 1 of the present invention;
[0033] Figure 2 This is a stability diagram of the original acceleration data and the denoised data of the three bridges in Example 2 of the present invention. DETAILED DESCRIPTION
[0034] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation methods of the present invention are now described. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the embodiments described are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.
[0035] Example 1
[0036] like Figure 1 As shown, this embodiment provides a bridge acceleration data denoising method based on a long short-term memory deep neural network, comprising the following steps:
[0037] S1. Bridge acceleration data analysis, including typical noise types, levels and structural response time and frequency domain characteristics;
[0038] S2. Based on the analysis results of bridge acceleration data, MATLAB editing code instructions are used to generate simulated acceleration, simulated noise and simulated noisy acceleration. The normalized simulated noisy acceleration is used as input and the corresponding noise component is used as output. The input and output are assembled as learning samples, and the learning samples are divided into training set, validation set and test set.
[0039] S3. Build a long short-term memory deep neural network bridge acceleration denoising model based on the TensorFlow platform, conduct model training, model verification and model testing based on learning samples, track the model training process and evaluate the model testing performance, and determine the final bridge acceleration denoising model;
[0040] S4. Input the bridge acceleration data into the final bridge acceleration denoising model to obtain denoised bridge acceleration data.
[0041] Preferably, it also includes: S5. using a covariance driven random subspace (Cov-SSI) method to perform modal parameter identification on the denoised bridge acceleration data, and identifying modal parameters of more-order denoised responses.
[0042] Preferably, in S1, multiple groups of measured bridge acceleration data under different bridge types and working conditions are examined, and the time domain characteristics and frequency domain characteristics of noise type, noise level and structural response are fully considered. In order to facilitate the observation and comparison of waveform changes, the bridge acceleration data is divided into small segments so that each small segment contains a periodic vibration process, and the amplitude is normalized; the bridge acceleration data is converted from the time domain to the frequency domain using the fast Fourier transform, and the frequency components and energy distribution are analyzed.
[0043] More preferably, the method for amplitude normalization processing includes:
[0044]
[0045] in, is the original data, is the normalized data; and are respectively the normalized lower limit and upper limit, and in this embodiment, they are set to =-10, =10; and are the maximum and minimum values of the original data respectively.
[0046] Preferably, in S2, the simulated acceleration uses a construction method of superimposing N sinusoidal function components to simulate the first N frequencies. The simulated acceleration of this embodiment uses a construction method of superimposing 6 sinusoidal function components to simulate the first six frequencies, the sampling frequency is set to 128 Hz, the number of sampling data points is set to 2048, that is, the sampling duration is 16s, and the first six frequencies are randomly selected in the range of (0,1]Hz, (1,2]Hz, (2,3]Hz, (3,4]Hz, (4,5]Hz, (5,6]Hz, respectively. The expression of the sinusoidal function component is:
[0047]
[0048] in, For the acceleration components, For the The frequency of the acceleration component, is the amplitude, which is randomly selected in [1,10]; is the initial phase, taking a random value in [-2π, 2π]; t For time.
[0049] Preferably, the simulated acceleration uses an envelope simulation amplitude variation superimposed by multiple free decay curves. In this embodiment, the number of superimposed free decay curves ranges from [0,5], and the expression of the free decay curve is:
[0050]
[0051] in, is the initial strength, which is randomly selected in [0.1,10]; is the free attenuation constant, which takes a random value in (0.1,1).
[0052] Preferably, in S2, the simulated noise includes Gaussian white noise, and the simulated noisy acceleration is obtained by randomly superimposing Gaussian white noise with a preset signal-to-noise ratio (SNR) on the basis of the simulated acceleration. In this embodiment, Gaussian white noise with a signal-to-noise ratio range of [-10, 10] dB is randomly superimposed on the basis of the simulated acceleration to obtain the simulated noisy acceleration, and the SNR expression is as follows:
[0053]
[0054] in, and are the standard deviations of acceleration and noise, respectively.
[0055] In this embodiment, the normalized value range of all samples is set to [-10, 10], the training set is 128,000 samples, the validation set is 32,000 samples, the ratio of the training set to the validation set is 8:2, and five groups of samples with SNRs of 8dB, 4dB, 0dB, -4dB, and -8dB are generated separately as test sets to verify the denoising effect of the model under different noise levels.
[0056] Preferably, in S3, the bridge acceleration denoising model includes two independent sub-models, namely a full-frequency denoising model and a low-frequency denoising model, which respectively perform full-frequency domain denoising and low-frequency domain special denoising. The input of the full-frequency denoising model is the original data, and the input of the low-frequency denoising model is the data processed by the full-frequency denoising. Both denoising models select LSTM as the basic prediction network.
[0057] More preferably, the full-frequency denoising model includes 1 input layer, 4 LSTM layers, 1 flatten layer, 3 fully connected layers (Dense layers), and 1 output layer, and the number of units in the input layer, the output layer, and the 3 Dense layers are all 2048, and the number of units in the 4 LSTM layers are 64, 32, 32, and 16, respectively; the low-frequency denoising model includes 1 input layer, 4 LSTM layers, 1 Flatten layer, 4 Dense layers, and 1 output layer, and the number of units in the input layer, the output layer, and the 4 Dense layers are all 2048, and the number of units in the 4 LSTM layers are 32, 16, 16, and 8, respectively.
[0058] Among them, the full-frequency denoising model uses the normalized simulated noisy acceleration superimposed with full-frequency Gaussian white noise as the model input, and the corresponding full-frequency Gaussian white noise component is used as the model output; the low-frequency denoising model uses the normalized simulated noisy acceleration superimposed with preset frequency domain Gaussian white noise as the model input, and the corresponding preset frequency domain Gaussian white noise component is used as the model output. In this embodiment, the low-frequency denoising model uses the normalized simulated noisy acceleration superimposed with (0,6]Hz Gaussian white noise as the model input, and the corresponding (0,6]Hz Gaussian white noise component is used as the model output.
[0059] More preferably, both the full-frequency denoising model and the low-frequency denoising model adopt the anti-overfitting strategy of the Early Stopping method and the Mini-Batch Gradient Descent method; both use the Adam optimizer to speed up the network convergence speed. In this embodiment, the initial learning rate α 0 is set to 0.0001, which is the exponential decay rate used for the first-order moment estimate and the second-order moment estimate calculations. β 1 and β2 are set to 0.9 and 0.999 respectively; both use mean square error (MSE) as the loss function.
[0060] In S4, the length that the denoising model can process in one denoising process is 2048 data points, and the length of the measured acceleration data is much longer than this value. Preferably, the window sliding technology is used to process it. Specifically, in this embodiment, the window length is set to 2048 data points, and 1920 data points are slid forward each time. There are 128 data points overlapped between consecutive windows, and the overlapping parts are averaged.
[0061] Example 2
[0062] This embodiment is based on embodiment 1:
[0063] This embodiment provides a bridge acceleration data denoising method based on a long short-term memory deep neural network, including the following contents:
[0064] The measured bridge acceleration data contains valuable structural response components and worthless components; environmental noise is the main influencing factor, and according to its nature, it belongs to white noise, so white noise is the main noise type in the acceleration data; therefore, this embodiment combines engineering practice and uses the excellent performance of LSTM in time series prediction to predict and remove the white noise in the acceleration data, improve data quality and improve the accuracy of structural state assessment; the 1-hour vertical acceleration data of all measuring points collected from 2 cable-stayed bridges (recorded as cable-stayed bridge 1 and cable-stayed bridge 2) under normal operating conditions and 1 suspension bridge under typhoon conditions are used for testing, wherein the sampling frequencies are 20 Hz, 20 Hz and 10 Hz, respectively, and the data lengths are 72000, 72000 and 35945 data points, respectively.
[0065] A bridge acceleration data denoising method based on a long short-term memory deep neural network in this embodiment is carried out on a computer with a CPU of Core i5-12400, a GPU of RTX3050, and a memory of 16GB.
[0066] (1) The collected acceleration data are processed by sliding windowing, that is, each window corresponds to a denoising process; each data of cable-stayed bridge 1, cable-stayed bridge 2, and suspension bridge obtains 37, 37, and 18 windows respectively, that is, a total of 185, 185, and 126 windows respectively; finally, the denoised window data are recombined in a stacked window manner, and 128 data points are averaged between consecutive windows.
[0067] Let the window be Y i, the denoising process of each window is as follows: Since the training and validation data sets of the denoising model use normalized learning samples, each window should be normalized before entering the denoising model, that is, each window amplitude is normalized to [-10, 10] to obtain a normalized window , and inverse normalize to the original scale after denoising; the normalized window is first input into the full-frequency denoising model, and the model outputs the "full-frequency domain" noise of the normalized window data , then the normalized denoising window , and inversely normalize it to the original scale to obtain the window after full-frequency denoising S 1i ; Similarly, the window after low-frequency denoising S 2i .
[0068] (2) The present invention is essentially a time-domain denoising method, so the covariance-driven random subspace (Cov-SSI), which is also a time-domain method, is used to further evaluate the performance of denoised data in modal parameter identification. The identified results are visualized through stability diagrams. Diamond points represent points where the frequency, damping ratio, and vibration mode are all stable. The axis formed by them is the stable axis. A stable axis corresponds to the first-order frequency. The stability diagrams of the original acceleration data and denoised data of the three bridges are shown in Figure 1. Figure 2 shown; from Figure 2 It can be seen that compared with the original data, the stability diagram of the denoised data has more stable axes and the stable axes contain more stable points, which indicates that more orders and more reliable bridge modal parameters can be identified based on the denoised acceleration data. The identified vertical frequency values are compared with the finite element calculation values, as shown in the following table:
[0069] Table 1 - Comparison of identified vertical frequency values with finite element calculated values
[0070]
[0071] It can be seen from Table 1 that the denoised data identifies more orders of vertical frequencies than the original data, and the identification results are consistent with the finite element calculation values; therefore, the present invention effectively removes the noise in the original acceleration data, and the structural response becomes significantly more conducive to identification.
[0072] Example 3
[0073] This embodiment is based on embodiment 1:
[0074] This embodiment provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the bridge acceleration data denoising method based on a long short-term memory deep neural network in embodiment 1 are implemented. The computer program may be in source code form, object code form, executable file, or some intermediate form.
[0075] Example 4
[0076] This embodiment is based on embodiment 1:
[0077] This embodiment provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the bridge acceleration data denoising method based on long short-term memory deep neural network of embodiment 1. The computer program may be in source code form, object code form, executable file or some intermediate form, etc. The storage medium includes: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the storage medium does not include electric carrier signals and telecommunication signals.
[0078] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
Claims
1. A bridge acceleration data denoising method based on long short-term memory deep neural network, characterized in that: The following steps are involved: S1. Bridge acceleration data analysis, including typical noise types, levels and structural response time and frequency domain characteristics; S2. Based on the analysis results of the bridge acceleration data, a generation model of simulated acceleration, simulated noise and simulated noisy acceleration is established, with the normalized simulated noisy acceleration as input and the corresponding noise component as output, the input and output are assembled as learning samples, and the learning samples are divided into a training set, a validation set and a test set; S3. Establish a bridge acceleration denoising model based on a long short-term memory deep neural network, perform model training, model verification and model testing in combination with the learning samples, track the model training process and evaluate the model testing performance, and determine the final bridge acceleration denoising model; S4. inputting the bridge acceleration data into the final bridge acceleration denoising model to obtain denoised bridge acceleration data; In S2, the simulated acceleration uses a construction method of superimposing N sinusoidal function components to simulate the first N frequencies, and the expression of the sinusoidal function component is: in, For the acceleration components, For the The frequency of the acceleration component, is the amplitude, is the initial phase, t For time; The simulated acceleration adopts an envelope simulation amplitude change superimposed by multiple free decay curves, and the expression of the free decay curve is: in, is the initial strength, is the free decay constant; In S2, the simulated noise includes Gaussian white noise, and the simulated noisy acceleration is obtained by randomly superimposing Gaussian white noise with a preset signal-to-noise ratio on the basis of the simulated acceleration.
2. The bridge acceleration data denoising method based on long short-term memory deep neural network according to claim 1 is characterized in that: In S1, the bridge acceleration data is divided into several segments so that each segment contains a periodic vibration process, and the amplitude is normalized; the bridge acceleration data is converted from the time domain to the frequency domain using the fast Fourier transform, and the frequency components and energy distribution are analyzed.
3. The bridge acceleration data denoising method based on long short-term memory deep neural network according to claim 2 is characterized in that: The amplitude normalization processing method comprises: in, is the original data, is the normalized data; and are the normalized lower and upper limits, respectively; and are the maximum and minimum values of the original data respectively.
4. The bridge acceleration data denoising method based on long short-term memory deep neural network according to claim 1 is characterized in that: In S3, the bridge acceleration denoising model includes two independent sub-models, namely a full-frequency denoising model and a low-frequency denoising model, which respectively perform full-frequency domain denoising and low-frequency domain special denoising. The input of the full-frequency denoising model is the original data, and the input of the low-frequency denoising model is the data after full-frequency denoising.
5. The bridge acceleration data denoising method based on long short-term memory deep neural network according to claim 4 is characterized in that: The full-frequency denoising model uses the normalized simulated noisy acceleration superimposed with full-frequency Gaussian white noise as the model input, and the corresponding full-frequency Gaussian white noise component as the model output; The low-frequency denoising model uses the normalized simulated noisy acceleration superimposed with the preset frequency domain Gaussian white noise as the model input, and the corresponding preset frequency domain Gaussian white noise component as the model output.
6. The bridge acceleration data denoising method based on long short-term memory deep neural network according to claim 4 is characterized in that: The full-frequency denoising model and the low-frequency denoising model both adopt the anti-overfitting strategy of early stopping method and small batch gradient descent method, both adopt Adam optimizer to speed up the network convergence speed, and both adopt mean square error as the loss function.
7. The bridge acceleration data denoising method based on long short-term memory deep neural network according to claim 4 is characterized in that: The full-frequency denoising model includes 1 input layer, 4 LSTM layers, 1 flattening layer, 3 fully connected layers and 1 output layer connected in sequence; the low-frequency denoising model includes 1 input layer, 4 LSTM layers, 1 flattening layer, 4 fully connected layers and 1 output layer connected in sequence.
8. The bridge acceleration data denoising method based on long short-term memory deep neural network according to claim 1 is characterized in that: Also includes: S5. The covariance driven random subspace method is used to identify the modal parameters of the denoised bridge acceleration data and identify the modal parameters of more-order denoised responses.
