Abstract

The widespread integration of renewable energy sources (RESs) into power systems using power electronics-based interface devices has led to a substantial rise in power quality (PQ) issues. There is an immediate requirement for effective monitoring, detection, and classification of power quality disturbances (PQDs) that is needed to take remedial measures and design planning of the system architecture. This study presents a hybrid approach with an objective for the feature extraction and classification of PQDs. The proposed hybrid approach is comprised of an optimized tunable-Q wavelet transform (OTQWT) for the feature extraction and incremental support vector machine (ISVM). A four-stage approach is suggested for the PQ detection and classification in this study. In the first stage, the various data are retrieved both in the form of synthetic data by mathematical formulations and real-time data with prototype design setup. In the second stage, regardless of the specified wavelet function, the PQD signals are decomposed into low-pass and high-pass sub-bands using the tunable-Q wavelet transform (TQWT). However, the utilization of default decomposition parameters to address nonstationary PQ signals may lead to information loss and reduced performance of the system. To avoid this limitation, an OTQWT as an enhanced technique to TQWT based on an Adaptive Particle Swarm Optimization (APSO) is suggested. A modified objective function based on the mean square error (MSE) is used to improve the decomposition process. In the third stage, an efficient classifier is suggested based on the ISVM. Lastly, to test and evaluate the performance of the proposed approach, twelve types of PQDs including noise and multiple occurrences are considered. The comparative analysis with other popular methods reflects the better performance of the proposed approach and justifies its use for PQ detection and classification purposes in real-time​ conditions.

1. Introduction

In recent years, there has been a notable transition from traditional power networks to the adaption of smart-grid and microgrid modernization strategies. This transformation involves the integration of renewable energy sources (RESs) into medium and low-voltage distribution networks particularly [1]. The power electronics-based interfacing devices play a crucial role along with energy storage devices (ESDs) to bring a stable operation. Due to these nonlinear devices, microgrids in the present scenario experience higher levels of harmonics and encounter power quality challenges with the pace of increase in RES integration. As a result, a wide range of disturbances such as voltage and current fluctuations, power factor variations, reactive power demands, transients, swell, sag, harmonics, noise, and notches need to be focused and remedial measures are to be taken to avoid the negative impact on the system performance [2]. From an operational point of view, PQ degradation is predominantly influenced by various factors including changes in utility load conditions, line switching events, nonlinear capacitive and inductive loads, fault conditions, and grid stability. Furthermore, noise contamination at various levels causes a number of PQ disturbances to be exaggerated and complex in form, which significantly contributes to a general drop in PQ [3]. These disturbances have significant repercussions on system operation, including disruption of digital equipment, unexpected trips of circuit breakers and protection relays, and potential damage to sensitive devices such as microprocessor-based gadgets and computers [4, 5]. The first step towards considering these issues in real-time conditions is to monitor, detect, and analyze the PQDs and that helps further steps at the design and implementation level to provide the remedial measures for the low PQ in the system. To effectively address PQ issues, it is crucial to diagnose them following the IEEE-1159 standards [6]. Looking at the criticality of detecting and classifying PQ disturbances in a smart grid, a hybrid approach that prioritizes monitoring and utilizes appropriate diagnostic techniques is necessary. This critical problem is considered as the primary objective and a necessity for a better approach to diagnosing PQDs is the major motivation for this study.

