Time sequence correlation analysis method for internal feature information of tunnel monitoring data

The sliding window method and regression fitting are used to analyze the temporal correlation of tunnel monitoring data, which solves the problem of failure to effectively analyze the temporal correlation of data in the existing technology, achieves accurate extraction of internal feature information of the data and temporal correlation analysis, and improves Improve the model's generalization ability and analysis accuracy.

CN118626832APending Publication Date: 2024-09-10CHANGAN UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410723505.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the temporal correlation and internal feature information of the data in the correlation analysis of monitoring data, resulting in deviations in the correlation analysis results. Especially in the face of interference factors and changes in sensor parameters, it is difficult to accurately analyze the temporal correlation of the data. sex.

Method used

The sliding window method is used to segment and regression fit the data. The correlation of the fitting parameters in each window is analyzed through the correlation calculation formula. The time series correlation characteristics of the data are obtained by combining stretching and filling processing. It is suitable for extraction by different fitting formulas. Internal characteristic information of time-frequency data.

Benefits of technology

It improves the accuracy of data time series correlation analysis and model generalization ability, can better reflect the internal changes of data, enhances the performance of machine learning and the accuracy of judgment and decision-making, has strong applicability, and is suitable for different tunnel monitoring data Trend feature analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626832A
    Figure CN118626832A
Patent Text Reader

Abstract

The invention discloses a time sequence correlation analysis method for internal feature information of tunnel monitoring data. The method comprises the following steps: (1) preprocessing two groups of tunnel monitoring data; (2) determining sliding window parameters; (3) fitting window data and extracting corresponding fitting parameters; (4) performing sliding window data segmentation on the fitting parameters again, and performing correlation analysis on the fitting parameters of the two groups of data in the same window by using a correlation calculation formula; (5) combining the correlation coefficients of the windows to form a correlation coefficient vector; and (6) stretching the correlation coefficient vector to the length of the source data by using a linear interpolation method, if the correlation coefficient is small, showing that the positions of the two data have no correlation, otherwise, showing that the positions have certain correlation. According to the method, the feature information contained in the tunnel monitoring data is mined through the sliding window and data fitting, and the correlation analysis of the internal feature information and the time sequence of the tunnel monitoring data, which is difficult to identify by a traditional algorithm, is realized through correlation coefficient calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the research field of tunnel monitoring data correlation analysis, and in particular designs a time series correlation analysis method for internal characteristic information of tunnel monitoring data. Background Art

[0002] Correlation analysis of monitoring data is an important part of structural health monitoring and analysis research. It is often used in data dimension reduction, missing value compensation, outlier correction, etc., and plays an important role in machine learning. At present, the correlation analysis of monitoring data often uses Pearson correlation coefficient, Spearman correlation coefficient and Kendall correlation coefficient. However, these methods all analyze the two sets of data uniformly at the level of numerical size, and do not consider the temporal correlation of the data and the internal characteristics of the data, that is, the degree of correlation between the positions of the two data, and the correlation of the characteristic information contained in the data.

[0003] For example, when a certain interference factor causes two sensors to be affected to different degrees in a certain period of time, their data changes and amplitudes are different. When using traditional methods for correlation analysis, all data will be correlated, while ignoring the characteristics of strong correlation in this period and weak correlation in other periods. At the same time, due to the differences in data changes and amplitudes, the correlation analysis results will inevitably be biased. Therefore, it is urgent to establish an analysis method that can mine the internal feature information of tunnel monitoring data and analyze the temporal correlation of each position of the data. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a time series correlation analysis method for the internal characteristic information of tunnel monitoring data. The characteristic information contained in the data is extracted by sliding window and regression fitting, and the correlation coefficient of the characteristic information of each window is calculated by using the correlation function. Finally, the correlation coefficient vector is stretched and filled to obtain the characteristic correlation of different time series of data.

[0005] Since tunnel monitoring data can be divided into frequency domain and time domain data, the former is a frequency domain signal with a certain amplitude attenuation, and the latter is a time series data with slow or rapid changes. However, both can be used for feature extraction through a certain fitting formula. Therefore, the present invention extracts the internal feature information of time-frequency data through different data fitting formulas, which has strong applicability and a wider range of applications.

[0006] The technical solution of the present invention is as follows.

[0007] A method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data, comprising the following steps:

[0008] S1: Perform isometric preprocessing on the data of the two groups of sensors to ensure the uniformity of sample number, sample spacing and time sequence position;

[0009] S2: Use the sliding window method to segment the two sets of data respectively, and perform regression fitting on the monitoring data in each window to obtain the fitting parameters a and a' of each window, and combine them into fitting parameter vectors A and A';

