Hydropower station monitoring data anomaly detection method based on time-frequency orthogonal decoupling and multi-scale space-time correlation

By employing time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation, the problem of detecting high-frequency transient and cross-system faults in hydropower station unit monitoring was solved, achieving high-precision, adaptive fault monitoring and resource optimization, and improving the operation and maintenance capabilities of hydropower stations.

CN123179189APending Publication Date: 2026-11-27韩庆余 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611090230.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-22
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to decouple the characteristics of high-frequency transient impacts and long-term degradation trends. The physical topology fragmentation of heterogeneous data across subsystems makes it difficult to trace fault propagation paths, and the contradiction between massive high-frequency data and limited computing power storage at the edge is becoming increasingly prominent.

Method used

By employing time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation, and by constructing a time-frequency dual-domain orthogonal decoupling embedding, a multi-scale sensing physical topology routing and adaptive hierarchical storage mechanism are introduced to achieve high-precision and adaptive monitoring of the operating status of hydropower station units.

Benefits of technology

It effectively captures local transient characteristics of high-frequency vibration, improves fault detection accuracy, has strong interpretability and high resource utilization, solves the contradiction between edge storage and computing power, and enhances the engineering practical value of operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179189A_ABST
    Figure CN123179189A_ABST
Patent Text Reader

Abstract

The application provides a hydropower station monitoring data anomaly detection method based on time-frequency orthogonal decoupling and multi-scale space-time correlation, and belongs to the technical field of intelligent operation and maintenance; the method is based on signal processing and deep learning fusion theory, first constructs a time-frequency dual-domain orthogonal decoupling embedding and introduces a variable-damping wavelet and a gated FFT mechanism, uses orthogonal projection to explicitly separate effective signals and noise to generate pure features; then relies on a space-time correlation encoder driven by a physical topology routing, uses multi-scale attention in the time dimension to capture long and short time dependencies, and uses a topology mask in the spatial dimension to guide the ordered interaction between subsystems; finally, based on the adaptive hierarchical storage strategy of the dynamic threshold, the weighted prediction residual is calculated as the basis for anomaly evaluation. The application effectively solves the problems of high-frequency transient characteristics being easily submerged by noise, cross-system coupling faults being difficult to identify, and limited storage computing power at the edge, and realizes high-precision, interpretable and adaptive hydropower station anomaly monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the technical fields of industrial internet, intelligent operation and maintenance and edge computing. Specifically, it relates to a unit anomaly intelligent monitoring technology based on time-frequency decoupling and topology perception, especially a hydropower station monitoring data anomaly detection method based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation. Background Technology

[0002] The booming development of the Industrial Internet has driven the intelligent transformation of hydropower stations. However, at the same time, the operating conditions of the generating units are becoming increasingly complex, coupled, and highly nonlinear. From traditional single-threshold monitoring to today's multi-dimensional correlation analysis, fault symptoms are often hidden within massive amounts of high-frequency vibrations and multi-physics field coupling. Faced with massive and complex unit monitoring data, utilizing deep learning to mine correlation patterns in time-series data has become the mainstream technical approach for anomaly detection. Although various time-series prediction models perform well in feature extraction and trend fitting, existing technologies still have significant limitations when facing the high-frequency transients, strong physical coupling, and resource-constrained anomaly monitoring in hydropower station scenarios.

[0003] 1. Existing models struggle to simultaneously decouple high-frequency transient impacts from long-term degradation trends. Mainstream time-series models typically focus on capturing the smooth evolution of overall trends, while early failures in hydropower units often manifest as a coexistence of "transient impacts in the time domain" and "energy anomalies in the frequency domain." Existing feature extraction mechanisms based on a single perspective tend to smooth out local abrupt changes, causing these transient but highly diagnostic "high-frequency" signals to be masked by broadband white noise. Current technologies lack a mechanism that can explicitly separate effective signals from noise and dynamically adjust the window of interest based on orthogonal decoupling in both time and frequency domains.

[0004] 2. The fragmented physical topology of heterogeneous data across subsystems makes fault propagation paths difficult to trace. Hydropower units comprise multiple physical subsystems, including hydraulic, mechanical, and electrical systems. Complex faults often do not manifest clearly within a single subsystem but exhibit anomalous responses in the physical coupling relationships across these systems. Existing multivariate attention mechanisms mostly employ a fully connected approach to fuse data from different sensors, lacking a deep routing mechanism based on physical topology. This indiscriminate fusion method fails to effectively utilize the inherent physical connections of the unit, leading to the introduction of a large amount of irrelevant noise into the model and making it difficult to identify anomalous patterns that appear normal in a single dimension but conflict in the cross-system coupling logic.