Fast Fourier Transform (FFT) and its variants such as the Discrete Fourier Transform (DFT) and the Short Time Fourier Transform (STFT) are initially popular due to their useful time and frequency analysis properties and simplicity of implementation [5, 7]. Although DFT excels at detecting long-term trends in PQD signals, due to the nonstationary characteristics of power signals, it is unable to identify sudden changes in PQ occurrences [8]. Apart from that due to aliasing effects, picket fencing, and leaking, FFT is unable to accurately determine amplitude, frequencies, and phases in many conditions. The fundamental limitation of the STFT technique that prevents it from being widely used in the investigation of PQ events is its limited resolution in time and frequency [9]. Because of the inherent higher signal-to-noise ratio and higher resolution in the time-frequency domain, the Gabor–Wigner Transform (GT) was a viable alternate option for the PQ analysis. However, the major limitations of the GT like its complex calculation technique and limited high-frequency applications restrict its use in the PQD analysis. With advantages including efficient phase correction, a tunable window size, and a more complete time and frequency representation of signals, the S-transform, a combination of the wavelet transform (WT) and STFT, has found widespread use in PQ analysis in the past two decades of research [10, 11]. Due to drawbacks such as the centre frequency dependence of the frequency window, the constant width of the Gaussian window, and the increased processing time, it fails to result in better performance for PQ analysis [3]. Hilbert–Huang Transform (HHT) is a two-step method that utilizes Empirical Mode Decomposition (EMD) and Hilbert transform (HT) to instantly recover required frequency and amplitude information [12]. HHT’s primary drawback is its limited usefulness in a wide variety of contexts [4]. The PQ signals are broken down into individual band-limited intrinsic mode functions (BLIMFs) using variational mode decomposition (VMD) [13]. VMD is superior to EMD in its ability to continually and adaptively ascertain frequency bands and estimate related modes. However, the VMD’s principal restrictions are the signal onset and boundary effects. VMD is challenging to apply due to the spectral bands of the modes fluctuation due to the nonstationary nature of PQ occurrences [5]. Another promising method based on Mathematical Morphology (MM) is employed in many detection-based situations [14] because it requires fewer processing tasks and makes use of a simple set and arithmetic theory. However, the MM technique becomes less effective, in particular, with large datasets [5]. All the methods have their pros to perform better for PQ detection and cons to improve for better performance. Even though extensive research has been done, the major research gap is to provide a better approach for feature extraction through signal transformation to analyze the nonstationary PQ power signals.

The electrical power industry has recently shown a growing interest in classifiers based on artificial intelligence [4, 5]. Neural network- (NN-) based classifiers have significant mathematical flexibility and a high percentage of classification accuracy. However, they are less effective due to the need for extensive training with large datasets in noisy real-time environments and complex signal analysis conditions [1518]. In addition to that the major limitation of NN is its slow convergence speed and its dependency on the underlying system design and parameters. Using rule-based and membership-degree techniques, Fuzzy Logic- (FL-) based classifiers are modelled and able to classify accurately even with overlapping and uncertain signal features [19]. However, the major shortcoming of FL is its need to change the existing topology and system parameters in the case of different sets of datasets for PQ analysis. In addition to the aforementioned techniques, digital filtering and MM, rule-based decision trees, and expert systems are other prominent techniques used as classifiers for PQDs [15, 2025]. It is an open area of research to date to provide a better classifier for the PQ analysis having robust and consistent performance, reduced computational burden, noise tolerance, and high accuracy.

A four-stage approach is followed in this study as shown in Figure 1. In the first stage known as the data acquisition stage, the nonstationary power signals under various PQ disturbances are recorded in both synthetic data form from mathematical modelling and experimental data form from the prototype model. Based on the data taken from various PQDs, a signal processing technique is applied to compute the most dominant and sensitive features characterizing the PQ signals in the second stage known as the feature extraction stage. In this study, the OTQWT technique is suggested. In stage 3, known as the classification stage, a classifier as a pattern recognition technique is used to accurately classify and detect the PQ signal. In this study, ISVM is suggested. In stage 4, decision stage, the hybrid approach comprised of OTQWT and ISVM is suggested to detect the types of disturbances.

In this study, the key contributions to the identification of PQDs are as follows:(i)The study presents a feature extraction methodology for PQDs based on OTQWT. The OTQWT enables the extraction of five informative characteristics in terms of dominating features that facilitate precise classification. Furthermore, the study addresses the limitations of WT and Empirical Wavelet Transform (EWT) techniques in handling nonstationary PQD signals by successfully implementing OTQWT.(ii)The classification of PQDs is performed using the ISVM technique. Compared to traditional SVM and Least Square Support Vector Machine (LSSVM) classifiers, ISVM demonstrates superior accuracy in classifying PQDs. This PQ event recognition method looks at all possible single and complex power quality events, with and without noisy conditions.(iii)The optimized TQWT is suggested based on the APSO titled OTQWT avoiding the randomly selected system parameters.(iv)The efficacy and validity of the OTQWT-ISVM hybrid method are substantiated and verified through extensive simulation results and testing using hardware prototypes.

The rest of the paper is organized as follows. In Section 2, stage 2 of the proposed approach, feature extraction through the OTQWT is presented in detail. In Section 3, stage 3 of the approach, classification based on the ISVM is detailed. The result analysis based on the synthetic data is presented in Section 4. In addition to this, the result analysis by the prototype experimental setup with experimental data is illustrated and analyzed. Finally, the paper concludes with its critical findings as the concluding remarks of the study with the future scope of the work.

2. Feature Extraction by OTQWT

2.1. Basics of WT

