Next Article in Journal
Self-Attention over Parallel Dense Embeddings for High-Dimensional Omic Data
Previous Article in Journal
Numerical Analysis of the Comprehensive Performance of Straight Dipole Arrays for 11.74 T MRI Brain Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forced Oscillation Detection Using Hybrid Knowledge–Deep Learning Features

1
College of Electrical Engineering, Sichuan University, Chengdu 610065, China
2
Key Laboratory of Information and Automation Technology in Sichuan Province, Sichuan University, Chengdu 610065, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2026, 16(16), 7891; https://doi.org/10.3390/app16167891
Submission received: 30 June 2026 / Revised: 31 July 2026 / Accepted: 6 August 2026 / Published: 7 August 2026

Abstract

Accurate detection of forced oscillations is important for the stable operation of power systems. The method based on prior knowledge relies on manual feature extraction, which has limited ability to characterize non-stationary signals. While deep learning (DL) methods can automatically learn features, they may overlook the physical mechanisms of power systems, potentially leading to misjudgments. We propose a Hybrid Knowledge-DL network (HKD-SVM) that utilizes Support Vector Machine (SVM) as the classifier. In our method, Discrete Wavelet Transform (DWT) is used to represent the time–frequency structure of the input signals, and DL features are extracted by Convolutional Neural Network (CNN) from this time–frequency representation. These learned features are subsequently fused with prior knowledge features that carry explicit physical interpretations, thereby constructing a more discriminative feature representation space. Finally, SVM is adopted as the classifier, making the network well-suited for nonlinear, high-dimensional classification scenarios with limited training samples, which are common in power system applications. Experiments on both simulated and real-world phasor measurement unit (PMU) data demonstrate that HKD-SVM outperforms purely data-driven and purely knowledge-driven methods. The proposed method provides an effective solution for power system oscillation detection.

1. Introduction

With the expansion of interconnected power grids and the increasing penetration of distributed energy resources [1], the issue of low-frequency oscillations has become increasingly prominent. Such oscillations may trigger resonance effects, leading to power fluctuations, and may also induce cascading failures, threatening the safe and stable operation of power grids [2,3]. According to the generation mechanisms of low-frequency oscillations, they can be classified into two categories: one is natural oscillations caused by weak system damping, and the other is forced oscillations excited when external periodic disturbances are close to the natural modal frequency of the system [4,5]. Both types of oscillations exhibit highly similar constant-amplitude steady-state behaviors, as shown in Figure 1. However, their suppression methods differ significantly [3,6]. Therefore, accurately detecting the type of oscillation is a critical prerequisite for achieving effective suppression and ensuring the safe and stable operation of power grids.
Traditional forced oscillation detection methods primarily rely on signal processing techniques to extract time–frequency domain features of oscillation signals, combined with expert-defined discrimination rules for classification. These approaches are collectively referred to as knowledge-based forced oscillation detection methods. For feature extraction, time-domain characteristics typically include statistical metrics [7], curvature [8], envelope morphology [9], and phase-space trajectory radius [10]. In the frequency domain, Fourier transform and power spectral density analysis are commonly employed to obtain parameters such as oscillation frequency and slope [11,12,13,14]. Alternatively, researchers examine energy distribution [15,16], coherence [17], or spectral characteristics [18,19] across different frequency components for feature extraction. The advantages of such methods lie in their clear physical interpretations, mathematical foundations at each step, and high computational efficiency, which bypasses the reliance on extensive training samples. However, their detection performance heavily depends on the effectiveness of extracting robust discriminative features. Moreover, the feature sets are often designed for specific scenarios, making them difficult to adapt to the variable operating conditions of power systems. Additionally, these methods exhibit limited capability in characterizing strongly nonlinear and non-stationary signals. These limitations become particularly pronounced in modern power systems with a high penetration of renewable energy sources [20].
With the rapid development of artificial intelligence technology, data-driven Deep Learning (DL) has demonstrated significant application potential in the field of power system fault detection and diagnosis [21], with common models including Long Short-Term Memory (LSTM) network, Convolutional Neural Network (CNN), and Spiking Neural Network. Among these, CNN and its derivative models have received widespread attention in oscillation detection due to their effective feature extraction and spatial pattern recognition capabilities. For instance, some studies have utilized CNN to process Phasor Measurement Unit (PMU) data for extracting time–frequency images [22,23] and time-domain waveform features [24]; or introduced transfer learning to migrate CNN to different power systems [25]. In addition, Discrete Wavelet Transform (DWT) has been incorporated into detection frameworks owing to its excellent time–frequency decomposition capability, enabling models to extract time–frequency features more clearly and effectively. For instance, DWT has been combined with a dilated CNN and meta-learning for detection in few-shot scenarios [26], and embedded into a CNN-LSTM network with a transfer learning fine-tuning strategy to accurately identify forced oscillations in power systems [27]. Meanwhile, other studies have combined artificial neural networks with randomly scaled conjugate gradient algorithms [28], or constructed hybrid models of spiking recurrent neural networks and LSTM for detection [29].
However, purely data-driven approaches often face significant challenges in forced oscillation detection. On one hand, they operate as black boxes that tend to overlook essential domain-specific prior knowledge, leading to inferences that lack interpretability and robust analytical foundations. On the other hand, real-world data are often limited and inherently imbalanced, which complicates model convergence and degrades classification performance towards the majority class. While recent advancements have introduced effective strategies to address these imbalances, such as weight optimization [30] and adaptive scaling [31], these approaches primarily focus on manipulating the data distribution rather than enhancing the underlying feature representations.
To further address signal complexity and improve generalization, researchers have explored innovative DL architectures and constraint-based modeling. For instance, physics-informed neural networks embed governing equations for stability prediction [32,33], while attention-augmented CNNs capture long-range temporal dependencies [34]. Furthermore, multi-scale time–frequency decomposition and hybrid networks have enhanced robustness under fluctuating conditions [35,36]. Despite these structural innovations, there remains a critical need to explicitly integrate domain knowledge at the feature extraction level to guide model learning.
To address the aforementioned limitations, we recognize a strong complementary relationship between knowledge-based methods and pure DL paradigms. While data-driven models excel at extracting high-dimensional abstract patterns, they struggle to incorporate expert domain knowledge. Conversely, classical statistical methods provide explicit engineering significance but lack the representational capacity for complex non-stationary dynamics. This dichotomy motivated our hybridization strategy, which uses prior knowledge to guide feature extraction and constructs a domain-relevant feature space. Driven by this design rationale, we propose the Hybrid Knowledge and DL with SVM classification (HKD-SVM) framework for forced oscillation detection. This architecture synergistically integrates domain-specific prior knowledge extracted from PMU data with DL features obtained through time–frequency decomposition and CNN processing. Specifically, DWT is utilized to generate time–frequency representations of signals, based on which a CNN adaptively learns DL features from the decomposed subbands. Subsequently, the knowledge-driven and data-driven features are fused, and SVM is employed to fully exploit its advantages in addressing nonlinear classification tasks. Therefore, the novelty of the proposed framework lies not in the simple integration of these algorithms, but in the complementary fusion mechanism that introduces prior knowledge boundaries and engineering constraints into deep representations. In summary, the main contributions of this paper are as follows:
  • A hybrid knowledge–deep learning network is proposed to construct a discriminative feature space by fusing knowledge-driven features, which are rooted in domain-specific prior knowledge, with the extracted DL features. This method retains the explicit engineering significance of knowledge-driven features while enhancing the overall representation capacity through DL. It effectively alleviates the limitations of traditional methods in feature representation and compensates for the neglect of power system domain expertise in pure data-driven models.
  • A DWT-CNN structure is designed to facilitate joint time–frequency feature extraction. This architecture leverages multi-scale decomposition to improve model sensitivity to transient dynamic behaviors, providing a more comprehensive representation of oscillation patterns than traditional single-domain feature extraction.
  • A robust SVM-based classification strategy is implemented to enhance generalization. By utilizing SVM on the fused feature space, the framework mitigates the overfitting risks typical of deep networks in small-sample scenarios, ensuring reliable performance under diverse grid operating conditions.
The remainder of this paper is organized as follows: Section 2 reviews related work. Section 3 details the proposed method, covering feature extraction, network architecture, SVM classification, and training. Section 4 presents the experimental evaluation. Finally, Section 5 concludes the paper.

2. Related Works

2.1. DWT

DWT is a multi-resolution time–frequency analysis tool. It discretizes signals through scaling and translation factors, enabling the simultaneous characterization of local temporal features and spectral distribution properties of a signal [37]. In power system oscillation detection, DWT is commonly used to decompose the original signal x ( t ) into an approximation component A l ( t ) and a series of detail components D l ( t ) , expressed as:
x ( t ) = A l ( t ) + l = 1 L D l ( t ) , l = 0 , 1 , , L ,
where l denotes the decomposition level [38]. A l ( t ) corresponds to the low-frequency component, while D l ( t ) represents high-frequency fluctuations at different decomposition levels.
This approach facilitates the separation of oscillation modes in different frequency bands and provides a more domain-relevant time–frequency representation basis for subsequent feature extraction.

2.2. CNN

