Abstract
With the wide use of nonlinear loads, power grids’ power quality problems are becoming more prominent, threatening the stability of power systems seriously. To address these problems, this paper proposes a power quality disturbances (PQD)classification method based on the Kaiser window S-transform (KST) and deep neural networks. Firstly, the Kaiser window S-transform is applied to the processing of PQD signals. Secondly, the Kaiser window control function is modified to adjust the shape of the window, and the window function parameters are automatically optimized according to the maximum energy density to achieve a better time-frequency resolution. Then, deep neural networks are utilized to perform deep feature extraction on the feature vectors of the Kaiser window S-transform. Lastly, a Softmax layer is applied to the extracted features. The results show that the method has excellent classification accuracy and noise resistance: the 99.1% accuracy achieved under 20 dB noise.
1. Introduction
In recent years, power quality (PQ) issues have received widespread attention due to the fact that power networks commonly have a large number of nonlinear loads such as automotive charging piles and various power electronics devices [1]. Additionally, the development of renewable energy like wind and solar power has also a certain impact on the grid signals [2]. The use of multiple loads and energy resources will generate different power quality disturbances (PQD), including complex single and nonlinearly mixed PQD signals [3]. To establish a reliable and safe power supply system, accurate detection and classification of these PQD signals are important to deal with disturbance pollution problems, providing crucial support for real-time monitoring and protection [4,5].
Many detection frameworks have been developed to analyze PQD signals, which generally consist of two parts: time-frequency analysis and PQD classification [6]. Since the features of PQD signals are inconspicuous, time-frequency analysis methods are used to extract characteristics in the time domain or frequency domain. Common methods include the short-time Fourier transform (STFT) [7], Stockwell transform (ST) [8], discrete wavelet transform (DWT) [9], and Gaussian window S-transform(GST). However, the fixed window parameters of the STFT are not adaptive to nonstationary signals, and the DWT is sensitive to noise. As an extension, various window parameter setting methods were proposed for the ST, including adjustable window widths [10,11]. Although the resolution of these improved STs is better, the window parameters under complex PQDs still need to be determined empirically [12]. Therefore, effective methods are needed to automatically adjust the optimal parameters to further improve the time-frequency accuracy of complex PQD signals [13].
In the PQD classification step, different features are first extracted from the time-frequency information and then fed to the classifier [14]. Various classification methods have been proposed, such as decision trees (DTs) [4] and support vector machines (SVMs) [15]. It is worth noting that most of their features are handcrafted statistical features (e.g., skewness, kurtosis) [16]. However, the handcrafted features may lead to the loss of critical information, especially for mixed PQDs. Recently, deep learning methods, particularly convolutional neural networks (CNNs), have gained widespread application due to their automatic feature learning capabilities. Nevertheless, directly inputting massive two-dimensional time-frequency matrices into CNNs introduces significant computational overhead, and balancing computational efficiency with robust noise immunity remains a challenge.
To address this issue, this article first proposes an optimized Kaiser window S-transform (KST). It optimizes different window parameters to improve the time-frequency resolution using maximum energy concentration. Instead of using redundant 2D matrices, a lightweight multi-dimensional feature vector is rationally constructed. Furthermore, an improved one-dimensional deep CNN is proposed to classify these extracted features. Integrating the optimized KST and deep CNN, a classification framework is further proposed to detect and classify various single and composite PQD signals. The main contributions of this paper are summarized as follows.
- (1)
- Adaptive time-frequency analysis: An improved KST is proposed. Breaking away from traditional empirical parameter settings, a particle swarm optimization (PSO) algorithm is introduced to automatically find the optimal Kaiser window shape on the basis of energy density.
- (2)
- Lightweight feature extraction: A highly representative six-dimensional feature vector is constructed from the KST output, preserving critical time-frequency characteristics while drastically reducing computational dimensionality.
- (3)
- Robust deep classification framework: A customized 1D deep CNN integrated with batch normalization is designed. Extensive experiments demonstrate that the proposed framework shows superior performance and excellent noise resistance (achieving 99.1% accuracy under 20 dB noise) compared with state-of-the-art methods.
2. Feature Extraction Algorithm Based on the S-Transform
2.1. S-Transform
The S-transform can be regarded as a generalization of the short-time Fourier transform and wavelet transform, serving as a reversible time-frequency analysis method. It uses phase information from the continuous wavelet transform to perform phase correction on the original wavelet [17]. The output of the S-matrix is a complex matrix of dimensions, whose matrix expression is as follows
where denotes the time shift factor; denotes the signal frequency, denotes the amplitude, and denotes the phase. Each row represents the specific frequency of the signal at each sampling point from 0 to at a specific time, and each column represents the frequency component of the signal at a specific time. The continuous S-transform of the signal is
where denotes the normalized Gaussian window function, i.e.,
In practical signal processing, power quality disturbance signals are typically discretely sampled signals. The continuous signal is now discretized by collecting points at a sampling interval of , where . The discrete S-transform expression is then derived as follows
where denotes the index of the discretized time point; represents the summation variable, corresponding to the frequency domain shift operation in the discrete Fourier transform; indicates the frequency component index, reflecting the position in the frequency domain analysis; and denotes the discrete Fourier transform of signal after frequency shifting
For a given PQD signal sequence, feature extraction can be performed using the S-transform. The rows and columns of the extracted two-dimensional matrix represent frequency features and time features, respectively.
2.2. Kaiser Window S-Transformation
Accurate identification of power quality disturbances relies on the feature information extracted from both the time domain and frequency domain. The Kaiser window offers higher time-frequency resolution than the Gaussian window, thereby reducing information loss. Therefore, this paper replaces the Gaussian window function in the S-transform with the Kaiser window function, yielding the Kaiser S-transform (KST). The formula for the Kaiser window S-transform is as follows
where corresponds to the Kaiser window function, whose time-domain expression is as follows
where denotes the control function; and represent parameters used to control the shape variation of the Kaiser window, enabling adjustment of its shape to achieve better time-frequency resolution; and corresponds to the first-kind zero-order Bessel function.
Now consider discretizing the window function, defining the discrete form of the Kaiser window function as
where denotes the time variable, denotes the window width adjustment factor, and denotes the number of sampling points.
As shown in Figure 1 and Figure 2, the time-domain width of the Kaiser window is influenced by the parameters and , exhibiting a distinct pattern: the window function’s time-domain width decreases as increases, and increases as the number of sampling points increases.
Figure 1.
Time-frequency distribution diagram of values ( = 150).
Figure 2.
Time-frequency distribution diagram of N values ( = 25).
2.3. Improved Kaiser S-Transform
Fixed and values cannot accommodate the time-frequency analysis requirements of complex power quality disturbance problems, potentially leading to reduced resolution. To enhance the adaptability of the Kaiser window S-transform to power quality disturbance signals, this paper modifies the control function. Equation (10) presents the new control function , which can dynamically adjust the rate of change in window shape by modifying the adjustment factor . The new control function is as follows
where the value range of is [0, 1). The closer is to 0, the wider the main lobe width of the window function and the weaker the side lobe’s attenuation, making it suitable for applications requiring a broad bandwidth. The closer is to 1, the narrower the main lobe of the window function and the stronger the side lobe’s attenuation, which is suitable for scenarios requiring high-frequency resolution but may simultaneously increase the leakage effect of the window function. Dynamic adjustment of the window shape refers to the real-time adjustment of the value of on the basis of the signal characteristics or processing requirements.
It is worth noting that a single optimized parameter set () is sufficient for processing the entire signal duration. The method inherently handles signals where the optimal resolution at the disturbance onset differs significantly from the steady-state portion through the frequency variable in the control function . Because adjusts dynamically with frequency, the Kaiser window automatically narrows for high-frequency transient components (providing high temporal resolution at the disturbance onset) and widens for low-frequency components (ensuring a high frequency resolution during steady states). The optimized parameters simply define the most optimal global shape of this frequency-dependent mapping, eliminating the need for local parameter adaptation over time.
To transition from the continuous Kaiser S-transform to its discrete counterpart, the continuous integration over time is replaced by a discrete summation. Specifically, the continuous time and frequency variables are mapped to discrete integer indices. By applying the discrete convolution theorem alongside Equations (6), (7), (9) and (10), the discrete Kaiser window S-transform’s expression is derived as follows
where , , and denote integers within the range from 0 to and is used to alter the time shift, while adjust the translation length of spectrum . and denote the results of the discrete Fourier transform of (7) and , respectively; and represent the amplitude and phase of , respectively. is a matrix of size . Furthermore, to dynamically modify the parameters of the control function , the concept of energy density is introduced [18]
where denotes the energy density of , where and represent the rows and columns of the matrix , respectively.
To achieve maximum energy concentration by adjusting the parameters , , and , thereby obtaining the optimal solution, the optimization problem of maximizing the energy concentration can be transformed into finding the minimum solution of the inverse of , which can be expressed as
The objective function optimization problem in the formula above is essentially a nonlinear optimization problem. This paper uses a particle swarm optimization (PSO) algorithm to solve it, automatically adjusting the control function parameters for different PQD signals through optimization [19].
To ensure an effective search for the optimal control function parameters, the core parameters of the PSO algorithm are specifically configured. The population size (number of particles) is set to 60, and the maximum number of iterations is limited to 50. The inertia weight is set to 0.7 to maintain a balance between global exploration and local exploitation capabilities. Both the individual learning factor and the social learning factor () are set to 1.5. Furthermore, the search boundaries for the optimization variables , , and are constrained within the ranges of , , and , respectively.
Figure 3 illustrates the optimization convergence curve for maximizing the energy density (represented by minimizing the fitness value ) under a complex composite disturbance scenario. As shown in the curve, the fitness value drops significantly and the algorithm converges rapidly within the first 15 iterations, demonstrating strong robustness against premature convergence to local minima. The optimal parameter combination obtained from this representative run is , , and , achieving a minimum fitness value of approximately 0.0035. This validates the effectiveness of the PSO method in dynamically capturing the optimal time-frequency resolution.
Figure 3.
Optimization convergence curve of the PSO algorithm.
Regarding the computational overhead, the time complexity of the PSO optimization process is , where is the number of particles, is the number of iterations, and represents the computational time of a single KST operation. Although the iterative parameter search introduces additional computational load during the initial feature extraction stage, this optimization primarily functions as an offline calibration or a periodic updating process for specific signal patterns. Once the optimal parameters (, , ) are identified, they are fixed and directly applied to subsequent online data processing. Therefore, this optimization mechanism does not compromise the real-time classification performance of the model in practical engineering applications.
The sampling frequency is set to 6.4 kHz, with a reference frequency of 50 Hz.
2.4. Selection of Eigenvectors
The time-frequency distribution matrix generated by processing PQD signals via the KST algorithm encompasses multi-dimensional key features including disturbance onset/offset times, amplitude modulation, phase shift, event duration, and fundamental frequency fluctuations, revealing the transient response characteristics of nonstationary signals. However, high-dimensional time-frequency features pose challenges for subsequent classification processes. To address this, this paper constructs a multi-dimensional feature vector integrating time-domain and frequency-domain characteristics based on the time-frequency response curves generated by the KST algorithm. This approach significantly reduces computational complexity while maintaining classification accuracy. The feature vector used for identification and classification in this study is as follows
where , , and denote the maximum amplitude, minimum amplitude, and variance of the time-frequency curve, respectively; , , and denote the frequencies corresponding to the maximum amplitude, minimum amplitude, and amplitude variance, respectively.
The selection of these specific features is based on the following physical criteria.
Amplitude Features (, , and ): These parameters capture the energy envelope and magnitude fluctuations of the signal. They are essential for identifying voltage sags (N2), swells (N1), interruptions (N4), and flickers (N6). For instance, provides a quantitative measure of the severity of voltage fluctuations in composite disturbances.
Frequency Features (, , and ): These capture the spectral distribution and frequency-domain stability. They serve as the primary discriminants for harmonics (N3), transient oscillations (N7), and high-frequency components in composite events.
By extracting these six core dimensions, the proposed method reduces the input size for the deep CNN, significantly speeding up the training process without losing critical time-frequency information.
To reduce the classification time in subsequent network operations, the feature vector must undergo normalization processing before being input into the deep CNN.
3. Classification of Power Quality Disturbance Signals
3.1. Improved Deep CNN
Since the feature vector is inherently one-dimensional, one-dimensional filters were added throughout the one-dimensional deep CNN in this paper to classify interference. To simultaneously consider local and global features, the filter kernels were constructed to be small, and short strides were adopted in the filters, i.e., VGG-Net. To highlight the PQD features and reduce dimensionality, pooling layers are used before each set of convolutional layers. Additionally, to enhance generalization and mitigate overfitting, batch normalization layers are incorporated at the network’s end. Figure 4 illustrates the proposed deep CNN architecture for automatic classification of PQD signals.
Figure 4.
Improved deep CNN architecture.
The one-dimensional convolutional layer, as the core component of the method, enables self-learning feature extraction from perturbed signals. It uses a shared weight filter allocation mechanism and a small receptive field design. Let denote the input to the one-dimensional convolutional matrix, denote the number of filters, and denote the dimension of the filter kernel. The formula for the output filter layer from the convolutional layer is as follows
where and denote the activation function responsible for the nonlinear activation from the input to output neurons. In the proposed deep neural network, a 64 × 1 convolution kernel is used in the first convolutional layer to enhance noise resistance. The convolution utilizes a 3 × 1 network architecture, focusing on extracting features from local perturbations. Given the limited dimensionality of PQD data, PQD data acquisition uses KST across multiple cycles and sampling points. Consequently, the network architecture is streamlined to comprise a convolutional layer, a pooling layer, a batch normalization layer, a fully connected layer, and a Softmax layer. Through parameter tuning, the proposed one-dimensional network achieves greater simplicity with fewer parameters. Thus, the proposed network is more suitable for classification tasks, imposes lower demands on device performance, and enables faster training speeds.
Batch normalization (BN), a critical component of deep CNNs, effectively suppresses overfitting and enhances training efficiency. Typically deployed after convolutional or fully connected layers and before activation functions, its computation proceeds as follows
where denotes the mean of the input sample , represents the variance, is the scaling factor, is the offset, and is the correction term to prevent numerical overflow. In PQD classification tasks, optimization algorithms significantly impact reducing training loss and improving classification accuracy. Optimizers play a crucial role in the training process of deep neural networks. Different optimization algorithms have a significant impact on the convergence speed, stability, and final classification performance of the model. With reference to [9], the Adam optimizer is selected in this paper.
3.2. Disturbance Signal Classification
Figure 5 shows the proposed PQD classification method based on KST and thedeep CNN. The proposed method comprises a convolutional layer, a pooling layer, a batch normalization layer, a fully connected layer, and a Softmax layer. Compared with the conventional approach, the proposed classification framework offers the advantage of extracting features through both signal processing and deep CNN layers.
Figure 5.
Comparison chart of traditional methods and the classification method in this paper.
4. Case Study Analysis
4.1. Experimental Preparation and Data Acquisition
To evaluate the classification performance of the proposed KST-based and deep CNN-based PQD classification method, this section presents a series of simulations under different levels of noise interference. Based on the IEEE-1159 [20] power quality detection standard and Reference [21], 22 types of power quality disturbances are proposed, including 7 distinct single power quality disturbance signals and 15 composite power quality disturbance signals. The seven distinct single-type PQ disturbance signals are listed in Table 1. All 22 PQ disturbance signals were simulated in MATLAB R2023b. The fundamental frequency was set to 50 Hz, with a signal sampling period of 200 ms and a sampling frequency of 6.4k Hz. Each power quality disturbance comprised 1280 sampling points. The total number of power quality disturbance labels was 22, with each disturbance type having 1000 sample labels. The model described in this paper is built using the TensorFlow framework and Python; see Table 2 for details on the hardware version and runtime environment used.
Table 1.
PQD signal model.
Table 2.
Hardware version and operating environment.
The 15 types of composite disturbances (N8–N22) are generated by the linear superposition of the individual disturbance models defined in Table 1 on the same time axis. Both disturbances share the same fundamental frequency and sampling points. This ensures that the physical characteristics of multiple events are preserved simultaneously.
By permuting and combining the 7 individual disturbance signals, 15 composite disturbance signals can be generated. This section simulates a total of 22 power quality disturbance signals, as shown in Table 3.
Table 3.
Types of PQD signals.
4.2. Analysis of Model Recognition Accuracy in the Absence of Noise Interference
To validate the enhanced time-frequency performance of the improved Kaiser window S-transform in detecting power quality disturbances, the frequency responses of the modified Kaiser window function (11) and the Gaussian window were analyzed. The results are shown in Figure 6.
Figure 6.
Spectral characteristics of different window functions.
As shown in Figure 6, at the same detection frequency, the Kaiser window demonstrates superior side lobe suppression performance compared with the Gaussian window, significantly reducing spectral leakage effects. This characteristic enhances the temporal localization accuracy of time-frequency analysis, thereby providing a more precise quantitative basis for signal amplitude detection.
To validate the superiority of the modified Kaiser window S-transform in detecting power quality disturbances, both the modified Kaiser window S-transform and the Gaussian window S-transform were used to identify seven types of power quality disturbance signals (N1–N7) under noise-free conditions. The recognition accuracy rates of the two methods were then compared. The results are shown in Table 4.
Table 4.
Recognition results of ST using different window functions.
The results indicate that the improved Kaiser window S-transform achieves higher accuracy in identifying power quality disturbances compared with the Gaussian window S-transform.
To evaluate the model’s performance in classifying power quality disturbance signals, Figure 7 displays the training process curves for accuracy and loss values. The training results indicate that the model converged after 55 iterations, achieving 99.1% accuracy with a loss value of 0.09. The accuracy curves for the training and validation sets nearly overlap, demonstrating that the model exhibits no overfitting and possesses strong generalization capabilities.
Figure 7.
Accuracy and loss value curve.
4.3. Analysis of Classification Performance
4.3.1. Analysis of Classification Performance Under Different Noise Conditions
The signal-to-noise ratio is a metric used to quantify the relative relationship between signal strength and background noise levels. It represents the ratio of useful signal to noise, typically measured in decibels (dB). The fundamental formula for calculating the signal-to-noise ratio is as follows
where represents the signal-to-noise ratio, represents the average power of the signal, and represents the average power of the noise.
The signal-to-noise ratio directly impacts signal quality. A high signal-to-noise ratio indicates that the signal is stronger than the noise, making processing easier; a low signal-to-noise ratio may lead to signal distortion. To validate the effectiveness of the model proposed in this paper under different power quality disturbances, we evaluated its noise resistance in extreme noise scenarios such as 40 dB, 30 dB, and 20 dB, as shown in Table 5.
Table 5.
Classification accuracy under different noise conditions.
The results indicate that the model’s classification performance is superior in noise-free conditions compared with noisy conditions, and its classification accuracy for single disturbance signals is higher than for composite signals.
To verify the stability of the proposed model, Table 6 presents the variance and standard deviation under different noise conditions.
Table 6.
Variance and standard deviation under different noise conditions.
The statistical results show that the standard deviation and variance across all noise conditions are generally low, indicating that the model’s outputs are concentrated and exhibit strong repeatability and consistency. The dispersion is exceptionally low under noise-free and high SNR conditions, confirming stable recognition performance in ideal and mildly noisy environments.
Moreover, the standard deviations for most categories remain low regardless of the noise background, demonstrating the model’s adaptability to external disturbances and its overall noise robustness. Despite minor variations between categories, the limited overall fluctuation proves that the model delivers not only high average recognition accuracy but also reliable and consistent results.
To further validate the superiority of the proposed method within deep learning frameworks, comparative experiments were conducted using two typical models widely applied in power quality disturbance recognition: a CNN-LSTM hybrid model and a temporal convolutional network (TCN). To ensure experimental fairness, all models shared the exact same dataset, training–testing partitions, and input features. Specifically, the feature vectors extracted by the proposed KST algorithm served as inputs for all models, which were subsequently trained and tested under identical parameter configurations. The classification experiments were performed on 22 classes of power quality disturbance signals across different signal-to-noise ratio (SNR) levels, with the accuracy results detailed in Table 7.
Table 7.
Classification accuracy across models.
To ensure a fair and rigorous comparison, all baseline models (SVM, ELM, kNN, and DT) were carefully optimized to achieve their optimal performance before being compared with the proposed model. We used a five-fold cross-validation combined with a grid search to fine-tune the hyperparameters of each baseline algorithm. Specifically, for SVM, the radial basis function kernel was utilized. The penalty parameter C and kernel coefficient gamma were searched and optimized within and , respectively. For kNN, the optimal number of neighbors (k) was dynamically tuned within the range of [3,15], and the Euclidean distance metric was selected. For ELM, the number of hidden layer nodes was incrementally searched from 50 to 500 to find the best balance between accuracy and training time, utilizing the Sigmoid activation function. For the DT (Decision Tree), the Gini impurity was used as the splitting criterion, and the maximum depth of the tree was tuned to prevent overfitting. With these equivalent optimization efforts applied to all comparison methods, the intrinsic advantages of the proposed KST-CNN approach in handling complex noisy environments can be fully and objectively shown.
The proposed model is compared with SVM, ELM, kNN, and DT in terms of classification accuracy. The results indicate that when confronted with up to 22 complex power quality disturbances and strong noise interference, the accuracy of traditional SVM and KNN models declines. In contrast, the proposed model maintains high classification accuracy under 20–40 dB noise conditions and demonstrates superior noise robustness. In a 20 dB noisy environment, the accuracy of the proposed model decreased by only 0.4% compared with the noise-free condition, whereas the decline in the comparison methods was at least 1.6%. This demonstrates that the proposed model exhibits superior noise robustness and outperforms other comparison models.
In the experimental phase, all models shared the identical network architecture and training dataset, utilizing a learning rate of 0.00001, a batch size of 128, and a maximum of 50 training epochs. The evaluations were performed under a 40 dB signal-to-noise ratio (SNR). Figure 8 depicts the training processes of the respective models.
Figure 8.
Training curves of different models.
As shown in the figure, the proposed KST-CNN model achieved the highest classification accuracy when compared with other methods. These results indicate that by leveraging KST time-frequency feature optimization and a deep CNN structural design, the proposed method effectively improves the recognition of complex power quality disturbance signals while demonstrating superior anti-noise performance.
4.3.2. Comparative Analysis of Different Feature Sets
To verify the optimality of the selected 6D feature set, we conducted comparative experiments against a simplified 3D set (amplitudes only) and an expanded 12D set (including skewness, kurtosis, and energy concentration). The results are shown in Table 8.
Table 8.
Comparison of classification performance with different feature dimensions.
As shown in Table 8, while the 12D set offers a marginal accuracy improvement (0.1%), it nearly doubles the computational time. The proposed 6D feature vector achieves 99.1% accuracy with significantly lower complexity, proving that it is the most efficient choice for real-time power quality monitoring in new power systems.
4.4. Accuracy at Different Training Sample Sizes
To validate the generalization performance of the proposed model, a multi-scale training set was constructed on the MATLAB platform for comparative experiments. The experimental design is as follows: multiple training sets were constructed, each containing 10 to 100 samples per class (sample sizes set in an arithmetic progression of 10, 20, 30, 50, 100, etc.). Gaussian white noise interference with a 20 dB signal-to-noise ratio was introduced into both the training and testing data. During the testing phase, a test set comprising 22,000 samples (1000 samples per class) was used to evaluate the model’s robustness. The results are shown in Figure 9.
Figure 9.
Accuracy with different sizes of training sample.
The results demonstrate that as the training sample size expands, the model’s classification performance exhibits a systematic improvement trend. Notably, this method significantly outperforms the other two classification models across all training scales. When the single-category training sample reaches 50 instances, the model achieves a classification accuracy of 97.3%. Even under under-training conditions with only 10 samples per category, it maintains an accuracy of 88.9%, surpassing the baseline model by 9.5 percentage points. These comparative results fully demonstrate that our approach effectively enhances the model’s feature recognition capability and data efficiency in noisy environments through time-frequency feature optimization and network architecture improvements.
4.5. Actual Data Analysis
To evaluate the algorithm’s performance in real-world scenarios, this study conducted an experimental analysis using power quality disturbance data from the IEEE PES database. This dataset was specifically constructed for power quality disturbance analyses and includes multiple typical disturbance categories. The original sample length comprised 1536 data points. Since the simulation data contained only 1280 data points, this paper used cubic spline interpolation [22] to resample the original 1536 data points to 1280 points. Compared with simple downsampling or end-point copying, interpolation better preserves the original signal morphology, facilitating the retention of high-frequency transient features. Following resampling, all data underwent holistic normalization to eliminate dimensional differences. Four types of typical disturbance signals were extracted from the experiments: 25 voltage swells, 25 voltage dips, 30 harmonics, and 20 transient pulse disturbances. Table 9 presents the experimental results obtained using the model proposed in this paper.
Table 9.
Analysis of actual measurement data.
The experimental results indicate that among 25 voltage transient samples, 1 misclassification occurred; among 20 transient pulse samples, 1 misclassification was present; and among 30 harmonic samples, 1 recognition error was identified. The overall recognition accuracy reached 97%.
5. Conclusions
This paper proposes a PQD classification method based on KST and deep neural networks. Through simulation and experimentation, the following conclusions are drawn.
- (1)
- By improving the control function of the Kaiser window, the adaptability and detection accuracy of the Kaiser window S-transform for power quality disturbance signals are enhanced.
- (2)
- Under various noise conditions, the model achieves over 98% accuracy in disturbance classification. Furthermore, results from identifying 15 types of composite disturbances generated by the simulation platform demonstrate that the proposed classification model exhibits high accuracy and robust noise immunity for complex power quality disturbances.
- (3)
- The classification model presented in this paper achieves a comprehensive identification accuracy of 97% for typical disturbances encountered in real-world scenarios. This research holds significant implications for enhancing disturbance identification capabilities in complex electromagnetic environments and preventing relay protection malfunctions caused by power quality issues. The model may provide novel technical support for power quality sensing and early warning in new power systems.
Author Contributions
Methodology, H.X., F.Y. and B.F.; Software, L.Y., P.H. and B.F.; Validation, H.X., Y.H. and D.T.; Writing—original draft, B.F. and L.Y.; Writing—review and editing, Y.H. and F.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by State Grid Hubei Electric Power Co., Ltd. Technology Project (521532240024) and The National Natural Science Foundation of China (52407118).
Data Availability Statement
The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.
Conflicts of Interest
All authors were employed by the company State Grid Hubei Electric Power Research Institute. The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The authors declare that this study received funding from State Grid Hubei Electric Power Co., Ltd. The funder was not involved in the study design, collection, analysis, interpretation of data, the writing of this article or the decision to submit it for publication.
References
- Oubrahim, Z.; Choqueuse, V.; Amirat, Y.; Benbouzid, M.E.H. Disturbances classification based on a model order selection method for power quality monitoring. IEEE Trans. Ind. Electron. 2017, 64, 9421–9432. [Google Scholar] [CrossRef] [Scilit]
- Luo, Y.; Li, K.; Li, Y.; Cai, D.; Zhao, C.; Meng, Q. Three-layer Bayesian network for classification of complex power quality disturbances. IEEE Trans. Ind. Inform. 2017, 14, 3997–4006. [Google Scholar] [CrossRef] [Scilit]
- Valtierra-Rodriguez, M.; Romero-Troncoso, R.D.J.; Osornio-Rios, R.A.; Garcia-Perez, A. Detection and classification of single and combined power quality disturbances using neural networks. IEEE Trans. Ind. Electron. 2013, 61, 2473–2482. [Google Scholar] [CrossRef] [Scilit]
- Achlerkar, P.D.; Samantaray, S.R.; Manikandan, M.S. Variational mode decomposition and decision tree based detection and classification of power quality disturbances in grid-connected distributed generation system. IEEE Trans. Smart Grid 2016, 9, 3122–3132. [Google Scholar] [CrossRef] [Scilit]
- Bai, W.; Zhuang, G.; Zhao, X.; Wei, Z. High-precision intelligent identification of complex power quality disturbances based on improved KST and CNNs. IEEE Access 2024, 12, 86434–86443. [Google Scholar] [CrossRef] [Scilit]
- Cho, S.H.; Jang, G.; Kwon, S.H. Time-frequency analysis of power-quality disturbances via the Gabor–Wigner transform. IEEE Trans. Power Deliv. 2009, 25, 494–499. [Google Scholar]
- Satpathi, K.; Yeap, Y.M.; Ukil, A.; Geddada, N. Short-time Fourier transform based transient analysis of VSC interfaced point-to-point DC system. IEEE Trans. Ind. Electron. 2017, 65, 4080–4091. [Google Scholar] [CrossRef] [Scilit]
- Kawady, T.A.; Elkalashy, N.I.; Ibrahim, A.E.; Taalab, A.-M.I. Arcing fault identification using combined Gabor Transform-neural network for transmission lines. Int. J. Electr. Power Energy Syst. 2014, 61, 248–258. [Google Scholar] [CrossRef] [Scilit]
- Borrás, M.D.; Bravo, J.C.; Montaño, J.C. Disturbance ratio for optimal multi-event classification in power distribution networks. IEEE Trans. Ind. Electron. 2016, 63, 3117–3124. [Google Scholar] [CrossRef] [Scilit]
- Thirumala, K.; Pal, S.; Jain, T.; Umarikar, A.C. A classification method for multiple power quality disturbances using EWT based adaptive filtering and multiclass SVM. Neurocomputing 2019, 334, 265–274. [Google Scholar] [CrossRef] [Scilit]
- Ma, J.; Jiang, J. Analysis and design of modified window shapes for S-transform to improve time–frequency localization. Mech. Syst. Signal Process. 2015, 58, 271–284. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Li, Q.; Zhou, F.; Zhou, Y.; Mu, X. A new method with Hilbert transform and slip-SVD-based noise-suppression algorithm for noisy power quality monitoring. IEEE Trans. Instrum. Meas. 2018, 68, 987–1001. [Google Scholar] [CrossRef] [Scilit]
- Singh, N.; Pradhan, P.M. Efficient discrete S-transform based on optimally concentrated window. IEEE Signal Process. Lett. 2018, 26, 14–18. [Google Scholar] [CrossRef] [Scilit]
- Kumar, R.; Singh, B.; Shahani, D.T.; Chandra, A.; Al-Haddad, K. Recognition of power-quality disturbances using S-transform-based ANN classifier and rule-based decision tree. IEEE Trans. Ind. Appl. 2014, 51, 1249–1258. [Google Scholar] [CrossRef] [Scilit]
- Thirumala, K.; Prasad, M.S.; Jain, T.; Umarikar, A.C. Tunable-Q wavelet transform and dual multiclass SVM for online automatic detection of power quality disturbances. IEEE Trans. Smart Grid 2016, 9, 3018–3028. [Google Scholar] [CrossRef] [Scilit]
- Liang, C.; Teng, Z.; Li, J.; Yao, W.; Hu, S.; Yang, Y.; He, Q. A Kaiser window-based S-transform for time-frequency analysis of power quality signals. IEEE Trans. Ind. Inform. 2021, 18, 965–975. [Google Scholar] [CrossRef] [Scilit]
- Wang, S.; Chen, H. A novel deep learning method for the classification of power quality disturbances using deep convolutional neural network. Appl. Energy 2019, 235, 1126–1140. [Google Scholar] [CrossRef] [Scilit]
- Ren, Z.; Liu, D.; Liu, Y.; Zhang, S.; Hu, H.; Jiang, A. A new parallel PQDs classification method based on an optimized NLM and an improved DRSN-TCN model. Comput. Electr. Eng. 2025, 124, 110326. [Google Scholar] [CrossRef] [Scilit]
- Zaharis, Z.D.; Gravas, I.P.; Yioultsis, T.V.; Lazaridis, P.I.; Glover, I.A.; Skeberis, C.; Xenos, T.D. Exponential log-periodic antenna design using improved particle swarm optimization with velocity mutation. IEEE Trans. Magn. 2017, 53, 1–4. [Google Scholar] [CrossRef] [Scilit]
- IEEE Std 1159-2019 (Revision of IEEE Std 1159-1995); IEEE Recommended Practice for Monitoring Electric Power Quality. IEEE: Piscataway, NJ, USA, 2009; pp. c1–c81.
- Li, J.; Liu, H.; Wang, D.; Bi, T. Classification of power quality disturbance based on S-transform and convolution neural network. Front. Energy Res. 2021, 9, 708131. [Google Scholar] [CrossRef] [Scilit]
- Reda, M.; Onsy, A.; Haikal, A.Y.; Ghanbari, A. A novel reinforcement learning-based multi-operator differential evolution with cubic spline for the path planning problem. Artif. Intell. Rev. 2025, 58, 142. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.