The ability of WT to analyze the local discontinuities of the signals can be best used for steady-state analysis and the analysis of signals in various fields having nonstationary characteristics [26]. The PQDs of the power system have nonstationary characteristics; hence, the WT is preferred as a suitable tool for PQD detection. The continuous signal in the Continuous WT (CWT) form can be mathematically expressed with the wavelet function as

In (1), the scale and translation parameters are represented by the constants a and b, respectively. The scale parameter a provides the oscillatory frequency and wavelet length. The shifting position is well represented by b, the translation parameter. Each scale has a series of wavelet coefficients, which are the output and represent the comprehensive PQ signal [27]. The superfluous information in practical applications of CWT makes it unsuitable for signal analysis. The Discrete WT (DWT) is found more appropriate for analysis of the PQDs and can be expressed aswhere and represent the scaling parameter and the translation parameter, respectively. The discrete point sequences represented by are considered the discrete form of the continuous-time signal . Depending on the type of data used in WT applications, selecting the mother wavelet type has a significant role in analyzing the signal. Among different types of mother wavelets, the Daubechies mother wavelet at scale 4 (db4) has a significant role in feature extraction and is widely used for different applications [28].

2.2. Empirical Wavelet Transform

Based on the signal’s maxima, the Empirical Wavelet Transform (EWT) is an adaptive sub-band decomposition method [29]. The range of the frequency considered in EWT is and the spectrum is symmetric around . The range of the existing segment is between , and the segment is denoted as . The empirical wavelets in the bandpass filter on each segment are . Signal empirical wavelets’ inner products give detailed coefficients, , as follows:where denotes the empirical wavelet function and is represented as

2.3. Optimized Tunable Q Wavelet Transform (OTQWT)
2.3.1. Tunable Q Wavelet Transform (TQWT)

TQWT is a recently developed transform designed in such a manner to adjust the factor more easily and continuously [30]. The main motivation for developing TQWT is to represent oscillatory signals efficiently. Modifying the Q factor of the wavelet transform to reflect the signal’s oscillatory nature allows for a sparse representation of the oscillatory signals. The improved sparsity enhances the performance of the signal processing algorithms based on sparsity in the application fields of signal separation, classification, denoising, and deconvolution. The easily specified input arguments of the TQWT are -factor (), total oversampling rate (), and the number of decomposition stages (J) [31]. The oscillations of the wavelet and the frequency response overlapping are managed by the parameters and respectively. Each frequency response becomes more truncated as Q rises, resulting in an increased number of decomposition levels across the same frequency range. The increase in for a fixed value of results in the overlapping of adjacent frequency responses and demands an increase in levels of decomposition to mask the same frequency range. Using the nonrational transfer function makes this transform suitable for the frequency domain. The low-pass sub-band signals can be filtered using a two-band filter bank to achieve a multistage decomposition using TQWT. Figure 2 represents the J-level tunable wavelet decomposition (TQWD).

A high-pass sub-band (HPS) signal with as the sampling frequency and a low-pass sub-band (LPS) signal with as the sampling frequency are generated from the input oscillatory signal with a sampling rate of [30]. and are the scaling parameters. After applying the low-pass filter, , and the low-pass scaling, LPS , we obtain the low-pass sub-band. High-pass sub-bands are also realized with high-pass filters, such as and HPS . Low-frequency signal components are maintained by LPS , while high-frequency signal components are maintained by HPS [31]. The low-pass and high-pass filters used in TQWT are represented in (5) and (6), respectively

The frequency response of the two vanishing moments of the Daubechies filter can be represented by , which is the 2-periodic power complementary function. can be expressed as [31]

The same filter bank applied for decomposition may be used to reconstruct the initial input signal. The expression of the parameters and in terms of and is as follows:

After decomposing the input signal into J levels, we get a frequency response in sub-band-J with a centre frequency of and a bandwidth of BW.

2.3.2. Optimized Tunable Q Wavelet Transform (OTQWT)

The application of TQWT is found in several signal decompositions for its ability to tune the parameters and following the nonstationary behaviour of the signal. The empirical choice of the fixed decomposition parameters , and J may result in higher reconstruction error and increase the chances of misclassification and performance degradation. Each highly nonstationary PQD signal may require unique decomposition parameters for enhanced approximation and decomposition. The OTQWT is proposed as a solution to the problem of TQWT’s decomposition parameters being chosen empirically. Decomposition parameters are selected by the OTQWT in an adaptive fashion that takes into account the specifics of PQD signals. When parameters are chosen correctly, the amount of reconstruction error is minimized, and the optimal number of sub-bands is achieved. For a better collection of information from the extremely oscillatory signals, the value of is chosen as ≥ 1. The selection of the value of the redundancy rate () ≥ 3 results in better time-domain localization. To collect detailed information about the signal, it is required to select an optimized value of and . Equations (9) and (10) represent the frequency response of LPS and , respectively.