[0010] S3: Segment the fitting parameter vectors A and A' again using the sliding window data segmentation, and use the correlation calculation formula to perform correlation analysis on the data in the same sliding window of A and A';

[0011] S4: Combining the correlation coefficients r calculated for each window to form a correlation coefficient vector R;

[0012] S5: Use adjacent value interpolation and linear interpolation to stretch the correlation coefficient vector R to the length of the source data;

[0013] S6: The stretched correlation coefficient vector and the source data are plotted in the same chart, and the correlation between the two sets of data in each time period can be obtained based on the chart.

[0014] In the above-mentioned method for analyzing the time series correlation of internal characteristic information of tunnel monitoring data, in step S1, the amount of data after the source data is equidistantly interpolated (x1, x2, ..., x k ) and (y1,y2,…,y k ) should be greater than 1000.

[0015] In the above-mentioned method for time series correlation analysis of internal characteristic information of tunnel monitoring data, in step S2, the length l of the sliding window should be greater than 50 samples, and the moving step d of the sliding window should be greater than 1 / 10 of the window length l and should be less than 1 / 5 of the window length l.

[0016] In the above-mentioned method for analyzing the time series correlation of the internal characteristic information of tunnel monitoring data, in step S2, the regression fitting formula is the linear fitting formula x=a*t+b, or the sinusoidal function fitting formula x=a+b*sin(2π(c+t) / d), where x is the data amount, t is the data position, and a, b, and c are fitting parameters.

[0017] In the above-mentioned method for analyzing the time series correlation of the internal characteristic information of tunnel monitoring data, in step S2, the fitting parameter vector A=(a1, a2, ..., a n )、A`=(a`1,a`2,…,a` n ), where n is the number of windows, a n and a` n The fitting parameters obtained by fitting the two sets of data in the nth window.

[0018] In the above-mentioned method for time series correlation analysis of internal characteristic information of tunnel monitoring data, in step S2, the window length of the sliding window of the fitting parameter vector is l / 2, and the moving step length is d / 2.

[0019] In the above-mentioned method for time series correlation analysis of internal characteristic information of tunnel monitoring data, in step S3, the correlation analysis method is a Pearson, Kendalltau or Spearman correlation coefficient calculation method.

[0020] In the above-mentioned method for analyzing the time series correlation of the internal characteristic information of tunnel monitoring data, in step S4, the correlation coefficient vector of the fitting parameter vectors A and A' is R=(r1, r2, r3, ..., r m ), where r m is the correlation coefficient calculated for the fitting parameter vectors A and A` in the mth window.

[0021] In the above-mentioned method for analyzing the time series correlation of the internal characteristic information of tunnel monitoring data, in step S5, the correlation coefficient vector R needs to undergo two stretching and filling processes, the first time the correlation coefficient vector R is stretched to the length of the fitting parameter vector A, and the second time it is stretched to the length of the source data.

[0022] In the above-mentioned method for analyzing the time series correlation of the internal characteristic information of tunnel monitoring data, linear interpolation is used between the data during the first stretching, and the filling length is the window step d / 2-1. The adjacent value filling method is used before the first data and after the last data, and the filling length is half of the window length l / 2; linear interpolation is used between the data during the second stretching, and the filling length is the window step d-1. The adjacent value filling method is used before the first data and after the last data, and the filling length is half of the window length l.

[0023] Compared with the existing method, the present invention has the following beneficial effects:

[0024] 1. There is a certain correlation between different data of tunnel monitoring, but this correlation will vary with time, interference factors, sensor parameters, etc. At present, the traditional method is to calculate the correlation of the two sets of monitoring data as a whole, which causes the loss of data time series correlation. The method of the present invention divides the data into time series through a sliding window, and uses the correlation coefficient calculation formula to analyze the correlation of the data in each window, and obtains the time series correlation of the two sets of data, and obtains internal information such as the change characteristics of the correlation over time, which is conducive to improving the performance of machine learning, improving the generalization ability of the model, and ensuring the accuracy of judgment and decision-making.

[0025] 2. The present invention mines the internal characteristic information of tunnel monitoring data through fitting formulas, such as the slope value of linear fitting, the amplitude, period and hysteresis of sine function fitting, etc. This information can better reflect the changes in the data. For example, when a certain interference factor appears, the two sensors will be affected to different degrees, and their amplitudes and changes will also be different. The traditional method only analyzes from the data size level, which is inevitably incomplete. By extracting the slope or amplitude characteristic value of the data at this part through the fitting formula, the correlation within the data can be effectively analyzed, and the calculation results are more accurate and the resolution is higher.