[0005] 3. The contradiction between massive amounts of high-frequency data and limited computing power and storage at the edge is becoming increasingly prominent. In intelligent operation and maintenance of hydropower, high-frequency vibration data is growing explosively, but the "difficult case" samples containing fault information are extremely sparse. Due to the lack of effective online assessment and hierarchical storage mechanisms, the traditional full-data acquisition mode results in storage resources being occupied by a large amount of steady-state redundant data, while critical transient fault data may be lost due to overwriting or undersampling. Although existing technologies attempt to introduce compression algorithms, they often neglect dynamic perception and adaptive sampling based on operating condition residuals, making it difficult to balance the system's ability to capture sudden faults with resource utilization.

[0006] Therefore, there is an urgent need in this field for a hydropower station anomaly monitoring solution that can explicitly decouple time-frequency characteristics, deeply integrate physical topology patterns, and has edge adaptive storage capabilities. Summary of the Invention

[0007] In view of this, the present invention provides a hydropower station monitoring data anomaly detection scheme based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation. It aims to achieve high-precision and adaptive monitoring of the unit operation status under complex operating conditions of hydropower stations by constructing a time-frequency dual-domain orthogonal decoupling embedding and introducing a multi-scale sensing physical topology routing and adaptive hierarchical storage mechanism. This effectively solves the problems of existing technologies being unable to capture local transient features of high-frequency vibrations and the contradiction between massive high-frequency data storage and edge computing power.

[0008] To achieve the above objectives, the present invention adopts the following technical solution: In a first aspect, the present invention provides a method for anomaly detection in hydropower station monitoring data based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation, the method comprising the following steps: S1. The multidimensional time series data collected at the edge of the hydropower station is segmented, and time-frequency dual-domain orthogonal decoupling is performed on each segment to obtain a two-dimensional feature tensor. S2. Input the two-dimensional feature tensor into a multi-scale spatiotemporal correlation encoder, and encode it through a multi-scale temporal attention mechanism and a physical topology routing mechanism to obtain spatiotemporal encoded features; S3. Based on the spatiotemporal coding features, perform sequence prediction and calculate the weighted prediction residual at the current moment as a quantitative indicator of the unit's operating status. S4. Determine the working condition based on the comparison result between the weighted prediction residual and the dynamic threshold, execute the adaptive hierarchical storage strategy, and complete anomaly detection and data management.

[0009] Further, in step S1, the time-frequency dual-domain orthogonal decoupling specifically includes: The segmented data is convolved by decoupled variable damping wavelet convolution to extract time-domain waveform feature vectors, where the damping factor of the variable damping wavelet convolution kernel is independent of the frequency parameter. The segmented data is subjected to a fast Fourier transform to obtain a complex spectrum, its logarithmic power spectrum is calculated, and a frequency domain mask is generated through a lightweight multilayer perceptron. The complex spectrum is then subjected to adaptive filtering and inverse transform to obtain a frequency domain feature vector. The time-domain waveform feature vector and the frequency-domain feature vector are fused using an orthogonal projection mechanism to generate a two-dimensional feature tensor.

[0010] Furthermore, in step S2, the multi-scale temporal attention mechanism specifically includes: Multiple attention heads are executed in parallel, each with a different receptive field window size. A distance mask is introduced when calculating the attention score, which forces each attention head to focus only on the context information within the corresponding window range before and after the current time. Features extracted from different receptive fields are weighted, concatenated, and linearly fused to output features with multiple temporal resolutions.

[0011] Furthermore, in step S2, the physical topology routing mechanism specifically includes: Define learnable semantic vectors representing the functional subsystems of a hydropower station; Construct a physical topology mask matrix to constrain the sensor to interact only with the semantic vectors of its subsystem; Using the semantic vector of the subsystem as a query, the sensor features within the corresponding subsystem are aggregated to generate the subsystem state vector; Global attention interactions are performed between the state vectors of each subsystem, and the resulting global features are then fed back to each sensor according to the topological mask.