The LPS and HPS frequency responses are governed by the low-pass scaling parameter and the high-pass scaling parameter . and collect information about the low-frequency and high-frequency components of the signal, respectively. So, the proper selection of and is essential to follow the highly complex behaviour of the PQD signals. Equations (11) and (12) denote the expression of high-pass scaling () and low-pass scaling , respectively.

Properly selecting the decomposition level has an important role in restricting the vanishing sub-bands. The number of decomposition levels is kept smaller than the maximum for better performance. The maximum decomposition level () can be expressed as

From equations (11)–(13), it can be observed that the quality factor and redundancy rate have full control over the values of and and the selection of the maximum level of decomposition. The finding of optimum values of and results in obtaining the optimal values of , , and . In this technique, the values of and are selected following the nature of the PQD signals. The PQD signal in its decomposed form can be represented aswhere denotes the approximated signal found by inverse OTQWT and denotes the error of decomposition. The inverse OTQWT gives the approximated signal and can be expressed aswhere denotes the level sub-band of OTQWT.

Figure 2 reveals that the sub-bands of the TQWT are more dependent on the low and high-pass scaling and the LPS and HPS frequency responses. So, the optimum values of the parameters and ensure an enhanced signal approximation. The manual selection of the parameters and for minimum error in the decomposition of the PQD signals is a monotonous task. For a better matching of the approximated signal with the original signal , the application of optimization techniques is required for the adaptive selection of these parameters. Equation (16) represents the objective function, , used for optimization.

The search for each optimization algorithm begins with the primary set of values of the solution. This technique uses PSO to minimize the decomposition error. In PSO, the movement of the entire population is towards the fittest individual for the generation of the new population. Equation (17) denotes the updated expression of the PSO.where and denote the personal solution and global best solution, respectively; denotes the particle velocity and denotes particle position; and are the personal and social cognitive factors; and and represent the constriction factor and inertia, respectively.

After obtaining the optimum values of the parameters and , the maximum number of decomposition levels is computed according to (13). For each PQD signal, different values of are computed. To have the same decomposition level for each PQD signal, the optimum decomposition level is obtained in terms of , as shown in the following equation:where N denotes the number of PQD signals.

The proposed OTQWT algorithm is as follows (Algorithm 1).

(1)Initialize and
(2)Get using equation (13)
(3)Decompose the signal by OTQWT using and
(4)Obtain the approximate signal using inverse OTQWT with and N (number of samples)
(5)Find the mean square error, using equation (16)
(6)While (min(MSE)) do
(7)If (MSE = = min) then
(8)Optimum and
(9)Else
(10)Iterate with different and
(11)End if
(12)End while
(13)Choose the values of and for minimum MSE
(14)Find from and for each signal
(15)Repeat steps 1–14 for each PQD signal
(16)Find the optimum decomposition level from using equation (18)
(17)Decompose the PQD signal by OTQWT using and

The major limitations of WT are shift sensitivity, poor directionality, lack of phase information, redundancy, and impracticality. The EWT, however, addresses some of the limitations of WT, but it has its limitations of slow running and causes puzzling empirical modes due to frequency domain division. OTQWT addresses the above limitations of WT and EWT and gives better performance for feature extraction than WT and EWT.

2.4. PQD Generation and Signal Transform

Twelve distinct single-type and complex hybrid PQD signals are used to evaluate the suggested method. Following IEEE-1159 [6], single-type and complex hybrid synthetic PQDs are created. The windowed signal for this PQDs investigation was sampled at 3.2 kHz in a 50 Hz system. All PQD signals are 12 cycles in length.

There are 12 distinct PQD signals taken into account here. Sag, swell, momentary interruption, harmonics, spike, notch, impulsive transient, flicker with sag, flicker with swell, sag with harmonics, swell with transient, and flicker with harmonics are represented by PCL1, PCL2, PCL3, PCL4, PCL5, PCL6, PCL7, PCL8, PCL9, PCL10, PCL11, and PCL12, respectively. The effectiveness of the proposed method is evaluated by using real-time experimental signals and combining them with noise signals. In Section 4, we provide a comprehensive breakdown of how to generate various PQ occurrences through both simulation and hardware prototyping.