[0026] 3. The fitting formula used in the method of the present invention can mine different trend characteristics contained in the tunnel monitoring data, such as the slope correlation of long-period time series data, the correlation of amplitude and period of temperature data, and the vibration mode and modal correlation of frequency domain data. The method is simple, easy to use, highly applicable and practical, and can meet the needs of practical applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a flow chart of the present invention;

[0028] Figure 2 are two sets of vibrating-wire sensor source data after preprocessing in Example 1;

[0029] Figure 3 This is a schematic diagram of sliding window data segmentation in Example 1;

[0030] Figure 4 It is a schematic diagram of the correlation coefficient formation process in Example 1;

[0031] Figure 5 is a correlation coefficient stretching diagram in Example 1;

[0032] Figure 6 is the slope correlation analysis of similar data in Example 1;

[0033] Figure 7 is the slope correlation analysis of the difference data in Example 1;

[0034] Figure 8 are two sets of temperature sensor source data after preprocessing in Example 2;

[0035] Fig. 9 is the daily amplitude correlation analysis of similar temperature data in Example 2;

[0036] Fig.10 The daily amplitude correlation analysis of the differential temperature data in Example 2 DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.

[0038] Example 1

[0039] A method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data, characterized in that it comprises the following steps:

[0040] S1: Collect long-period time series data of two sets of vibrating-wire tunnel monitoring installed inside the tunnel, and use the interpolation filling method to process the two sets of data to ensure the uniformity of their sample number, sample spacing and time series position. At the same time, ensure that the data volume is greater than 1000. Figure 2 As shown, two sets of data (x1, x2, ..., x k ) and (y1,y2,…,y k ) have different values ​​and changes, but their horizontal axis positions and data spacing are always consistent, and the amount of data is greater than 1000.

[0041] S2: Determine the length l and step size d of the sliding window according to the actual data;

[0042] In this embodiment, the window length l is set to 100 sample points, and the window moving step d is 10 sample points. To meet the requirement in claim 3 that the length l of the sliding window should be greater than 50 samples, and the moving step d of the sliding window should be greater than 1 / 10 of the window length l and less than 1 / 5 of the window length l.

[0043] S3: Use sliding window method to segment the data, such as Figure 3 As shown, regression fitting is performed on the data in each window to obtain the fitting parameters of each window, and the fitting parameters are combined into a fitting parameter vector. Among them, the fitting formula can be selected from the linear fitting formula x=a*t+b, or the sine function fitting formula x=a+b*sin(2π(c+t) / d), or the logarithmic function fitting formula x=a+b*ln(t+c), or the exponential function fitting formula x=a+b*exp(c*t), where x is the data size, t is the data position, and a, b, c are fitting parameters.

[0044] This embodiment uses the linear fitting formula x=a*t+b to analyze the correlation between the slope changes of the two sets of data. That is, for the first window data (x1, x2, ..., x 100 ) to perform linear fitting and obtain the slope value a1 of the window. The slope value of the nth window is a n , and combine them to form the slope fitting vector A = (a1, a2, ..., a n). Use the same method to perform linear fitting on another set of data and obtain the slope fitting vector A`=(a`1,a`2,…,a` n ),like Figure 4 shown.

[0045] S4: Sliding window data segmentation is performed again on the fitting parameter vector, and correlation analysis is performed on the fitting parameters in the same window of the two sets of data using a correlation calculation formula, wherein the correlation analysis method is a Pearson, Kendalltau or Spearman correlation coefficient calculation method.