One-dimensional convolutional neural network (1DCNN, hereafter abbreviated as CNN for simplicity) is applicable to 1D time-series data like power system oscillation signals. It can directly extract deep abstract features from raw waveforms or pre-processed feature sequences [39], bypassing complex manual feature engineering. In its forward propagation process, the feature map y l at the l-th layer can be expressed through the convolution operation as
y l = σ ( w l y l 1 + b l ) ,
where w l represents the 1D convolutional kernel weights, b l denotes the bias term, ∗ signifies the convolution operation, and σ is the activation function.
Furthermore, the CNN we employed possesses a more concise network architecture. This compact design allows it to achieve effective model training and classification tasks even under small sample conditions.

2.3. SVM

SVM, rather than classical Softmax, is utilized as a classifier to implement the detection of forced oscillation, fully leveraging the generalization performance of SVM in small-sample scenarios, high-dimensional feature spaces, and nonlinear classification tasks.
The core idea of SVM is to find a satisfactory hyperplane that maximizes the classification margin between two sample classes [40]. For linearly inseparable cases in the low-dimensional space, SVM introduces kernel functions to map the original features to a high-dimensional space, thereby transforming the problem into a linearly separable one. Meanwhile, slack variables ξ i 0 and a penalty parameter C are introduced, where C controls the model’s tolerance for misclassified samples.
The determination of the optimal hyperplane is transformed into a convex quadratic programming problem:
min w , b , ξ 1 2 w 2 + C i = 1 n ξ i s . t . y i ( w T ϕ ( x i ) + b ) 1 ξ i ,
where w is the normal vector, b is the bias term, y i { 1 , 1 } are binary labels, and ϕ ( x i ) is a function that maps x i to a high-dimensional feature space.

3. Proposed Method

This section elaborates on the proposed HKD-SVM network, as shown in Figure 2. The core procedures of this network are as follows: first, the extracted prior knowledge features are fused with the DL features obtained via the DWT-CNN. This fusion strategy addresses the limitations of prior-knowledge-based detection methods, which rely on handcrafted features with limited representational capacity, as well as the reliance of DL-based detection methods on large-scale labeled samples. Furthermore, owing to the embedding of DWT into CNN, DWT-CNN enables the effective extraction of time–frequency characteristics from oscillatory signals. Specifically, DWT is highly suitable for extracting the time–frequency characteristics of non-stationary oscillation signals. Subsequently, a CNN is employed, as it is capable of automatically learning deep abstract features from the DWT outputs. Finally, the selected fused features are fed into SVM for forced oscillation detection, thereby better handling problems of small-sample scenarios and nonlinear classification.

3.1. Prior Knowledge Features Extraction

To fully leverage the statistical properties and dynamic behaviors of signals, we extracted prior knowledge features from the power system’s PMU data, including time-domain features, frequency-domain features, and energy features.

3.1.1. Definition of Time-Domain Features

To characterize the essential properties of forced oscillations and natural oscillations, we select the key time-domain features directly from PMU data, as shown in Table 1. Basic statistical features ( T 1 ~ T 4 ) describe the distribution morphology of the signal x ( n ) ( n = 0 ,   1 ,   ,   N 1 ) , where N represents the signal length. Dynamic change features ( T 5 ~ T 7 ) characterize the change rate and smoothness of the signal. Additionally, correlation features ( T 8 ) reveal the strength of signal periodicity.

3.1.2. Definition of Frequency-Domain Features

Frequency domain features, obtained through Fourier transform and power spectral density analysis of PMU data, as shown in Table 2. Spectral center and distribution features ( F 1 , F 2 ) describe the dominant frequency position and bandwidth of the frequency distribution; meanwhile, spectral peakedness features ( F 3 , F 4 ) characterize the sharpness and central tendency of the spectral shape, and spectral entropy features ( F 5 , F 6 ) measure the randomness and distribution uniformity of spectral components.

3.1.3. Definition of Energy Features

Energy features capture the intensity and fluctuation characteristics of oscillatory signals by analyzing the energy distribution and dynamic variations in the signal, as shown in Table 3. For example, total energy ( E 1 ) directly reflects the overall oscillation intensity or power level of the signal. And energy entropy ( E 2 ) measures the randomness or concentration degree of energy distribution over the time series. Meanwhile short-time energy standard deviation ( E 3 ) analyzes the fluctuation of local energy through short-time Fourier transform.
Finally, by extracting the aforementioned time-domain, frequency-domain, and energy features from the PMU data, the prior knowledge features F k , which characterize low-frequency oscillations, can be obtained in this study.

3.2. DL Features Extraction

To compensate for the limitations of prior knowledge features stemming from the limited understanding of low-frequency oscillations, a three-layer DWT-CNN network is constructed to extract DL features, as illustrated in Figure 3, where the tensor dimensions at each stage are explicitly marked. Specifically, within each DWT-CNN layer, a single-level 1D DWT is employed to decompose the signal x ( n ) into a low-frequency approximation component A l and a high-frequency detail component D l , expressed as
( A l ,   D l ) = DWT ( F l ) ,   l = 0 ,   1 ,   2 ,
where F 0 R 1 × S denotes the original input signal with the signal length S, and F 1 R 16 × S / 2 , F 2 R 32 × S / 4 are the intermediate features.
After concatenating ( A l ,   D l ) along the horizontal direction into a vector, a CNN operation is performed in the wavelet domain to extract the intermediate features F l + 1 , as shown in the dashed box in Figure 3. The features F l + 1 can be expressed as
F l + 1 = ReLu ( BN ( Conv 1 ( Concat ( A l ,   D l ) ) ) ) ,   l = 0 ,   1 ,   2 ,
where ReLu ( · ) denotes the ReLu activation function, which accelerates the convergence speed of network training; BN ( · ) represents the batch normalization operation; Conv 1 ( · ) refers to the 1D convolution operation.
Following three DWT-CNN layers, the DL features F d R 1 × 32 are extracted from the features F 3 R 32 × S / 8 through global average pooling (GAP), flattening, and a fully connected layer (FC), expressed as
F d = FC ( Flatten ( GAP ( F 3 ) ) ) ,
where Flatten ( · ) denotes the operation of reshaping the pooled features into a vector.

3.3. Classification with SVM

Utilizing the previously extracted knowledge features and DL features, we fuse them into the combined feature set F m . Considering the potential redundancy within F m , we apply Principal Component Analysis (PCA) [41] for feature selection.
The selected features F a from F m are fed into the SVM for oscillation classification, where the SVM model is derived by optimizing Equation (3). To construct nonlinear decision surfaces, the training data are projected into a high-dimensional space via the mapping function ϕ ( · ) in (3). To avoid the high computational cost of calculating ϕ ( x i ,   x j ) in this high-dimensional space, a positive definite kernel function κ ( x i ,   x j ) is introduced, defined as
ϕ ( x i ,   x j ) = κ ( x i ,   x j ) ,
In this work, κ ( x i ,   x j ) is selected as the radial basis function (RBF), expressed as
κ ( x i ,   x j ) = exp ( γ x i x j 2 ) ,
where γ denotes the kernel width, which directly affects the classification performance of the SVM. The decision function for the nonlinear decision surfaces is then given by
f ( x ) = s i g n ( i S α i y i κ ( x i ,   x ) + b )
where α i are the Lagrange multiplier, S represents the index set of support vectors, and the bias term b is determined by the support vectors that satisfy 0 < α i < C . If f ( x ) > 0 , the sample is classified into the forced oscillation; otherwise, it is assigned to the natural oscillation.

3.4. Network Training