The transform techniques, i.e., WT, EWT, and OTQWT, are applied to different PQD signals; their results are illustrated in Figures 38. Figure 3 demonstrates the WT application on PQD signals like Voltage Sag, Voltage Interruption, Harmonics, and Swell with Harmonics. This figure shows the pictorial form of the above PQD signals and their WT coefficients at 10, 30, and 50 scales. Figure 4 demonstrates the EWT application on PQD signals like Voltage Sag, Voltage Interruption, Harmonics, and Swell with Harmonics. This figure shows the pictorial form of the above PQD signals and Multiresolution Analysis (MRA) at levels 1, 2, 3, and 4. The OTQWT of the harmonics signal is shown in Figure 5 as follows: (a) test signal, reconstructed signal (basic component), an error signal, (b) wavelet sub-bands, (c) frequency response, and (d) wavelet and low-pass scaling function at level 10. The OTQWT of the Sag signal is shown in Figure 6 as follows: (a) test signal, reconstructed signal (basic component), Error signal, (b) wavelet sub-bands, (c) frequency response, and (d) wavelet and low-pass scaling function at level 10. The OTQWT of the interruption signal is shown in Figure 7: (a) test signal, reconstructed signal (basic component), Error signal, (b) wavelet sub-bands, (c) frequency response, and (d) wavelet and low-pass scaling function at level 10. The OTQWT of the complex hybrid disturbance (Swell with harmonics) signal is shown in Figure 8: (a) test signal, reconstructed signal (basic component), Error signal, (b) wavelet sub-bands, (c) frequency response, and (d) wavelet and low-pass scaling function at level 10.

2.5. Feature Extraction

The relevant and most effective features are extracted from the transformed components of the signals after the WT, EWT, and OTQWT transform of the signals. The following five types of features are found to be most effective for characterizing the PQD signals and are explained below.(1)1: The RMS value of the fundamental component of the cycle is expressed asThe order number of the signal cycles is denoted by n, where n= 1, 2, …, 10. denotes the samples present in a cycle; denotes the fundamental signal after sampling and is obtained by OTQWT; represents the fundamental rms vector calculated as follows:(2)2: It denotes the variations of rms values of the input signal:where denotes the rms of the cycle of the signal. The feature is expressed as(3)3: The rms value oscillation of the PQ signal is found as follows:The feature​ 3=NZ​ denotes the number of zero crossings found in the oscillation vector, .,​ denotes the low-frequency form of the interharmonics or flicker.(4): This feature helps to recognize the presence of harmonics and transients. The rms value of the high-frequency harmonics of the cycle can be computed aswhere denotes the harmonic signal having frequency components 300 Hz and above. The per cycle high-frequency harmonic distortion is computed asThus, the fourth feature refers to the mean distortion values of these high-frequency harmonics.(5): The fifth feature is the standard deviation of the fundamental rms vector, as given below:

3. ISVM Classification Method

3.1. Support Vector Machine (SVM)

One of the supervised classification techniques widely used in machine learning is the support vector machine [32]. In order to create a model, SVM has been trained using the training data and class labels , where belongs to and belongs to . The class of the new testing samples can be predicted using this model. Creating a hyperplane to maintain a maximum margin between adjacent classes is the main idea behind SVM. The hyperplane reduces the generalization error while classifying a new data point. For a two-class problem, a straight line is used for the separation, but in multidimensional space, a hyperplane separates different classes [33]. In clustering data points, where the linear separation does not work, the data points are mapped into higher dimensional feature space to make the linear separation possible. The same hyperplane is linear in feature space but is nonlinear in the respective input space.

The objective of SVM is to create a hyperplane in a two-case scenario with two variables, and can be expressed in the form with and as the bounding planes. The scalar b denotes the bias term. The appropriate and b are found during the training stage of SVM [34]. The decision boundary is found as once the values of and b are obtained. Here denotes a vector. On the arrival of new data points, the label is found with the help of the function as follows:

3.2. Least Square Support Vector Machine (LSSVM)

The LSSVM is the modified form of SVM proposed by Suykens and Vandewalle [35]. The inequality constraints of SVM are replaced by equality in LSSVM. The training speed of SVM is increased by implementing the gradient function as an empirical risk function and using equality constraints in LSSVM. The squared error and the loss function of the training set are summed as LSSVM.

Considering as a training set with N number of items, the formulation of the optimization problem for the prediction of functions may be formulated aswith the equality constraintswhere denotes a function that maps the input data into a higher dimensional feature space, denotes the weight vector of the initial weight area, denotes error parameter, denotes the bias term, denotes the input data, and denotes the output data.