[0046] This embodiment adopts the Pearson correlation coefficient calculation formula, the window length of the sliding window of the slope fitting vector is 50, and the moving step length is 5. It meets the requirements of the window length of about 1 / 2 and the moving step length of about d / 2 in claim 6. For example, for the first window data (a1, a2, ..., a 50 ) and (a`1,a`2,…,a` 50 ) to calculate the Pearson correlation coefficient and obtain the correlation coefficient r1, such as Figure 4 shown.

[0047] S5: Combine the correlation coefficients calculated for each window to form a correlation coefficient vector for different fitting parameters. For example, the calculation result for the first window is r1, and the calculation result for the mth window is r m . It is used to form a correlation coefficient vector R = (r1, r2, r3, ..., r m ),like Figure 4 shown.

[0048] S6: Use adjacent value interpolation and linear interpolation to stretch the correlation coefficient vector R to the length of the source data.

[0049] Since the correlation coefficient R is calculated through two sliding windows, its data length is much smaller than the source data length. Adopt adjacent value interpolation and linear interpolation to stretch it, such as Figure 5 shown.

[0050] The first stretch is to the length of the slope fitting vector A, that is, linear interpolation is used between each data, and the filling length is 4, the window step length d / 2-1, and the adjacent value filling method is used before the first data and after the last data, and the filling length is half of the remaining data, which is l / 4. After filling, R`=(r` 1-1 ,r` 1-2 ,…,r` 1-l / 4 ,r1,r` 1+1 ,r` 1+2 ,r` 1+3 ,r` 1+4 ,r2,r`2+1 ,r` 2+2 ,r` 2+3 ,r` 2+4 ,r3,…,r m ,r` m+1 ,r` m+2 ,…,r` m+l / 4 ),like Figure 5 shown.

[0051] The second stretching stretches the padded R` to the length of the source data. The padded length of each data is the window step d-1, which is 9. The adjacent value filling method is used before the first data and after the last data. The padded length is half of the remaining data, which is l / 2. After filling, R``=(r`` 1-1-1 ,…,r`` 1-1-l / 2 ,r` 1-1 ,r` 1-1+1 ,…,r` 1-1+9 ,r` 1-2 ,r` m+l / 4 ,r` m+l / 4+1 ,…,r` m+l / 4+l / 2 ),like Figure 5 shown.

[0052] S7: Plot the correlation coefficient vectors and source data of different fitting parameters in the same chart, with the horizontal axis of the chart being the number of samples, the first vertical axis being the size of the source data, and the second vertical axis being the correlation coefficient value. A small correlation coefficient indicates that the two sets of data have no correlation with the fitting parameter at that position, and vice versa. Figure 6 As shown in the figure, the time series correlation of the two sets of data is generally higher than 0.5, indicating that there is a strong slope correlation at each position. However, at 2000-3000 points, the slope correlation decreases significantly, and the slope of the source data is also quite different at this time, which shows the effectiveness of this method.

[0053] In order to verify the method of the present invention, two other sets of data with completely different slopes were selected for analysis. The results are as follows: Figure 7 As shown in the figure, the slope correlation of each position of the data has been below 0.5, indicating that its correlation is poor. We can also see this result from the curve shape of the source data. This result can provide more reference information for decision makers, avoiding the one-sided decision of a single correlation coefficient in traditional methods. At the same time, this result can provide a basis for the processing of missing values ​​and outliers between data.

[0054] Example 2

[0055] S1: Collect two sets of fluctuating time series data from temperature tunnel monitoring, and use the interpolation filling method to process the two sets of data to ensure the uniformity of the number of samples, sample spacing, and time series position. At the same time, ensure that the amount of data is greater than 1000. Figure 8 As shown, two sets of data (x1, x2, ..., x k ) and (y1,y2,…,y k ) have different values ​​and changes, but their horizontal axis positions and data spacing are always consistent, and the amount of data is greater than 1000.

[0056] S2: Determine the length l and step size d of the sliding window according to the actual data;

[0057] In this embodiment, the window length l is set to a multiple of the daily temperature variation cycle, that is, 480 sample points; the window moving step d is set to 1 / 5 of the daily temperature variation cycle, that is, 96 sample points. The sliding window length l in claim 3 should be greater than 50 samples, and the sliding window moving step d should be greater than 1 / 10 of the window length l and less than 1 / 5 of the window length l.

[0058] S3: Use the sliding window method to segment the data and perform regression fitting on the data in each window. This embodiment uses the sine function fitting formula x = a + b * sin (2π (c + t) / d) to analyze the correlation between the daily amplitude b changes of the two sets of temperature data. That is, for the first window data (x1, x2, ..., x 100 ) is fitted to obtain the amplitude value b1 of the window, and the amplitude value of the nth window is b n , and combine them to form the amplitude fitting vector B = (b1, b2, ..., b n ). Use the same method to fit another set of data and get the amplitude fitting vector B`=(b`1,b`2,…,b` n ).

[0059] S4: Sliding window data segmentation is performed again on the fitting parameter vector, and correlation analysis is performed on the fitting parameters in the same window of the two sets of data using the correlation calculation formula. This embodiment adopts the Pearson correlation coefficient calculation formula, and the window length of the sliding window of the daily amplitude fitting vector is 240, and the moving step length is 48. It meets the requirements of the window length of about 1 / 2 and the moving step length of about d / 2 in claim 6.

[0060] S5: Combine the correlation coefficients calculated for each window to form a correlation coefficient vector for different fitting parameters. For example, the calculation result for the first window is r1, and the calculation result for the mth window is r m . It is used to form a correlation coefficient vector R = (r1, r2, r3, ..., r m ).

[0061] S6: Use adjacent value interpolation and linear interpolation to stretch the correlation coefficient vector R to the length of the source data.

[0062] S7: Plot the correlation coefficient vectors and source data of different fitting parameters in the same graph. Fig. 9 As shown in the figure, the time series correlation of the two sets of data is generally higher than 0.5, indicating that each position has a strong daily amplitude correlation. Similarly, in order to verify the method of the present invention, two sets of data with completely different daily amplitudes are selected for analysis. The results are shown in Fig.10 As shown. Fig. 9 and Fig.10 It can be seen that the correlation of the daily amplitude of each position of the data has been below 0.5, indicating that the correlation is poor. We can also see this result from the daily amplitude of the curve shape of the source data. This result can provide a basis for the processing of missing values ​​and abnormal values ​​of sensors, provide a reference for the identification of sensor temperature effect relationships, and support the extraction of feature information between data and the improvement of machine learning performance.

[0063] The present invention can realize accurate analysis of the correlation of internal characteristic information of each time period of data, realize data feature mining and time series correlation analysis, and is helpful for data analysis and related research. At the same time, the method of the present invention is simple, highly operable, and has broad application prospects.

Claims

1. A method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data, characterized in that: The following steps are involved: S1: Perform isometric preprocessing on the data of the two groups of sensors to ensure the uniformity of sample number, sample spacing and time sequence position; S2: Use the sliding window method to segment the two sets of data respectively, and perform regression fitting on the monitoring data in each window to obtain the fitting parameters a and a' of each window, and combine them into fitting parameter vectors A and A'; S3: Segment the fitting parameter vectors A and A' again using the sliding window data segmentation, and use the correlation calculation formula to perform correlation analysis on the data in the same sliding window of A and A'; S4: Combining the correlation coefficients r calculated for each window to form a correlation coefficient vector R; S5: Use adjacent value interpolation and linear interpolation to stretch the correlation coefficient vector R to the length of the source data; S6: Plot the stretched correlation coefficient vector and the source data in the same graph. Based on this chart, we can obtain the correlation between the two sets of data in each time period.

2. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 1, characterized in that: In step S1, the amount of data after the source data is equidistantly interpolated (x1, x2, ..., x k ) and (y1,y2,…,y k ) should be greater than 1000.

3. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 1, characterized in that: In step S2, the length l of the sliding window should be greater than 50 samples, and the moving step d of the sliding window should be greater than 1 / 10 of the window length l and less than 1 / 5 of the window length l.

4. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 1, characterized in that: In step S2, the regression fitting formula is a linear fitting formula x=a*t+b, or a sinusoidal function fitting formula x=a+b*sin(2π(c+t) / d), where x is the data size, t is the data position, and a, b, and c are fitting parameters.

5. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 1, characterized in that: In step S2, the fitting parameter vector A=(a1, a2, ..., a n )、A`=(a`1,a`2,…,a` n ), where n is the number of windows, a n and a` n The fitting parameters obtained by fitting the two sets of data in the nth window.

6. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 1, characterized in that: In step S2, the window length of the sliding window of the fitting parameter vector is l / 2, and the moving step length is d / 2.

7. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 1, characterized in that: In step S3, the correlation analysis method is the Pearson, Kendalltau or Spearman correlation coefficient calculation method.

8. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 1, characterized in that: In step S4, the correlation coefficient vector of the fitting parameter vectors A and A' is R = (r1, r2, r3, ..., r m ), where r m is the correlation coefficient calculated for the fitting parameter vectors A and A` in the mth window.

9. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 1, characterized in that: In step S5, the correlation coefficient vector R needs to be stretched and filled twice. The first time, the correlation coefficient vector R is stretched to the length of the fitting parameter vector A, and the second time, it is stretched to the length of the source data.

10. The method for analyzing the temporal correlation of internal characteristic information of tunnel monitoring data according to claim 9, characterized in that: In the first stretching, linear interpolation is used between the data, and the filling length is the window step d / 2-1. The adjacent value filling method is used before the first data and after the last data, and the filling length is half of the window length l / 2; in the second stretching, linear interpolation is used between the data, and the filling length is the window step d-1. The adjacent value filling method is used before the first data and after the last data, and the filling length is half of the window length l.

Citation Information

Patent Citations

  • Method for enhancing bridge health monitoring structural response and temperature data correlation convergence

    CN106650221A

  • Correlation analysis method and device based on time sequence, equipment and medium

    CN115358628A

  • Method for monitoring operation state of numerical control machine tool

    CN117798744A

  • Discrete time sequence-based similarity analysis method

    CN117909748A