To train the DWT-CNN network, we utilize the cross-entropy function as the loss function L ( · ) , defined as
L ( θ ) = 1 M i = 1 M c = 1 2 ( p c ( x i ) log ( q c ( θ ,   x i ) ) ,
where M denotes the number of training samples x i , p c ( x i ) and q c ( θ ,   x i ) are the true and predicted probabilities of sample x i belonging to the c-th class, respectively; and θ represents the parameters of the DWT-CNN network, which are updated during the training process.
Considering the impact of the SVM hyperparameters C in (3) and γ in (8) on classification performance, these parameters are further optimized via a grid search strategy combined with stratified grouped cross-validation. The average classification loss is expressed as
L s ( C ,   γ ) = 1 V i = 1 V ( 1 1 2 c = 1 2 T P c , i T P c , i + F N c , i ) ,
where V denotes the number of folds in cross-validation, where T P c , i and F N c , i are the number of true positives and false negatives for the c-th class in the i-th validation subset.
Finally, the satisfied parameter pair ( C ,   γ ) that minimizes the cross-validation loss is selected. In this stage, the parameters of the trained DWT-CNN network are frozen. The complete training algorithm for the proposed classification task is presented in Algorithm 1.
Algorithm 1 The Training Process of HKD-SVM Network.
Input: PMU data F 0 with labels, batch size B, maximum training epochs E, initial learning rate r.

Stage 1: Feature Extraction
1. Extract the prior knowledge features F k .
2. Initialize the DWT-CNN network parameters θ .
3. for  e p o c h = 1  to E do
    a. Forward Propagation: Extract DL features F d , and compute the loss L ( θ ) according to Equation (10).
    b. Backward Propagation: Update parameters θ and adjust the learning rate r: θ θ r · θ L ( θ ) .
    end for

Stage 2: SVM parameter optimization
1. Freeze θ , fuse F d with F k to obtain the selected features F a , and perform PCA.
2. Search for the satisfied SVM hyperparameters ( C ,   γ ) .
3. Save the final SVM model.

Output: Detection results of SVM for oscillation.

4. Experimental Results and Discussion

This section evaluates the proposed method using simulated and real-world PMU data. We demonstrate its effectiveness through ablation studies and comparisons with baseline models, particularly in small-sample scenarios. Additionally, we analyze the model’s robustness, computational efficiency, and the selection of key hyperparameters, such as the DWT wavelet basis and SVM settings.

4.1. Experimental Setup

4.1.1. Parameter Setting

The software development environment for this experiment is the Python programming language, relying heavily on two core frameworks: PyTorch 2.8.0 and scikit-learn 1.6.1. The detailed experimental parameter settings are summarized in Table 4. The Daubechies 4 wavelet (db4) is selected as the wavelet basis for DWT. During the DL feature extraction process, the batch size is set to 256, and the model is trained for 50 epochs. AdamW is adopted as the optimizer, combined with a OneCycleLR learning rate scheduling strategy to enhance training efficiency. To mitigate overfitting, a progressive dropout strategy is implemented, utilizing a ratio of 0.1 at the initial layer to preserve fundamental signal features, and increasing to 0.3 in subsequent layers to regularize abstract representations when dealing with limited and noisy data. Prior to classification, PCA is employed for dimensionality reduction, with the cumulative variance contribution rate threshold ( η ) set to 0.95 to retain essential feature information while eliminating redundancy. In the SVM classification stage, the parameter pair ( C ,   γ ) is set to ( 100 ,   0.1 ) through a grid search with 10-fold cross-validation.

4.1.2. Data Generation

The dataset used in this experiment is constructed from simulated data and real-world PMU data. As shown in Figure 4a, the simulated data are generated via TSAT from the WECC 179-bus power system model [42], using 40-s time-domain simulations with an integration step size of 0.25 cycles and an output sampling rate of 30 Hz. The real-world PMU data are collected from the ISO New England (ISO-NE) system [43], including 6 actual oscillation events. These events were primarily triggered by typical grid disturbances, such as equipment issues and generator anomalies within and outside the ISO-NE area. Representative oscillation signals are shown in Figure 4b. The PMU data records for each event last between 180 and 1200 s. This diversity in triggers, source locations, and durations provides a representative real-world basis for evaluating the proposed model. Since the oscillation characteristics are well reflected in the current signals, we utilize the current signals to construct the sample sets. Each sample is uniformly configured to contain 1200 sampling points via time-window segmentation, and the datasets are detailed in Table 5.
To strictly prevent data leakage, an event-wise splitting strategy is adopted, where the dataset is divided into training and test sets at a 3:1 ratio based on independent events. All data transformations, including PCA fitting and hyperparameter optimization, are performed exclusively on the training set. To ensure the reliability of the results, all experiments are conducted through 50 independent runs with consistent parameter settings. The randomness across these runs is attributed to the stochastic initialization of network weights and the mini-batch shuffling process during training, which allows for a robust assessment of model stability.

4.1.3. Evaluation Metrics

To comprehensively reflect the performance of the network, we employ Accuracy, Precision, Recall, and F1 Score, which are calculated as
Accuracy = TP + TN TP + FP + TN + FN Recall = TP TP + FN F 1 Score = 2 · Pre · Rec Pre + Rec Precision = TP TP + FP ,
where TP, FP, TN, and FN denote the numbers of true positives, false positives, true negatives, and false negatives.

4.2. Ablation Analysis

4.2.1. Contribution of Feature Extraction Modules

To verify the effectiveness of fusing DL features and knowledge features in the proposed HKD-SVM network, we construct oscillation detection models using only DL features or only knowledge-based features, namely DWT-CNN-SVM and Knowledge–SVM. Additionally, to independently evaluate the roles of DWT and CNN in the deep feature extractor, we construct variants of the proposed HKD-SVM with DWT or CNN removed, namely CNN-SVM and DWT-SVM. Thus, five models are used in total:
  • HKD-SVM (Ours): Fused DL and knowledge features.
  • DWT-CNN-SVM: Only DL features without knowledge ones.
  • Knowledge–SVM: Only knowledge features without DL ones.
  • CNN-SVM: DL features extracted via CNN without DWT.
  • DWT-SVM: DL features extracted via DWT without CNN.
It should be noted that in the experiments, hyperparameter settings, as specified in Section 4.1.1, and data partitioning strategy were kept completely consistent. To ensure a fair comparison, only the feature extraction method was modified. The SVM hyperparameters for each model were re-tuned independently, using the same grid search strategy applied to HKD-SVM. This allows each model to be evaluated under comparable conditions.
Figure 5 shows the accuracy convergence curves of each method during the training process, where Knowledge–SVM does not have such a curve due to the absence of the DL process. HKD-SVM exhibits favorable convergence behavior and accuracy, reflecting the advantages in optimization efficiency and training stability brought by prior knowledge guidance and deep feature extraction via DWT-CNN. However, its convergence speed is initially slower than that of CNN-SVM, which may be attributed to the fact that DWT elevates feature dimensionality and complexity, requiring the model to undergo more iterations to learn the fusion mapping. Nevertheless, relying solely on deep temporal or convolutional learning without prior knowledge constraints makes it difficult to achieve robust and stable training performance.
The confusion matrices further validate the aforementioned conclusions, as shown in Figure 6 and Figure 7. On real-world data, Knowledge–SVM exhibits a large number of unidirectional misclassifications, while DWT-CNN-SVM suffers from notable bidirectional misclassifications. In contrast, HKD-SVM yields fewer cross-class misclassified samples, with its confusion matrix heavily dominated by the main diagonal, demonstrating effective inter-class discriminative capability. The statistical mean and standard deviation of the test results further validate this, as shown in Table 6.
In addition, we observed from Table 6 that the proposed method achieves favorable performance on both datasets. The performance degradation of the baseline methods is particularly pronounced on real-world data, indicating that HKD-SVM exhibits stronger adaptability to practical measurements. The integration of knowledge and DL features enables it to maintain stable and high accuracy even in complex data scenarios.
Additionally, as shown in Figure 8, we provide a 2D visualization of features derived from real-world data for different methods using t-SNE. It can be observed that the features extracted by HKD-SVM exhibit relatively compact intra-class aggregation and clear inter-class separation boundaries.

4.2.2. Sensitivity Analysis of Network Architecture

To investigate the effect of the network architecture, we evaluated multiple depth and width configurations, as summarized in Table 7. The results indicate that the 1-layer configuration is insufficient for capturing complex oscillatory dynamics, leading to an accuracy drop of 10.71%. Conversely, widened 3-layer variants or deeper 5-layer models provide small gains in accuracy but incur disproportionate increases in computational costs. For instance, while the widened 3DWT-CNN [16-32-64] improves accuracy by less than 1%, it increases model parameters and FLOPs by approximately 30% and 47%, respectively, alongside a noticeable rise in inference latency. Similarly, deeper 5-layer models substantially increase the computational burden without corresponding accuracy benefits. Therefore, given the performance requirements of our task, the baseline 3-layer DWT-CNN provides a favorable balance between detection accuracy and computational efficiency for this specific application scenario.

4.2.3. Impact of Prior Knowledge Feature Groups

To assess the specific contribution of individual knowledge feature groups, we performed a component-wise ablation study. In these experiments, the DL features were fused sequentially with only one category of prior knowledge features. The results summarized in Table 8 indicate that the full fusion model generally achieves superior performance compared to any single feature subset, suggesting that each physical domain provides complementary information for oscillation detection.
Furthermore, the feature importance analysis in Figure 9 reveals that features derived from domain-specific prior knowledge are critical to the classification decisions. Specifically, the Frequency Peak Ratio ( F 3 ) and kurtosis ( T 4 ) rank as the primary contributors, followed by Frequency Domain Kurtosis ( F 4 ) and energy features. From an engineering perspective, F 3 captures the sharpness of the spectral peak, a characteristic indicator of forced oscillations excited by periodic disturbances. In the time domain, T 4 evaluates the impulsiveness and non-Gaussian nature of the signal, making it sensitive to the transient spikes and amplitude variations associated with grid anomalies. Additionally, energy features such as Energy Entropy ( E 2 ) provide valuable supplementary information by quantifying energy concentration, which helps distinguish sustained forced oscillations from decaying natural modes.

4.2.4. Effectiveness of SVM

To verify the effectiveness of SVM as a classifier in the extracted feature space, we compared it against alternative classifiers, including Random Forest (HKD-RF), Softmax (HKD-Softmax), and XGBoost (HKD-XGBoost).
As shown in Table 9 and Figure 10, HKD-RF and HKD-XGBoost show a marginal performance gap compared to SVM on simulated data, but suffer from significant performance degradation on real-world data. This is likely because tree-based models are more sensitive to noise and distribution shifts in real data, tending to overfit the training distribution. Although HKD-Softmax performs reasonably well on simulated data, it lacks the robust margin-maximization capability of SVM in high-dimensional feature spaces. As seen from the confusion matrix, the number of misclassified samples for HKD-Softmax is noticeably larger than that of HKD-SVM. This further confirms that SVM offers superior stability and generalization in nonlinear classification tasks when dealing with complex, non-ideal measurements.

4.3. Comparison Experiments

To further demonstrate the effectiveness of the proposed HKD-SVM framework, we comprehensively compared it with several recent methods. The comparative baseline models include: (1) SRNN-LSTM [29], a hybrid spiking recurrent neural network; (2) DWT-DiCNN-MAML [26], a discrete wavelet transform and dilated CNN network; (3) TCN-SVM [44], a temporal convolutional network approach optimized for transient stability; (4) CNN-Transformer [25], an advanced architecture utilizing transfer learning; and (5) LSTM. All models were evaluated under the identical event-wise data splitting strategy to ensure strict fairness.
As shown in Table 10, while most purely data-driven models achieve satisfactory performance on simulated data, they generally suffer a noticeable accuracy degradation when evaluated on real-world data. This degradation implies that these models are prone to overfitting the source distribution and lack sufficient engineering constraints to generalize in complex practical grids. In contrast, HKD-SVM consistently outperforms the comparative approaches. However, it is worth noting that HKD-SVM exhibits a marginally higher standard deviation on real-world data compared to certain methods, such as DWT-DICNN-MAML, indicating a slight sensitivity to real-world noise variance across different folds. Nevertheless, by integrating the prior knowledge, HKD-SVM establishes a robust physical boundary that effectively prevents large-scale misclassifications and ensures superior overall generalization.
Furthermore, the accuracy curves in Figure 11 reveal the distinct training dynamics of the comparative methods. While models like SRNN-LSTM and TCN-SVM experience a significant delay in initial learning (remaining stagnant for the first 10–15 epochs), and pure DL models frequently exhibit validation fluctuations, HKD-SVM converges rapidly to a stable, high-level plateau. Although its real-world accuracy curve displays microscopic local jitter at the plateau phase compared to its smoother simulated counterpart, this trade-off is acceptable. Ultimately, this confirms that prior-knowledge features can effectively narrow the optimization search space of neural networks, alleviating slow convergence in the initial training stage and improving overall training efficiency and stability.

4.4. Robustness and Efficiency Analysis

Having established the fundamental classification performance of the proposed HKD-SVM, its internal ablation variants, and external comparative baselines, this section comprehensively evaluates all these models from three advanced perspectives: statistical reliability, robustness under data scarcity, and computational efficiency.

4.4.1. Statistical Significance Analysis

To rigorously evaluate the statistical robustness of the performance improvements, we conducted a Wilcoxon signed-rank test [45] on the testing accuracy obtained from 50 independent experimental runs. The analysis was formulated under the alternative hypothesis that the proposed HKD-SVM consistently yields higher accuracy than the comparative models. Table 11 summarizes the corresponding statistical significance. The results consistently yield p-values less than 0.01 across all comparisons, labeled as H. This formal verification, supported by the statistical test, confirms that the superior performance of HKD-SVM is robust and statistically distinguishes our model from all considered baseline approaches.

4.4.2. Effectiveness in Small-Sample Scenarios

Considering the scarcity of labeled oscillation data in power systems, we validate the effectiveness of the proposed method under limited experimental data scenarios. This section designs two small-sample settings: utilizing only (a) 10% and (b) 5% of the available training samples. To fully reflect their inherent small-sample learning capabilities, no specific hyperparameter adjustments were made for the comparative methods under these constrained settings.
Figure 12 provides a visual comparison of the classification accuracy across three training sample ratios. It is observed that as the number of labeled samples decreases sharply, the performance of all methods degrades to varying degrees, indicating that data scarcity significantly limits their learning capabilities. In contrast, HKD-SVM exhibits a noticeably smaller performance decline. This demonstrates that integrating the prior knowledge can suppress overfitting to a certain extent and effectively exploit discriminative information from limited samples.
Furthermore, the training dynamics under limited-data scenarios are presented via the accuracy curves in Figure 13. Advanced data-driven architectures, such as CNN-Transformer and LSTM-SVM, exhibit noticeable validation fluctuations and instability when restricted to 5% or 10% of the training data. Meanwhile, complex temporal models like TCN-SVM and SRNN-LSTM suffer from slow initial convergence, remaining stagnant for up to 15–25 epochs before initiating any meaningful progress. It is worth acknowledging that methods explicitly designed for few-shot learning, such as DWT-DiCNN-MAML, exhibit commendable resilience and successfully avoid these prolonged initial delays. Nevertheless, the accuracy curve of HKD-SVM demonstrates highly stable training dynamics, rising rapidly and converging to a high-level plateau without severe oscillation. This confirms that integrating explicit prior knowledge provides a robust physical boundary that significantly reduces the neural network’s search space, thereby avoiding initial learning delays, enhancing overall training stability, and mitigating the degradation typically observed in small-sample scenarios. Additionally, by incorporating domain-specific engineering signatures, the model becomes more sensitive to the distinct patterns of minority-class events, ensuring stable F1-score performance across skewed test sets even with limited data.

4.4.3. Computational Efficiency Analysis

Considering that forced oscillation detection is fundamental to real-time situational awareness, we evaluated the computational efficiency of the HKD-SVM framework by comparing its computational complexity, training duration, and inference latency with those of the baseline models. As summarized in Table 12, HKD-SVM requires a computational effort of 2.0704 MFLOPs per sample, which is lower than that of the CNN-SVM model. Although the total training time is longer than that of the HKD-Softmax, the inference latency of 2.46 ms per sample exhibits competitive efficiency. This performance suggests that the model is a viable candidate for high-speed power system monitoring, where decisions are often required within sub-second intervals. While these results validate the framework’s real-time viability, further architectural refinements remain a potential direction for maintaining this level of efficiency under increasingly complex and resource-constrained conditions.

4.5. Selection of Key Parameters

The performance of the proposed network depends on the selection of key hyperparameters. In this section, parameter sensitivity experiments are conducted for three core components: wavelet basis, cumulative variance contribution rate threshold η of PCA, and penalty coefficient C and kernel coefficient γ of SVM.

4.5.1. Selection of Wavelet Basis

The basis function of DWT directly determines the signal decomposition characteristics across multiple scales. To investigate the most suitable wavelet basis for HKD-SVM, we compared eight commonly used wavelet bases on both simulated and real-world data: Daubechies (db2, db4, db8, db16), Symlets (sym4, sym8), and Coiflets (coif2, coif4). As observed in Figure 14a, db4 achieves high classification accuracy with low variance on both simulated and real-world data. Therefore, we ultimately select db4 as the basis function for DWT.

4.5.2. Necessity Analysis and Hyperparameter Selection

To validate the necessity of the PCA module, we first conducted an ablation study comparing the proposed HKD-SVM against a variant without PCA. As summarized in Table 13, the inclusion of PCA simultaneously improves detection accuracy and reduces computational costs across both simulated and real-world datasets. These results suggest that PCA serves as an effective pre-processing step to suppress redundant noise, which facilitates more stable classification performance.
Furthermore, we investigated the influence of the cumulative variance contribution rate η on the performance. The threshold η determines the balance between feature information retention and noise suppression. Five commonly used thresholds were selected for comparative experiments, and the results are presented in Figure 14b. Comparative experiments indicate that as η increases, the accuracy exhibits minor fluctuations. A low η threshold risks losing key discriminative information, while an excessively high η retains redundant dimensions that may hinder SVM generalization. Consequently, we set η to 0.95, which retains sufficient feature information while achieving stable performance. At this threshold, the feature space is reduced to 12 dimensions for simulated data and 17 dimensions for real-world data, reflecting the increased complexity of practical grid measurements.

4.5.3. Selection of SVM Hyperparameters

The penalty coefficient C and kernel coefficient γ of SVM are critical hyperparameters influencing the classification boundary and generalization ability. This section employs a grid search combined with 10-fold stratified cross-validation to systematically evaluate the performance across C { 0.01 ,   0.1 ,   1 ,   10 ,   50 ,   100 ,   200 ,   500 ,   1000 } and γ { 0.0001 ,   0.001 ,   0.01 ,   0.05 ,   0.1 } . Through this systematic grid search and multiple experimental trials, a specific parameter combination was identified based on its superior stability, exhibiting the lowest standard deviation rather than merely focusing on absolute peak accuracy. As illustrated in Figure 15, this favorable combination occurs at C = 100 and γ = 0.1 .
Figure 15b further validates that this configuration maintains high accuracy and stable performance on both simulated and real-world datasets. When γ is excessively small, the kernel function becomes overly smooth, which leads to underfitting and a decline in accuracy. Conversely, when γ is excessively large, the influence of support vectors becomes highly localized, causing performance degradation on real-world data due to overfitting. Similarly, an excessively small C provides insufficient penalty on training samples, resulting in an overly conservative boundary. Although a very large C may yield slight improvements on simulated data, it often shows signs of overfitting on real-world data, leading to a decline in generalization performance.

4.6. Discussion

4.6.1. Robustness on Different Noise Level

To evaluate the robustness of the proposed framework against measurement disturbances common in practical power systems, we assessed detection performance under additive white Gaussian noise, impulsive noise, and colored noise environments. The signal-to-noise ratio (SNR) levels were varied from 0 dB to 30 dB, with the detailed detection accuracies presented in Table 14. As anticipated, the detection accuracy of all models tends to decrease as the SNR drops. However, the HKD-SVM framework maintains more stable performance across the tested noise environments. When subject to the most severe low-SNR condition of 0 dB, the HKD-SVM exhibits a smaller performance decline compared to the baseline models. This resilience suggests that the integration of prior knowledge features contributes to a more robust decision boundary, which helps mitigate the sensitivity of purely data-driven feature extractors to non-ideal measurement conditions.

4.6.2. Cross-Domain Generalization Analysis

To evaluate the generalization robustness of the proposed model against distribution shifts, a bidirectional cross-domain experiment was conducted, as shown in Table 15. The proposed HKD-SVM demonstrates a higher absolute accuracy in both transfer directions (Sim → Real and Real → Sim). While purely data-driven architectures tend to overfit when trained on limited real-world events, HKD-SVM leverages domain-specific prior knowledge to stabilize its decision boundaries. Furthermore, the purely knowledge-driven baseline (Knowledge–SVM) exhibited less performance degradation in the Real → Sim direction compared to Sim → Real. This suggests that features rooted in prior knowledge extracted from noisy real-world conditions generally transfer better to idealized simulated environments than the reverse.
Nevertheless, certain limitations should be objectively noted. Despite yielding the best overall performance, HKD-SVM still experiences an inevitable performance degradation in the Real → Sim scenario. Although some baseline models display a smaller degradation ( Δ Acc), this is largely attributable to their inherently lower in-domain baseline accuracy, which prevents them from capturing complex features in either domain. The observed degradation in HKD-SVM indicates that while the integration of the prior knowledge significantly reduces domain discrepancy, bridging the domain gap remains a challenge when real-world training samples are highly scarce.

5. Conclusions

The paper proposes a hybrid forced oscillation detection network, HKD-SVM, which integrates prior knowledge and DL networks. The synergy between knowledge-based features and DL-based feature extraction enhances explicit engineering significance and generalization capability, providing an effective solution for power system oscillation identification. Experimental results indicate that HKD-SVM consistently outperforms purely data-driven and purely knowledge-driven baselines on the current dataset, providing compelling preliminary evidence for its effectiveness in oscillation identification. For industrial deployment, integrating the proposed framework into wide-area measurement systems could provide system operators with a practical reference for rapid oscillation source identification, thereby assisting in timely decision-making for remedial control actions.
Future work will focus on three key areas. First, we intend to expand the dataset to include a wider range of grid topologies and disturbance types, further validating the robustness of the proposed framework. Second, to accommodate time-critical industrial applications, we will explore model optimization and hardware acceleration techniques to enhance real-time deployment efficiency. Finally, we will investigate domain adaptation strategies to improve the model’s resilience against severe measurement noise and varying operational conditions.

Author Contributions

Conceptualization, X.Y.; methodology, J.L. and X.Y.; software, J.L. and H.W.; validation, J.L. and H.W.; formal analysis, J.L.; investigation, J.L. and X.Y.; resources, X.Y.; writing—original draft preparation, J.L. and H.W.; writing—review and editing, J.L. and X.Y.; visualization, J.L. and H.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, Y.; Guo, Y.; Ning, H.; Li, P.; Cen, B.; Zhao, H.; Zou, H. Research on Power Quality Control Methods for Active Distribution Networks with Large-Scale Renewable Energy Integration. Processes 2025, 13, 1469. [Google Scholar] [CrossRef] [Scilit]
  2. Wang, B.; Sun, K. Location Methods of Oscillation Sources in Power Systems: A Survey. J. Mod. Power Syst. Clean Energy 2017, 5, 151–159. [Google Scholar]
  3. Feng, S.; Wu, X.; Jiang, P.; Xie, L.; Lei, J. Mitigation of Power System Forced Oscillations: An E-STATCOM Approach. IEEE Access 2018, 6, 31599–31608. [Google Scholar] [CrossRef] [Scilit]
  4. Trudnowski, D.J.; Guttromson, R. A Strategy for Forced Oscillation Suppression. IEEE Trans. Power Syst. 2020, 35, 4699–4708. [Google Scholar] [CrossRef] [Scilit]
  5. Ghorbaniparvar, M. Survey on Forced Oscillations in Power System. J. Mod. Power Syst. Clean Energy 2017, 5, 671–682. [Google Scholar] [CrossRef] [Scilit]
  6. Feng, S.; Jiang, P.; Wu, X. Suppression of Power System Forced Oscillations Based on PSS with Proportional-resonant Controller. Int. Trans. Electr. Energy Syst. 2017, 27, e2328. [Google Scholar] [CrossRef] [Scilit]
  7. Gonzalez-Jimenez, D.; Del-Olmo, J.; Poza, J.; Garramiola, F.; Madina, P. Data-Driven Low-Frequency Oscillation Event Detection Strategy for Railway Electrification Networks. Sensors 2023, 23, 254. [Google Scholar]
  8. Liu, J.; Yao, W.; Wen, J.; He, H.; Zheng, X. Active Power Oscillation Property Classification of Electric Power Systems Based on SVM. J. Appl. Math. 2014, 2014, 218647. [Google Scholar] [CrossRef] [Scilit]
  9. Ye, H.; Liu, Y.; Zhang, P.; Du, Z. Analysis and Detection of Forced Oscillation in Power System. IEEE Trans. Power Syst. 2017, 32, 1149–1160. [Google Scholar] [CrossRef]
  10. Kim, B.; Park, J.; Cho, H.; Nam, S.; Lee, B. An Enhanced Geometric Featured Extraction Method for Real-Time Oscillation Detection in Power System. IEEE Access 2025, 13, 143223–143232. [Google Scholar] [CrossRef] [Scilit]
  11. Ghorbaniparvar, M.; Zhou, N.; Li, X.; Trudnowski, D.J.; Xie, R. A Forecasting-Residual Spectrum Analysis Method for Distinguishing Forced and Natural Oscillations. IEEE Trans. Smart Grid 2019, 10, 493–502. [Google Scholar] [CrossRef] [Scilit]
  12. Zhou, N.; Dagle, J. Initial Results in Using a Self-Coherence Method for Detecting Sustained Oscillations. IEEE Trans. Power Syst. 2015, 30, 522–530. [Google Scholar] [CrossRef] [Scilit]
  13. Khan, M.A.; Pierre, J.W. Detection of Periodic Forced Oscillations in Power Systems Using Multitaper Approach. IEEE Trans. Power Syst. 2019, 34, 1086–1094. [Google Scholar] [CrossRef] [Scilit]
  14. Yang, D.; Xing, L.; Wang, L.; Ye, H.; Liu, Y. Response Analysis and Type Discrimination of Power System Forced Oscillation. In Proceedings of the 2015 5th International Conference on Electric Utility Deregulation and Restructuring and Power Technologies (DRPT), Changsha, China, 26–29 November 2015; pp. 1346–1350. [Google Scholar]
  15. Donnelly, M.; Trudnowski, D.; Colwell, J.; Pierre, J.; Dosiek, L. RMS-energy Filter Design for Real-Time Oscillation Detection. In Proceedings of the 2015 IEEE Power & Energy Society General Meeting, Denver, CO, USA, 26–30 July 2015; pp. 1–5. [Google Scholar]
  16. Follum, J.; Holzer, J.; Etingov, P. A Statistics-Based Threshold for the RMS-energy Oscillation Detector. Int. J. Electr. Power Energy Syst. 2021, 128, 106685. [Google Scholar] [CrossRef] [Scilit]
  17. Zhou, N. A Cross-Coherence Method for Detecting Oscillations. IEEE Trans. Power Syst. 2016, 31, 623–631. [Google Scholar] [CrossRef] [Scilit]
  18. Agrawal, U.; Pierre, J.W. Detection of Periodic Forced Oscillations in Power Systems Incorporating Harmonic Information. IEEE Trans. Power Syst. 2019, 34, 782–790. [Google Scholar] [CrossRef] [Scilit]
  19. Follum, J.; Pierre, J.W. Detection of Periodic Forced Oscillations in Power Systems. IEEE Trans. Power Syst. 2016, 31, 2423–2433. [Google Scholar] [CrossRef] [Scilit]
  20. Alizadeh, M.; Wang, X.; Chen, L.; Nassif, A.; Mitra, B.; Feng, S.; Cheng, Y.; de Melo Vieira, J.C.; Badizi, E.M. Sustained Oscillations in Modern AC Distribution Systems with High DER Infiltration. IEEE Trans. Power Syst. 2025, 40, 244–255. [Google Scholar] [CrossRef] [Scilit]
  21. Lin, G.; Zhang, H.; Chen, L.; Chen, X. Deep Learning Based Fault Detection and Diagnosis Method for Power Systems. Appl. Math. Nonlinear Sci. 2025, 10, 20250200. [Google Scholar] [CrossRef] [Scilit]
  22. Dorado-Rojas, S.A.; Xu, S.; Vanfretti, L.; Ayachi, M.I.I.; Ahmed, S. ML-Based Edge Application for Detection of Forced Oscillations in Power Grids. In Proceedings of the 2022 IEEE Power & Energy Society General Meeting (PESGM), Denver, CO, USA, 17–21 July 2022; pp. 1–5. [Google Scholar]
  23. Wang, T.; Chen, Q.; Lang, X.; Xie, L.; Li, P.; Su, H. Detection of Oscillations in Process Control Loops from Visual Image Space Using Deep Convolutional Networks. IEEE/CAA J. Autom. Sin. 2024, 11, 982–995. [Google Scholar] [CrossRef] [Scilit]
  24. Li, Q.; Xu, Z.; Qin, X.; Zhang, K.; Zhang, C.; Ye, S. A Convolution Neural Network Method for Power System Oscillation Type Identification. In Proceedings of the 2020 IEEE 4th Conference on Energy Internet and Energy System Integration (EI2), Wuhan, China, 30 October–1 November 2020; pp. 499–504. [Google Scholar]
  25. Yu, Z.; Shi, D.; Li, J.; Wang, Y.; Zhao, X.; Wang, Z.; Li, J. Using Transfer Learning to Distinguish between Natural and Forced Oscillations. In Proceedings of the 2020 IEEE Power & Energy Society General Meeting (PESGM), Montréal, QC, Canada, 2–6 August 2020; pp. 1–5. [Google Scholar]
  26. Yang, X.; Huang, X.; Li, J.; Li, Z. Forced Oscillation Detection via a Discrete Wavelet Transform-Dilated Convolutional Neural Network with MAML. Electr. Power Syst. Res. 2026, 251, 112336. [Google Scholar] [CrossRef] [Scilit]
  27. Yang, X.; Shan, T.; Xiong, H.; Xiao, X.; Huang, X.; Wang, Y. Forced Oscillation Recognition With Interpretable Network Framework for Class Imbalance and Limited Real-World Data. IEEE Trans. Smart Grid 2026, 17, 780–793. [Google Scholar] [CrossRef] [Scilit]
  28. Singh, P.; Prakash, A.; Parida, S. Neural Network Based Pattern Recognition for Classification of the Forced and Natural Oscillation. Electr. Power Syst. Res. 2023, 224, 109706. [Google Scholar] [CrossRef] [Scilit]
  29. Yang, X.; Wang, J.; Huang, X.; Wang, Y.; Xiao, X. Forced Oscillation Detection via a Hybrid Network of a Spiking Recurrent Neural Network and LSTM. Sensors 2025, 25, 2607. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Khan, W.A. Balanced Weighted Extreme Learning Machine for Imbalance Learning of Credit Default Risk and Manufacturing Productivity. Ann. Oper. Res. 2025, 348, 833–861. [Google Scholar] [CrossRef] [Scilit]
  31. Öcalan, G.; Türkoğlu, İ. Data-Efficient Degradation Progression Modeling in Industrial Compressors via Baseline-Referenced Deep Feature Learning and Unsupervised Clustering. Appl. Sci. 2026, 16, 6895. [Google Scholar] [CrossRef] [Scilit]
  32. Guo, S.; Zhao, X.; Zhou, R.; Feng, Q.; Yu, J. Research on Artificial Intelligence Time Series Prediction Technology in Power System Stability Analysis. In Proceedings of the Tenth International Conference on Energy Systems, Electricity, and Power (ESEP 2025), Tianjin, China, 28–30 November 2025; SPIE: Bellingham, WA, USA, 2026; Volume 14179, p. 226. [Google Scholar]
  33. Wang, J.; Dai, X.; Zhang, M.; You, K.; Liu, J. A Physics-Constrained Hybrid Deep Learning Model for State Prediction in Shipboard Power Systems. Modelling 2026, 7, 65. [Google Scholar] [CrossRef] [Scilit]
  34. Shao, H.; Henriques, R.; Morais, H.; Tedeschi, E. Attention-Enhanced Residual Networks for Real-Time Multi-Label Power Quality Disturbance Classification with Fast Iterative Filtering. Appl. Energy 2026, 406, 127233. [Google Scholar] [CrossRef] [Scilit]
  35. Altun, B.E.; Alpsalaz, F.; Uzel, H.; Türkay, Y. Explainable DL Based Classification for Power Quality Disturbances in Renewable-Energy-Integrated Distribution Networks. IET Renew. Power Gener. 2026, 20, e70269. [Google Scholar] [CrossRef] [Scilit]
  36. Xiao, F.; Li, R.; Wang, H.; Zheng, C.; Shang, Y.; Ai, Q. Distribution Network Fault Detection and Classification Using an Improved S-transform and a Modified Convolutional Neural Network. IET Gener. Transm. Distrib. 2026, 20, e70245. [Google Scholar] [CrossRef] [Scilit]
  37. Daubechies, I. The Wavelet Transform, Time-Frequency Localization and Signal Analysis. IEEE Trans. Inf. Theory 1990, 36, 961–1005. [Google Scholar] [CrossRef] [Scilit]
  38. Wei, X.; Wu, X.; Yoshimura, K.; Cheng, C.; Huang, H.; Ding, Z.; Song, Y. Climate-Informed Long-Term Forecasting of Wind and Photovoltaic Power Using a Hybrid DWT–BES–CNN–LSTM Model. Energy 2025, 338, 138677. [Google Scholar] [CrossRef] [Scilit]
  39. LeCun, Y.; Bengio, Y.; Hinton, G. Deep Learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Vapnik, V.N. An Overview of Statistical Learning Theory. IEEE Trans. Neural Netw. 1999, 10, 988–999. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  41. Berrich, Y.; Guennoun, Z. EEG-based Epilepsy Detection Using CNN-SVM and DNN-SVM with Feature Dimensionality Reduction by PCA. Sci. Rep. 2025, 15, 14313. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  42. Maslennikov, S.; Wang, B.; Zhang, Q.; Ma, F.; Luo, X.; Sun, K.; Litvinov, E. A Test Cases Library for Methods Locating the Sources of Sustained Oscillations. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 17–21 July 2016; pp. 1–5. [Google Scholar]
  43. Test Cases Library of Power System Sustained Oscillations. 2019. Available online: https://web.eecs.utk.edu/~kaisun/Oscillation/actualcases.html (accessed on 14 February 2024).
  44. Massaoudi, M.; Zamzam, T.; Eddin, M.E.; Ghrayeb, A.; Abu-Rub, H.; Refaat, S.S. Fast Transient Stability Assessment of Power Systems Using Optimized Temporal Convolutional Networks. IEEE Open J. Ind. Appl. 2024, 5, 267–282. [Google Scholar] [CrossRef] [Scilit]
  45. Demšar, J. Statistical Comparisons of Classifiers over Multiple Data Sets. J. Mach. Learn. Res. 2006, 7, 1–30. [Google Scholar]
Figure 1. Current amplitude curves of different oscillation types. (a) Natural oscillation caused by weak system damping; (b) forced oscillation excited by external periodic disturbances.
Figure 1. Current amplitude curves of different oscillation types. (a) Natural oscillation caused by weak system damping; (b) forced oscillation excited by external periodic disturbances.
Applsci 16 07891 g001
Figure 2. Flowchart of the complete methodology for the proposed HKD-SVM. The overall workflow is divided into three sequential modules: (A) Data Preparation; (B) Stage 1: Feature Extraction and Network Training, which encompasses the parallel extraction of DL features using the DWT-CNN and physical prior knowledge; and (C) Stage 2: Feature Fusion and Classification. The numbered markers (1–7) indicate the execution order of the algorithm.
Figure 2. Flowchart of the complete methodology for the proposed HKD-SVM. The overall workflow is divided into three sequential modules: (A) Data Preparation; (B) Stage 1: Feature Extraction and Network Training, which encompasses the parallel extraction of DL features using the DWT-CNN and physical prior knowledge; and (C) Stage 2: Feature Fusion and Classification. The numbered markers (1–7) indicate the execution order of the algorithm.
Applsci 16 07891 g002
Figure 3. Detailed architecture of the proposed DWT-CNN feature extractor. Tensor dimensions are denoted as [Channel, Signal Length], and [Number of Features] for the final output F d .
Figure 3. Detailed architecture of the proposed DWT-CNN feature extractor. Tensor dimensions are denoted as [Channel, Signal Length], and [Number of Features] for the final output F d .
Applsci 16 07891 g003
Figure 4. Current amplitude curves of natural and forced oscillations.
Figure 4. Current amplitude curves of natural and forced oscillations.
Applsci 16 07891 g004
Figure 5. Accuracy curves of different feature extraction methods on simulated data and real-world data.
Figure 5. Accuracy curves of different feature extraction methods on simulated data and real-world data.
Applsci 16 07891 g005
Figure 6. Confusion matrix of different feature extraction methods on simulated data.
Figure 6. Confusion matrix of different feature extraction methods on simulated data.
Applsci 16 07891 g006
Figure 7. Confusion matrix of different feature extraction methods on real-world data.
Figure 7. Confusion matrix of different feature extraction methods on real-world data.
Applsci 16 07891 g007
Figure 8. T-SNE distribution maps with two-dimensional features extracted from different feature extraction methods on real-world data.
Figure 8. T-SNE distribution maps with two-dimensional features extracted from different feature extraction methods on real-world data.
Applsci 16 07891 g008
Figure 9. Feature importance analysis of the extracted prior knowledge features, where each feature’s contribution is normalized to a percentage. Error bars represent the standard deviation across independent experimental runs. Features are grouped into time-domain (T), frequency-domain (F), and energy (E) categories.
Figure 9. Feature importance analysis of the extracted prior knowledge features, where each feature’s contribution is normalized to a percentage. Error bars represent the standard deviation across independent experimental runs. Features are grouped into time-domain (T), frequency-domain (F), and energy (E) categories.
Applsci 16 07891 g009
Figure 10. Confusion matrix of different classifiers. The top row illustrates the classification performance on simulated data, while the bottom row demonstrates the performance on real-world data.
Figure 10. Confusion matrix of different classifiers. The top row illustrates the classification performance on simulated data, while the bottom row demonstrates the performance on real-world data.
Applsci 16 07891 g010
Figure 11. Accuracy curves of different detection approaches on simulated and real-world data.
Figure 11. Accuracy curves of different detection approaches on simulated and real-world data.
Applsci 16 07891 g011
Figure 12. Classification accuracy of different methods under small-sample scenarios.
Figure 12. Classification accuracy of different methods under small-sample scenarios.
Applsci 16 07891 g012
Figure 13. Training dynamics under limited-data constraints. The curves illustrate the accuracy convergence over 50 epochs for the proposed HKD-SVM and comparative baselines using 5% (a,c) and 10% (b,d) of the available simulated and real-world data.
Figure 13. Training dynamics under limited-data constraints. The curves illustrate the accuracy convergence over 50 epochs for the proposed HKD-SVM and comparative baselines using 5% (a,c) and 10% (b,d) of the available simulated and real-world data.
Applsci 16 07891 g013
Figure 14. Parameter sensitivity analysis of the HKD-SVM framework on both datasets. The subplots evaluate the impact of (a) different wavelet basis functions, and (b) the cumulative variance contribution rate threshold ( η ) for PCA.
Figure 14. Parameter sensitivity analysis of the HKD-SVM framework on both datasets. The subplots evaluate the impact of (a) different wavelet basis functions, and (b) the cumulative variance contribution rate threshold ( η ) for PCA.
Applsci 16 07891 g014
Figure 15. Optimization and sensitivity analysis of SVM hyperparameters. (a) Grid search cross-validation accuracy heatmap. (b) Classification accuracy on simulated and real-world datasets.
Figure 15. Optimization and sensitivity analysis of SVM hyperparameters. (a) Grid search cross-validation accuracy heatmap. (b) Classification accuracy on simulated and real-world datasets.
Applsci 16 07891 g015
Table 1. Summary of Time-Domain Features.
Table 1. Summary of Time-Domain Features.
Feature NameExpression
Mean T 1 = 1 N n x ( n )
Variance T 2 = 1 N n ( x ( n ) T 1 ) 2
Peak-to-Peak Value T 3 = max ( x ( n ) ) min ( x ( n ) )
Kurtosis T 4 = n ( x ( n ) T 1 ) 4 N T 2 2
Mean Absolute Difference T 5 = n | x ( n ) x ( n 1 ) | N 1
Mobility T 6 = n [ x ( n ) x ( n 1 ) ] 2 T 2
Standard Deviation of Residual with x s ( n ) = m e a n   f i l t e r ( x ( n ) ) T 7 = 1 N n ( x ( n ) x s ( n ) ) 2
Autocorrelation Peak-to-Peak Value with R x x ( k ) = n = 0 N 1 k x ( n ) x ( n + k ) T 8 = max ( R x x ( k ) ) min ( R x x ( k ) )
Table 2. Summary of Frequency-Domain Features.
Table 2. Summary of Frequency-Domain Features.
Feature NameExpression
Mean Frequency F 1 = k | X ( k ) | · f ( k ) k | X ( k ) |
Frequency Spread F 2 = k ( f ( k ) F 1 ) 2 · | X ( k ) | k | X ( k ) |
Frequency Peak Ratio F 3 = max ( | X ( k ) | ) 1 N k | X ( k ) |
Frequency Domain Kurtosis  F 4 = 1 N k | X ( k ) | X ¯ 4 1 N k | X ( k ) | X ¯ 2 2
Spectral Entropy F 5 = k | X ( k ) | k | X ( k ) | log 2 | X ( k ) | k | X ( k ) |
Power Spectral Density Entropy F 6 = k P ( k ) k P ( k ) log 2 P ( k ) k P ( k )
Note: The discrete Fourier transform of x ( n ) is expressed as X ( k ) , where k is the frequency index. P ( k ) is the power spectral density, and f ( k ) is the frequency value.
Table 3. Summary of Energy Features.
Table 3. Summary of Energy Features.
Feature NameExpression
Total Energy E 1 = n = 1 N x ( n ) 2
Energy Entropy E 2 = n p E ( n ) · log 2 p E ( n ) with p E ( n ) = x ( n ) 2 / E 1
Short-Time Energy Std. E 3 = 1 T t ( E short E ¯ short ) 2 with E short ( t ) = k | X ( k , t ) | 2 and E ¯ short = m e a n ( E short ( t ) ) .
Table 4. Detailed experimental parameter settings.
Table 4. Detailed experimental parameter settings.
ModuleParameterSetting/Value
DWT-CNN ModelBatch Size256
Training Epochs50
OptimizerAdamW
Initial Learning Rate 5 × 10 4
Progressive Dropout Ratio0.1 (Initial) → 0.3 (Final)
SVM Classifier η of PCA0.95
C in (3)100
γ in (8)0.1
Table 5. Overview and sample distribution of datasets utilized.
Table 5. Overview and sample distribution of datasets utilized.
CategoryCases
Quantity
Oscillation
Type
Train/Test
Samples
Total
Signals
Simulated9Natural3682/10524734
18Forced7034/24349468
Real-World6Natural385/110495
Forced431/160591
Table 6. Performance of different feature extraction methods on simulated and real-world data.
Table 6. Performance of different feature extraction methods on simulated and real-world data.
MethodAccuracy (%)Precision (%)Recall (%)F1 Score (%)
SimulatedReal WorldSimulatedReal WorldSimulatedReal WorldSimulatedReal World
DWT-CNN-SVM94.45 ± 1.8090.30 ± 0.5495.35 ± 1.1288.41 ± 0.7592.29 ± 2.8688.74 ± 0.8393.53 ± 2.1988.55 ± 0.62
Knowledge–SVM81.29 ± 0.8773.26 ± 0.2080.35 ± 0.5675.12 ± 0.0783.90 ± 0.5179.59 ± 0.1180.53 ± 0.8172.60 ± 0.18
CNN-SVM84.35 ± 0.9983.39 ± 0.0484.74 ± 1.5583.71 ± 0.1281.86 ± 0.2380.59 ± 0.3883.27 ± 0.8782.12 ± 0.14
DWT-SVM81.23 ± 0.0877.48 ± 0.3687.56 ± 0.6174.06 ± 0.6672.36 ± 0.0769.03 ± 0.1974.71 ± 0.0670.49 ± 0.28
HKD-SVM (Ours)96.57 ± 0.7895.50 ± 1.1996.58 ± 0.7795.92 ± 0.9597.14 ± 0.3395.59 ± 1.7796.55 ± 0.8195.58 ± 1.15
Table 7. Architecture sensitivity analysis in terms of detection performance and computational efficiency.
Table 7. Architecture sensitivity analysis in terms of detection performance and computational efficiency.
ArchitectureAccuracy (%)FLOPs (M)Latency (ms)Params (M) Δ Acc. (%) Δ Lat. (%)
1DWT-CNN [16]85.900.121.890.0144−10.71−21.96
3DWT-CNN [16-32-32] (Ours)96.612.072.430.0243--
3DWT-CNN [16-32-64]97.533.053.080.0316+0.92+26.94
5DWT-CNN [16-32-64-64-128]95.727.253.520.1079−0.89+44.95
5DWT-CNN [16-32-64-128-256]96.3615.784.220.2846−0.25+73.96
Note: The values in brackets represent the number of channels for each layer. Δ Lat. denotes the relative change in inference latency compared to our proposed method.
Table 8. Detection accuracy (%) of HKD-SVM with different knowledge feature subsets, including time-domain features, frequency-domain features and energy features.
Table 8. Detection accuracy (%) of HKD-SVM with different knowledge feature subsets, including time-domain features, frequency-domain features and energy features.
Feature GroupSimulated DataReal-World Data
Time-Domain96.21 ± 0.6293.59 ± 0.53
Frequency-Domain96.14 ± 0.8593.65 ± 1.08
Energy95.11 ± 1.3292.68 ± 0.79
Time + Freq + Energy96.57 ± 0.7895.50 ± 1.19
Table 9. Performance of different classifiers on simulated and real-world data.
Table 9. Performance of different classifiers on simulated and real-world data.
MethodAccuracy (%)Precision (%)Recall (%)F1 Score (%)
SimulatedReal WorldSimulatedReal WorldSimulatedReal WorldSimulatedReal World
HKD-RF93.16 ± 1.1289.09 ± 1.8493.42 ± 0.9189.46 ± 1.0692.58 ± 1.5288.86 ± 2.3193.00 ± 1.2189.16 ± 1.67
HKD-Softmax91.76 ± 2.0490.75 ± 0.8792.41 ± 1.7190.67 ± 0.9090.51 ± 2.6890.63 ± 0.9091.45 ± 2.2090.65 ± 0.92
HKD-XGBoost93.97 ± 1.4489.83 ± 0.7994.18 ± 1.2690.40 ± 0.5793.52 ± 1.7989.51 ± 1.1693.85 ± 1.5289.95 ± 0.72
HKD-SVM (Ours)96.57 ± 0.7895.50 ± 1.1996.58 ± 0.7795.92 ± 0.9597.14 ± 0.3395.59 ± 1.7796.55 ± 0.8195.58 ± 1.15
Table 10. Performance of different detection approaches on simulated and real-world data.
Table 10. Performance of different detection approaches on simulated and real-world data.
MethodAccuracy (%)Precision (%)Recall (%)F1 Score (%)
SimulatedReal-WorldSimulatedReal-WorldSimulatedReal-WorldSimulatedReal-World
SRNN-LSTM [29]83.37 ± 1.8482.32 ± 3.5585.02 ± 2.2482.32 ± 3.9979.14 ± 1.8280.4 ± 2.4681.98 ± 2.0281.34 ± 3.14
DWT-DiCNN-MAML [26]91.46 ± 0.3491.12 ± 0.8791.91 ± 0.2491.09 ± 0.9790.49 ± 0.5090.80 ± 0.7191.19 ± 0.3790.95 ± 0.84
TCN-SVM [44]83.10 ± 0.0782.57 ± 0.0685.07 ± 0.0882.82 ± 0.1078.34 ± 0.0879.59 ± 0.0181.57 ± 0.0881.17 ± 0.05
CNN-Transformer [25]93.50 ± 1.6090.72 ± 1.0394.06 ± 1.3491.20 ± 0.6892.45 ± 2.1289.62 ± 1.6593.25 ± 1.7490.40 ± 1.17
LSTM-SVM92.26 ± 1.9289.78 ± 1.2792.44 ± 1.8690.21 ± 1.1791.75 ± 2.2289.54 ± 1.4092.09 ± 2.0489.87 ± 1.25
HKD-SVM (Ours)96.57 ± 0.7895.50 ± 1.1996.58 ± 0.7795.92 ± 0.9597.14 ± 0.3395.59 ± 1.7796.55 ± 0.8195.58 ± 1.15
Table 11. Statistical significance analysis (Wilcoxon signed-rank test) of Test Accuracy.
Table 11. Statistical significance analysis (Wilcoxon signed-rank test) of Test Accuracy.
Comparison ModelMedian Diff. (%)Statistic (W)p-ValueSignificance
HKD-SVM vs. Ablation Study Variants
DWT-CNN-SVM4.531275.0<0.01H
Knowledge–SVM22.291275.0<0.01H
CNN-SVM11.191275.0<0.01H
DWT-SVM17.561275.0<0.01H
HKD-SVM vs. Comparative Baselines
SRNN-LSTM12.601275.0<0.01H
DWT-DiCNN-MAML3.691275.0<0.01H
TCN-SVM12.261275.0<0.01H
CNN-Transformer1.421099.0<0.01H
LSTM-SVM5.151275.0<0.01H
Note: The Wilcoxon signed-rank test is conducted under the alternative hypothesis that the proposed HKD-SVM achieves a higher test accuracy than the comparative baselines based on 50 independent runs. Median Diff. (%) is calculated as ( Accuracy H K D Accuracy B a s e l i n e ) × 100 . W denotes the Wilcoxon test statistic. H denotes Highly Significant, indicating p < 0.01 .
Table 12. Computational efficiency comparison of different detection models.
Table 12. Computational efficiency comparison of different detection models.
ModelFLOPs (M)Training Time (s)Latency (ms)
DWT-CNN-SVM2.0580428.563.22
Knowledge–SVM0.00325.700.33
CNN-SVM6.02411614.631.94
DWT-SVM0.02251577.024.51
HKD-RF2.0769961.918.73
HKD-Softmax2.0769280.071.35
HKD-XGBoost2.0769982.234.60
SRNN-LSTM8.24271157.8662.95
DWT-DiCNN-MAML3.0462298.682.70
TCN-SVM14.5989393.593.10
CNN-Transformer1.5670601.331.90
LSTM-SVM6.79731111.239.71
HKD-SVM (Ours)2.0704650.182.46
Table 13. Ablation study of the PCA module on detection performance and computational efficiency.
Table 13. Ablation study of the PCA module on detection performance and computational efficiency.
ModelData TypeAccuracy (%)Training Time (s)Latency (ms)
HKD-SVM w/o PCASimulated95.22768.943.60
Real world93.95764.273.22
HKD-SVM (Ours)Simulated96.57675.562.61
Real world95.50650.182.46
Table 14. Robustness comparison of detection accuracy across different noise types and SNR levels on simulated data.
Table 14. Robustness comparison of detection accuracy across different noise types and SNR levels on simulated data.
Noise TypeModelSNR
0102030
AWGNDWT-CNN-SVM73.17 ± 0.0381.05 ± 7.2187.09 ± 1.4993.33 ± 0.56
Knowledge–SVM62.70 ± 2.3470.89 ± 0.6673.55 ± 1.5679.70 ± 0.27
HKD-RF71.33 ± 2.0074.25 ± 3.9587.60 ± 2.8293.04 ± 0.97
HKD-Softmax69.90 ± 0.7571.27 ± 0.3681.21 ± 3.3989.52 ± 1.36
HKD-XGBoost72.83 ± 0.1375.15 ± 1.0688.64 ± 2.8293.45 ± 1.57
HKD-SVM (Ours)78.81 ± 0.9284.14 ± 4.2789.27 ± 0.0793.24 ± 0.26
ImpulsiveDWT-CNN-SVM73.29 ± 0.0482.02 ± 1.8492.73 ± 0.3794.31 ± 0.17
Knowledge–SVM59.48 ± 1.9173.56 ± 2.3479.30 ± 0.2980.82 ± 0.24
HKD-RF70.01 ± 2.6180.67 ± 2.1089.57 ± 0.5292.33 ± 1.94
HKD-Softmax71.50 ± 1.4577.30 ± 0.7584.37 ± 4.6390.30 ± 0.95
HKD-XGBoost71.76 ± 0.9074.47 ± 3.1392.33 ± 1.7793.05 ± 1.39
HKD-SVM (Ours)73.00 ± 1.4183.22 ± 0.4792.42 ± 1.4994.80 ± 0.89
ColoredDWT-CNN-SVM73.17 ± 0.0374.29 ± 0.1686.21 ± 2.6493.98 ± 0.30
Knowledge–SVM62.53 ± 0.1471.68 ± 0.1177.58 ± 2.4280.19 ± 0.78
HKD-RF72.81 ± 0.0479.21 ± 6.8989.66 ± 1.9293.14 ± 1.66
HKD-Softmax69.10 ± 1.7671.64 ± 1.0878.81 ± 5.4390.82 ± 0.65
HKD-XGBoost72.91 ± 0.0875.28 ± 5.6191.23 ± 0.7193.30 ± 1.20
HKD-SVM (Ours)73.45 ± 0.2475.68 ± 0.6790.63 ± 0.8394.41 ± 1.23
Table 15. Comparison of detection accuracy (%) and performance degradation ( Δ Acc.) across different approaches.
Table 15. Comparison of detection accuracy (%) and performance degradation ( Δ Acc.) across different approaches.
MethodSim → RealReal → Sim
Accuracy (%) Δ Acc. (%)Accuracy (%) Δ Acc. (%)
DWT-CNN-SVM88.41−6.0476.82−13.48
Knowledge–SVM60.31−20.9868.61−4.65
HKD-RF87.76−5.4071.77−17.32
HKD-Softmax89.15−2.6177.43−13.32
HKD-XGBoost87.58−6.3974.86−14.98
SRNN-LSTM76.35−7.0276.50−5.82
DWT-DiCNN-MAML88.13−3.3381.74−9.39
TCN-SVM81.32−1.7878.31−4.26
CNN-Transformer89.79−3.7178.02−12.70
LSTM-SVM82.33−9.9376.50−13.28
HKD-SVM (Ours)90.49−6.0883.50−12.01
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, J.; Yang, X.; Wu, H. Forced Oscillation Detection Using Hybrid Knowledge–Deep Learning Features. Appl. Sci. 2026, 16, 7891. https://doi.org/10.3390/app16167891

AMA Style

Li J, Yang X, Wu H. Forced Oscillation Detection Using Hybrid Knowledge–Deep Learning Features. Applied Sciences. 2026; 16(16):7891. https://doi.org/10.3390/app16167891

Chicago/Turabian Style

Li, Jiaxin, Xiaomei Yang, and Haoran Wu. 2026. "Forced Oscillation Detection Using Hybrid Knowledge–Deep Learning Features" Applied Sciences 16, no. 16: 7891. https://doi.org/10.3390/app16167891

APA Style

Li, J., Yang, X., & Wu, H. (2026). Forced Oscillation Detection Using Hybrid Knowledge–Deep Learning Features. Applied Sciences, 16(16), 7891. https://doi.org/10.3390/app16167891

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

Article Metrics

Back to TopTop