The Lagrangian can be introduced aswhere Lagrangian is the factor vector.

The optimization conditions are as follows:

The prediction of the LSSVM function is as follows:

3.3. Incremental Support Vector Machine (ISVM)

The support vector machine (SVM) is a widely used, sparse, and robust binary classification model. The approach of the SVM is to maximize the classification interval in binary classification by optimizing the hyperplane in the feature space [3234]. The kernel function enables SVM to solve nonlinear and high-dimensional classification problems. This approach makes the problem linearly separable by mapping the low-dimensional space samples to high-dimensional space samples. An incremental support vector machine (ISVM) is proposed to train data online compared to the batch import of training data, as in the case of SVM. ISVM accommodates new samples by gradually adapting the parameters instead of repeatedly training all samples [3537]. The brief introduction of ISVM is as follows:(i)For the generation of an ISVM, it is necessary to create a discriminant function learned from the samples . That implies solving a problem of quadratic programming:The first term denotes the maximized interval distance, and the second represents the regularization term. denotes the penalty parameter and denotes the slack variable used for building a soft margin.(ii)The quadratic program in its dual form is used to deal with the nonlinear issues and is expressed aswhere and K denotes the kernel function, which simplifies the calculation and does the mapping of vectors to a high-dimensional feature space.(iii)The discriminant function of the dual form SVM is expressed as(iv)The Karush–Kuhn–Tucker (KKT) cases describe the solution of dual parameters by the first-order conditions on L:(v)The training samples are categorized into three cases according to the KKT conditions: the set of margin support vectors () with , the set of error support vectors () with , and the set of the remaining vectors () with .(vi)In the incremental learning process, the coefficients of the margin vectors change simultaneously as soon as the new samples are introduced continuously to satisfy the KKT conditions for the already trained samples. The KKT conditions for a new sample taken as a candidate support vector may be differentially represented asThe changes in coefficients must satisfy the following conditions as for the set of margin vector . The condition is as follows:where denotes a symmetric nonpositive definite Jacobian matrix:Then it may be found aswith coefficient sensitivities as follows:where and , outside . Now, the KKT conditions in (37) become(vii)To affix the candidate vector m into the margin vector set , is extended as

On the contrary, extracting a vector k from , is reduced as

Therefore, when a new sample m is combined with the training dataset , then the solution of the parameters is revised corresponding to the candidate , the recent solution, and the inverse Jacobian matrix .

The summarized incremental procedure is as follows:(1)Initialize to zero, and calculate ;(2)If , stop (m does not represent error or margin vector);(3)If , do the highest attainable increment , to ensure one of the following situations:(a): Margin set to be added with m, do the corresponding upgradation of and stop;(b): Error set is to be added with , stop;(c)Elements belonging to ​ move across , , and : Do the membership upgradation of elements and repeat Step 3. If is changing, then do the upgradation of , subsequently.

The SVM classification method performs poorly for large datasets and noisy conditions. A high training time and no probabilistic-related explanations for classification make SVM a poor performer. On the other hand, LSSVM has a poor performance on chaotic input data samples. It consumes a lot of time and requires a priori knowledge for the parameter-optimized methods. The above limitations of SVM and LSSVM are well addressed in ISVM.

4. Result Analysis and Discussion

4.1. Simulation

Twelve distinct single-type and complex hybrid PQD signals are used to evaluate the suggested method. Following IEEE-1159 [6], single-type and complex hybrid synthetic PQDs are created. Each of the twelve PQDs has a fundamental frequency of 50 Hz and is sampled at 3.2 kHz. In this analysis, a windowed signal of 12 cycles per PQD is taken into account. There are a total of 1200 samples in the database, and 100 of each PQD are used in the experiment. The effectiveness of the proposed strategy was further tested in an experiment with noise levels of 20, 30, and 50 dB. The database has been split so that 60% of it displays training data and 40% displays testing data. All of the work in this experiment was done in MATLAB R2018. The Lenovo laptop with 4 GB of RAM and a 2.20 GHz processor is used to run the proposed algorithms.

4.2. Hardware Experimental Setup

