A method and system for overload timing data reconstruction and boundary repair of a structural vibration sensor
By constructing a time-series reconstruction model and a boundary repair method, the problems of misjudgment and boundary abrupt changes in the overload time-series data of bridge vibration sensors were solved, thus realizing the reliability and accuracy of bridge structural health monitoring.
Patent Information
- Application Number
- CN202611593801.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-15
- Publication Date
- 2026-11-20
AI Technical Summary
Existing bridge vibration sensors rely on a single amplitude threshold for overload identification, leading to misjudgments. Their judgment of continuous intervals is unstable, and boundary repair is prone to abrupt changes, affecting the reliability of structural health monitoring.
By constructing a time-series reconstruction model, the difference between normal vibration modes and overload patterns is utilized, and the overload window is determined by combining flat-top features and extreme value clustering features. Continuous smoothing and overlapping averaging are used to recover the overload interval, and linear baselines and adjacent vibration templates are introduced at the boundary for repair.
It effectively identifies sensor overload, restores the temporal continuity and smooths the boundaries of vibration signals, reduces the impact of misjudgment, and maintains the original data characteristics of normal sections unchanged.
Smart Images

Figure CN123138684A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a method and system for reconstructing and repairing overload time-series data of structural vibration sensors, belonging to the fields of structural engineering, structural health monitoring, and sensor time-series data processing. Background Technology
[0002] Bridge structures exhibit significant non-stationary and time-varying vibration characteristics under complex conditions such as vehicle loads, wind loads, temperature changes, and sudden gusts. Structural health monitoring systems typically use sensors to continuously collect structural responses, including acceleration, displacement, and strain data. Vibration time-series data is a crucial data foundation for identifying structural condition, abnormal vibrations, and potential damage.
[0003] During long-term monitoring, vibration sensors may be affected by factors such as over-range excitation, zero-point drift, electromagnetic interference, power supply fluctuations, and transmission anomalies. When the input response exceeds the sensor's range or the acquisition link becomes saturated, the raw signal may exhibit distortions such as prolonged proximity to the upper or lower limit, flattening, truncation, and loss of true dynamic fluctuations. Directly using this type of data for modal identification, fatigue analysis, or safety assessment will reduce the reliability of subsequent analysis results.
[0004] Existing methods often use a single amplitude threshold to identify overload, but real structures may also produce large amplitude responses under strong winds or vehicle action. Relying solely on amplitude can easily misjudge real large-amplitude vibrations as sensor malfunctions. For continuous saturation sections that have already occurred, simple linear interpolation or neighborhood averaging is insufficient to recover reasonable dynamic fluctuations. Furthermore, if only the main body of the overload section is replaced, new amplitude abrupt changes or jumps may occur at the connection points between the repaired section and the normal signals on both sides.
[0005] Therefore, an intelligent processing method for overload time series data of bridge vibration sensors is needed. This method can identify continuous overload intervals by utilizing the difference between normal vibration modes and overload waveforms, and adopt different recovery strategies for the main body and overload boundaries of the overload intervals. While keeping the original data of the normal section as unchanged as possible, the reconstruction results can simultaneously have reasonable vibration fluctuations and temporal continuity. Summary of the Invention
[0006] Objective: To overcome the problems in existing bridge vibration sensor overload data processing, such as overload identification relying on a single frame threshold, unstable continuous interval judgment, and easy abrupt changes in boundary repair, this invention provides a method and system for reconstructing and repairing overload time-series data of structural vibration sensors.
[0007] Technical solution: To solve the above technical problems, the technical solution adopted by the present invention is as follows:
[0008] In a first aspect, a method for reconstructing and repairing the overload time-series data of a structural vibration sensor includes the following steps:
[0009] Step S1: Obtain the vibration time-series signal collected by the bridge vibration sensor, divide the vibration time-series signal into multiple original sequences corresponding to time-series windows according to a preset window length and step size; establish a time-series reconstruction model using the original sequences of normal vibration windows that do not contain sensor overload, input the original sequences corresponding to all time-series windows into the time-series reconstruction model, and output the reconstruction sequences corresponding to each time-series window.
[0010] Step S2: Calculate the reconstruction error based on the original sequence and the reconstructed sequence of the corresponding time window, and extract the flat-top feature and extreme value clustering feature that characterize the overload pattern from the original sequence. First, filter candidate abnormal windows based on the reconstruction error, and then combine the flat-top feature and extreme value clustering feature for joint discrimination to determine the overload window.
[0011] Step S3: Perform continuity smoothing on the overload window binary labels arranged along the time axis. For the smoothed overload window binary labels, aggregate the time series windows that continuously satisfy the overload state into continuous overload intervals, and map the continuous overload intervals to the original time series signals to determine the candidate start boundary and candidate end boundary.
[0012] Step S4: Perform main reconstruction only on the continuous overload interval. Superimpose the reconstruction sequences of multiple adjacent time windows covering the continuous overload interval along the original time axis. Take the average of multiple reconstruction values corresponding to the same sampling time to form the main reconstruction sequence of the continuous overload interval. The original vibration data outside the continuous overload interval remains unchanged.
[0013] Step S5: For the local repair sections of the candidate start boundary and candidate end boundary, construct a linear baseline using the normal vibration signal endpoints at both ends of each local repair section; select normal vibration segments of a preset reference length from the left and right sides of the local repair section respectively, remove the mean from the normal vibration segments and perform length matching and amplitude scale adjustment to obtain a vibration reconstruction term of the same length as the local repair section; superimpose the linear baseline and the vibration reconstruction term to obtain a basic repair sequence; continuously connect the basic repair sequence with the corresponding normal vibration signal to obtain the final boundary repair result.
[0014] Optionally, it also includes: when the length of the local repair segment is greater than or equal to a preset enhancement length threshold, constructing a vibration enhancement term composed of a periodic fluctuation component and a zero-mean random disturbance component, multiplying it by a boundary attenuation weight that gradually increases from both ends of the local repair segment to the inside of the segment, and then superimposing it onto the basic repair sequence to obtain the repair value of the local repair segment.
[0015] The repair values within a preset ratio range at both ends of the local repair section are gradually fused with the corresponding normal signals to obtain the final boundary repair result.
[0016] Optionally, the temporal reconstruction model in step S1 is used to train the model using the original sequence of the normal vibration window to form a reconstruction benchmark of the normal vibration mode as the reconstruction sequence. It includes a local change feature extraction unit, a gated temporal memory unit, and a sequence reconstruction output unit.
[0017] The local change feature extraction unit is used to extract local fluctuation patterns within a time-series window.
[0018] The gated timing memory unit is used to learn the time dependencies between sampling points.
[0019] The sequence reconstruction output unit is used to output a reconstructed sequence of the same length as the input timing window.
[0020] Optionally, step S2 includes:
[0021] The reconstruction error of the i-th timing window is determined by the average of the squared differences between the corresponding sampling points of the original window and the reconstruction window.
[0022] The data-driven anomaly threshold is determined based on the statistical distribution of reconstruction error of the normal vibration window. When the reconstruction error of the i-th time series window is greater than the data-driven anomaly threshold, the time series window is selected as a candidate anomaly window; otherwise, it is not included in the subsequent over-carrier waveform feature discrimination.
[0023] For adjacent sampling points within the candidate anomaly window, perform first-order difference to obtain the absolute value of the first-order difference. The proportion of samples with an absolute value of the first-order difference less than the difference threshold to the total number of valid difference samples within the window is used as the flat-top feature. The product of the amplitude range of the candidate anomaly window and the preset extreme value neighborhood coefficient is used as the extreme value neighborhood width. The maximum value neighborhood and the minimum value neighborhood of the window are determined based on the extreme value neighborhood width. The proportion of samples falling into the maximum value neighborhood and the minimum value neighborhood of the window are counted respectively, and the sum of the two is used as the extreme value clustering feature.
[0024] The reconstruction error, flat-top feature, and extreme value clustering feature of the candidate abnormal window are compared with the overload error threshold, flat-top ratio threshold, and extreme value clustering ratio threshold, respectively. If the reconstruction error is greater than the overload error threshold, the flat-top ratio is greater than the flat-top ratio threshold, and the extreme value clustering ratio is greater than the extreme value clustering ratio threshold, it is considered that an overload condition is met. When at least two of the three overload conditions are met, the corresponding time series window is determined to be an overload window.
[0025] Optionally, step S3 includes:
[0026] An odd-length moving average kernel is used to perform continuous smoothing on the binary labels of the overloaded window, and a smoothing score is obtained for each window.
[0027] When the smoothing score is greater than or equal to the continuity judgment threshold, the smoothed overload label of the corresponding window is recorded as 1; otherwise, it is recorded as 0.
[0028] Window segments that are time-continuous and smoothed with an overload label of 1 are aggregated into continuous overload intervals.
[0029] Based on the window length and step size of the sliding window, the starting window index of the first consecutive overload window is converted into the sampling point index in the original time series signal as a candidate starting boundary, and the ending window index of the last consecutive overload window is converted into the sampling point index in the original time series signal as a candidate ending boundary.
[0030] Optionally, step S4 includes:
[0031] For any sampling time within a continuous overload interval, sum the reconstructed values corresponding to all time windows covering that sampling time, and divide by the number of time windows covering that sampling time to obtain the main reconstructed value for that sampling time.
[0032] The main reconstruction values at each sampling time within the continuous overload interval are calculated sequentially to form the main reconstruction sequence.
[0033] Only the original vibration data within the continuous overload interval is replaced using the main reconstruction sequence, while the original vibration data remains unchanged outside the continuous overload interval.
[0034] Optionally, step S5 includes:
[0035] Local repair segments are obtained based on candidate start boundaries and candidate end boundaries. For each local repair segment, the normal signal endpoints on the outer left and outer right sides of the local repair segment are read and linearly interpolated according to their relative positions within the local repair segment to obtain a linear baseline connecting the normal signals at both ends.
[0036] Search for and extract normal vibration segments from the candidate boundary outwards from the local repair section, and extract a number of consecutive normal sampling points that reach a preset reference length. Remove the mean from the normal vibration segments to obtain a zero-mean vibration template. Then, make the length of the zero-mean vibration template consistent with the length of the local repair section through interpolation or resampling. Adjust the amplitude of the normal vibration segments according to the standard deviation of the normal vibration segments to obtain the vibration reconstruction term.
[0037] The linear baseline is added to the vibration reconstruction term at each sampling point to form the basic repair sequence.
[0038] When the length of the local repair segment is greater than or equal to the preset enhancement length threshold, a vibration enhancement term consisting of a periodic fluctuation component and a zero-mean random disturbance component is constructed. This term is then multiplied by a boundary attenuation weight that gradually increases from both ends of the local repair segment toward the interior of the segment and superimposed onto the basic repair sequence to obtain the repair value of the local repair segment.
[0039] When the length of the local repair section is less than the preset enhancement length threshold, the vibration enhancement term is not superimposed.
[0040] The repair values or basic repair sequences within a preset ratio range at both ends of the local repair section are gradually fused with the corresponding normal signals to obtain the final boundary repair result.
[0041] In a second aspect, an electronic device includes a memory and a processor, the processor being configured to execute a computer program in the memory to implement the overload time-series data reconstruction and boundary repair method for any of the structural vibration sensors in the first aspect.
[0042] Thirdly, a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when run on a processor, executes the overload timing data reconstruction and boundary repair method for any of the structural vibration sensors in the first aspect.
[0043] Beneficial Effects: This invention provides a method and system for reconstructing and repairing overload time-series data of structural vibration sensors. This invention relates to the field of structural health monitoring and sensor time-series data processing technology. The method acquires time-series signals from bridge vibration sensors and constructs a sliding window. A time-series reconstruction benchmark is established using normal vibration data. Based on the reconstruction error between the original window and the reconstructed window, and combined with waveform features such as the flat-top ratio and extreme value aggregation ratio, the sensor overload window is discriminated. The overload window labels are smoothed for time continuity, and the discrete discrimination results are aggregated into continuous overload intervals, determining candidate start and end boundaries. Only for continuous overload intervals, the overlapping average of the reconstruction results from adjacent windows is used for main body restoration. For overload boundaries, with normal signals on both sides of the boundary as constraints, a linear baseline, a nearby normal vibration template, and a weighted enhancement term are constructed to smoothly connect the repaired section with the normal section. This invention can identify sensor saturation or truncated overload while maintaining normal vibration data as much as possible, continuously recovering distorted sections and reducing boundary abrupt changes. Compared with the prior art, this invention has the following beneficial effects:
[0044] (1) Use the reconstruction error of normal vibration mode as the data-driven discrimination criterion to reduce the dependence on a single fixed amplitude threshold;
[0045] (2) By combining the reconstruction error with the flat-top ratio and the extreme value clustering ratio, the true large-scale structural vibration and the sensor saturation or truncation distortion can be more effectively distinguished.
[0046] (3) By smoothing the discrete overload windows through time continuity, the candidate start and end boundaries are aggregated into continuous overload intervals and the candidate start and end boundaries are explicitly determined, thereby reducing the impact of isolated misjudgments on the reconstruction range.
[0047] (4) Use the overlapping average of multiple reconstruction windows to recover the overload body, only replace the determined continuous overload intervals, and try to preserve the original vibration characteristics of the normal section.
[0048] (5) Introducing normal signal endpoint constraints, linear baselines, adjacent vibration templates and weighted enhancement terms at the overload boundary can reduce abrupt changes and jumps at the connection between the repair section and the normal section. Attached Figure Description
[0049] Figure 1 This is a flowchart of a method for reconstructing and repairing overload time-series data of a structural vibration sensor according to the present invention.
[0050] Figure 2 This is a schematic diagram of the functional structure of the temporal reconstruction model of the present invention.
[0051] Figure 3 This is a flowchart of the overload multi-feature joint discrimination and continuous overload interval determination of the present invention.
[0052] Figure 4 This is a schematic diagram illustrating how the reconstruction results of multiple sliding windows in this invention overlap and average to form a continuous overload interval main body reconstruction sequence.
[0053] Figure 5 This is a schematic diagram of the overload boundary repair components of the present invention.
[0054] Figure 6 The training loss curve for the time series reconstruction model.
[0055] Figure 7 This is a global comparison diagram of the original vibration signal and the preliminary reconstructed signal.
[0056] Figure 8 This is a comparison image before and after local repair of the overload boundary.
[0057] Figure 9 This is a local comparison diagram of the entire process of overload signal from the original signal, main body reconstruction to final boundary repair. Detailed Implementation
[0058] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present invention.
[0059] The present invention will be further described below with reference to specific embodiments.
[0060] Example 1:
[0061] This embodiment introduces a method for reconstructing and boundary repairing overload time-series data from a structural vibration sensor, such as... Figure 1 As shown, it specifically includes:
[0062] Step 1: Data Preparation and Standardization. Acquire continuous time-series data from bridge vibration sensors. Use normal data without significant saturation, truncation, or prolonged plateauing as the training segment, and the complete time-series data to be diagnosed as the test segment. Standardize the training and test data using training segment statistics, as follows:
[0063]
[0064]
[0065] in, and These represent the training segment and the test segment, respectively. and Let represent the mean and standard deviation of the training segment, respectively. and These represent the standardized training data and test data, respectively.
[0066] Step 2: Construct a sliding time window. Divide the standardized one-dimensional sequence into parts according to the window length W and step size S. The notation for a sliding window is as follows:
[0067]
[0068] For a time series dataset of length N, where N represents the total number of sampling points, W represents the number of sampling points in a single sliding window, S represents the step size between the starting positions of adjacent sliding windows, and i represents the sliding window index; the number of sliding windows is calculated based on the total time series length, the window length, and the step size. The number of sliding windows is... Each window accepts input of the time-series reconstruction model in chronological order. For example... Figure 2 As shown, the time series reconstruction model adopts a functional structure of local change feature extraction, gated time series memory and sequence reconstruction output, and is trained using only a normal vibration window.
[0069] Step 3: Calculate the window reconstruction error and construct anomaly baselines. For example... Figure 3 As shown, for the first The test window, the first one in the original window Each sampled value is denoted as The reconstructed value is denoted as Reconstruction error record The formula for its calculation is:
[0070]
[0071] The reconstruction error is calculated in the same way for the normal training window. :
[0072]
[0073] The anomaly detection threshold is constructed based on the mean and standard deviation of the reconstruction error of the training window, and is expressed as follows:
[0074]
[0075] in, and They represent The mean and standard deviation. The test window. Exceed When this happens, the window is used as a candidate anomaly window for overload feature analysis.
[0076] Step 4: Extract overcarrier shape features. Assume the original window signal... Reconstructed signal The reconstruction error characteristic is denoted as... The maximum, minimum, and range of the window value are expressed as follows:
[0077]
[0078] Where ε is a small positive number set to prevent the amplitude range from being zero. To characterize the slow or plateauing characteristics of the overload signal over a long period of time, a first-order difference is performed on adjacent sampling points, letting... Flat roof ratio Represented as:
[0079]
[0080] in, The difference threshold, This is an indicator function that takes the value 1 when the condition is met and 0 otherwise. Further, we construct clustering features of samples near extreme values, specifically the proportion near the maximum value. Proportion of near minimum value and extreme value clustering ratio They are represented as follows:
[0081]
[0082]
[0083]
[0084] This results in an overload feature vector:
[0085]
[0086] Step 5: Perform joint overload detection and continuity smoothing. For candidate anomaly windows... , and Each feature is compared to its corresponding threshold. If at least two of the three key features meet the overload condition, the overload label for that window is recorded as 1; otherwise, it is recorded as 0. To suppress isolated misclassifications, a moving average is used to smooth the overload binary label for continuity. Window Smooth score at the point Represented as:
[0087]
[0088] in, For the first The overload binary labels of each window, where L is the moving average kernel length. According to... The comparison results with the continuity determination threshold are used to obtain smoothed overload labels, and temporally continuous overload windows are aggregated into continuous overload intervals.
[0089] Step 6: As Figure 4 As shown, the main body reconstruction is performed on the continuous overload interval. An overlapping averaging method is used, where the reconstruction sequences of each sliding window are superimposed along the time axis, and the average value is taken for the overlapping area to reduce window boundary effects. Only the reconstruction results are used for windows identified as overloaded; normal windows retain their original vibration data, thus preserving the normal signal as much as possible while recovering the overload interval.
[0090] Step 7: Perform overload boundary repair. For example... Figure 5 As shown, a boundary repair section is constructed based on the normal vibration signals on both sides of the continuous overload range. The final repair signal consists of three parts: a linear baseline, a vibration reconstruction term, and an enhancement term.
[0091]
[0092] The linear baseline is represented as:
[0093]
[0094] The vibration reconstruction term is represented as:
[0095]
[0096] The enhancement term is represented as:
[0097]
[0098] in, and These represent the adjacent normal signal endpoints on the left and right sides of the repair section, respectively; L represents the length of the current repair section. This represents a vibration template extracted from a nearby normal signal; This indicates that the vibration template interpolation is mapped to the target length; Indicates the boundary decay weight; , and These represent the sinusoidal amplitude, angular frequency, and standard deviation of the random disturbance, respectively. Equations (7) and (17) both use letters... However, these two terms represent the window amplitude range and the amplitude of the enhancement term sine, respectively, and their specific meanings can be distinguished based on the formula they appear in.
[0099] The above steps integrate overload identification, continuous interval determination, main body reconstruction, and boundary repair into a single process. Equations (1) to (17) are all placed in this embodiment to illustrate a specific implementation method and are not used to limit the window length, threshold size, number of model structure layers, or boundary repair parameters in the claims.
[0100] Example 2:
[0101] This embodiment provides an electronic device, including a memory and a processor. The processor executes a computer program in the memory to implement the above-described method for reconstructing and repairing overload timing data from a bridge vibration sensor. The processor may be a central processing unit, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices; the memory may include random access memory (RAM) and non-volatile memory (NRAM). The electronic device can be deployed on a bridge health monitoring server, an industrial computer, or a monitoring terminal with edge computing capabilities.
[0102] Example 3:
[0103] This embodiment provides a computer-readable storage medium storing a computer program. When executed by a processor, the program implements the aforementioned steps of sliding window construction, normal vibration mode reconstruction, overload joint feature calculation, overload label continuity smoothing, continuous interval overlap averaging, and boundary repair. The storage medium includes, but is not limited to, a hard disk, optical disk, read-only memory, random access memory, flash memory, or other media capable of storing computer-executable instructions.
[0104] Example 4:
[0105] This embodiment uses a set of acceleration monitoring data of a bridge experiencing abnormal sensor overload under the action of a downburst for verification. The original time series read by the accompanying code has a length of 299,417 sampling points. Sampling points 240,000–260,000 are used as the suspected overload interval, sampling points 235,000–265,000 are used as the local observation interval, and data before sampling point 240,000 are selected as the normal training segment.
[0106] In this application example, the sliding window length W=128, training stride TRAIN_STRIDE=1, test stride TEST_STRIDE=1; training batch BATCH_SIZE=64, reconstruction inference batch INFER_BATCH_SIZE=128, training epochs EPOCHS=30, and learning rate LEARNING_RATE=0.001. A specific implementation of the temporal reconstruction model is as follows: two levels of one-dimensional local feature extraction layers are set, each with a kernel size of 5. The feature channels are expanded sequentially from 1 to 16 and then 32, respectively. Nonlinear transformation and downsampling are performed after each level of local feature extraction. The gated temporal memory unit has an input feature dimension of 32 and a hidden state dimension of 64. The sequence reconstruction output unit maps the 64-dimensional temporal features to 128 dimensions and outputs a reconstruction window of length 128. The above network layers and dimensions are only implementation parameters for this application example.
[0107] Mean squared error was used as the reconstruction loss during training. Due to the random initialization of model parameters, slight fluctuations occurred between different runs; in this application example, the loss stabilized at approximately 8 × 10⁻⁶ after 30 training iterations. -3 The magnitude and trend of training loss are as follows Figure 6 As shown.
[0108] After training, all test windows are reconstructed. The accompanying code shows the average reconstruction error of the normal training window during a single run. Approximately 0.008288678, standard deviation The value is approximately 0.0074108043. From equation (6), the data-driven anomaly threshold is approximately 0.030521091. The total number of test windows is 299290, of which 23067 are candidate anomaly windows with reconstruction errors exceeding this threshold, accounting for approximately 7.71% of all test windows.
[0109] In the overload characteristic calculation, in equation (7) Take 10 -8 The difference threshold in equation (8) Take 0.02; in equations (9) and (10) Take 0.05. When determining overload, The corresponding overload error threshold is taken as follows It is approximately 0.032047; The corresponding threshold for determining the flat-top ratio is 0.06; The corresponding threshold for determining extreme value clustering is set to 0.10. When , and If at least two of the three key features exceed the corresponding thresholds, the corresponding window is judged as overloaded. Before smoothing, 12,620 overloaded windows were obtained, accounting for approximately 4.22% of all test windows.
[0110] During continuous smoothing, the moving average kernel length L in equation (13) is 15, meaning that 7 adjacent windows are considered on each side of the current window; the continuity judgment threshold is 0.22, and when the smoothing score is greater than or equal to 0.22, the smoothed overload label is recorded as 1. After smoothing, 13867 overload windows are obtained, accounting for about 4.63% of all test windows, an increase of 1247 windows compared to before smoothing, mainly used to fill the short-time label gaps within the continuous overload interval. After mapping the continuous overload windows back to the original time axis according to the window start index, window length and test step size, only the overload interval is replaced according to the overlapping average method to obtain the main reconstruction signal. Figure 7 The diagram shows a global comparison between the original vibration signal and the reconstructed signal: in the complete sequence of 299,417 sampling points, reconstruction only applies to the determined continuous overload intervals, while the original data is retained in the normal intervals; the saturated waveform that was close to the extreme value for a long time in the original overload intervals is restored to a continuously changing vibration waveform.
[0111] After the main body is reconstructed, further repairs are performed on the local spikes and discontinuities that still exist near the boundaries. The accompanying code determines the local coordinates 14600–15050 and 20840–22000 as boundary repair sub-segments based on the candidate boundaries of the continuous overload intervals and their local waveform connections, corresponding to global sampling points of approximately 249600–250050 and 255840–257000; 40 sampling points are taken on both sides of each repair sub-segment as normal reference segments.
[0112] For each boundary repair sub-segment, first construct it using the left and right normal endpoints according to equation (15). Then, the mean value of the adjacent normal reference segment is obtained. And according to formula (16), the interpolation value is equal to the length of the repair section. Simultaneously, the interpolated vibration amplitude is scaled according to the standard deviation of the reference template. Approximately 10% of the sampling points before and after the repair section are connected to the normal signals on both sides using a linear gradient method to reduce jumps at the endpoints.
[0113] When the length of the repair section exceeds 800 sampling points, this application example adds an enhancement term according to the idea of formula (17): the amplitude of the sinusoidal component is taken as 0.6 times the standard deviation of the adjacent normal vibration template, and the sinusoidal phase covers the repair section. The random disturbance uses zero-mean Gaussian noise, with a standard deviation of 0.35 times the standard deviation of the nearest normal vibration template. The enhancement term is then multiplied by the boundary weights. The weights near the left end gradually increase from 0.4 to 1.0, while the weights near the right end gradually decrease from 1.0 to 0.5, so that the enhanced fluctuations are fully preserved within the segment and suppressed at the boundary.
[0114] Figure 8 Local comparisons before and after boundary repair are presented, with a focus on showing the connectivity changes of two boundary repair sub-segments, approximately 249600–250050 and 255840–257000, before and after repair. Figure 9 A full-process local comparison of the original signal, the main reconstruction result, and the final boundary repair result is presented. After processing, the saturation, truncation, and boundary spikes of the original overload segment are weakened; the repair segment with a length of approximately 450 sampling points uses the basic repair sequence, and the repair segment with a length of approximately 1160 sampling points reaches the enhancement length threshold of 800 sampling points and is superimposed with a weighted enhancement term, thereby making the connection between the repair segment and the normal vibration segments on both sides smoother, while maintaining a fluctuation level similar to that of the adjacent normal vibration.
[0115] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0116] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0117] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0118] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0119] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for reconstructing and boundary repairing overload time-series data from a structural vibration sensor, characterized in that: Includes the following steps: Step S1: Obtain the vibration time-series signal of the bridge, divide the vibration time-series signal into original sequences corresponding to multiple time-series windows; input the original sequences corresponding to all time-series windows into the time-series reconstruction model and output the reconstruction sequence corresponding to each time-series window; Step S2: Calculate the reconstruction error based on the original sequence and the reconstructed sequence of the corresponding time window, extract the flat-top feature and extreme value clustering feature representing the overload pattern from the original sequence, filter candidate abnormal windows based on the reconstruction error, and then combine the flat-top feature and extreme value clustering feature for joint discrimination to determine the overload window; Step S3: Perform continuous smoothing on the binary labels of the overload windows arranged along the time axis. For the smoothed binary labels of the overload windows, aggregate the time-series windows that continuously satisfy the overload state into continuous overload intervals, and map the continuous overload intervals to the original time-series signals to determine the candidate start boundary and candidate end boundary. Step S4: Perform main body reconstruction on the continuous overload interval to form the main body reconstruction sequence of the continuous overload interval, while the original vibration data outside the continuous overload interval remains unchanged; Step S5: For the local repair sections of the candidate start boundary and candidate end boundary, construct a linear baseline using the normal vibration signal endpoints at both ends of each local repair section; select normal vibration segments of a preset reference length from the left and right sides of the local repair section respectively, and obtain vibration reconstruction terms with the local repair section based on the normal vibration segments; superimpose the linear baseline and the vibration reconstruction terms to obtain a basic repair sequence; continuously connect the basic repair sequence with the corresponding normal vibration signal to obtain the final boundary repair result.
2. The method for reconstructing and boundary repairing overload time-series data of a structural vibration sensor according to claim 1, characterized in that: Step S5 further includes: When the length of the local repair section is greater than or equal to the preset enhancement length threshold, a vibration enhancement term consisting of a periodic fluctuation component and a zero-mean random disturbance component is constructed, and multiplied by a boundary attenuation weight that gradually increases from both ends of the local repair section to the inside of the section, and then superimposed on the basic repair sequence to obtain the repair value of the local repair section. The repair values within a preset ratio range at both ends of the local repair section are gradually fused with the corresponding normal signals to obtain the final boundary repair result.
3. The method for reconstructing and boundary repairing overload time-series data of a structural vibration sensor according to claim 1, characterized in that: The temporal reconstruction model in step S1 is used to train the model using the original sequence of the normal vibration window to form a reconstruction benchmark of the normal vibration mode as the reconstruction sequence; it includes a local change feature extraction unit, a gated temporal memory unit, and a sequence reconstruction output unit. The local change feature extraction unit is used to extract local fluctuation patterns within a time-series window. The gated timing memory unit is used to learn the temporal dependencies between sampling points; The sequence reconstruction output unit is used to output a reconstructed sequence of the same length as the input timing window.
4. The method for reconstructing and boundary repairing overload time-series data of a structural vibration sensor according to claim 1, characterized in that: Step S2 includes: The reconstruction error of the i-th time series window is determined by the average of the squared differences between the corresponding sampling points of the original window and the reconstruction window. The data-driven anomaly threshold is determined based on the statistical distribution of the reconstruction error of the normal vibration window. When the reconstruction error of the i-th time series window is greater than the data-driven anomaly threshold, the time series window is selected as a candidate anomaly window. For adjacent sampling points within the candidate anomaly window, perform first-order difference to obtain the absolute value of the first-order difference. The proportion of samples with an absolute value of the first-order difference less than the difference threshold to the total number of valid difference samples within the window is used as the flat-top feature. The product of the amplitude range of the candidate anomaly window and the preset extreme value neighborhood coefficient is used as the extreme value neighborhood width. The maximum value neighborhood and the minimum value neighborhood of the window are determined based on the extreme value neighborhood width. The proportion of samples falling into the maximum value neighborhood and the minimum value neighborhood of the window are counted respectively, and the sum of the two is used as the extreme value clustering feature. The reconstruction error, flat-top feature, and extreme value clustering feature of the candidate abnormal window are compared with the overload error threshold, flat-top ratio threshold, and extreme value clustering ratio threshold, respectively. If the reconstruction error is greater than the overload error threshold, the flat-top ratio is greater than the flat-top ratio threshold, and the extreme value clustering ratio is greater than the extreme value clustering ratio threshold, it is considered that an overload condition is met. When at least two of the three overload conditions are met, the corresponding time series window is determined to be an overload window.
5. The method for reconstructing and boundary repairing overload time-series data of a structural vibration sensor according to claim 1, characterized in that: Step S3 includes: An odd-length moving average kernel is used to continuously smooth the binary labels of the overloaded window, and a smoothing score is obtained for each window. When the smoothing score is greater than or equal to the continuity judgment threshold, the smoothed overload label of the corresponding window is recorded as 1; otherwise, it is recorded as 0. Aggregate windows that are temporally continuous and smoothed with an overload label of 1 into continuous overload intervals; Based on the window length and step size of the sliding window, the starting window index of the first consecutive overload window is converted into the sampling point index in the original time series signal as a candidate starting boundary, and the ending window index of the last consecutive overload window is converted into the sampling point index in the original time series signal as a candidate ending boundary.
6. The method for reconstructing and boundary repairing overload time-series data of a structural vibration sensor according to claim 1, characterized in that: Step S4 includes: For any sampling time within a continuous overload interval, sum the reconstructed values corresponding to all time windows covering that sampling time, and divide by the number of time windows covering that sampling time to obtain the main reconstructed value for that sampling time. The main reconstruction values at each sampling time within the continuous overload interval are calculated sequentially to form the main reconstruction sequence; The original vibration data within the continuous overload interval is replaced by the main reconstruction sequence, while the original vibration data remains unchanged outside the continuous overload interval.
7. The method for reconstructing and boundary repairing overload time-series data of a structural vibration sensor according to claim 1, characterized in that: Step S5 includes: Local repair segments are obtained based on candidate start boundaries and candidate end boundaries. For each local repair segment, the normal signal endpoints on the outer left and outer right sides of the local repair segment are read and linearly interpolated according to their relative positions within the local repair segment to obtain a linear baseline connecting the normal signals at both ends. Search for and extract normal vibration segments from the candidate boundary outwards to the outside of the local repair section. The number of consecutive normal sampling points reaches a preset reference length. The mean of the normal vibration segments is removed to obtain a zero-mean vibration template. Then, the length of the zero-mean vibration template is made consistent with the length of the local repair section through interpolation or resampling. The amplitude of the normal vibration segments is scaled according to the standard deviation of the normal vibration segments to obtain the vibration reconstruction term. The linear baseline is added to the vibration reconstruction term point by point to form the basic repair sequence; The basic repair sequence within a preset ratio range at both ends of the local repair section is gradually fused with the corresponding normal signal to obtain the final boundary repair result.
8. The method for reconstructing and boundary repairing overload time-series data of a structural vibration sensor according to claim 2, characterized in that: Also includes: When the length of the local repair section is less than the preset enhancement length threshold, the vibration enhancement term is not superimposed.
9. An electronic device, characterized in that: It includes a memory and a processor, the processor being used to execute a computer program in the memory to implement the structural vibration sensor overload time-series data reconstruction and boundary repair method according to any one of claims 1-8.
10. A computer-readable storage medium, characterized in that: It stores a computer program, which, when run on a processor, executes the overload time-series data reconstruction and boundary repair method for any one of claims 1-8 of the structural vibration sensor.
