Next Article in Journal
Airborne Coherent GNSS Reflectometry and Zenith Total Delay Estimation over Coastal Waters
Next Article in Special Issue
Precise Positioning Method of Moving Laser Point Cloud in Shield Tunnel Based on Bolt Hole Extraction
Previous Article in Journal
Relative Contributions of Climate Change and Human Activities on Vegetation Productivity Variation in National Nature Reserves on the Qinghai–Tibetan Plateau
Previous Article in Special Issue
Dynamic Characteristics Monitoring of Large Wind Turbine Blades Based on Target-Free DSST Vision Algorithm and UAV
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Separation of the Temperature Effect on Structure Responses via LSTM—Particle Filter Method Considering Outlier from Remote Cloud Platforms

1
School of Civil Engineering, Chongqing University, No. 83 Shabei Street, Chongqing 400045, China
2
The Key Laboratory of New Technology for Construction of Cities in Mountain Area of the Ministry of Education, No. 174 Shazheng Street, Chongqing 400044, China
*
Author to whom correspondence should be addressed.
Remote Sens. 2022, 14(18), 4629; https://doi.org/10.3390/rs14184629
Submission received: 17 July 2022 / Revised: 9 August 2022 / Accepted: 13 September 2022 / Published: 16 September 2022
(This article belongs to the Special Issue Remote Sensing in Structural Health Monitoring)

Abstract

:
Structural health monitoring (SHM) has been widely applied in the field of Mechanical and Civil Engineering in recent years. It is very hard to detect damage, however, using the measured data directly from the remote cloud platform of on-site structure, owing to changing environmental conditions. At the same time, outlier data from the remote cloud platform often occurs due to the harsh environmental conditions, interferences in the wireless medium, and the usage of low-quality sensors, which can greatly reduce the accuracy of structural health monitoring. In this paper, a novel temperature compensation method based on a long-short term memory (LSTM) network and the particle filter (PF) is proposed to separate the temperature effect from long-term structural health monitoring data. This method takes LSTMs as the state equation of PF, which solves the problem whereby PF cannot accurately derive the state equation for complex structures. A feedback model using the probability distribution generated by PF is developed to filter the observed value, thus measurement outliers can be successfully reduced. A numerical simulation and the measured deflection data from an SHM system are utilized to verify the proposed method. Results from the numerical simulation show that the LSTM-PF method can satisfactorily compensate for the temperature effect even when the nonlinear temperature effect is considered. Moreover, outputs from the SHM system of a large-scale suspension bridge indicate the temperature effect can be compensated and outliers can be appropriately reduced at the same time using the measured deflection data.

1. Introduction

Real-time structural health monitoring (SHM) of full-scale structures has flourished in the last few decades in the mechanical and civil engineering fields [1,2]. The basic principle of SHM is that a number of structural properties such as stiffness and damping are closely related to structural damage [3]. However, the monitoring data are measured from remote cloud platforms during long-term operation conditions, which contain a very large amount of information, including changing environmental conditions, loading and inevitable testing error, and so forth. As a matter of fact, some field tests have found that temperature was one of the significant factors. For example, Farrar [4] performed vibration tests on the I-40 Bridge by cutting one of the girders in four damage levels, and he found that damage cannot be directly detected through the identified frequency because the ambient temperature played a major role in the variation of the bridge’s frequency.
To deal with temperature variation, monitoring data or damage features extracted from these data should be compensated or modified to the same environmental conditions. Hence, a great number of methods have been proposed to separate the temperature effect, and they can be divided into two categories: Model-based and model-free methods. When temperature data are measured, various regression and interpolation methods have been developed based on statistical models [4,5,6,7]. Xia has presented the static linear regression algorithm using the measured bridge displacement and temperature to eliminate the temperature effect [5]. H. Sohn used a linear filter between temperature and natural frequency to capture the variation of the frequencies to temperature [6]. Dynamic regression methods such as Auto-Regressive output and an Exogeneous input method (ARX), which can consider the influence of the outputs and inputs at every time instant, have been proposed to separate the temperature effect with high accuracy [7]. If measured data were contaminated with noise, the wavelet transform [8,9] was implemented to reconstruct the data from the interesting frequency range with a high signal-to-noise ratio, and then regression methods were used to separate the temperature effect. When temperature data were unavailable, the underlying relationship between the temperature and the damage-sensitive features was implicitly modeled by singular value decomposition [10], an auto-associative neural network, subspace [11], and co-integration methods, etc. For example, Manson [12] implemented principal component analysis to project the original feature space into a reduced feature space, which is insensitive to temperature, then the damage feature was immune to temperature effect.
Although there are many methods for temperature effect separation or compensation, few of them consider outlier data from remote cloud platforms, which is a common phenomenon in real SHM systems. With the development of wireless transmission and cloud computation, many structural health monitoring systems adopt the 4G or 5G technique to send measured data from sensors to a cloud platform. However, the received data may be corrupted by some factors, such as radio interference and sensor faults, resulting in a false alarm of the monitoring system. Especially in large-scale platforms with so many devices, it is very common to observe sensors injecting corrupt information into the overall system due to these factors [13,14]. If these distorted data are used to train the linear regression model or ARX model or to acquire the reduced feature space, the accuracy of temperature effect compensation will be significantly decreased. Furthermore, nonlinearity between the temperature and structural response is obvious for complex structures, thus compensation precision will decline if the nonlinearity is not handled appropriately. To address these problems, a temperature effect separation method based on long-short term memory (LSTM) and a particle filter (PF) is proposed in this paper.
The rest of this paper is organized as follows. The theories of the PF algorithm and the LSTM method are presented in Section 2; the proposed LSTM-PF combination strategy is developed in Section 3; temperature effect separation cases from a numerical example and a real bridge are discussed in Section 4 and Section 5, respectively; and the paper is finally concluded in Section 6.