[0012] Further, in step S3, the formula for calculating the weighted prediction residual is:

[0013] in, For the current moment The weighted prediction residuals For the first The importance weight of each sensor For the number of sensors, express Time of the first The actual measurement value of each sensor express Time of the first The model prediction values ​​corresponding to each sensor.

[0014] Furthermore, in step S4, the dynamic threshold is dynamically set based on the historical distribution of the weighted prediction residuals, using a sliding window statistical method to calculate its moving average and standard deviation.

[0015] Furthermore, in step S4, the adaptive hierarchical storage strategy specifically includes: When the weighted prediction residual is less than or equal to the dynamic threshold, it is determined to be a steady-state condition. The original high-frequency data is discarded, and only the timestamp and subsystem state vector are stored. When the weighted prediction residual is greater than the dynamic threshold, it is determined to be a transient or abnormal condition, and the original high-frequency data is fully stored.

[0016] Secondly, the present invention also provides a hydropower station monitoring data anomaly detection system based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation. The system includes: a data segmentation and embedding module, a time-frequency dual-domain feature extraction module, a spatiotemporal correlation coding module, an operating condition evaluation module, and an adaptive storage module. By applying the above methods, the anomaly detection and data management of hydropower station monitoring data can be realized.

[0017] As can be seen from the above technical solution, the present invention provides a scheme for anomaly detection of hydropower station monitoring data based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation. Compared with the prior art, its beneficial effects include: (1) It has high-precision detection capabilities and can accurately capture high-frequency transient and coupled faults: By employing time-frequency dual-domain orthogonal decoupling, this invention transforms "high-frequency" anomalous signals, which are easily submerged by broadband white noise in traditional models, into explicit "energy" indicators for dynamically enhanced feature representation. Combined with a physical topology routing mechanism, it can effectively identify deep anomalies that appear normal in a single sensor but exhibit conflicts in the physical coupling logic across subsystems. This allows the invention to maintain extremely high detection accuracy even in highly concealed early wear or sudden impact scenarios, effectively solving the problem of weak feature loss caused by the introduction of fully connected noise in existing technologies.

[0018] (2) The decision-making process is highly interpretable and can be attributed to failures from multiple dimensions: This invention breaks through the "black box" limitation of traditional deep learning models, providing a clear decision-making path that conforms to physical mechanisms. Its interpretability is reflected in: through time-frequency decoupling features, it can intuitively determine whether an anomaly originates from energy mutations in a specific frequency band; through the attention weights of physical topology routing, it can pinpoint whether the anomaly originates from coupling conflicts in hydraulic, mechanical, or electrical subsystems; and through the contribution of weighted prediction residuals, it can clearly determine the specific sensor source of the fault. This multi-layered interpretability enables maintenance personnel to quickly locate the source of the fault, significantly improving the model's engineering practical value.

[0019] (3) High resource utilization rate, enhancing the ability of edge devices to adapt to all working conditions: To address the common challenges of limited computing power and storage at the edge of hydropower stations, this invention designs an adaptive hierarchical storage strategy based on dynamic thresholds. Utilizing a sliding window statistical method, it dynamically adjusts the anomaly detection criteria, enabling adaptive operation under different conditions, including dry and wet seasons. Simultaneously, a condition-aware sampling mechanism achieves semantic-level compression of steady-state data while fully preserving anomaly data. This significantly reduces storage overhead without losing critical fault details, greatly enhancing the solution's deployment capability and long-term operational stability on resource-constrained edge devices.

[0020] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description and the accompanying drawings.

[0021] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof.

[0024] Figure 1 This is a schematic diagram illustrating the overall architecture and working principle of the hydropower station monitoring data anomaly detection scheme based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation provided in an embodiment of the present invention.

[0025] Figure 2 This is a schematic diagram of the time-frequency dual-domain orthogonal decoupling and feature extraction process provided in an embodiment of the present invention.

[0026] Figure 3 This is a schematic diagram of the multi-scale spatiotemporal correlation coding and adaptive hierarchical storage process provided in an embodiment of the present invention. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.

[0028] In the description of this invention, it should be noted that some processes described in this application specification and drawings include multiple operations that appear in a specific order. However, it should be clearly understood that these operations may be performed in any order or in parallel. Furthermore, various numbers are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0029] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0030] This invention proposes a scheme for anomaly detection in hydropower station monitoring data based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation. Based on the fusion theory of signal processing and deep learning, this invention first constructs a time-frequency dual-domain orthogonal decoupling embedding and introduces variable-damped wavelet and gated FFT mechanisms, using orthogonal projection to explicitly separate effective signals and noise to generate clean features. Then, relying on a physical topology routing-driven spatiotemporal correlation encoder, it captures long-term and short-term dependencies using multi-scale attention in the time dimension and guides orderly interactions between subsystems using topological masks in the spatial dimension. Finally, it calculates weighted prediction residuals based on an adaptive hierarchical storage strategy with dynamic thresholds as the basis for anomaly evaluation. This invention improves upon the traditional time-series model paradigm that only focuses on the smooth evolution of the overall trend, instead explicitly modeling, capturing, and enhancing the "high-frequency transient impacts" and "physical coupling conflicts" of cross-domain patterns in the time series. This method aims to quantify the nonlinear burst energy of a signal through an orthogonal decoupling mechanism in both time and frequency domains, and to deeply integrate the interaction logic between subsystems using an attention architecture based on physical topology routing. This allows for the identification of hidden early fault signs during the feature encoding stage, and ultimately, based on weighted prediction residuals, high-precision and adaptive monitoring of complex operating conditions and sudden anomalies is achieved.

[0031] The specific embodiments and working principles of the present invention will be described in detail below: See Figures 1 to 3As shown, this invention provides an anomaly detection method for hydropower station monitoring data based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation. This method constructs a time-frequency dual-domain orthogonal decoupling embedding, captures spatiotemporal correlations using multi-scale sensing and physical topology routing mechanisms, optimizes data through an adaptive hierarchical storage strategy based on dynamic thresholds, and finally achieves anomaly detection based on weighted prediction residuals. The specific implementation process includes the following steps: I. Data segmentation and embedding based on time-frequency dual-domain orthogonal decoupling: Let the original multidimensional time series collected at the edge of the hydropower station be... ,in The time window length, For the number of sensors (e.g., vibration, temperature, pressure, etc.). For any sensor dimension... Its time series is sorted by length The sequence is segmented to obtain a segmented sequence. .

[0032]

[0033] in, This is represented as a segmented operation. For segmented indexes, It is the original point in time.

[0034] 1. Time-domain waveform feature extraction: To address the issue of weak local transient capability in capturing high-frequency vibration signals from hydropower stations, a decoupled variable-damping wavelet convolution is designed for time-domain waveform feature extraction.

[0035] (1) Dynamic kernel generation: Define a set of trainable parameters: frequency Damping Translation ( (Number of convolution kernels). Wavelet convolution kernels are generated during each forward propagation. .

[0036]

[0037] in, Indicates which convolution kernel number, The time index of the convolution kernel. Indicates the first The damping factor of each convolution kernel, Indicates the first The translation factor of each convolution kernel, Indicates the first The angular frequency of each convolutional kernel. Indicates the first Phase shift of each convolution kernel.

[0038] Traditional wavelet envelope width is fixedly related to frequency, while this invention introduces an independent damping factor. Decoupling is achieved, enabling the model to adaptively generate high-frequency narrow pulses and high-frequency wide oscillations, thereby accurately distinguishing various hydropower unit faults with the same frequency but different attenuation characteristics.

[0039] (2) Convolutional feature extraction: The generated dynamic wavelet kernel is used to perform convolution operations on the segmented data to extract time-domain waveform feature vectors. .

[0040]

[0041] in, For activation function, Indicates the model dimension.

[0042] 2. Frequency Domain Energy Feature Extraction To avoid the impact of high-frequency white noise on model training, a gating mechanism and fast Fourier transform are combined to enable the model to learn to dynamically select useful frequency bands.

[0043] (1) Complex field transformation: For each segment of data Perform a Fast Fourier Transform (FFT) from real to complex numbers to obtain the complex spectrum. .

[0044]

[0045] in, Represents the set of complex numbers.

[0046] (2) Spectral energy calculation: Calculate the logarithmic power spectrum This is to compress the dynamic range and highlight the fault characteristics of low energy.

[0047]

[0048] in, The square of the modulus, It is a tiny constant.

[0049] (3) Significance-gated generation: Frequency domain mask generated using a lightweight MLP , characterizing the significance of frequency.

[0050]

[0051] (4) Adaptive filtering and inverse transform: The gating coefficients are applied to the original spectrum and mapped back to the feature space to obtain the frequency domain feature vector. .

[0052]

[0053]

[0054] in, Original spectrum The results after gating coefficient filtering To obtain the modulus of the complex spectrum, only the amplitude information is retained. For Hadama accumulation, For linear mapping layer, For the feature space.

[0055] 3. Multimodal orthogonal fusion: To avoid mutual interference (information redundancy) between time-domain and frequency-domain features when they are added together, an orthogonal projection mechanism is introduced.

[0056]

[0057] in, Represents the joint eigenvector. Indicates the fusion weight. This represents the learnable weight matrix. This is the final feature vector after fusion.

[0058] The final output is a two-dimensional feature tensor. .

[0059] II. Spatiotemporal correlation coding based on multi-scale sensing and physical topology routing: Attention mechanisms are used to capture the time trend of unit operation and the physical coupling between components.

[0060] 1. Cross-time phase: To simultaneously capture both short-term transient impacts and long-term degradation trends in hydropower station monitoring data, this step improves the standard's self-attention mechanism, applying it to any dimension. Parallel execution Each head of attention Set different receptive field window sizes .

[0061] (1) Multi-scale projection and window setting: The obtained two-dimensional feature tensor Input features are obtained by splitting them according to sensor dimensions. Then perform a linear projection on it to obtain the first... Query matrix of heads Key matrix Sum matrix Unlike standard practice, this approach introduces a multi-scale window set. Corresponding to different time spans.

[0062]

[0063] in, This is a learnable weight matrix.

[0064] (2) Attention scoring based on window constraints: Introducing a distance mask when calculating attention scores Force the model to focus only on the current time step front and back Within the scope of the context, feature decoupling from local to global is achieved.

[0065]

[0066] in, Indicates the first In the layer attention head, the current moment t Historical moments j Attention weight score; Indicates the first In each attention head, the current moment t The query vector; Indicates the first h In each attention head, the current moment t The key vector; superscript It is the transpose of the vector; Dimensions for each attention head.

[0067] For indexing historical context moments, For scaling factor, mask Defined as:

[0068] (3) Multi-scale feature fusion: The feature vectors extracted from receptive fields at different times are weighted, calculated, and concatenated, and then fused through a linear layer to output features containing multiple temporal resolutions. Output through feedforward network .

[0069]

[0070]

[0071]

[0072] in, For the first The output features of an attention head To output the projection weight matrix, For normalized exponential functions, For splicing operations, It is a multilayer perceptron. For layer normalization.

[0073] 2. Cross-dimensional stage: To address the noise issue introduced by traditional fully connected attention mechanisms, this step constructs a hierarchical routing mechanism that utilizes the physical topology of a hydropower station (hydraulic, mechanical, and electrical subsystems) to guide features to interact in an orderly manner among sensors.

[0074] (1) Definition of subsystem semantic vector: Define the learnable subsystem semantic vectors of group A. Each of these represents one of the A functional subsystems of the hydropower station, serving as the central node for feature aggregation.

[0075] (2) Construction of physical topology mask: Construct a mask matrix If the sensor Physically, it belongs to a subsystem ,but Otherwise, it is 0, thus constraining the flow path of information.

[0076] (3) Feature aggregation within the subsystem: Using semantic vectors As a query, time features are aggregated only from the sensors of its corresponding subsystem. Generate a pure subsystem state vector. .

[0077]

[0078] in, This is represented as a multi-head self-attention mechanism. Including the The pure state characteristics of each subsystem are unaffected by interference from other irrelevant sensors.

[0079] (4) Semantic interaction between subsystems: In the subsystem state vector Perform global attention between systems to capture physical coupling across systems and obtain global interaction features. .

[0080]

[0081] (5) Global information feedback and distribution: global features after interaction According to topological mask The data is sent back to each sensor to update the sensor characteristics.

[0082]

[0083] in, This indicates the characteristics of the sensor.

[0084] (6) Two-stage feature output: By fusing temporal and spatial features, the final spatiotemporal coding features are obtained.

[0085]

[0086] in, This represents the spatiotemporal coding features.

[0087] III. Predictive Residual Calculation and Operating Condition Assessment: Encode features Input decoder, get the future Predicted sequence at each time step To quantify the current operating status of the unit, calculate the current time. Weighted prediction residuals .

[0088]

[0089] in, For the first The importance weight of each sensor (set based on expert experience, such as spindle oscillation weight > ambient temperature weight). For the number of sensors, express Time of the first The actual measurement value of each sensor express Time of the first The model prediction values ​​corresponding to each sensor.

[0090] IV. Adaptive Hierarchical Storage Strategy Based on Dynamic Thresholds: To resolve the conflict between massive high-frequency data storage and limited computing power at the edge, an adaptive sampling and storage mechanism based on operational conditions is designed.

[0091] 1. Dynamic threshold setting: The sliding window statistical method is used to dynamically adjust the anomaly detection threshold based on the historical distribution of the residual sequence. To adapt to changes in operating conditions during dry / wet seasons.

[0092]

[0093] in, and These are the moving average and standard deviation of the residual series, respectively. This is the sensitivity coefficient.

[0094] 2. Sampling Decision and Hierarchical Storage: Based on real-time residuals With threshold Relationships that generate decision states And implement hierarchical storage.

[0095] (1) Steady-state operating conditions ( ,Right now ) The unit was determined to be operating stably, and the original high-frequency data was discarded. Store only timestamps and the subsystem state vector generated in step two This enables semantic-level compression of the original data, which not only saves a significant amount of storage space but also preserves the key state characteristics of each subsystem of the unit, which is sufficient to support subsequent coarse-grained historical backtracking and trend analysis.

[0096] (2) Transient / abnormal operating conditions ,Right now ) If abnormal fluctuations or signs of malfunction are detected in the unit, full sampling is triggered to completely store the original high-frequency data sequence. The complete waveform details are preserved, and this data segment is marked as a "difficult case" for subsequent online fine-tuning of the edge model, continuously improving the model's ability to capture sudden faults.

[0097] The technical solution of the present invention will be described in more detail below with reference to the accompanying drawings and specific implementation examples.

[0098] Implementation Example 1: Reference Figure 1 As shown in the figure, an embodiment of the present invention provides a hydropower station monitoring data anomaly detection system based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation, comprising: a data segmentation and embedding module, a time-frequency dual-domain feature extraction module, a spatiotemporal correlation encoding module, an operating condition assessment module, and an adaptive storage module. Wherein: (1) Data segmentation and embedding module: Deployed at the edge of the hydropower station, responsible for collecting multi-dimensional time series of sensors such as vibration, temperature and pressure, and segmenting and embedding according to time windows.

[0099] (2) Time-frequency dual-domain feature extraction module: responsible for extracting time-domain waveform features through variable damped wavelet convolution, extracting frequency-domain energy features by combining gated FFT, and fusing the two through orthogonal projection.

[0100] (3) Spatiotemporal correlation coding module: includes multi-scale temporal attention and physical topology routing mechanism, uses different receptive fields to capture evolution trends, and guides feature interaction between sensors based on the physical structure of the unit.

[0101] (4) Operating condition assessment module: Based on the coding features, predict future sequences and calculate weighted prediction residuals to quantify the unit's operating status.

[0102] (5) Adaptive storage module: responsible for determining the working condition based on dynamic thresholds and performing semantic-level compressed storage in steady state or full waveform storage in abnormal state.

[0103] Data flow of each component as follows Figure 1 As shown, after decoupling extraction, spatiotemporal coding, and residual calculation, the data retention format is ultimately determined by the storage strategy.

[0104] Implementation Example 2: Reference Figure 2 As shown, this embodiment details the complete process of time-frequency dual-domain orthogonal decoupling and feature extraction. Assume the system acquires a vibration signal sequence from the main shaft of a hydroelectric turbine unit. The process includes: Step 201: Data segmentation and embedding module processes the original sequence The sequence is segmented to obtain a segmented sequence. .

[0105] Step 202: The time-frequency dual-domain feature extraction module performs time-domain waveform extraction. The system generates a dynamic wavelet kernel. An independent damping factor is introduced. The model adaptively generates high-frequency narrow pulses or wide oscillations to accurately match fault characteristics. Convolution operations are then performed. .

[0106] Step 203: Perform frequency domain energy feature extraction. Perform FFT transform on the segmented data to obtain... Calculate the logarithmic power spectrum Frequency domain mask generation using MLP Significant frequency bands are selected and mapped back to the feature space through inverse transform to obtain... .

[0107] Step 204: Multimodal orthogonal fusion. To avoid information redundancy, features are fused using an orthogonal projection mechanism: The final output is a complementary two-dimensional feature tensor that contains both transient waveform details and frequency domain energy distribution.

[0108] Step 205: Conduct ablation experiments. The experiments show that compared with the traditional extraction method without time-frequency decoupling, the orthogonal decoupling mechanism in this embodiment increases the recall rate of weak high-frequency faults from 71.2% to 93.4%, demonstrating its advantages in accurately separating and extracting transient change energy from broadband white noise.

[0109] Implementation Example 3: See Figure 3 As shown, this embodiment details the complete process of multi-scale spatiotemporal coding and adaptive hierarchical storage. The process includes: Step 301: The spatiotemporal correlation coding module receives the fusion features generated in step 204.

[0110] Step 302: Perform multi-scale perception across time phases. The system executes multiple attention heads in parallel, each with a different window size. Introducing a distance mask By constraining the attention span, the model is forced to capture short-term shocks and long-term degradation trends at different temporal resolutions, generating multi-scale temporal features. .

[0111] Step 303: Perform physical topology routing across dimensions. Define semantic vectors representing the hydraulic, mechanical, and electrical subsystems. Constructing a physical topology mask It only allows sensors to interact with the semantic vectors of their respective subsystems to generate a clean subsystem state. Subsequently, global interaction occurs between subsystems, and information is transmitted back to the sensors to generate the final spatiotemporal code. .

[0112] Step 304: Operating Condition Assessment and Residual Calculation. The decoder predicts future sequences and calculates weighted residuals. .

[0113] Step 305: Execute adaptive hierarchical storage. The system dynamically adjusts the threshold based on the historical residual distribution. .like (Steady state) The system discards the original high-frequency data and only stores the subsystem state vector. To achieve semantic-level compression; if If an anomaly occurs, a full sampling is triggered to completely store the original data. This is used for subsequent model fine-tuning and fault analysis.

[0114] Step 306: Engineering application tests show that the introduction of physical topology masks reduces the false alarm rate of cross-system coupling faults to below 3.8%, and the hierarchical storage mechanism of this embodiment achieves a storage space compression rate of 84.5% without losing any abnormal waveform data, which fully demonstrates the engineering value of this solution in shielding physical interference and solving edge storage bottlenecks.

[0115] From the description of the above embodiments, it can be seen that the present invention provides a scheme for anomaly detection of hydropower station monitoring data based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation, and its technical advantages are specifically reflected in the following aspects: (1) It has high-precision detection capabilities and can accurately capture high-frequency transient and coupled faults.

[0116] By constructing a time-frequency dual-domain orthogonal decoupling module, this invention transforms "high-frequency" anomalous signals, which are easily submerged by broadband white noise in traditional models, into explicit "energy" indicators and uses them to dynamically enhance feature representation. Combined with a physical topology routing mechanism, the model can effectively identify deep anomalies that appear normal in a single sensor but have conflicts in the physical coupling logic across subsystems. This allows the invention to maintain extremely high detection accuracy even in highly concealed early wear or sudden impact scenarios, effectively solving the problem of weak feature loss caused by the introduction of fully connected noise in existing technologies.

[0117] (2) The decision has strong interpretability and can be attributed to the cause of failure from multiple dimensions.

[0118] This invention breaks through the "black box" limitation of traditional deep learning models, providing a clear decision-making path that conforms to physical mechanisms. Its interpretability is reflected in: through time-frequency decoupling features, it can intuitively determine whether an anomaly originates from energy mutations in a specific frequency band; through the attention weights of physical topology routing, it can pinpoint whether the anomaly originates from coupling conflicts in hydraulic, mechanical, or electrical subsystems; and through the contribution of weighted prediction residuals, it can clearly determine the specific sensor source of the fault. This multi-layered interpretability enables maintenance personnel to quickly locate the source of the fault, significantly improving the model's engineering practical value.

[0119] (3) High resource utilization rate and enhanced edge end adaptability under all working conditions.

[0120] To address the common challenges of limited computing power and storage at the edge of hydropower stations, this invention designs an adaptive hierarchical storage strategy based on dynamic thresholds. Utilizing a sliding window statistical method, it dynamically adjusts the anomaly detection criteria, enabling adaptive operation under different conditions, such as dry and wet seasons. Simultaneously, a condition-aware sampling mechanism achieves semantic-level compression of steady-state data while fully preserving anomaly data. This significantly reduces storage overhead without losing critical fault details, greatly enhancing the solution's deployment capability and long-term operational stability on resource-constrained edge devices.

[0121] Embodiments of the present invention may be provided as methods, software systems, electronic devices, or computer program products, etc. Therefore, the present invention may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0122] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0123] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for detecting anomalies in hydropower station monitoring data based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation, characterized in that, The method includes the following steps: S1. The multidimensional time series data collected at the edge of the hydropower station is segmented, and time-frequency dual-domain orthogonal decoupling is performed on each segment to obtain a two-dimensional feature tensor. S2. Input the two-dimensional feature tensor into a multi-scale spatiotemporal correlation encoder, and encode it through a multi-scale temporal attention mechanism and a physical topology routing mechanism to obtain spatiotemporal encoded features; S3. Based on the spatiotemporal coding features, perform sequence prediction and calculate the weighted prediction residual at the current moment as a quantitative indicator of the unit's operating status. S4. Determine the operating condition based on the comparison result between the weighted prediction residual and the dynamic threshold, execute the adaptive hierarchical storage strategy, and complete the anomaly detection and data management.

2. The method according to claim 1, characterized in that, In step S1, the time-frequency dual-domain orthogonal decoupling specifically includes: The segmented data is convolved by decoupled variable damping wavelet convolution to extract time-domain waveform feature vectors, where the damping factor of the variable damping wavelet convolution kernel is independent of the frequency parameter. The segmented data is subjected to a fast Fourier transform to obtain a complex spectrum, its logarithmic power spectrum is calculated, and a frequency domain mask is generated through a lightweight multilayer perceptron. The complex spectrum is then subjected to adaptive filtering and inverse transform to obtain a frequency domain feature vector. The time-domain waveform feature vector and the frequency-domain feature vector are fused using an orthogonal projection mechanism to generate a two-dimensional feature tensor.

3. The method according to claim 1, characterized in that, In step S2, the multi-scale temporal attention mechanism specifically includes: Multiple attention heads are executed in parallel, each with a different receptive field window size. When calculating the attention score, a distance mask is introduced to force each attention head to focus only on the context information within the corresponding window range before and after the current time step; Features extracted from different receptive fields are weighted, concatenated, and linearly fused to output features with multiple temporal resolutions.

4. The method according to claim 1, characterized in that, In step S2, the physical topology routing mechanism specifically includes: Define learnable semantic vectors representing the functional subsystems of a hydropower station; Construct a physical topology mask matrix to constrain the sensor to interact only with the semantic vectors of its subsystem; Using the semantic vector of the subsystem as a query, the sensor features within the corresponding subsystem are aggregated to generate the subsystem state vector; Global attention interaction is performed between the state vectors of each subsystem, and the global features after the interaction are back-updated to each sensor according to the topological mask.

5. The method according to claim 1, characterized in that, In step S3, the formula for calculating the weighted prediction residual is: in, For the current moment The weighted prediction residuals For the first The importance weight of each sensor For the number of sensors, express Time of the first The actual measurement value of each sensor express Time of the first The model prediction values ​​corresponding to each sensor.

6. The method according to claim 1, characterized in that, In step S4, the dynamic threshold is dynamically set based on the historical distribution of the weighted prediction residuals, using the sliding window statistical method to calculate its moving average and standard deviation.

7. The method according to claim 1, characterized in that, In step S4, the adaptive hierarchical storage strategy specifically includes: When the weighted prediction residual is less than or equal to the dynamic threshold, it is determined to be a steady-state condition. The original high-frequency data is discarded, and only the timestamp and subsystem state vector are stored. When the weighted prediction residual is greater than the dynamic threshold, it is determined to be a transient or abnormal condition, and the original high-frequency data is fully stored.

8. A hydropower station monitoring data anomaly detection system based on time-frequency orthogonal decoupling and multi-scale spatiotemporal correlation, characterized in that, The system includes: a data segmentation and embedding module, a time-frequency dual-domain feature extraction module, a spatiotemporal correlation coding module, an operating condition evaluation module, and an adaptive storage module. It uses the method described in any one of claims 1-7 to realize anomaly detection and data management of hydropower station monitoring data.