The hardware prototype consists of (i) 1KΩ, 300 V, 2A resistive load, (ii) nonlinear inductive and capacitive loads, (iii) a DAQ of National Instrument make (USB 6001), (iv) a 230/6 volt single phase transformer, and (v) a computer with LabVIEW and MATLAB software. Different load-switching and fault conditions are maintained to experiment with the generation of different PQD signals. A step down of the voltage at 0–6 volt range has been maintained to get data for the computer using USB 6002 DAQ. The data acquisition is performed using LabVIEW 2018 and the NI-DAQmx 18.0.0 device driver. Information is sent between LabVIEW and MATLAB using the TCP/IP connection. The computerized experimental setup is depicted in Figure 9. A recorded waveform from the load is shown in LabVIEW and MATLAB in Figure 10. Load circumstances of linear and nonlinear loads under varying switching conditions generate distinct PQD signals.

Twelve groups of separate and combined PQD signals have been used to categorize the efficacy of the proposed technique. The fundamental frequency in this implementation is 50 Hz, and the sampling frequency for PQD is 3.2 kHz. All PQD signals are 12 cycles in length. There are a total of 1200 samples in the database, 100 from each PQD. An experiment was also conducted in noise conditions (with noise levels of 20, 30, and 50 dB) to measure the efficiency of the proposed strategy.

As evidenced by four separate classification methods, the superior performance of the proposed OTQWT-ISVM-based PQDs detection and classification method is justified. Different PQD signals are taken into account, and their distinguishing characteristics are retrieved. The retrieved features serve as input data for the ISVM classifier, which determines the precise type of PQD. To evaluate the effectiveness of the suggested method, 1200 datasets are used, 100 from each of the 12 class labels. This work follows the common practice of using 60% of the dataset for training and 40% for testing. Classification results for the OTQWT-ISVM method are shown in Tables​ 1​ through Table 2 for both noise-free and noisy (20, 30, and 50 dB) settings.

In the feature extraction phase, five features are extracted from 12 cycles of windowed PQ disturbance signals. The effectiveness of PQD patterns is evaluated using the classic support vector machine (SVM) and the LSSVM that it inspired. Classification results for simulated MATLAB implementations of SVM and LSSVM hybrids with WT, EWT, and OTQWT approaches are presented in Table 3. Overall classification accuracy can be calculated as the fraction of PQDs that were correctly identified out of all PQDs that were tested. Table 4 displays the noise and noise-less classification accuracy of the WT-ISVM, EWT-ISVM, and OTQWT-ISVM. It can be shown that OTQWT-ISVM performs well in the presence of noise and has a higher classification accuracy rate.

The observation based on the simulation results reveals better detection and classification by OTQWT-ISVM compared to EWT-ISVM and WT-ISVM approaches. Table 5 represents the comparison considering the time for training, time for testing, Root Mean Square Error (RMSE) for training, RMSE for testing, and classification accuracy of OTQWT-ISVM in the noise-less and 20 dB noise addition conditions for different values of Q and r.

Taking into account the expressions listed below [38] might help to evaluate the success of your real-time PQD monitoring system.

For this analysis, we will refer to the plane voltage sinewave as the ideal positive signal and to all PQ events as the ideal negative signal. Sensitivity is the faultless quality of the hardware system’s power supply, whereas specificity denotes its flawed qualities.

To prevent precarious power outages, a real-time PQD monitoring system is mandatory. Table 6 displays the results of testing the proposed OTQWT-ISVM-based real-time hardware PQ event monitoring system with 12 different real-time PQDs and 25 different training chunk sizes. Classification accuracy is 99%, and specificity is 98.91%; nevertheless, PCL1, PCL2, PCL5, and PCL10 are among the true PQDs that were incorrectly labelled. Performance-wise, the suggested OTQWT-ISVM method outperforms both the WT-ISVM and EWT-ISVM approaches.

The effectiveness of the proposed method has been demonstrated by analyzing the nonstationary power signals of PQDs in real time, despite the presence of noise. All cases include computation time, accuracy percentage, and confusion matrix. The proposed method is reliable, robust, and fast because it yields the same result across cases with varying conditions with higher accuracy and less computational time. There was a greater detection accuracy on PQD data in Case-1. Cases 2–4 with 20 dB, 30 dB, and 50 dB of noise contamination, respectively, have no negative effect on the proposed method’s performance. Minimal computational time is fast enough for real-time uses.

4.2.1. Case-1: Process of Classification

In this case, the 1200 extracted datasets are used to evaluate the performance of the proposed approach. Training and test data are used to provide a comprehensive evaluation of performance as shown in Tables 1 and 7.

4.2.2. Case-2: Process of Classification

Here, real-time datasets of PQDs are subjected to a noise addition of 20 dB to test the proposed method for detection and classification accuracy. Numerous studies have found that taking 60% of noisy PQD data for training and 40% for testing is optimal. Tables 8 and 9 show results that support the improved efficiency of the proposed method. Both sets of findings demonstrate the effectiveness of the proposed method, which maintains high precision even in the presence of 20 dB of noise contamination.

4.2.3. Case-3: Process of Classification

PQD datasets with 30 dB of added noise are used to evaluate the effectiveness of the proposed approach based on the OTQWT and ISVM classifiers. Tables 10 and 11 show the obtained results, which demonstrate the effectiveness of the proposed method with a high rate of accuracy and robustness.

4.2.4. Case-4: Process of Classification

Here, PQD data with 50 dB of added noise are used to test and defend the proposed method for PQD detection and classification. Tables 2 and 12 summarize the findings. The outcome validates the robustness, reliability, and effectiveness of the proposed approach’s classifier under a variety of conditions, reflecting the approach’s performance.

4.3. Comparison with Other Methods

The overall accuracy of the proposed method is compared in Table 13 to that of the recently published conventional DWT and ST-based PQD detection techniques. With 50 dB of added noise, OTQWT-ISVM-based classifiers have the highest overall accuracy (99.64%) of all the recently published methods [39]. An accuracy of 94.37 percent, 96.5 percent, and 98.7 percent is achieved, respectively [39], when a DWT feature extraction process is combined with classifiers such as a neural network-based approach, a neuro-fuzzy system, and a rule-based expert system. Zhang et al. [39] proposed a PQD classifier based on WPT and multiclass support vector machine (MSVM) with 96.8% classifying accuracy using only seven types of single PQ disturbances. An enhanced ST with a DT classifier for PQ detection has been proposed [39], with an accuracy of 98.5%. We propose a 97.4% accurate rule-based expert system (RBES) and probabilistic neural network (PNN) using ST-based feature extraction [39]. However, from the perspective of real-time applications, the computational burden is the main issue for all the suggested techniques, in addition to the need for higher accuracy and reliable performance. By considering these aspects, the present research has successfully derived computations that exhibit enhanced efficiency resulting in an impressive overall accuracy of 99.64 percent. The proposed method has the additional benefits of being easy to implement and delivering consistent results across a wide range of operational contexts. However, the proposed approach shows less overall accuracy in comparison to ST with FES-CF with a very low gap of deviation of 0.16 percent. This may occur as both methods are tested under many dissimilar conditions like different types and numbers of PQ events and different types of features and noise conditions. However, the proposed approach has the edge over other compared methods in terms of simplicity in formulation, easy way of application, and the possibility to apply for large and complex databases with robustness and reliability in PQ analysis and computation.

5. Conclusion and Future Scope

A novel hybrid approach is proposed to improve the detection and categorization of PQ disturbances. This approach combines OTQWT and ISVM. By applying segmentation and normalization techniques with OTQWT, dominant feature vectors are computed to effectively characterize different types of PQ signals. These feature vectors are then utilized as inputs for classification using an ISVM classifier. To enhance the performance of OTQWT in terms of accuracy and computational efficiency, the integration of PSO is suggested. Furthermore, incremental learning is recommended to improve the effectiveness of the SVM classifier. The proposed hybrid approach has undergone extensive testing on hybrid and individual datasets, considering various noisy conditions ranging from 20 dB to 50 dB. The results demonstrate the efficacy and feasibility of the approach for real-time application.

The key findings of this study are as follows. Firstly, the optimization of TQWT significantly influences the identification of optimal feature sets, resulting in improved accuracy and computational speed. The integration of PSO plays a crucial role in the proposed hybrid method. Secondly, the performance of the ISVM classifier relies on the effective adaptation of continuous training datasets. Incremental learning becomes a critical process for enhancing overall performance. Thirdly, the proposed hybrid method exhibits superior performance. However, in complex distribution systems characterized by power electronics devices, nonlinear loads, noise and harmonic interference in power signals, and monitoring device faults with missing data, the proposed approach may not yield significantly improved results. Moreover, it is crucial to acknowledge that the efficacy of the suggested approach might be influenced by various uncertainties. In such scenarios, alternative methodologies, such as fuzzy logic and deep learning, have the potential to substitute evolutionary-based optimization methods. Looking ahead, the effective management of extensive, intricate, and distorted signals within real-time systems will necessitate the advancement of methodologies. Enhanced techniques will be indispensable for effectively addressing these challenges.

Data Availability

The data used to support the findings of the study can be obtained from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.