2. Fundamental Principles of PF and LSTM Approach

2.1. Particle Filter

If temperature and structural response are both measured, the PF algorithm can be utilized to address the temperature compensation with the prediction strategy. Furthermore, according to the probability distribution generated by the PF calculation, distortion data or outliers can be eliminated by a feedback model.
Firstly, the dynamics model of a structure can be described as
{ x ( t ) = f ( x ( t 1 ) , n ( t ) ) y ( t ) = h ( x ( t ) , v ( t ) )
where x is state variables, y is the prediction observation data; n is the process noise, which reflects the noise generated by physical factors in the time-varying process; v is the measurement noise, which represents the measured noise of the sensor; the superscript t denotes time step; and f(•) and h(•) are the state transfer function and the observation function, respectively. The state transfer function is generally determined by the object system and reflects the pattern between the states. In the field of dynamics, motion equations of systems are generally used as the state function. The observation function or equation reflects the relationship between the state value and the observation value.
Theoretically, PF is a Bayesian estimation method based on the Monte Carlo technique, so the sampling importance resampling filter (SIR) [15] is chosen to solve Equation (1). The calculation steps are briefly as follows:
(1) Initialization
At time step t = 0, initial sampling particles x i ( 0 )   (i = 1, …, N) are generated by the prior probability density function (PDF) p(x), which is often viewed as normally distributed, where N is the total number of particles.
(2) Importance sampling
At the tth time step (t = 1, 2, …), the state equation f(•) is used to obtain x ˜ i ( t ) and then the observation equation is implemented to acquire y ˜ i ( t ) (i = 1, 2, …, N). Then, the general weight equation can be written as [16]
w i ( t ) = η ( 2 π ) 1 / 2 e x p { 1 2 ( y m ( t ) y ˜ i ( t ) ) 1 ( y m ( t ) y ˜ i ( t ) ) }
w ˜ ( t ) ( x i ( 0 : k ) ) = w ( t ) ( x i ( 0 : t ) ) i = 1 N w ( t ) ( x i ( 0 : t ) )
( 3) Resampling
Based on the principle that the total number of particles remains unchanged after resampling, a new particle set x i ( t ) is obtained by resampling the particle set x ˜ i ( t ) with its corresponding weight ω ˜ i ( t ) . Therefore, these particles with a larger weight are divided into multiple particles, and the particles with a very small weight are discarded. Each particle in the newly formed particle set has the same weight of 1/N, which can be described as { x i ( t ) , 1 N } i = 1 N .
(4) Output
Using resample points { x i ( t ) , 1 N } i = 1 N , the posterior PDF of system state x can be approximately expressed as:
P ( x ( t ) | y ( 1 : t ) ) P ˜ ( x ( t ) | y ( 1 : t ) ) = 1 N i = 1 N δ ( x ( t ) x i ( t ) )
where δ (•) is the Dirac delta function. P ˜ ( x ( t ) | y ( 1 : t ) ) is the posterior PDF of system state x after resampling. The expected value of the result can be approximately calculated as:
E ( x i ( t ) ) 1 N i = 1 N x i ( t )
( 5) Return to step 2 and repeat this iteration until the stop criterion is triggered.
A more detailed description and information about the PF algorithm with the SIR strategy can be found in reference [16].

2.2. LSTM Neural Network Architecture

In the second step of the PF algorithm, the state equation is used to calculate state variables forward in each time step, so it plays a crucial role in prediction accuracy. Unfortunately, the state equation is usually unavailable for complex structures or in situ structures in strictly physical terms. Since the state equation in the PF algorithm is used to calculate state variables xi(t) according to state variables xi(t−1) by Equation (1), which can be understood as a time series prediction. So, the LSTM can be utilized as the surrogate model for the state equation in PF. On the other hand, the LSTM itself has the capability of simulating the nonlinear phenomenon, which can improve the performance of PF as well.
LSTM is a special kind of recursive neural network (RNN), which solves the information preservation problem [17]. Not only will LSTM learn the information of the present moment, but it will also rely on the previous sequence information.
The special block of LSTM cells is three gates [18], called the input gate, forget gate, and output gate. With this peculiar structure, LSTM can store long-term memories in the memory cell, which can avoid the disappearance or explosion of gradient propagating over time. The forget gate decides what information from the cell state is discarded. The input gate determines what new information is put into the cell state. The output gate calculates output buot of the LSTM block. The special block of the LSTM cell is depicted in Figure 1. Depending on the three gates, LSTMs allow us to store and access information over a long period. In Figure 1, xint is the input of the LSTM block ad bht is the working memory (hidden state) of the LSTM block.
More detailed information about LSTM can be found in reference [18].

2.3. Matching of LSTM and State Equation

For complex structures, such as large-span bridges and dams, the equation of motion cannot be obtained directly through theoretical derivation. This problem can be solved if LSTM is used to replace the equation state equation because, firstly, LSTM can learn complex events; secondly, compared with other deep learning methods, LSTM is better at predicting time series, which has the same requirements as the equation of state. Thirdly, LSTM can obtain the state at the next moment from the state at the last moment, which is matched with the state equation. The specific derivation is as follows:
Input gate:
a l t = i n = 1 I N w i n l x l n t + c = 1 C w c l b c t 1 + h = 1 H w h l b h t 1
b l t = f ( a l t )
Forget gate:
a t = i n = 1 I N w i n x l n t + c = 1 C w c b c t 1 + h = 1 H w h b h t 1
b t = f ( a t )
Cell update:
a c t = i n = 1 I N w i n c x l n t + i = 1 I w h c b h t 1
b c t = b t b c t 1 + b l t h ( a c t )
b c t = b c t 1 f ( i n = 1 I N w i n x l n t + c = 1 C w c b c t 1 + h = 1 H w h b h t 1 ) +
f ( i n = 1 I N w i n l x i n t + c = 1 C w c l b c t 1 + h = 1 H w h l b h t 1 ) h ( i = 1 I w i c x l s t m t + i = 1 I w h c b h t 1 )
Output gate:
a o t = i n = 1 I N w i n o x l n t + c = 1 C w c o b c t 1 + h = 1 H w h o b h t 1
b o t = f ( a o t )
Cell output:
b o u t = b o t h ( b c t )
      b o u t = f ( i n = 1 I N w i n o x l n t + c = 1 C w c o b c t 1 + h = 1 H w h o b h t 1 ) ×
h ( b c t 1 f ( i n = 1 I N w i n x i n t + c = 1 C w c s c t 1 + h = 1 H w h b h t 1 ) + f ( i n = 1 I N w i n l x i n t + c = 1 C w c l b c t 1 h = 1 H w h l b h t 1 ) h ( i = 1 I w i c x i t + i = 1 I w h c b h t 1 ) )
In the case of iteration, the input is xit−1 and the output is xit:
x i t = f ( i = 1 I w i o x i t 1 + c = 1 C w c o b c t 1 + h = 1 H w h o b h t 1 ) ×
h ( b c t 1 f ( i = 1 I x i t 1 + c = 1 C w c b c t 1 + h = 1 H w h b h t 1 ) + f ( i = 1 I w i l x i t 1 + c = 1 C w c l b c t 1 + h = 1 H w h l b h t 1 ) h ( i = 1 I w i c x i t 1 + i = 1 I w h c b h t 1 ) )
where the input of LSTM is represented by xint and bout−1 is the output of LSTM. The subscripts i n , l , , o , h , c , o u represent the inputs, input gate, forget gate, output gate, hidden state, LSTM’s cell state, and outputs, respectively. Pooled calculation results are represented by a, and b represents activated calculation results. The sigmoid activation function is represented by f and h represents the tanh activation function.

3. The LSTM-PF Algorithm

3.1. Environmental Vector

For mechanic and civil structures, the load is assumed to be independent of these environmental factors. Therefore, during the long-term structural health monitoring, the response of the structure y(t) can be obtained by the following equation:
y ( t ) = L F ( t ) + E F ( t )
where L F ( t ) denotes the structural response caused by loads and E F ( t ) represents the structural response caused by environmental factors.
For in situ civil structures, such as continuous rigid frame bridges, the load has little effect on the structural static response or identified modal parameters, such as natural frequencies, damping ratio, etc. Under this assumption, the LF(t) can be approximately viewed as white noise, so Equation (18) can be rewritten as
y ( t ) = E F ( t ) + n o i s e 1
Furthermore, the effect of temperature is much larger than other operational factors under normal operation conditions. In this regard, other influence factors can also be assumed as white noise
E F ( t ) = T F ( t ) + n o i s e 2
where T F ( t ) is the structural response caused by temperature. It is worth noting that noise 1 and noise 2 can be viewed as process noise.
It is worth mentioning that wind often has more influence on structures than the temperature effect, but in the code of structural health monitoring, such as the Technical code for the monitoring of building and bridge structures (GB 50982), thee wind is classified as a load, thus it is not considered as an environmental factor in this paper.
To deal with the temperature compensation problem, a temperature vector T ( t ) is set as
  T ( t ) = { T x o ( t ) ,   T x t ( t ) }
where T x o ( t ) is the ambient temperature during measurement and T x t ( t ) denotes the target temperature for compensation.

3.2. Temperature Compensation Algorithm

It can be clearly seen from Equation (17) that LSTM conforms to the iteration rule of the state equation in PF. Moreover, LSTM can handle multiple input problems. Therefore, Equation (1) can be rewritten as
{ x ( t ) = L S T M ( x ( t 1 ) ,   T ( t ) ) + n ( t )   y ( t ) = x ( t ) + v ( t )
It is different from the original PF algorithm in Equation (1) whereby function f(•) is substituted by the LSTM network and the temperature vector T is included.
It should be noted that y ( t ) = ( y 1 ( t ) , y 2 ( t ) , , y N ( t ) ) T is the compensated observation value at time step t. The true measured   y m ( t ) , however, includes the temperature effect, thus it cannot be utilized to calculate weights for PF in Equation (3) since they are in a different temperate environment. Fortunately, the trained LSTM network can be used again to acquire the predicted response   y p ( t ) which are under the same temperature environment with the observation y ( t ) . So the compensated predicted response is calculated as
  y p ( t ) = L S T M (   y m ( t 1 ) ,   T ( t ) )
Since sampling important resampling (SIR) is used in this study, it is only necessary to make a specific choice about the probability density function of the importance of the particle:
q ( x i ( t ) | x i ( t 1 ) ,   T ( t ) ,   y p ( 1 : t ) ) = P ( x i ( t ) | x i ( t 1 ) ,   T ( t ) )
The weights can be obtained by the following equation:
w i ( t ) = η ( 2 π ) 1 / 2 e x p { 1 2 ( y p ( t ) y i ( t ) ) 1 ( y p ( t ) y i ( t ) ) }
After weights are obtained, the normalized weight ω ˜ k i is recomputed according to Equation (4) to obtain the particle set { x ˜ i ( t ) , w ˜ i ( t ) } i = 1 N . The new particle set { x i ( t ) , 1 N } i = 1 N is obtained by resampling. Then the distribution of particles Ω ( t ) is generated from the new particle set { x i ( t ) , 1 N } i = 1 N . Finally, a feedback model, which will be described in Section 3.3, of the output versus the input can be formed by using the distribution Ω ( t ) . The expected value E ( x i ( t ) )   can be approximately calculated by Equation (5).
If the temperature and structural response are both measured, the PF algorithm can be utilized to address the temperature compensation with the prediction strategy. Furthermore, according to the probability distribution generated by PF calculation, distortion data or outliers can be eliminated by the feedback model.

3.3. Feedback for Eliminating Measurement Outliers from Remote Cloud Platforms

For a real structure, distortion or outlier data are often encountered. Therefore, the   y m ( t 1 )   will mislead the predicted value in the next time step t in Equation (24) and then the whole PF procedure. In this study, the feedback step of PF is used to modify   y m ( t ) , thus the misleading effect of distortion is reduced.
The probability density function   g ( x ) ( t ) can be acquired from the distribution   Ω ( t ) . Then the P ( x ( t ) ) can be obtained by,
{ P ( x ( t ) ) = y m ( t )   g ( x ) ( t ) d x , y m ( t ) E ( x i ( t ) ) P ( x ( t ) ) = 1 y m ( t ) g ( x ) ( t ) d x , y m ( t ) > E ( x i ( t ) )
In the particle filter algorithm, the probability density distribution is composed of discrete particles, and the weight of each particle is equal, so y m ( t )   g ( x ) ( t ) d x   can be approximated as Nm/N, where Nm is the number of particles when y i ( t ) y m ( t ) . Therefore, Equation (16) can be rewritten as
{ P ( x ( t ) ) N i N , y m ( t ) E ( x i ( t ) ) P ( x ( t ) ) 1 N i N , y m ( t ) > E ( x i ( t ) )
In order to avoid the second type II error that takes wrong observations as correct inputs, a threshold ξ is set to determine whether a correction should be made. Although outliers of measured data often occur, in fact, it is a small probability event that the cloud platform generates outlier values in the normal working state. This is because, in practical engineering, the amount of measurement data is large and the measurement time is long, resulting in outliers often occurring among measurement data. Statistically, for such a small probability event, the probability threshold is generally set as less than 1%. Since abnormal data are not completely discarded in the feedback model, this threshold can be appropriately broadened to 1%, that is,   ξ = 1 % . What is more, it is unreasonable to completely discard observations, because the value of data is wrong, but the trend may be right to some extent. Consequently, when P ( x ( t ) ) ξ , the measured response   y m ( t )   is modified by
{ y ^ m ( t ) = y m ( t ) P ( x ( t ) ) + E ( x i ( t ) ) [ 1 P ( x ( t ) ) ] ,       y m ( t ) E ( x i ( t ) ) y ^ m ( t ) = y m ( t ) [ 1 P ( x ( t ) ) ] + E ( x i ( t ) ) P ( x ( t ) ) ,   y m ( t ) > E ( x i ( t ) )
where y ^ m ( t )   is the observation data after feedback, which is used to amend the input value y m ( t ) at the next time step in Equation (23).
It assumes that the malfunction of the sensor occurs intermittently, and the damaged structure will constantly produce abnormal data. The feedback model is automatically disabled when it works continuously 5 times, and at this time, the algorithm will lose its ability to eliminate outliers, thus preserving the information of structural damage.

3.4. Computation Procedure

(1) Training phase
Under normal conditions, the LSTM model is trained. The dynamic learning rate LR = 0.001 × ( 0.95 × epoch ) is adopted for thee LSTM network, where the epoch is the number of iterations. The training operation will terminate when the loss value Loss is stable, where Loss is defined by
L o s s = i = 1 N ( y p y m ) 2 N
(2) Temperature compensation phase
(1) Initialization
At the first time step t = 0, after the initial values x ( 0 ) are measured from the sensors, initial sampling particles { x i ( 0 ) } i = 1 N are generated through prior PDF   P ( x ) . Since accurate process and measurement noise are very difficult to obtain explicitly in practical engineering, both of them are assumed as normally distributed with zero mean and variance σ0, where σ0 is set as 1% root mean square (RMS) of the measured structure response in this article. Furthermore, the total number of particles N is set as 5000 recommended by references [19,20].
(2) Importance sampling
At the time step tth (t = 1,2,…), Equation (22), which uses the LSTM network as the state equation, is used to obtain y i ( t ) (i = 1,2,…, N) from xi(t−1) and Fx(t). Then,   y p ( t )   is obtained by Equation (23).   y i ( t ) and y p   ( t )   are used to calculate the weights   w i ( t ) for each particle by Equation (25). After that, the normalized weight ω ˜ k i is re-computed according to Equation (3).
(3) Resampling
The new particle set { x i ( t ) , 1 N } i = 1 N without weights is obtained by resampling the particle set { x ˜ i ( t ) , w ˜ i ( t ) } i = 1 N . After that, the distribution of particles Ω ( t ) is generated, and the expected value E ( x i ( t ) )   can be approximately calculated by Equation (5).
(4) Feedback
According to the distribution   Ω ( t ) , the prediction measurement y ^ m ( t ) is generated by Equations (27) and (28). If the feedback model works five consecutive times, it fails.
(5) Output
The results after temperature compensation   y p ( t )   are obtained by Equation (23).
(6) We return to step 2 and iterate until the end of the time steps.

4. Numerical Example

The proposed LSTM-PF method is verified using a finite element (FE) table under different temperatures in this section.

4.1. FE Model

In order to verify the feasibility of LSTM-PF for nonlinear temperature compensation, a contrived non-trivial plate model, shown in Figure 2, is conducted with finite element software under tone burst excitation. The density of the plate material is 2700 kg/m3, and its Poisson ratio is 0.33. The initial elastic modulus is 2.0 × 10 5 MPa.
A 100,000 Hz ultrasonic is used as the input at the actuator and output is measured at the sensor in Figure 2. The ultrasonic is superimposed by a 100,000 Hz sinewave and a Hanning window, as shown in Figure 3.
It is assumed that the elastic modulus of the material varies nonlinearly with temperature, as shown in Figure 4.
Six cases are considered with different temperatures, as listed in Table 1.
In order to simulate the process noise and observation noise in practical engineering, random noise with a signal–noise ratio (SNR) of 60 dB is added for all cases. Furthermore, in order to simulate the corrupt information measured from remote sensing cloud platforms, the outliers with a 1% probability of occurrence and 0~10 random iterations of the RMS of the normal working are added under case 6. The time history of deflection under case 6 with noise and outliers is shown in Figure 5.

4.2. LSTM Training and LSTM-PF Model

The LSTM model should be trained before it is combined with PF. The structural response from 0~0.00015 s and its corresponding temperature are used for training, and the subsequent response was regarded as the test set. It is worth noting that six deflections at different cases’ temperatures were used for training, which is in line with the conditions of practical engineering, because for real engineering structures, we can obtain structural response data at different temperatures.
For LSTM-PF, the trained LSTM is put into the particle filter to form the new algorithm. After 1000 iterations, stable and good results can be obtained through the LSTM-PF method.
The number of layers in deep learning has a great influence on the accuracy of training. The more layers, the better the ability to extract nonlinear features. However, too many layers will lead to increased training time. The prediction accuracy of the LSTM network with different layers (128 neurons per layer) is shown in Figure 6. The increasing trend of accuracy is obvious before layer 3, but the velocity of increase is extremely slow after layer 3. On the other hand, the training time is prolonged significantly as the number of layers increases (from one to five layers, the consumption time is 25, 32, 43, 57, and 71 min, respectively). Thus, considering the factors of accuracy and computation cost, the number of layers is set to 3 for the LSTM network in this study.

4.3. Linear Regression for Temperature Compensation

Linear regression is a traditional statistical method and also a common method to deal with temperature compensation problems. This paper uses linear regression to fit the temperature–stiffness curve. The deflections of the structure are calculated by the finite element method with the stiffness at different temperatures obtained by the fitting.

4.4. Results and Discuss

4.4.1. The Signal without Outliers

The deflection under 80 °C is used to compensate for the deflection under 59 °C by the LSTM-PF and LSTM methods as shown in Figure 7.
Figure 7 shows that the compensated deflections by LSTM-PF and LSTM coincide with the waveform under 59 °C, which means LSTM-PF and LSTM can perform effective temperature compensation. However, there is a difference between the deformation compensated by the linear regression method and the deflection waveform at 56 °C, indicating that the effect of temperature compensation by the traditional linear regression method is not good. Table 1 shows the mean and variance of relative error. It is worth noting that the relative error here is the ratio of the difference to the RMS value of the reference waveform. This is because there are some points in the wave pattern that are very close to zero. These points close to zero in the denominator tend to make the relative error larger. However, in fact, the absolute error value corresponding to this huge relative error is very small relative to the RMS value of the reference waveform. In order to avoid this situation, the RMS value of the waveform is used instead of the original waveform as the reference value to calculate the relative error.
According to Table 2, the mean and variance of relative error using these two methods are approximately 0.3% and 0.4%. So, LSTM-PF and LSTM methods show good performances on temperature compensation for materials with temperature nonlinearity without outliers. It is worth noting that the mean value of LSTM-PF is slightly less than that of LSTM. This is because the particle filter has a certain filtering effect, so the influence of noise is reduced. However, the mean and variance of relative error using linear regression are approximately 3% and 200%, which are much larger than LSTM and LSTM-PF methods. This shows that LSTM and LSTM-PF methods are better than traditional linear regression methods in dealing with nonlinear temperature effects.

4.4.2. The Signal Containing Outliers

The deflection under 80 °C with outliers is used as one of the inputs to obtain the compensated deflection under 59 °C (case 6 compensating for case 4). The results of compensation are shown in Figure 8.
Figure 8 shows that the real deflection under 59 °C and the compensated deflection by LSTM-PF also coincide with each other after adding some outliers. Furthermore, there are hardly any outliers in the compensated deflection by LSTM-PF, which means LSTM-PF is good at resisting noise.
Table 3 shows that the relative mean and variance of the proposed LSTM-PF method are 0.13% and 0.22%, respectively. However, the relative mean and variance of the LSTM method increase to 1.55% and 299.39%, respectively. This shows that only the proposed method can compensate for the temperature effect accurately when outliers’ values are considered. The reason for these phenomena is that the feedback model of LSTM-PF filter outliers out of the signal so that outliers have no influence on prediction in Equation (12).

5. Temperature Compensation for a Real Bridge

5.1. A Large-Scale Suspension Bridge

The Qiansimen Bridge is a cable-stayed bridge with an 88 m + 312 m + 240 m + 88 m span in Chongqing, China. Figure 9 is a real view of the Qiansimen Bridge. A remote cloud platform is installed in this bridge, and the layout of deflection sensors using a connecting pipe, temperature sensors, and wind sensors is depicted in Figure 10.
The sensors circled in Figure 10a are the ones used in this paper. Firstly, two temperature sensors, QW11 and QW12, are located at the bridge head. Next, the two deflection sensors N11 and N12 are located in the first span. Then, two temperature sensors, QW21 and QW22, as well as a deflection sensor, N21, are in the same position. Finally, the wind sensor is located in the second span.
The deflection from N12 and temperature from QW21 measured from 2016 to 2017 are shown in Figure 11a. It shows that not only does temperature fluctuate up and down over time, but there are also large seasonal fluctuations for displacement over long periods of time, suggesting that deflection is largely influenced by environmental factors, especially temperature. Figure 11b shows the relationship between temperature and deflection. As can be seen in the figure, it does not exhibit a clear linear relationship, which proves the non-linearity relationship between temperature and deflection. Therefore, if the temperature effect is not separated, the condition assessment of the bridge cannot be implemented accurately.
What is more, for the in situ SHM system, outlier data from the remote cloud platform often occurs [21,22,23]. Figure 12 depicts signals measured by sensors N11, N12, and N21 at the same time. It was observed that data from sensor N11 are consistent with that from sensor N12. The data from sensor N21, nevertheless, are abnormal in the period marked with the dotted box shown in Figure 12.
Figure 13 shows the wind speed measured by the wind sensors QF11-1 and QF11-2 at the same time. It can be seen that when the outlier from the deflection sensor occurs, the wind speed does not show many mutations. That is, the outlier caused by wind load is excluded. It is almost certain that these outliers are caused by some non-structural damage factors, such as harsh environmental conditions, radio interference, and sensor faults.

5.2. Calculation Model

In order to deal with and without outliers from the remote cloud platform, two cases are considered in this section. Case 1 includes the data measured by temperature sensors QW11, QW12, QW21, and QW22 and deflection sensor N12; Case 2 contains temperature sensors QW11, QW12, QW21, and QW22 and deflection sensor N21.
Since there are many factors that cause the variation in deflection for in situ bridges, the reference or true value after temperature compensation is unavailable. This makes it impossible to choose a base temperature to check whether these methods compensate correctly. However, it is noted that over time, not only the deflection of the bridge changes, but also the environmental measurements such as the temperature of the bridge change, that is, the temperature varies with each time step. So, every prediction at the next moment is actually a calculation of the target value at the next moment under different environmental conditions such as temperature, which can be used as compensation. Therefore, in this example, the prediction can be regarded as compensation, that is, the accuracy of the prediction can be used to prove whether the method can compensate to some extent.
For the training LSTM network, the training data are the deflection data measured by the sensor in normal conditions for one and a half months. The test set is the sensor’s deflection data for the next three days.

5.3. Results and Comparision

LSTM and LSTM-PF are both used for comparison. The predicted results are shown in Figure 14.
In Figure 14, the solid line (the data measured from the sensor N12-1) is close to the line with the circle (LSTM-PF prediction) and the line with the asterisk (LSTM prediction). It means that the LSTM-PF and LSTM methods can successfully predict the true value.
Table 4 illustrates that the absolute mean error of the predicted value of LSTM-PF and LSTM is only approximately 0.3 dm and 0.5 dm, respectively, whereas the amplitude of the deflection is approximately 3.5 dm, indicating that the absolute mean error is very low. Moreover, Table 4 shows that the mean and variance of relative error between the predicted value calculated by LSTM-PF and the measured data are not bigger than 5%. Therefore, it proves that these two methods can compensate for the temperature of the normal data from the remote cloud platform.
Furthermore, the proposed method is used for the abnormal data measured from the remote cloud platform, which can test whether LSTM-PF has the ability to resist outliers in real structures. The results are shown in Figure 15.
Figure 15 shows the predictions under case 2. In the drift sections, the outliers occur frequently. In the normal sections, the signal is no anomaly, which can be used to verify the correctness of the methods.
The line with a circle (LSTM-PF prediction) is very close to the solid line (the abnormal data measured from the sensor N21-1) in the stationary section. It means that the proposed LSTM-PF methods can successfully predict the true value in the stationary section. Furthermore, it fluctuates slightly in the drift section. Although it is impossible to determine whether this prediction is correct, it basically conforms to the basic law of bridge deflection, that is, there will not be a big change in deflection. Therefore, it can be preliminarily judged that the LSTM-PF method is not very sensitive to the outliers from the remote cloud platform and can obtain accurate predictions. However, for the LSTM method, the predicted value fluctuates greatly in the drift section and deviated greatly from the measured value in the stationary section. It can be seen that the LSTM method is very sensitive to outliers.
Table 5 shows that the absolute error of the predicted value by the LSTM-PF method is low in the stationary section, which is 0.4170 dm. The variance of LSTM-PF prediction is also small, which is 0.4170 dm. On the other hand, the mean and variance of the predicted error by the LSTM method are 2.4233 dm and 1.9413 dm, respectively, which are approximately 10 times higher than those under a stationary case. It indicates that LSTM is very sensitive to outliers, while outliers have little influence on LSTM-PF. In other words, the LSTM-PF method can compensate for temperature when dealing with the influence brought by singular values well, and its effect is better than that of using the LSTM method.

6. Conclusions

A novel method based on LSTM and the Particle Filter for temperature compensation is proposed. This method takes LSTMs as the state equation of the Particle Filter, which solved the problem that PF cannot derive the equation of state for complex structures such as bridges. The feedback model formed by the probability distributions of PF can effectively reduce the negative influence caused by outliers due to harsh environmental conditions, interferences in the wireless medium, and the usage of low-quality sensors. Therefore, this method can deal with the problem of temperature compensation with outliers.
Results from numerical simulation fully illustrate that the single LSTM network is sensitive to outliers. However, the LSTM-PF method can perform temperature compensation and reduce the influence of the outlier after compensation. The outputs from the SHM system of a large-scale suspension bridge prove that LSTM-PF mitigates the impact of the outliers. The proposed method has the advantage that the nonlinear temperature effect can be successfully captured because LSTM is employed as the surrogate for the state equation of the particle filter. Moreover, the feedback model based on the probability distribution generated by PF can filter out the outlier data to improve the accuracy of temperature compensation.

Author Contributions

Conceptualization, Y.L., G.L. and Y.Q.; methodology, G.L. and Y.Q.; software, Y.Q.; validation, Y.Q.; formal analysis, Y.Q.; investigation, Y.Q.; resources, Y.Q.; data curation, Y.Q.; writing—original draft preparation, Y.Q.; writing—review and editing, Y.L., G.L. and Y.Q.; visualization, Y.Q.; supervision, Y.L. and G.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China, grant number 51638002.

Data Availability Statement

Some data and models during the study are available from the corresponding author by request (1. Simulation model data; 2. measurement data of the Qiansimen Bridge from 2016 to 2017; 3. the results of LSTM-PF in Section 4 and Section 5).

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study.

References

  1. Yang, Y.; Lu, H.; Tan, X.; Chai, H.K.; Wang, R.; Zhang, Y. Fundamental mode shape estimation and element stiffness evaluation of girder bridges by using passing tractor-trailers. Mech. Syst. Signal Process. 2022, 169, 108746. [Google Scholar] [CrossRef]
  2. Yang, Y.; Zhang, Y.; Tan, X. Review on Vibration-Based Structural Health Monitoring Techniques and Technical Codes. Symmetry 2021, 13, 1998. [Google Scholar] [CrossRef]
  3. Yang, Y.; Ling, Y.; Tan, X.; Wang, S.; Wang, R. Damage identification of frame structure based on approximate Metropolis–Hastings algorithm and probability density evolution method. Int. J. Struct. Stab. Dyn. 2022, 22, 2240014. [Google Scholar] [CrossRef]
  4. Farrar, C.R.; Baker, W.E.; Bell, T.M.; Cone, K.M.; Darling, T.W.; Duffey, T.A.; Eklund, A.; Migliori, A. Dynamic characterization and damage detection in the I-40 bridge over the Rio Grande. Puerto Rico Health Sci. J. 2005, 24, 323. [Google Scholar]
  5. Xia, Y.; Hao, H.; Zanardo, G.; Deeks, A. Long term vibration monitoring of an RC slab: Temperature and humidity effect. Eng. Struct. 2006, 28, 441–452. [Google Scholar] [CrossRef]
  6. Sohn, H.; Dzwonczyk, M.; Straser, E.G.; Kiremidjian, A.S.; Law, K.H.; Meng, T. An Experimental Study of Temperature Effect on Modal Parameters of the Alamosa Canyon Bridge. Earthq. Eng. Struct. Dyn. 2015, 28, 879–897. [Google Scholar] [CrossRef]
  7. Peeters, B.; Roeck, G.D. One-year monitoring of the Z24Bridge: Environmental effects versus damage events. Earthq. Eng. Struct. Dyn. 2015, 30, 149–171. [Google Scholar] [CrossRef]
  8. Worden, K.; Sohn, H.; Farrar, C.R. Novelty detection in a changing environment: Regression and interpolation approaches. J. Sound Vib. 2002, 258, 741–761. [Google Scholar] [CrossRef]
  9. Liang, Z. Research on Health Evaluation of Bridge Structures Based on Statistical Analysis of Monitored Data. Ph.D. Thesis, Optical Engineering, College of Optronics Engineering, University of Chongqing, Chongqing, China, 2006. [Google Scholar]
  10. Sohn, H. Effects of Environmental and Operational Variability on Structural Health Monitoring. Philos. Trans. A Math. Phys. Eng. Sci. 2007, 365, 539–560. [Google Scholar] [CrossRef]
  11. Fritzen, C.R.; Mengelkamp, G.; Guemes, A. Elimination of temperature effects on damage detection within a smart structure concept. Struct. Health Monit. 2003, 15, 530–538. [Google Scholar]
  12. Cross, E.J.; Manson, G.; Worden, K.; Pierce, S.G. Features for damage detection with insensitivity to environmental and operational variations. Proc. Math. Phys. Eng. Sci. 2012, 468, 4098–4122. [Google Scholar] [CrossRef]
  13. Martín, D.; Fuentes-Lorenzo, D.; Bordel, B.; Alcarria, R. Towards Outlier Sensor Detection in Ambient Intelligent Platforms—A Low-Complexity Statistical Approach. Sensors 2020, 20, 4217. [Google Scholar] [CrossRef] [PubMed]
  14. Victor, G.F.; Carles, G.; Helena, R.P. A Comparative Study of Anomaly Detection Techniques for Smart City Wireless Sensor Networks. Sensors 2016, 16, 868. [Google Scholar]
  15. Arulampalam, M.S.; Maskell, S.; Gordon, N.; Clapp, T. A Tutorial on Particle Filters for Online Nonlinear/Non-Gaussian Bayesian Tracking. IEEE Trans. Signal Process. 2002, 50, 174–188. [Google Scholar] [CrossRef]
  16. Kitagawa, G. Monte Carlo Filter and Smoother for Non-Gaussian Nonlinear State Space Models. J. Comput. Graph. Stat. 1996, 5, 1–25. [Google Scholar]
  17. Strobelt, H.; Gehrmann, S.; Pfister, H.; Rush, A.M. LSTMVis: A Tool for Visual Analysis of Hidden State Dynamics in Recurrent Neural Networks. IEEE Trans. Vis. Comput. Graph. 2017, 24, 667–676. [Google Scholar] [CrossRef]
  18. Greff, K.; Srivastava, R.K.; Koutník, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A Search Space Odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2015, 28, 2222–2232. [Google Scholar] [CrossRef]
  19. Chatzi, E.N.; Smyth, A.W. The unscented Kalman filter and particle filter methods for nonlinear structural system identification with non-collocated heterogeneous sensing. Struct. Control. Health Monit. 2010, 16, 99–123. [Google Scholar] [CrossRef]
  20. Chatzi, E.N.; Smyth, A.W. Nonlinear System Identification: Particle-Based Methods. In Encyclopedia of Earthquake Engineering; Springer: New York, NY, USA, 2014; pp. 1–18. [Google Scholar]
  21. Peoples, C. FIESTA-IoT project: Federated interoperable semantic IoT/cloud testbeds and applications. Comput. Rev. 2019, 60, 468. [Google Scholar]
  22. Chandola, V.; Banerjee, A.; Kumar, V. Anomaly Detection: A Survey. ACM Comput. Surv. 2009, 41, 1–58. [Google Scholar] [CrossRef]
  23. Martín, D.; Bordel, B.; Alcarria, R. Automatic Detection of Erratic Sensor Observations in Ami Platforms: A Statistical Approach. Proceedings 2019, 31, 55. [Google Scholar]
Figure 1. LSTM block architecture.
Figure 1. LSTM block architecture.
Remotesensing 14 04629 g001
Figure 2. The size of the plate.
Figure 2. The size of the plate.
Remotesensing 14 04629 g002
Figure 3. The input of ultrasonic.
Figure 3. The input of ultrasonic.
Remotesensing 14 04629 g003
Figure 4. The young’s modulus vs. temperature of the plate.
Figure 4. The young’s modulus vs. temperature of the plate.
Remotesensing 14 04629 g004
Figure 5. The deflection under case 6 with the noise. (a) The original outlier signal with noise; (b) the combined deflection signal.
Figure 5. The deflection under case 6 with the noise. (a) The original outlier signal with noise; (b) the combined deflection signal.
Remotesensing 14 04629 g005
Figure 6. Process of LSTM neural network training.
Figure 6. Process of LSTM neural network training.
Remotesensing 14 04629 g006
Figure 7. The results of compensated defection.
Figure 7. The results of compensated defection.
Remotesensing 14 04629 g007
Figure 8. The results of compensated deflection with outliers.
Figure 8. The results of compensated deflection with outliers.
Remotesensing 14 04629 g008
Figure 9. The real view of the Qiansimen Bridge.
Figure 9. The real view of the Qiansimen Bridge.
Remotesensing 14 04629 g009
Figure 10. Sketch of deflection and temperature sensors’ arrangement on the bridge. (a) The front view of the bridge; (b) The vertical view of the bridge.
Figure 10. Sketch of deflection and temperature sensors’ arrangement on the bridge. (a) The front view of the bridge; (b) The vertical view of the bridge.
Remotesensing 14 04629 g010
Figure 11. Temperature changes throughout the year. (a) Comparison of temperature and deflection over time; (b) Nonlinear relationship between temperature and deflection.
Figure 11. Temperature changes throughout the year. (a) Comparison of temperature and deflection over time; (b) Nonlinear relationship between temperature and deflection.
Remotesensing 14 04629 g011
Figure 12. Normal data and outliers measured by the sensors.
Figure 12. Normal data and outliers measured by the sensors.
Remotesensing 14 04629 g012
Figure 13. Data measured by the wind sensors.
Figure 13. Data measured by the wind sensors.
Remotesensing 14 04629 g013
Figure 14. Prediction under case 1.
Figure 14. Prediction under case 1.
Remotesensing 14 04629 g014
Figure 15. Prediction under case 2.
Figure 15. Prediction under case 2.
Remotesensing 14 04629 g015
Table 1. Six temperature cases (units: °C).
Table 1. Six temperature cases (units: °C).
Case123456
Temperature243547597080
Table 2. The relative error without outliers.
Table 2. The relative error without outliers.
MethodScenariosMeanVariance
case 6 compensating case 40.22%0.39%
LSTMcase 4 compensating case 20.34%0.53%
case 6 compensating case 10.57%0.51%
case 6 compensating case 40.12%0.21%
LSTM-PFcase 4 compensating case 20.35%0.42%
case 6 compensating case 10.32%0.23%
case 6 compensating case 44.07%288.31%
linear regressioncase 4 compensating case 20.93%75.12%
case 6 compensating case 13.45%257.48%
Table 3. The relative error of results with outlier (case 6 compensating fir case 4).
Table 3. The relative error of results with outlier (case 6 compensating fir case 4).
MethodMeanVariance
LSTM1.55%299.38%
LSTM-PF0.13%0.22%
Table 4. Error of the prediction without outliers.
Table 4. Error of the prediction without outliers.
MethodMeanVariance
LSTM-PF (absolute)0.3081 (dm)0.0665 (dm)
LSTM-PF (relative)4.44%2.63%
LSTM (absolute)0.4907 (dm)0.1120 (dm)
LSTM (relative)7.49%4.44%
Table 5. Absolute error in normal section.
Table 5. Absolute error in normal section.
MethodMeanVariance
LSTM2.4233 (dm)1.9413 (dm)
LSTM-PF0.4170 (dm)0.0760 (dm)
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Qin, Y.; Li, Y.; Liu, G. Separation of the Temperature Effect on Structure Responses via LSTM—Particle Filter Method Considering Outlier from Remote Cloud Platforms. Remote Sens. 2022, 14, 4629. https://doi.org/10.3390/rs14184629

AMA Style

Qin Y, Li Y, Liu G. Separation of the Temperature Effect on Structure Responses via LSTM—Particle Filter Method Considering Outlier from Remote Cloud Platforms. Remote Sensing. 2022; 14(18):4629. https://doi.org/10.3390/rs14184629

Chicago/Turabian Style

Qin, Yang, Yingmin Li, and Gang Liu. 2022. "Separation of the Temperature Effect on Structure Responses via LSTM—Particle Filter Method Considering Outlier from Remote Cloud Platforms" Remote Sensing 14, no. 18: 4629. https://doi.org/10.3390/rs14184629

APA Style

Qin, Y., Li, Y., & Liu, G. (2022). Separation of the Temperature Effect on Structure Responses via LSTM—Particle Filter Method Considering Outlier from Remote Cloud Platforms. Remote Sensing, 14(18), 4629. https://doi.org/10.3390/rs14184629

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop