Hydropower plant unit fault prediction method and system based on digital twinning
By processing and adaptively fusing vibration and SCADA data from hydropower plants with an attention mechanism, a multimodal aggregated coding vector is generated, which solves the problem of false alarms and missed alarms in hydropower plant unit fault prediction models under complex operating conditions and achieves high-precision fault prediction.
Patent Information
- Application Number
- CN202611190389.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-06
- Publication Date
- 2026-11-24
AI Technical Summary
Existing fault prediction models struggle to distinguish between normal operating fluctuations and actual fault symptoms in hydropower plant turbine generator units, leading to false alarms and missed alarms, and failing to achieve accurate fault prediction under complex and variable operating conditions.
By acquiring vibration and SCADA data from hydropower plants, data cleaning and feature engineering are performed to separate pure vibration features and operating parameters. An attention mechanism is used for adaptive fusion to generate a multimodal aggregated coding vector of hydropower plant unit status for health status classification and assessment.
It enables accurate prediction of hydropower plant unit faults under complex and variable operating conditions, reduces false alarm rate, and improves the reliability and accuracy of fault prediction.
Smart Images

Figure CN123158501A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of hydropower plant unit fault identification technology, and in particular to a hydropower plant unit fault prediction method and system based on digital twins. Background Technology
[0002] Hydropower, as an important clean and renewable energy source, holds an irreplaceable strategic position in the global energy system. The reliable operation of hydro-turbine generator units in hydropower plants is a crucial prerequisite for ensuring stable power supply to the power system. Currently, the operation and maintenance mode of hydro-turbine generator units mostly adopts a strategy of scheduled maintenance or emergency repairs after failures. This not only results in high maintenance costs but also carries the risk of unplanned shutdowns due to the inability to detect potential hazards in a timely manner, potentially causing significant economic losses and safety issues. Therefore, developing predictive maintenance technologies that can detect unit condition degradation in advance and provide early warnings of faults has become an urgent practical need for the hydropower industry. Digital twin technology, by establishing a real-time mapping and two-way interaction between physical equipment and virtual models, can provide an effective technical framework for condition monitoring and intelligent operation and maintenance throughout the entire life cycle of the unit. Against this backdrop, conducting research on fault prediction based on digital twins has significant theoretical and engineering value.
[0003] Applying existing fault prediction technologies in real-world production environments presents a core challenge: the operating conditions of hydropower plant turbine generator units (such as load, head, and guide vane opening) are constantly and dynamically changing. This causes the normal baseline of vibration monitoring signals to drift significantly with changes in operating conditions. For example, the normal vibration amplitude under high load conditions is often much higher than the normal value under low load conditions. However, most existing fault prediction models fail to effectively cope with this dynamic interference. They are typically trained on fixed classification boundaries based on data from limited operating conditions, failing to effectively decouple normal fluctuations caused by operating condition switching from abnormal changes caused by equipment degradation in the monitoring signals. When operating conditions change, normal signal variations are easily misjudged as fault symptoms, resulting in numerous false alarms and reduced system availability. Conversely, relaxing boundary thresholds to accommodate multiple operating conditions leads to insensitivity to early, minor faults, increasing the risk of missed alarms. Summary of the Invention
[0004] The present invention aims to solve at least one of the problems existing in the prior art, and to provide a method and system for predicting the faults of hydropower plant units based on digital twins.
[0005] One aspect of the present invention provides a method for predicting faults in hydropower plant units based on digital twins, comprising: Acquire raw vibration data and raw SCADA data of hydro-turbine generator units in hydropower plants; Data cleaning, sliding window slicing, and feature engineering are performed on the raw vibration data and raw SCADA data to obtain the multimodal feature input sequence tensor; Data separation is performed on the multimodal feature input sequence tensor to obtain the pure vibration feature sequence and the working condition parameter sequence; Spatial features are extracted from each pure vibration feature sequence to obtain a vibration spatial feature sequence; temporal features are extracted from the vibration spatial feature sequence to obtain a vibration temporal feature sequence. Based on the operating condition parameter sequence, the vibration time series feature sequence is subjected to operating condition adaptive fusion to obtain the multi-modal aggregated coding vector of the hydropower plant unit state. The health status is classified and evaluated by the multimodal aggregated encoding vector of hydropower plant unit status, and the health status probability is obtained.
[0006] Optionally, spatial feature extraction is performed on each pure vibration feature in the pure vibration feature sequence to obtain a vibration spatial feature sequence, including: performing one-dimensional convolutional encoding on each pure vibration feature in the pure vibration feature sequence to obtain the vibration spatial feature sequence.
[0007] Optionally, the vibration spatial feature sequence is subjected to time feature extraction to obtain the vibration temporal feature sequence, including: using a recurrent neural network to extract the time features of the vibration spatial feature sequence to obtain the vibration temporal feature sequence.
[0008] Optionally, based on the operating condition parameter sequence, the vibration time series feature sequence is subjected to operating condition adaptive fusion to obtain the hydropower plant unit state multimodal aggregation coding vector, including: Attention weights are generated based on working condition-guided attention weights from the working condition parameter sequence and the vibration time series feature sequence. The temporal context vector is calculated based on the vibration temporal feature sequence and attention weights; Calculate the operating context vector based on attention weights and operating condition parameter sequences; Feature fusion is performed on the temporal context vector and the operating condition context vector to obtain the multimodal aggregated encoding vector of the hydropower plant unit status.
[0009] Optionally, attention weights are generated based on the operating condition parameter sequence and the vibration time series feature sequence to obtain attention weights, including: By jointly mapping the sequence of operating parameters and the sequence of vibration time series features at each time step, a joint hidden representation of vibration and operating conditions is obtained. Alignment scores are calculated based on the joint hidden representation of vibration and operating conditions. The alignment scores are weighted and normalized to obtain the attention weights.
[0010] Optionally, a temporal context vector is calculated based on the vibrational temporal feature sequence and attention weights, including: The temporal context vector is obtained by weighting and summing the vibration temporal feature sequence with the corresponding attention weights.
[0011] Optionally, a working condition context vector is calculated based on attention weights and the sequence of working condition parameters, including: The working condition context vector is obtained by weighting and summing the sequence of working condition parameters with the corresponding attention weights.
[0012] Optionally, the health status classification and assessment are performed on the multimodal aggregation encoding vector of the hydropower plant unit status to obtain the health status probability, including: The multimodal aggregated encoding vector of the hydropower plant unit status is input into the classifier for health status classification and assessment to obtain the health status probability.
[0013] Optionally, the hydropower plant unit fault prediction method based on digital twins further includes: Display the probability of a health status.
[0014] Another aspect of the present invention provides a hydropower plant unit fault prediction system based on digital twins, comprising: The data acquisition module is used to acquire raw vibration data and raw SCADA data of the turbine generator units in the hydropower plant; The data cleaning module is used to perform data cleaning, sliding window slicing, and feature engineering on the raw vibration data and raw SCADA data to obtain a multimodal feature input sequence tensor. The data separation module is used to separate the multimodal feature input sequence tensor to obtain the pure vibration feature sequence and the working condition parameter sequence; The feature extraction module is used to extract spatial features from each pure vibration feature sequence to obtain a vibration spatial feature sequence; and to extract temporal features from the vibration spatial feature sequence to obtain a vibration temporal feature sequence. The adaptive fusion module is used to perform adaptive fusion of vibration time sequence features based on the operating condition parameter sequence to obtain the multimodal aggregated encoding vector of hydropower plant unit status. The classification and evaluation module is used to classify and evaluate the health status of the multimodal aggregated encoding vector of hydropower plant unit status, and obtain the health status probability.
[0015] Compared with existing technologies, this invention utilizes spatiotemporal feature extraction to deeply mine the equipment status information contained in vibration signals and creatively introduces an attention mechanism. Real-time operating parameters are used as dynamic guiding signals to intelligently adjust and weight the importance of each part in the vibration time-series feature sequence. This allows for automatic focusing on the key feature segments that best characterize the deterioration of equipment health status based on the current actual operating conditions, while suppressing normal signal fluctuations caused only by changes in operating conditions. This effectively decouples the impact of operating conditions from fault degradation characteristics, generating a robust multimodal aggregated coding vector for hydropower plant unit status. This multimodal aggregated coding vector is then used for health status classification and evaluation, ultimately significantly improving the accuracy and reliability of fault prediction under complex and variable operating conditions. Attached Figure Description
[0016] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0017] Figure 1 A flowchart of a hydropower plant unit fault prediction method based on digital twins is provided as an embodiment of the present invention; Figure 2 for Figure 1 The diagram shows the data flow of a hydropower plant unit fault prediction method based on digital twins. Figure 3 A flowchart of another embodiment of the present invention is provided, which describes the process of adaptively fusing vibration time sequence feature sequences based on operating condition parameter sequences to obtain a multimodal aggregation encoding vector of hydropower plant unit status. Figure 4 A flowchart for generating attention weights based on working condition-guided attention weights from a sequence of working condition parameters and a sequence of vibration time-series features, as provided in another embodiment of the present invention, is shown below. Figure 5 This is a schematic block diagram of a hydropower plant unit fault prediction system based on digital twins, provided as another embodiment of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details are presented in the embodiments of the present invention to facilitate a better understanding of the invention. However, the technical solutions claimed in the present invention can be implemented even without these technical details and various variations and modifications based on the following embodiments. The division of the following embodiments is for ease of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with and referenced by each other without contradiction.
[0019] To address the technical problems in the background art, this invention proposes a fault prediction method and system for hydropower plant units based on digital twins. This solves the problem that traditional fault prediction models in the prior art struggle to distinguish between normal operating condition fluctuations and actual fault symptoms, thus generating a large number of false alarms. Specifically, this invention first simultaneously acquires the vibration signals (i.e., raw vibration data) of the turbine generator units in the hydropower plant and SCADA (Supervisory Control and Data Acquisition) data. The Acquisition (Data Acquisition and Monitoring Control System) operating condition data, i.e., the raw SCADA data, is cleaned, sliced using a sliding window, and feature-engineered to construct a multimodal feature input sequence tensor. This tensor is then separated into a pure vibration feature sequence and an operating condition parameter sequence. Spatiotemporal feature extraction is performed on the pure vibration feature sequence to capture the local fine structure of the vibration signal at each moment. The dynamic evolution of these structures over time is then learned, generating a vibration time-series feature sequence rich in state information. This invention does not passively process data; instead, it uses the separated operating condition parameter sequence as a dynamic guidance or query signal. Through an attention mechanism, it adaptively calculates and assigns weights to each time step in the vibration time-series feature. This means that the invention can intelligently determine which vibration modes are crucial for fault diagnosis based on the current operating conditions and focus on them accordingly. Ultimately, it generates a multimodal aggregation encoding vector of hydropower plant unit status that deeply integrates operating condition information and is insensitive to changes in operating conditions. This vector is then used for health status classification and assessment to obtain accurate health status assessment results, fundamentally solving the problem of false alarms under varying operating conditions.
[0020] One embodiment of the present invention provides a method for predicting faults in hydropower plant units based on digital twins. Figure 1 This is a flowchart of the fault prediction method for hydropower plant units based on digital twins. Figure 2 This is a schematic diagram illustrating the data flow of this digital twin-based hydropower plant unit fault prediction method. (In conjunction with...) Figure 1 and Figure 2The hydropower plant unit fault prediction method based on digital twin provided in this embodiment includes steps S100 to S600.
[0021] Step S100: Obtain the raw vibration data and raw SCADA data of the hydro-turbine generator unit in the hydropower plant.
[0022] Step S200: Perform data cleaning, sliding window slicing, and feature engineering on the original vibration data and original SCADA data to obtain the multimodal feature input sequence tensor.
[0023] Step S300: Perform data separation on the multimodal feature input sequence tensor to obtain the pure vibration feature sequence and the working condition parameter sequence.
[0024] Step S400: Extract spatial features from each pure vibration feature in the pure vibration feature sequence to obtain a vibration spatial feature sequence; extract temporal features from the vibration spatial feature sequence to obtain a vibration temporal feature sequence.
[0025] Step S500: Based on the operating condition parameter sequence, the vibration time sequence feature sequence is subjected to operating condition adaptive fusion to obtain the hydropower plant unit state multimodal aggregation coding vector.
[0026] Step S600: Perform health status classification and assessment on the multimodal aggregated encoding vector of the hydropower plant unit status to obtain the health status probability.
[0027] Specifically, in step S100, the raw vibration data and raw SCADA data of the hydro-turbine generator units in the hydropower plant are acquired. It should be noted that the vibration signal of the hydro-turbine generator units in the hydropower plant is a comprehensive reflection of the combined effects of the equipment's own health status and external operating conditions. Relying solely on single vibration data is insufficient to effectively distinguish abnormal signals caused by equipment deterioration from normal fluctuations caused by changes in operating conditions. Therefore, this embodiment simultaneously acquires raw vibration data and raw SCADA data, thereby providing comprehensive and multi-dimensional data input for subsequent fault prediction. This provides solid data support for decoupling the influence of operating conditions from fault characteristics and for constructing an adaptive diagnostic model for operating conditions in subsequent steps.
[0028] More specifically, when acquiring raw vibration data and raw SCADA data, accelerometers deployed at key locations of the hydro-generator unit, such as the guide vane housing, thrust bearing housing, and top cover, are used to collect real-time vibration acceleration signals in multiple dimensions, including radial and axial directions, as raw vibration data. Simultaneously, the unit's operating parameters corresponding to the vibration signal acquisition time point are retrieved from the hydropower plant's SCADA system as raw SCADA data. These operating parameters specifically include active power, guide vane opening, unit speed, and upstream water level. Then, in step S100, the acquired high-frequency raw vibration data and low-frequency raw SCADA data are transmitted to a data server via an industrial Ethernet network, ultimately forming two types of raw datasets with precise timestamps, providing raw input for subsequent data cleaning, alignment, and feature engineering steps.
[0029] Specifically, in step S200, the raw vibration data and raw SCADA data undergo data cleaning, sliding window slicing, and feature engineering to obtain a multimodal feature input sequence tensor. It is worth noting that the raw data streams directly obtained from sensors and SCADA systems inevitably contain noise interference and suffer from inconsistent sampling frequencies. Their continuous, unstructured data format cannot be directly used as input to a deep learning model. Therefore, this embodiment performs data cleaning, sliding window slicing, and feature engineering on the raw vibration data and raw SCADA data to obtain a multimodal feature input sequence tensor, transforming the heterogeneous raw data into a standardized input with a unified format, high information density, and direct readability by the model. This provides a high-quality structured data foundation for subsequent spatiotemporal feature extraction and adaptive fusion based on operating conditions, ensuring the training effect and prediction accuracy of the prediction model.
[0030] More specifically, when performing data cleaning, sliding window slicing, and feature engineering on the raw vibration data and raw SCADA data, the raw vibration data can first be bandpass filtered to remove power frequency interference and high-frequency noise, and missing values in the raw SCADA data can be linearly interpolated. Next, to achieve data synchronization, the low-frequency SCADA data sequence is upsampled using forward padding to ensure its timestamps are strictly aligned with the high-frequency vibration data sequence. Based on this, a fixed-length sliding window, such as a window of 1024 data points, with a fixed step size of 512 data points, is used to slide slice the aligned multidimensional data sequence, with each segment of data captured by the window constituting an independent sample. Then, the time-domain statistical characteristics and frequency-domain characteristics of the vibration data segment within each window are calculated. The time-domain statistical characteristics can be the root mean square and kurtosis factor, while the frequency-domain characteristics can be the specific frequency band energy obtained through fast Fourier transform. Simultaneously, the mean value of the corresponding SCADA parameters within the window is extracted. Finally, the vibration feature vector extracted from each window is concatenated with the working condition parameter vector, and the concatenated vectors generated by all windows are stacked in order to form a three-dimensional multimodal feature input sequence tensor with [number of samples, sequence length, feature dimension], which is used as the input for subsequent steps.
[0031] Specifically, in step S300, the multimodal feature input sequence tensor is separated into a pure vibration feature sequence and a working condition parameter sequence. It should be understood that since the subsequent adaptive fusion of working conditions requires using the working condition parameters as independent guiding information to dynamically adjust the processing method of vibration features, the mixed multimodal tensor cannot support this asymmetric processing flow. Therefore, this embodiment further separates the multimodal feature input sequence tensor into a pure vibration feature sequence and a working condition parameter sequence, thereby providing dedicated and pure data input streams for subsequent spatiotemporal feature extraction and working condition-guided attention. This creates the preconditions for achieving accurate guidance and adaptive weighting of vibration temporal features by working condition parameters, and is a key step in realizing the core technical concept of this invention.
[0032] More specifically, the data separation process in step S300 can be performed within the computational graph of the deep learning model. Assume the dimension of the multimodal feature input sequence tensor generated in step S200 is... ,in, For the sample size, For sequence length, This represents the total number of feature dimensions. It is known that in this... In a multimodal feature input sequence tensor of 3D, the first The dimensional features correspond to the features extracted from the vibration signal, and then... The dimensional features correspond to SCADA operating condition parameters, and equal and The sum. During data separation, the multimodal feature input sequence tensor is sliced along the last dimension, i.e., the feature dimension. Specifically, the first to second features of all samples across all sequence lengths are extracted. Dimension, forming a dimension as The pure vibrational feature sequence tensor; simultaneously, extracting the first feature dimension of all samples across all sequence lengths. To the Dimension, forming a dimension as The two sequence tensors are the operating condition parameter sequence tensors. They will be used as parallel inputs and fed into subsequent steps for processing.
[0033] Specifically, in step S400, spatial features are extracted from each pure vibration feature sequence to obtain a vibration spatial feature sequence; temporal features are extracted from the vibration spatial feature sequence to obtain a vibration temporal feature sequence. Step S400 mainly involves performing spatiotemporal feature extraction on the pure vibration feature sequence to obtain the vibration temporal feature sequence. It should be understood that features directly extracted from the original vibration signal as primary features are usually isolated and shallow, making it difficult to comprehensively characterize the complex dynamic behavior and nonlinear coupling relationship exhibited by the hydro-generator unit during the fault evolution process, thus making it difficult to capture the weak transient modes exhibited by the early faults. Therefore, this embodiment performs spatiotemporal feature extraction on the pure vibration feature sequence to obtain the vibration temporal feature sequence, thereby constructing a deep feature representation from local to global and from static to dynamic. Specifically, firstly, spatial feature extraction is used to automatically capture the local structural patterns and intrinsic correlations of the vibration signal within each time window, forming a fine characterization of the instantaneous state; subsequently, temporal feature extraction is used to learn the evolution law and long-term dependence of these local patterns in the time dimension. In this way, a vibration time series feature sequence with higher information density and better ability to reveal the internal mechanism of the fault can be generated. This vibration time series feature sequence not only contains a deep understanding of the instantaneous state of the unit, but also incorporates its historical evolution information, providing a more identifiable feature basis for subsequent adaptive fusion of operating conditions to distinguish between normal operating condition fluctuations and real fault degradation.
[0034] More specifically, spatial features are extracted from each pure vibration feature sequence to obtain a vibration spatial feature sequence. It should be understood that since the various feature components in the pure vibration feature sequence are inherently related in a physical sense—for example, the energy distribution of different frequency bands jointly reflects a specific vibration mode—treating these feature components as independent inputs would ignore the local structural information formed by their combination. Therefore, this embodiment further extracts spatial features from each pure vibration feature sequence to obtain a vibration spatial feature sequence. This allows for the automatic learning and capture of the specific physical patterns or higher-order correlations formed by the combination of different vibration feature components at each instant. In this way, the original, relatively shallow feature vector can be transformed into an encoded, more abstract feature representation that better characterizes the core information of the unit's current instantaneous state, providing a more discriminative input for subsequent time series modeling.
[0035] For example, spatial feature extraction of each pure vibration feature in a pure vibration feature sequence to obtain a vibration spatial feature sequence includes: performing one-dimensional convolutional encoding on each pure vibration feature in the pure vibration feature sequence to obtain the vibration spatial feature sequence. In other words, the process of extracting spatial features from each pure vibration feature in the pure vibration feature sequence can be implemented using a one-dimensional convolutional neural network. First, the dimension is... The pure vibrational feature sequence tensor is input into this one-dimensional convolutional neural network, and the one-dimensional convolutional kernel in this one-dimensional convolutional neural network is along a length of The feature dimension is used for sliding computation. For example, this one-dimensional convolutional neural network can have two one-dimensional convolutional layers. The first one-dimensional convolutional layer uses 16 convolutional kernels of size 3, and the second one-dimensional convolutional layer uses 32 convolutional kernels of size 3. Each convolutional layer is followed by a ReLU non-linear activation function. Convolution operations can automatically capture the combination relationship between adjacent features (such as the energy of adjacent frequency bands). After the convolutional layer, a max pooling layer is connected to reduce the feature dimension and enhance the translation invariance of the features. Finally, the output of this one-dimensional convolutional neural network is a feature with a dimension of 3. The vibration spatial feature sequence tensor, in which the last dimension of 32 features are spatial features that have been deeply encoded and abstracted, representing the instantaneous state of the unit.
[0036] Specifically, temporal features are extracted from the vibration spatial feature sequence to obtain a vibration temporal feature sequence. It should be understood that the vibration spatial feature sequence only represents snapshots of the turbine generator unit's state at individual moments, ignoring the evolutionary patterns and dependencies of these snapshots over time. This is insufficient for predicting gradual faults that require time to accumulate. Therefore, this embodiment further extracts temporal features from the vibration spatial feature sequence to obtain a vibration temporal feature sequence, thereby enabling deep learning and capturing the dynamic evolution patterns and long-term dependencies of the unit's state over the entire time series. This generates a final feature representation where the feature vector at each time point not only encodes the current state but also incorporates contextual information from its historical evolution trajectory, providing a more comprehensive and time-dynamic basis for fault prediction.
[0037] For example, extracting temporal features from a vibration spatial feature sequence to obtain a vibration temporal feature sequence includes: using a recurrent neural network to extract temporal features from the vibration spatial feature sequence to obtain the vibration temporal feature sequence. In other words, the process of extracting temporal features from the vibration spatial feature sequence can be implemented using a recurrent neural network, specifically a bidirectional long short-term memory (BiLSTM) network. First, the dimension is... The vibrational spatial feature sequence tensor is input into the BiLSTM network, which contains one forward LSTM unit and one backward LSTM unit. The forward LSTM unit is arranged in ascending order from 1 to... The sequence is processed sequentially by time step, and then fed into the LSTM unit in order from... The process proceeds in reverse order from 1. Assuming each LSTM unit has a hidden layer dimension of 64, at any time step t, the forward LSTM unit outputs a 64-dimensional forward hidden state vector, and the backward LSTM unit outputs a 64-dimensional backward hidden state vector. These two hidden state vectors, the forward and backward hidden state vectors, are then concatenated to form a 128-dimensional combined feature vector. Finally, the output of this BiLSTM network is a 128-dimensional feature vector. The vibration time-series feature sequence tensor, in which each feature vector contains bidirectional temporal context information of the past and future throughout the entire sequence.
[0038] Specifically, in step S500, based on the operating condition parameter sequence, the vibration time-series feature sequence is subjected to operating condition adaptive fusion to obtain the hydropower plant unit state multimodal aggregated encoding vector. It should be understood that while existing operating condition adaptive attention mechanisms can cleverly utilize time-series features and corresponding operating condition parameters to calculate the importance weight of each time step when constructing the context vector, in the subsequent feature aggregation stage, they only use these weights to perform a weighted summation of the time-series features, completely discarding the operating condition parameters themselves as the basis for decision-making. Therefore, this embodiment further performs operating condition adaptive fusion on the vibration time-series feature sequence based on the operating condition parameter sequence to obtain the hydropower plant unit state multimodal aggregated encoding vector, thereby addressing the aforementioned technical deficiencies. An improved technique based on dual-path context fusion is used, upgrading from single selective feature aggregation to comprehensive selective context aggregation, ensuring that signal feature information and operating condition background information are equally preserved and reflected in the final vector representation.
[0039] For example, Figure 3 This is a flowchart illustrating how, based on a sequence of operating condition parameters, a vibration time-series feature sequence is adaptively fused to obtain a multimodal aggregated encoding vector for the hydropower plant unit's state. (See flowchart for another embodiment of the invention.) Figure 3 As shown, step S500 includes the following steps: S510, generating attention weights based on operating condition guidance from the operating condition parameter sequence and the vibration time series feature sequence to obtain attention weights; S520, calculating the time series context vector based on the vibration time series feature sequence and the attention weights; S530, calculating the operating condition context vector based on the attention weights and the operating condition parameter sequence; S540, performing feature fusion on the time series context vector and the operating condition context vector to obtain the hydropower plant unit state multimodal aggregation coding vector.
[0040] Specifically, in step S510, attention weights are generated based on operating condition guidance for the operating condition parameter sequence and the vibration time-series feature sequence to obtain attention weights. It should be understood that under different operating conditions, the characteristic patterns and importance of the vibration time-series feature sequence that effectively indicate faults are dynamically changing. A fixed, indiscriminate feature aggregation method cannot capture this operating condition dependence, making it difficult to achieve accurate fault location and identification. Therefore, this embodiment further generates attention weights based on operating condition guidance for the operating condition parameter sequence and the vibration time-series feature sequence to obtain attention weights, thereby establishing a mechanism that can dynamically evaluate the relative importance of vibration features at each time step according to real-time operating conditions.
[0041] Specifically, the generation of attention weights can begin by jointly mapping the operating condition parameter sequence and the vibration time-series feature sequence at each time step to learn their interactive representation at a specific moment. Then, based on this interactive representation obtained from the joint mapping, an alignment score is calculated, which measures the relevance of the vibration features at the current moment to the final diagnostic task under the current operating condition. Finally, the alignment score of the entire sequence is normalized to obtain the final attention weights. This generates a quantified weight distribution with clear physical guidance for subsequent feature fusion steps. This weight distribution allows the model to focus on the most critical fault symptoms under specific operating conditions, while ignoring normal fluctuations caused by changes in operating conditions, which is the core and prerequisite for realizing the overall adaptive fusion strategy for the operating conditions.
[0042] For example, Figure 4 This is a flowchart illustrating the process of generating attention weights based on operating condition-guided parameters and vibration time-series feature sequences, as provided in another embodiment of the present invention. Figure 4 As shown, step S510 includes the following steps: S511, jointly mapping the working condition parameter sequence and vibration time series feature sequence at each time step to obtain the vibration-working condition joint hidden representation; S512, calculating the alignment score based on the vibration-working condition joint hidden representation; S513, normalizing the alignment score to obtain the attention weight.
[0043] Specifically, in step S511, the operating condition parameter sequences and vibration time-series feature sequences at each time step are jointly mapped to obtain a joint vibration-operating condition hidden representation. It should be understood that the attention mechanism requires a unified metric space to evaluate the correlation between vibration features and operating condition parameters at a specific time step. However, the separate vibration feature vectors and operating condition parameter vectors reside in different feature spaces, making direct meaningful comparisons or correlation calculations impossible. Therefore, this embodiment further jointly maps the operating condition parameter sequences and vibration time-series feature sequences at each time step to obtain a joint vibration-operating condition hidden representation. This projects the two heterogeneous feature vectors into a shared, higher-dimensional latent space and learns the nonlinear interaction between them. In this way, a novel intermediate feature representation integrating information from both modalities can be generated, providing a unified and information-rich benchmark for subsequent alignment score calculations.
[0044] More specifically, the joint mapping process in step S511 can be executed independently at each time step of the sequence using a single-layer feedforward neural network. For any time step t, the vibration time-series feature vector (a 128-dimensional vector) at that time is first linearly transformed using a learnable weight matrix. Simultaneously, the operating condition parameter vector at that time (e.g., a 4-dimensional vector containing parameters such as active power and guide vane opening) is linearly transformed using another independent, learnable weight matrix, projecting it to the same dimension as the transformed vibration feature. Then, the two linearly transformed result vectors are added element-wise, with a bias vector added. Finally, the summed result is input into a tanh nonlinear activation function, the output of which is the vibration-operating condition joint hidden representation vector for the current time step t. This process is repeated for all time steps in the sequence, ultimately yielding a joint hidden representation sequence of the same length as the input sequence.
[0045] Specifically, in step S512, an alignment score is calculated based on the vibration-operating condition joint hidden representation. It should be understood that the vibration-operating condition joint hidden representation is a high-dimensional abstract vector, which itself does not directly quantify the contribution or relevance of the information at the current time step to the final fault diagnosis task. The model needs a mechanism to evaluate the importance of each position in the sequence. Therefore, this embodiment further calculates an alignment score based on the vibration-operating condition joint hidden representation, thereby projecting the hidden vector at each time step, which incorporates multimodal information, into a scalar value. This scalar value is used to measure the degree of alignment between the features at that time step and the prediction target under the current operating condition. In this way, an unnormalized importance score can be generated for each time point in the sequence, providing an original and comparable quantitative basis for subsequently generating the final attention weight distribution.
[0046] More specifically, the calculation of the alignment score in step S512 can be achieved by introducing a learnable context vector. First, during model initialization, a context vector with the same dimension as the vibration-condition joint hidden representation is defined and randomly initialized. During model training, the parameters of this context vector are continuously optimized through backpropagation to capture the feature patterns most valuable for fault diagnosis. Then, for each time step t in the joint hidden representation sequence, the corresponding vibration-condition joint hidden representation is multiplied by the shared, learned context vector. The result of this dot product is the alignment score for the current time step t, which is a scalar value. This operation is repeated for all time steps in the joint hidden representation sequence, ultimately resulting in a one-dimensional sequence of scalar alignment scores of the same length as the input sequence.
[0047] Specifically, in step S513, the alignment scores are weighted and normalized to obtain the attention weights. It should be understood that the alignment scores are unscaled raw values; their range is uncertain and they lack probability distribution characteristics, making them unsuitable as coefficients for subsequent feature weighting. Therefore, this embodiment further normalizes the alignment scores to obtain the attention weights, thereby transforming the alignment scores of the entire sequence into a probability distribution that sums to 1, where each value explicitly represents the relative importance at the corresponding time step. This provides a set of normalized weight coefficients with good mathematical properties and easy model learning for subsequent weighted summation operations, ensuring the effectiveness and stability of the attention mechanism.
[0048] More specifically, the weight normalization process in step S513 can be implemented by applying the Softmax function. First, a one-dimensional sequence consisting of the alignment scores of the scalars at all time steps is used as input to the Softmax function. Then, the Softmax function independently exponentially operates on each alignment score in the input sequence to ensure that all values are positive and to widen the gap between different score values. Next, the sum of all these exponentially increased score values is calculated, and this sum is used as the normalization denominator. Finally, each exponentially increased score value is divided by the normalization denominator, and the result is the final attention weight for the corresponding time step. This process ensures that in the output attention weight sequence, each weight value is within the range of 0 to 1, and the sum of all weight values is exactly equal to 1.
[0049] It is understandable that existing adaptive attention mechanisms for operating conditions have an inherent technical flaw in constructing context vectors, stemming from the loss of crucial information. While this mechanism cleverly utilizes temporal features and corresponding operating condition parameters to calculate the importance weight of each time step, in the subsequent feature aggregation stage, it merely uses these weights to perform a weighted summation of the temporal features, completely discarding the operating condition parameters themselves as the basis for decision-making. This approach ignores a core, special relationship: at a critical moment highly focused on by the model, the corresponding operating condition is not only the catalyst for attention but also an indispensable part of the context of that critical event. For example, a specific vibration signal pattern may be ambiguous in itself, but its fault indication becomes complete and clear only when combined with the operating condition information that "the unit is operating at 800MW full load." Therefore, the context vector generated by the original method can only answer what happened but cannot explain under what conditions it occurred, leading to ambiguity in the final feature representation and reducing the model's judgment accuracy under complex operating condition changes. To address the aforementioned technical deficiencies, this embodiment proposes an improved technique based on dual-path context fusion. Its core idea is to upgrade from single selective feature aggregation to comprehensive selective context aggregation, ensuring that signal feature information and operating condition background information are equally preserved and reflected in the final vector representation.
[0050] Specifically, in step S520, a temporal context vector is calculated based on the vibration time-series feature sequence and attention weights. It should be understood that the attention weights only provide an assessment of the importance of each time point in the vibration time-series feature sequence, while the original, high-dimensional time-series feature sequence itself is still variable-length and contains a large amount of redundant information with low relevance to the fault prediction task. Therefore, this embodiment further calculates a temporal context vector based on the vibration time-series feature sequence and attention weights, thereby extracting the most relevant information to the fault prediction task from the time-series feature sequence according to the generated attention weights. In the scenario of fault prediction for hydropower plant units, this step can automatically identify and amplify the signal segments with the most prominent fault symptoms in a continuous monitoring data stream, such as brief high-frequency vibrations occurring during load switching, thus ignoring routine signals during stable operation. This allows the construction of a fixed-length vector that summarizes the core signal behavior and condenses the most critical signal patterns within the entire time window, providing a stable and information-focused input for the subsequent classifier.
[0051] For example, calculating the temporal context vector based on the vibration temporal feature sequence and attention weights includes: performing a weighted summation of the vibration temporal feature sequence and the corresponding attention weights to obtain the temporal context vector. Specifically, in this embodiment, the calculation process of the temporal context vector is a weighted summation operation. First, two inputs are received: a vibration temporal feature sequence and a sequence of attention weights. Then, for each time step t in the sequence, the corresponding vibration temporal feature vector is multiplied by the attention weight of that time step. Finally, all... The scalar multiplication results of each time step are accumulated element-wise along the feature dimension to finally obtain a temporal context vector.
[0052] Specifically, in step S530, a working condition context vector is calculated based on attention weights and the sequence of operating parameters. It should be understood that the temporal context vector only summarizes the vibration feature patterns determined to be important, but does not explicitly retain the specific operating condition information at the time these important vibrations occur, resulting in the loss of crucial context information. Therefore, this embodiment further calculates the working condition context vector based on attention weights and the sequence of operating parameters to compensate for the aforementioned information loss, explicitly encoding the operating condition information that determines the attention weight allocation into the final context representation. In this way, the specific operating states corresponding to those determined to be important moments can be accurately captured and recorded, constructing a fixed-length vector that matches the temporal context vector and summarizes the operating states of all key moments.
[0053] For example, the operating condition context vector is calculated based on attention weights and a sequence of operating condition parameters. This includes weighted summation of the operating condition parameter sequence with the corresponding attention weights to obtain the operating condition context vector. Specifically, two inputs are first received: a sequence of attention weights and a sequence of operating condition parameters. Then, the calculation is completed by weighted summation of the attention weight sequence and the operating condition parameter sequence. This allows for the accurate capture and recording of the specific operating states corresponding to those moments deemed important. Specifically, for each time step t in the sequence, the corresponding operating condition parameter vector is scalar multiplied by the attention weight of that time step. This operation scales the operating condition vector according to the weight value, thereby highlighting the operating condition information corresponding to those time points deemed important by the attention mechanism. For example, if a highly concerned abnormal vibration occurs when the unit's active power is 95% and the guide vane opening is 90%, then this operating condition context vector will focus on encoding the state information of this high-load area. Finally, the weighted operating condition vectors of all L time steps are summed element-wise to obtain the final operating condition context vector.
[0054] Specifically, in step S540, the temporal context vector and the operating condition context vector are fused to obtain a multimodal aggregated encoding vector of the hydropower plant unit state. It should be understood that this technique constructs a fused context vector. In this embodiment, the two pieces of information, representing signal behavior and operating background respectively, need to be integrated into a unified and comprehensive feature representation for use by the downstream fault classification model. During execution, it concatenates the temporal context vector and the operating condition context vector along the feature dimension. This step can simultaneously describe what kind of abnormal signal has occurred and under what operating condition the signal appears. This fused representation is far more explicit and robust than any single piece of information.
[0055] Through the above preferred embodiments, the predictive capability bottleneck of the original attention model caused by the loss of operating condition information is overcome, and a more robust and accurate fault prediction model for complex operating condition changes is constructed. This mechanism achieves the aforementioned technical effects by introducing and fusing operating condition context vectors. First, by providing a more complete and less ambiguous input, it directly improves the model's accuracy and robustness, enabling the model to better distinguish between normal fluctuations caused by operating condition changes and real fault symptoms caused by equipment degradation. Second, because the model learns a more fundamental and explicit relationship between signals, operating conditions, and health status, its generalization ability is enhanced, allowing it to better handle new or transitional operating conditions not fully covered in the training data. Finally, this mechanism also improves the model's interpretability. After the model makes a judgment, by analyzing the temporal and operating condition components in the fused vector, deeper insights can be provided to domain experts, revealing the intrinsic relationship between specific faults and specific operating areas, ultimately serving smarter and more reliable hydropower plant unit operation and maintenance decisions.
[0056] Specifically, in step S600, the health status classification and evaluation of the hydropower plant unit's multimodal aggregated coding vector is performed to obtain the health status probability. It should be understood that the hydropower plant unit's multimodal aggregated coding vector is a highly abstract feature representation implied in a latent space, and it does not directly correspond to any specific, physically meaningful health status category. Therefore, this embodiment further performs health status classification and evaluation on the hydropower plant unit's multimodal aggregated coding vector to obtain the health status probability, thereby establishing a final mapping from the deep feature space to predefined fault categories, completing the transformation from feature representation to diagnostic conclusion. This enables the entire model to output an intuitive, quantitative, and easily understandable final diagnostic result for maintenance personnel. This result not only indicates the most likely health status of the unit but also provides the confidence level of the judgment, providing a decisive basis for subsequent maintenance decisions and risk assessments.
[0057] For example, classifying and evaluating the health status of a hydropower plant unit's multimodal aggregated encoding vector to obtain a health status probability includes: inputting the hydropower plant unit's multimodal aggregated encoding vector into a classifier for health status classification and evaluation to obtain a health status probability. Specifically, in this embodiment, the health status classification and evaluation process can be implemented using a classifier composed of fully connected layers. First, a fixed-length hydropower plant unit's multimodal aggregated encoding vector is used as the input to the classifier. The classifier contains two fully connected hidden layers and one output layer. The first fully connected hidden layer has 64 neurons, the second fully connected hidden layer has 32 neurons, and each hidden layer is followed by a ReLU nonlinear activation function to enhance the model's nonlinear fitting ability. The output layer of the classifier has three neurons, corresponding to the predefined three categories: healthy state, early fault state, and severe fault state. Finally, a Softmax activation function is applied to the output layer, which transforms the original activation values of the output layer neurons into a probability distribution. Ultimately, the classifier outputs a three-dimensional health status probability vector, in which the three elements represent the probability that the current unit's status belongs to one of the three predefined health statuses, and the sum of these three elements is 1.
[0058] For example, the hydropower plant unit fault prediction method based on digital twins also includes displaying the health status probability. It should be understood that the health status probability is numerical data stored within the computing system, which cannot be directly perceived and interpreted by operation and maintenance personnel. This would prevent diagnostic conclusions from being translated into actual operation and maintenance actions. Therefore, this embodiment further displays the health status probability; for example, it can display the health status probability on a screen, thereby transforming the abstract diagnostic conclusions of the model into intuitive and visual information. This provides hydropower plant operation and maintenance personnel with a clear and real-time human-machine interface, enabling them to accurately grasp the health evolution trend of the unit and provide direct and reliable basis for decisions such as predictive maintenance and optimized operation strategies, thus ultimately realizing the value of the entire fault prediction process.
[0059] More specifically, the process of displaying the probability of health status can be implemented on a human-machine interface integrated into the hydropower plant's centralized control system or a dedicated predictive maintenance platform. This interface first receives the health status probability vector in real time via a data interface. Then, the interface parses the health status probability vector and visualizes it in several forms: First, in a dynamic dashboard area, instruments are coded with a prominent color, for example, green represents a healthy state, yellow represents an early fault state, and red represents a severe fault state, to instantly reflect the health state with the highest probability. Second, a real-time updated bar chart accurately displays the specific probability values of each predefined health state. Third, a historical trend curve plots the evolution of the probability of key fault states, such as early fault states, over time, for example, the past 72 hours, to reveal the rate and trend of equipment degradation. When the probability value of any fault state continuously exceeds a preset alarm threshold, an audible and visual alarm can be automatically triggered, and the event's timestamp, fault type, and confidence level are recorded in the alarm list for maintenance personnel to review and respond to.
[0060] In summary, the fault prediction method for hydropower plant units based on digital twins provided by this invention is explained. It leverages spatiotemporal feature extraction to deeply mine the equipment status information contained in vibration signals and creatively introduces an attention mechanism. Real-time operating parameters are used as dynamic guiding signals to intelligently adjust and weight the importance of each part in the vibration time-series feature sequence. As a result, it can automatically focus on the key feature segments that best characterize the deterioration of equipment health status based on the current actual operating conditions, while suppressing normal signal fluctuations caused only by changes in operating conditions. This effectively decouples the influence of operating conditions from fault degradation features, generating a multimodal aggregated coding vector of hydropower plant unit status that is robust to changes in operating conditions. The health status of the multimodal aggregated coding vector of hydropower plant unit status is classified and evaluated, ultimately significantly improving the accuracy and reliability of fault prediction under complex and variable operating conditions.
[0061] Another embodiment of the present invention provides a hydropower plant unit fault prediction and control system based on digital twins. Figure 5 This is a schematic block diagram of the structure of the hydropower plant unit fault prediction and control system based on digital twin provided in this embodiment. Figure 5As shown in this embodiment, the hydropower plant unit fault prediction and control system 500 based on digital twin includes: a data acquisition module 510, used to acquire the original vibration data and original SCADA data of the hydropower plant turbine generator unit; a data cleaning module 520, used to perform data cleaning, sliding window slicing, and feature engineering processing on the original vibration data and original SCADA data to obtain a multimodal feature input sequence tensor; a data separation module 530, used to perform data separation on the multimodal feature input sequence tensor to obtain a pure vibration feature sequence and a working condition parameter sequence; a feature extraction module 540, used to extract spatial features from each pure vibration feature in the pure vibration feature sequence to obtain a vibration spatial feature sequence; and to extract temporal features from the vibration spatial feature sequence to obtain a vibration temporal feature sequence; an adaptive fusion module 550, used to perform adaptive fusion of the vibration temporal feature sequence based on the working condition parameter sequence to obtain a multimodal aggregated encoding vector of the hydropower plant unit state; and a classification and evaluation module 560, used to classify and evaluate the health status of the multimodal aggregated encoding vector of the hydropower plant unit state to obtain a health status probability.
[0062] For example, such as Figure 5 As shown, the hydropower plant unit fault prediction and control system 500 based on digital twin provided in this embodiment also includes a probability display module 570, which is used to display the probability of health status, for example, displaying the probability of health status on a display screen.
[0063] The digital twin-based hydropower plant unit fault prediction and control system 500 provided in this embodiment can be implemented in various wireless terminals, such as servers with digital twin-based hydropower plant unit fault prediction and control algorithms. In one possible implementation, the digital twin-based hydropower plant unit fault prediction and control system 500 can be integrated into the wireless terminal as a software module and / or hardware module. For example, the digital twin-based hydropower plant unit fault prediction and control system 500 can be a software module in the operating system of the wireless terminal, or it can be an application developed for the wireless terminal; of course, the digital twin-based hydropower plant unit fault prediction and control system 500 can also be one of many hardware modules of the wireless terminal.
[0064] The specific implementation method of the hydropower plant unit fault prediction and control system based on digital twin provided in this embodiment of the invention can be found in the description of the hydropower plant unit fault prediction and control method based on digital twin provided in this embodiment of the invention, and will not be repeated here.
[0065] Those skilled in the art will understand that the above embodiments are specific embodiments for implementing the present invention, and in practical applications, various changes in form and detail may be made without departing from the spirit and scope of the present invention.
Claims
1. A method for predicting the failure of a unit of a hydropower plant based on digital twinning, characterized by, include: Acquire raw vibration data and raw SCADA data of hydro-turbine generator units in hydropower plants; Data cleaning, sliding window slicing, and feature engineering are performed on the raw vibration data and raw SCADA data to obtain the multimodal feature input sequence tensor; Data separation is performed on the multimodal feature input sequence tensor to obtain the pure vibration feature sequence and the working condition parameter sequence; Spatial features are extracted from each pure vibration feature sequence to obtain a vibration spatial feature sequence; temporal features are extracted from the vibration spatial feature sequence to obtain a vibration temporal feature sequence. Based on the operating condition parameter sequence, the vibration time series feature sequence is subjected to operating condition adaptive fusion to obtain the multi-modal aggregated coding vector of the hydropower plant unit state. The health status is classified and evaluated by the multimodal aggregated encoding vector of hydropower plant unit status, and the health status probability is obtained.
2. The digital-twin-based fault prediction method for a hydroelectric power plant unit according to claim 1, characterized in that, Spatial feature extraction is performed on each pure vibration feature in the pure vibration feature sequence to obtain a vibration spatial feature sequence, including: performing one-dimensional convolutional encoding on each pure vibration feature in the pure vibration feature sequence to obtain the vibration spatial feature sequence.
3. The digital-twin-based fault prediction method for a hydroelectric power plant unit according to claim 1, characterized in that, Temporal feature extraction is performed on the spatial feature sequence of vibration to obtain the temporal feature sequence of vibration, including: The vibration temporal feature sequence is obtained by using a recurrent neural network to extract the temporal features of the vibration spatial feature sequence.
4. The digital-twin-based fault prediction method for hydroelectric power plant units according to claim 1, characterized in that, Based on the operating condition parameter sequence, the vibration time series feature sequence is subjected to operating condition adaptive fusion to obtain the hydropower plant unit state multimodal aggregated encoding vector, including: Attention weights are generated based on working condition-guided attention weights from the working condition parameter sequence and the vibration time series feature sequence. The temporal context vector is calculated based on the vibration temporal feature sequence and attention weights; Calculate the operating context vector based on attention weights and operating condition parameter sequences; Feature fusion is performed on the temporal context vector and the operating condition context vector to obtain the multimodal aggregated encoding vector of the hydropower plant unit status.
5. The digital-twin-based fault prediction method for a generating unit of a hydropower plant according to claim 4, characterized in that, Attention weights are generated based on working condition guidance from the working condition parameter sequence and the vibration time series feature sequence, resulting in attention weights, including: By jointly mapping the sequence of operating parameters and the sequence of vibration time series features at each time step, a joint hidden representation of vibration and operating conditions is obtained. Alignment scores are calculated based on the joint hidden representation of vibration and operating conditions. The alignment scores are weighted and normalized to obtain the attention weights.
6. The hydropower plant unit fault prediction method based on digital twins according to claim 4, characterized in that, Based on the vibrational temporal feature sequence and attention weights, a temporal context vector is calculated, including: The temporal context vector is obtained by weighting and summing the vibration temporal feature sequence with the corresponding attention weights.
7. The hydropower plant unit fault prediction method based on digital twins according to claim 4, characterized in that, Based on attention weights and the sequence of operating parameters, the operating context vector is calculated, including: The working condition context vector is obtained by weighting and summing the sequence of working condition parameters with the corresponding attention weights.
8. The method for predicting hydropower plant unit faults based on digital twins according to claim 1, characterized in that, The health status classification and assessment are performed on the multimodal aggregated encoding vector of hydropower plant unit status to obtain the health status probability, including: The multimodal aggregated encoding vector of the hydropower plant unit status is input into the classifier for health status classification and assessment to obtain the health status probability.
9. The method for predicting hydropower plant unit faults based on digital twins according to claim 1, characterized in that, The method for predicting faults in hydropower plant units based on digital twins also includes: Display the probability of a health status.
10. A hydropower plant unit fault prediction system based on digital twins, characterized in that, include: The data acquisition module is used to acquire raw vibration data and raw SCADA data of the turbine generator units in the hydropower plant; The data cleaning module is used to perform data cleaning, sliding window slicing, and feature engineering on the raw vibration data and raw SCADA data to obtain a multimodal feature input sequence tensor. The data separation module is used to separate the multimodal feature input sequence tensor to obtain the pure vibration feature sequence and the working condition parameter sequence. The feature extraction module is used to extract spatial features from each pure vibration feature sequence to obtain a vibration spatial feature sequence; and to extract temporal features from the vibration spatial feature sequence to obtain a vibration temporal feature sequence. The adaptive fusion module is used to perform adaptive fusion of vibration time sequence features based on the operating condition parameter sequence to obtain the multimodal aggregated encoding vector of hydropower plant unit status. The classification and evaluation module is used to classify and evaluate the health status of the multimodal aggregated encoding vector of hydropower plant unit status, and obtain the health status probability.
