Figures
Abstract
To further enhance the residual current detection capability of low-voltage distribution networks, an improved adaptive residual current detection method that combines variational modal decomposition (VMD) and BP neural network (BPNN) is proposed. Firstly, the method employs the envelope entropy as the adaptability function, optimizes the [k, ɑ] combination value of the VMD decomposition using the bacterial foraging-particle swarm algorithm (BFO-PSO), and utilizes the interrelation number R as the classification index with the Least Mean Square Algorithm (LMS) to classify, filter, and extract the effective signal from the decomposed signal. Then, the extracted signals are detected by BPNN, and the training data are utilized to predict the residual current signals. Simulation and experimental data demonstrate that the proposed algorithm exhibits strong robustness and high detection accuracy. With an ambient noise of 10dB, the signal-to-noise ratio is 16.3108dB, the RMSE is 0.4359, and the goodness-of-fit is 0.9627 after processing by the algorithm presented in this paper, which are superior to the Variational Modal Decomposition-Long Short-Term Memory (VMD-LSTM) and Normalized-Least Mean Square (N-LMS) detection methods. The results were also statistically analyzed in conjunction with the Kolmogorov-Smirnov test, which demonstrated significance at the experimental data level, indicating the high accuracy of the algorithms presented in this paper and providing a certain reference for new residual current protection devices for biological body electrocution.
Citation: Bai Y, Zhang X, Wang Y, Wang L, Wei Q, Zhao W (2024) Residual current detection method based on improved VMD-BPNN. PLoS ONE 19(2): e0289129. https://doi.org/10.1371/journal.pone.0289129
Editor: Nebojsa Bacanin, Univerzitet Singidunum, SERBIA
Received: February 14, 2023; Accepted: July 11, 2023; Published: February 8, 2024
Copyright: © 2024 Bai et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the paper and its Supporting Information files.
Funding: The author received no specific funding for this work.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Residual current operated protective devices (RCD) are important safety devices widely used in rural low-voltage grids. However, the presence of numerous interfering signals mixed with the residual current during grid faults can significantly reduce the detection accuracy of RCD, leading to frequent instances of false tripping and non-tripping. [1]. In recent years, with the rapid development of modern signal processing technology, many domestic and foreign scholars have proposed a variety of methods to improve the accuracy and speed of residual current detection, such as wavelet analysis, Empirical Mode Decomposition (EMD), neural networks [2,3] and other algorithms have been applied to residual current detection, combining these emerging technologies with RCD to further improve the reliability of RCD. For example, X. Xiao et al. proposed the adaptive filtering detection method [4], which achieves adaptive current detection by noise reduction and residual current separation of the measured current, but the N-LMS model has the disadvantages of too slow convergence and low detection accuracy; H. Yan et al. proposed the EMD detection method [5], which uses the characteristics of the time-frequency domain change of residual current as the basis for determining the occurrence of electrocution faults, which is better improved accuracy, but the detection is prone to problems such as modal mixing and endpoint effects; C. Li et al. performed the detection of residual current by combining VMD with LSTM [6], which has certain advantages due to LSTM in sequence modelling problems with long-time memory. Therefore, it can accurately handle large sample data and improve detection accuracy. However, LSTM increases the time span and increases the computational effort when dealing with larger magnitude sequences; S. Wu proposed a residual current detection model based on wavelet entropy, using Auto Encoder to extract feature information and BPNN (WE-AE-BP) for classification to achieve the detection and classification process of residual currents [7].WE needs to set up the fundamental wave, decomposition layer in advance, threshold and threshold function, which reduces the adaptability of the algorithm. X. Xiong proposed a residual current detection model based on sample entropy [8], which extracts the BESC (Bioelectric shock characteristic) to determine whether the electrocution is applied, but strong noise and high frequency harmonics can greatly interfere with the experimental results.
Previous studies have shown that modern signal processing techniques can be used for residual current detection and have achieved good results. However, there are still some drawbacks, such as the need for manual parameter settings in methods like WE, EMD and VMD, which greatly affect the accuracy of the data. Additionally, the BESC and LMS methods perform poorly in high-noise environments and have lower accuracy. In this paper, VMD is combined with BFO-PSO to adaptively select parameters, reducing the randomness of manual parameter settings and improving the accuracy of detection. This provides a data foundation for future research directions, such as combining machine learning and big data analysis, for residual current prediction and classification [9].
BP neural networks have the advantages of having fewer weight parameters and stable parallel processing. By back-propagating the errors, the weights and biases of the neurons in each layer are iteratively updated, which greatly improves the accuracy of residual current detection. Therefore, this paper uses BPNN for residual current detection. In practical applications, the collected residual current signal is usually mixed with a large amount of noise, which affects the accuracy of detection. Considering that VMD is sensitive to noise and can effectively handle non-linear and non-stationary signals, VMD is chosen to pre-process the residual current signal. Unlike previous works, the number of decomposition layers and penalty factor of VMD need to be set in advance. In this paper, a combination of the Bacterial Foraging-Particle Swarm Algorithm is proposed to adaptively select the optimal value of VMD decomposition layers and penalty factor. To solve the problem of inaccurate information extraction caused by the aliasing effect that may exist in VMD, the IMF is divided into mixed and noisy components by introducing the mutual relation number R [10]. Due to its simplicity, efficiency, and ease of implementation, LMS has been chosen to further extract information from the mixed components in order to enhance the accuracy of the information. Building upon this, a residual current detection model was constructed by combining the BP neural network, which was used to predict the residual current signal. This paper provides a statistical analysis of the obtained data, demonstrating the relevance and accuracy of the data. It serves as a reference for the study of a novel residual current protection device based on biological body electrocution.
In the second chapter of this paper, the structural model of the BP neural network is introduced, while the third chapter describes the VMD method for noise reduction of residual current signals. By combining BFO-PSO to optimize the number of decomposition layers and penalty factor, an adaptive VMD model is constructed. In the fourth section, further information extraction of the noise-reduced residual current signal is performed using R-LMS. The fifth chapter presents the improved VMD-BPNN model and algorithm flow. The sixth and seventh chapters respectively verify the effectiveness of the algorithm through human simulation experiments and actual data collection and analysis.
Detection principle of the BPNN
The BP neural network is a multi-layer feedforward neural network that combines forward signal transmission and backward error propagation for residual current detection. This paper uses a 3-layer neural network as an example to explain the detection principle [11]. The detection structure of BPNN is shown in Fig 1. The structure of BPNN consists of three parts: the input layer, the hidden layer, and the output layer. The training process consists of two stages: forward propagation and backward propagation. Firstly, the input signal is denoted as pm, and the output detection value is denoted as xm. The input layer receives the residual current signal Pm, and the residual current signal is propagated through each layer. The output of the hthneuron in the hidden layer is shown in Eq (1), and the activation functions of the hidden layer and the output layer are denoted asf1(x) and f2(x), respectively, as shown in Eq (2).
(1)(2)Where Wih and bh are the connection weights and thresholds from the input layer to the hidden layer, respectively. αh is the output value of the hth neuron in the hidden layer. Pm is the input residual current signal,
After the calculation in the hidden layer, the forward flow continues to the output layer, resulting in the computed output xm. At this point, the forward propagation stage is completed. Assuming that the number of neurons in the hidden layer is q, the output of the jth neuron in the output layer is shown in Eq (3).
(3)Where Whj and bj are the connection weights and thresholds from the hidden layer to the output layer, respectively.
During the process of backward propagation, if the computed output xm from the output layer has a significant error compared to the desired output, the error signal between the target output and the computed output needs to be propagated backward and the interlayer weights continuously adjusted during the iteration process. The error function and weight update formula are shown in Eqs (4) and (5), respectively. This process continues until the training error or the number of training iterations reaches the preset limit. After adjustment through the backward propagation process, the computed xm from the output layer becomes the final output detection value.
(4)(5)Where E represents the error function, xm represents the detection output value, Pm represents the residual current input value, η represents the learning rate, and W represents the interlayer weights.
Improved VMD noise reduction
In practice, the residual current signal collected usually contains a large amount of noise, which affects the detection accuracy of BPNN, so the actual measured residual current signal should be pre-processed. Variational Mode Decomposition (VMD) can effectively avoid the problems of mode mixing and boundary effects, and has the advantage of good noise immunity [12,13]. Therefore, this paper uses VMD to pre-process the residual current signal.
The principle of VMD
In the VMD algorithm, the intrinsic mode function (IMF) is defined as a bandwidth -constrained amplitude-modulation function, and the original signal is decomposed into a specified number of IMF components by constructing and solving a constrained variational problem. The constraint for constructing the variational problem is given in (6).
(6)Where x(t) is the original noisy signal, uk(t) is the kth modal component of x(t),and k is the number of decompositions of IMFs, k = 1,2,…,k. δ(t) is the impulse function, j is the imaginary unit, * denotes the convolution, ωt is the central frequency of the IMF, and the constraint is that the modal sum is equal to the input signal. In order to solve (6), a quadratic penalty factor α and a Lagrange multiplier operator λ can be introduced to convert (6) into an unconstrained variational problem, and the extended Lagrange function is expressed as (7).
(7)Using the alternating multiplier algorithm to alternately update 、 and , and solve for the optimal solution of Eq (7), the solution iteration process is described in the literature [14], which leads to expressions (8) 、(9)and(10). (8) (9) (10) where 、 、 and represent the Fourier transforms of 、 f(ω)、 λn(w) and respectively; τ is update parameters, and n is the number of iterations. The convergence condition of the iterations is shown in Eq (11). (11) where ε1 is the predetermined convergence error.
Optimisation of VMD parameters based on BFO-PSO
The number of decomposition layers K and the penalty factor α in the VMD algorithm need to be chosen artificially [15,16]. Too large a choice of K values tends to result in over-decomposition, while too small a choice results in modal conflation and loss of information. while the size of α will affect the bandwidth size of the components and affect the balance of the VMD process. Literature [1,10] proposed the instantaneous power averaging method and the interrelationship number judgment method to determine the k-value, respectively, However, all of the above methods have the disadvantage of being computationally intensive and are not suitable for time-sensitive signal processing processes. In recent years, metaheuristic optimisation algorithms have attracted much attention by virtue of their ability to quickly and accurately solve optimisation problems with multivariate functions [17,18], such as the beetle antennae search approach [19], Hybrid Moth Flame Optimization [20], etc. They can be combined with different requirements and targeted to provide specific solutions to different problems, and in this paper, the bacterial foraging particle swarm algorithm is chosen to solve the problem of adaptive parameter selection for VMD. In this paper, the basic idea of particle swarm algorithm is introduced into the bacterial foraging algorithm to construct a hybrid bacterial foraging optimization algorithm, which has good search speed and accuracy, can effectively make up for the defects of slow BFO operation and low accuracy of PSO operation, avoid the problem of local convergence, and is suitable for solving the optimization of complex functions [21]. Bacterial Foraging Optimization-Particle Swarm Optimization (BFO-PSO) has the advantages of fast global search and high operational accuracy compared to similar population intelligence algorithms such as Fruit Fly Optimization Algorithm (FOA) [22] and Ant Colony Optimization (ACO) [23], so this paper proposes the bacterial particle swarm optimization algorithm for the combination of parameters of VMD [k, ɑ] for simultaneous optimization search. The Particle Swarm finds the individual optimal position pbest and the population optimal position gbest by updating its velocity and position, and the function iteration terminates when both are in the same position. During the iteration, the Particle Swarm updates its own velocity and position as follows: (12) (13)
Where ω is the inertia weight, c1,c2 is the acceleration factor, r1,r2 is a random number between [0,1]. k is the number of iterations, is the historical optimal solution searched by the ith particle up to the kth generation, is the optimal solution searched by the whole particle population up to the kth generation, , are the current position and flight speed of the particle respectively.
BFO is optimized primarily through three behaviors: convergence, replication and dispersal, where bacteria are driven together by the release of repulsive and gravitational signals between them, where the fitness function and position update equations are shown in Eqs (14) and (15). (14) (15) where θi(j,k,l) and P(j,k,l) are the position of the bacteria in the jth convergence in the kth replication of the lth migration process and the position of each bacteria in the population, respectively, C(i) is the randomly chosen step size in [–1,1] that determines the position at the (j+1)th convergence after one step in the direction, jcc denotes the interbacterial attraction of the ith bacteria, and φ(j) represents the randomly chosen unit direction vector after rotation。
By using Formulas (12) and (13) of PSO algorithm to simplify position update in BFO, BFO algorithm can accelerate to find the optimal solution in the replication process, increase the global search ability in the dispersal process, and speed up the search for the optimal objective function. The improved formula is as follows: (16)
Considering that entropy not only responds to the uniform characteristics of the probability distribution, but also evaluates the sparse characteristics of the signal, the minimum value of the envelope entropy is chosen as the fitness function [13], where the adaptability function is as in (17) (17)
Where i = 1,2,⋯N, N is the number of signal sampling points; Ee is the envelope entropy; the envelope signal Ee after the Hilbert transform is a(i), and the normalized result is ei.
The BFO-PSO-VMD algorithm is implemented in the following steps:
- The initialization parameters of the BFO-PSO algorithm set to the number of populations sizepop = 10, the number of convergence of populations Nc = 10, the number of swims Ns = 4, the number of replications Nre = 4, the number of dispersals Ned = 2, the probability of dispersal of populations Ped = 0.25 and the learning factor c1 = c2 = 1.4995.
- Initialize the parameters 、 、 、 n and the maximum number of iterations m1 in the VMD.
- Bacterial positions are randomly initialized to generate a random vector of unit steps in any direction for each bacterium.
- Convergence cycle operation. For each bacterium, the position is updated according to the flip, and if the position is better, it swum forward.
- Update the local extremes of the individual bacteria and the global extremes of the bacterial swarm, and refer to the particle swarm algorithm formula provided in the literature [17] to update the direction of the return values of the bacteria.
- Breeding operations. For a bacterial population that has undergone a chemotaxis cycle, each bacterium is ranked according to the cumulative and type of fitness, the less well adapted half of the bacteria are eliminated and the same population of bacteria is split from the better-adapted half, inheriting the position and characteristics of the parent bacterium.
- Migration operations. After a cycle of propagation operations, a certain number of migrating bacteria is set, which is used to migrate the bacteria according to a certain migration probability, thus ensuring convergence of the algorithm and avoiding local extremes, to which the value of the combination [k, ɑ] is output.
- Calculate 、 、 according to Eqs (8) to (10);
- The convergence condition of Eq (11) is satisfied or n≥m1, the algorithm will stop iterating and output the value of the combination [k, ɑ]. The signal f(t) is decomposed into k modal components; otherwise n = n+1, return to step 8).
R-LMS signal extraction
After VMD processing, the obtained IMFs contain mixed components and noise components. In order to better extract useful information from the mixed components, this paper proposes the R-LMS information extraction method. The cross-correlation coefficient R is introduced as a classification indicator. The IMFs generated by VMD are decomposed into mixed IMFs and noise IMFs. The noise IMFs are eliminated, while the mixed IMFs undergo secondary denoising using LMS, thereby maximizing the extraction of useful information.
The R value between the original signal and each IMF is calculated as a classification index. When the value of R is R≤0.2, it is considered to indicate a low correlation between the two variables and is defined as a noise IMF. The remaining IMFs are defined as mixed IMF. The formula for the cross-correlation coefficient R is as follows: (18) where x(t) is the original signal, IMFk is the kth eigenmodal component of the VMD decomposition, Cov() is the covariance between x(t) and IMFk, and Var[] is the variance between x(t) and IMFk, k = 1,2⋯n.
After removing the noise components through pre-processing, the obtained hybrid IMFs are reconstructed. There are still quite a few noise components in the reconstructed signal, and considering the advantages of good convergence and high stability of the LMS algorithm [24], this paper performs secondary noise reduction through Least Mean Square Algorithm (LMS) to extract a more-effective components. The LMS is based on the most rapid descent method and adjusts the system weights along the negative gradient direction, replacing the mean squared error with the squared error. Its iterative formula is as follows. (19) (20) (21) where: X(n) is the input mixed signal, y(n) is the output signal, e(n) is the error signal, d(n) is the desired signal, μ is the iteration step factor, and for the algorithm to be convergent, the step factor μ is taken to satisfy.
(22)λmax denotes the maximum eigenvalue of the autocorrelation matrix of X(n).
Improved VMD-BPNN detection algorithm
The signal-to-noise ratio is greatly improved by the BFO-PSO-VMD-R-LMS pre-processing of the residual current signal. Combining the processed signal with the BPNN to form the BFO-PSO-VMD-LMS- BPNN detection algorithm can further improve the detection accuracy of the algorithm. The flow chart is shown in Fig 2.
The process is as follows.
- Decomposition of the original signal into K IMFs components by means of an optimization section.
- Calculation of the interrelationship number R between the individual IMF components and the original signal, and classification of the IMF according to the value of R.
- The noisy IMFs are rounded off and the mixed IMFs are reconstructed to obtain the signal x(t) for information extraction and the pre-processed signal y(t).
- Initialization of the BPNN followed by detection of the pre-processed signal, and then training of the BPNN using the reconstructed signal to obtain a neural network satisfying the detection accuracy.
- The trained BPNN processes the reconstructed signal to obtain the final detection signal z(t). Based on the detected signal, the prediction of the residual current can be achieved.
The BFO-PSO-VMD-R-LMS-BPNN detection pseudocodes are shown in Table 1.
Analysis of human simulation experiments
To verify the effectiveness of BFO-PSO-VMD-LMS-BPNN in this paper, the human equivalent circuit model of H. Freiberger was firstly constructed in MATLAB/Simulink platform for human electrocution simulation experiments [25,26], and the equivalent circuit diagram is shown in Fig 3.
According to the experimental results of H.Freiberger, the skin impedance R1 is 2000 Ω at a single-phase AC voltage of 220V, the skin capacitance C is 2×10−8 F, and the internal body impedance R2 is 500 Ω. Therefore, a single-phase alternating current of 50 Hz and a voltage of 220 V is applied to the human equivalent circuit, starting at 0.05s and ending at 0.16s. Forty-five sets of residual current simulated signals from the human body in the event of an electrical shock fault were obtained, with each set of data intercepting 8 cycles of the signal waveform respectively, for a total of 800 sampling points. To better simulate the condition of human electrocution, Add 10dB, 5dB, and 0dB of Gaussian white noise to the simulated signal, 15 sets of each. The experimental parameters were set as shown in Table 2.
Simulation signal detection
Taking a certain set of residual current analogue signals with a signal-to-noise ratio of 10 dB as an example, BFO-PSO-VMD was used to denoise the analogue signals, with each set of signals run independently for 10 times and a maximum number of 80 iterations. The optimal combination of parameters [k, ɑ] for this group of signals was obtained. Fig 4 shows the iterative search process for the group. Analysis of Fig 4(C) shows that the group evolved to a local minimum entropy value of 6.5023 by the 72nd generation. the corresponding optimal combination of parameters is [3,1974], as shown in Fig 4(A) and 4(B). After decomposing this set of residual current signals using the optimal combination of parameters, the results are shown in Fig 5.
After calculating the interrelationship number R, the interrelationship indices of the three IMFs with the simulated signals are 0.8855, 0.2592, and 0.0081, respectively. According to the rules for the selection of noisy IMFs and mixed IMFs, IMF3 is the noisy IMF, and the remaining IMFs components are reconstructed and the reconstructed signal is filtered using LMS. Where the order of the LMS filter is 3, the initial value of the filter is set to 0 and the initial error is 0.01. The signal after LMS processing is shown in Fig 6.
(a) Simulated signal (b) Reconstructed signal.
As seen in Fig 6, the BFO-PSO-VMD-R-LMS algorithm can reconstruct the signal well when the signal-to-noise ratio is 10dB. The correlation coefficient between the reconstructed signal and the original signal is calculated to be 0.937, which meets the criteria for continued residual current detection.
BPNN Detection
The residual current simulated signal processed by the BFO-PSO-VMD-R-LMS algorithm was well recovered, so the reconstructed signal was fed into the BPNN of the training number for detection and the signal was predicted by the data of the first three cycles. The residual current detection and prediction waveforms of the simulated signal are shown in Fig 7.
(a) Actual and detected values (b) Actual and predicted values.
As can be seen from Fig 7, the actual value and the detected value curve basically coincide with the signal detected by the BPNN. The interrelationship between the actual and detected values is calculated to be 0.9567; while the interrelationship between the actual and predicted values is 0.8939, which can satisfy the detection accuracy of the residual current device.
Comparison of different algorithms
When the signal-to-noise ratio is 10dB, 5dB, and 0dB, in order to illustrate the superiority of BFO-PSO-VMD-LMS- BPNN, a comparison is made with VMD-LSTM and N-LMS in terms of operation time and root mean square error signal-to-noise as well as signal-to-noise ratio as follows. (23) where S1 is the original pure signal and S2 is the processed noise reduction signal after noise addition. (24) where m is the number of samples, yi is the signal before noise reduction, and the signal after noise reduction. (25) where Ya is the sum sample value, Yp is the predicted value and Ym is the sample mean.
The specific data is shown in Table 3.
Analysis of Table 3 shows that the algorithm BFO-PSO-VMD-LMS-BPNN outperforms the other two algorithms in terms of speed, RMSE, SNR, and R2 for the same noise. The speed of the operation and the root mean square error were improved, but the difference was not significant. However, in terms of SNR ratio, they improved over the remaining two algorithms by 20.1%, 11.9%; 27.4%, 10.8%; 33.32%, and 19.52% respectively. The change of R2 is more obvious at 0dB and is 3.05% and 3.69% higher than the rest of the algorithms respectively, which shows that the noise reduction effect of this paper is better and the detection accuracy is higher.
Analysis of actual measurement data
Residual current signals are collected in a variety of situations using a laboratory-built residual current detection platform. The experimental platform is equipped with a voltage of 220V and a frequency of 50Hz AC. The experimental data is sampled for 0.5s at a time and is set to fail at 0.1s and disconnect at 0.4s. The oscilloscope has a sampling frequency of 10 kHz and acquires 15 cycles of valid data. Residual current signals were collected for a total of four fault types: poplar, grass, concrete, and wet ground. In the different types Under different types, 20 sets of experimental data were acquired by Tektronix MDO3024 mixed domain oscilloscope in high-resolution sampling mode respectively. The residual current waveforms for the different fault types are shown in Fig 8.
(a) Grass (b) Poplar (c) Wetland (d) Concrete.
Measured data noise reduction
As an example, the residual current signal of a line single-phase earth in a wetland situation is simulated by adding Gaussian white noise with a signal-to-noise ratio of 10 dB, as the oscilloscope comes with a filtering function in high-resolution mode. The VMD optimized parameters are shown in Fig 9.
Analysis of Fig 9(C) shows that the population evolved to the 48th generation to obtain a local minimum entropy value of 5.8185. The corresponding optimal combination of parameters is [4,2000], as shown in Fig 9(A) and 9(B). After VMD decomposition of the residual current signal with the addition of a signal-to-noise ratio of 10 dB, the results are shown in Fig 10.
After calculating the mutual correlation number R, the mutual correlation indices of the four IMFs and the simulated signal are 0.9593, 0.2289, 0.08921, and 0.03981, respectively. According to the filtering rule, IMF1 and IMF2 are defined as mixed components and IMF3 and IMF4 are defined as noise components, and IMF1 and IMF2 are reconstructed and subjected to secondary noise reduction by the LMS algorithm. The noise reduction results are compared with the simulated signal as shown in Fig 11.
(a) Original signal (b) Noise reduction signal.
Additional noise reduction plots processed by the algorithm are shown below. As can be seen from Figs 11 and 12, the four fault signals are well recovered after BFO-PSO-VMD-R-LMS processing.
LMS noise reduction signal (a) Poplar tree (b) Grass (c) Concrete ground.
BPNN detection
As an example, two types of faults occur in the case of single-phase direct grounding of lines in the case of poplar trees represented by plant electrocution and in the case of wetland, the experimentally collected residual current signal has 15 valid cycles with a total of 3,000 sampling points. The algorithm of this paper is used to detect the fault signal and to make a prediction of the corresponding signal by the first 10 valid cycles.
The detected and predicted waveforms for the two different types of residual current are shown in Figs 13 and 14 respectively.
(a) Actual and detected values (b) Actual and predicted values.
(a) Actual and detected values (b) Actual and predicted values.
From Figs 13 and 14, it can be concluded that: the error of BFO-PSO-VMD -R-LMS-BPNN for the detection of two fault residual current signals is small, the detection error is 4.96% and 3.35% respectively, while the prediction accuracy of the two sets of data by BPNN for the fault residual current signal is 91.37% and 92.56% respectively, which can meet the residual The accuracy of the residual circuit detection device can be satisfied.
Comparison of different algorithms
To further demonstrate the advantages of the BFO-PSO-VMD-R-LMS-BPNN processing of measured residual current signals, it was compared with both VMD-LSTM and N-LMS algorithms and the results are shown in Table 4. The results were statistically analyzed using the Kolmogorov-Smirnov test (K-S test) as shown in Table 5.
As shown in Tables 4 and 5, the algorithm proposed in this paper outperforms the other two algorithms in terms of speed, SNR, R2, and RMSE for the same level of noise. The signal-to-noise ratio (SNR) is an important indicator of signal purity, and a higher SNR indicates better noise reduction. Therefore, the higher the SNR, the better the noise reduction. The goodness-of-fit represents the degree of fit of the regression line to the observed values, and a higher signal purity leads to higher detection accuracy of the BP neural network. By combining the K-S test to analyze the results, it was found that the significance p-values were 0.021 and 0.018 when this algorithm was compared with VMD-LSTM and N-LMS, respectively, indicating statistical significance at the level of experimental data. These results demonstrate that the proposed algorithm has higher detection accuracy and better performance.
Conclusion
This paper proposes the BFO-PSO-VMD-R-LMS-BPNN detection method for detecting fault residual currents in low-voltage networks. The optimal combination of parameters is obtained by BFO-PSO for the VMD parameters [k, ɑ] seeking and combined with the interrelationship number R and LMS for classification and reconstruction, which avoids noise interference in the detection using the original signal and ensures the recognition accuracy of the residual current signal while combining with BPNN for the detection and prediction of the pre-processed signal, which has higher accuracy and robustness.
Compared with the N-LMS and VMD-LSTM methods, the proposed algorithm achieves better signal processing in a shorter time while ensuring the accuracy of the residual current signal. Simulation and experimental data demonstrate that the proposed algorithm outperforms the other two algorithms in terms of R2, SNR, and RMSE. In actual measurements, the SNR is improved by an average of 23.87% and 16.89% compared to the VMD-LSTM and N-LMS algorithms, respectively, and R2 is improved by an average of 4.24% and 2.99%, with little difference in operation speed and RMSE. The proposed algorithm exhibits high accuracy and can be used in adaptive RCD to achieve instantaneous response to electric leakage or shock accidents. However, the algorithm in this paper does not differ significantly from the remaining two algorithms in terms of speed, and there are possibilities for improvement, for example by adjusting structural parameters and exploring other methods to further improve the details of the model. Finally it is recommended that future research can incorporate prediction data, extract eigenvalues from residual current signals and systematically classify residual currents to better identify fault types and develop appropriate measures to ensure personal safety.
References
- 1. Zhang X., Liu Z., Wang Z Y. Dou, G. Zhai, and Q. Wei. Residual Current Detection Method Based on Variational Modal Decomposition and Dynamic Fuzzy Neural Network. IEEE Trans. Power Electron. 15(5), 861–870 (2021).
- 2. Barzut S., Milosavljevic M., Adamovic S., Saračević M., Macek N., Gnjatovic M. (2021), A Novel Fingerprint Biometric Cryptosystem Based on Convolutional Neural Networks, Mathematics, 9(7), 730.
- 3. Predić B.; Vukić U.; Saračević M.; Karabašević D.; Stanujkić D. (2022) The Possibility of Combining and Implementing Deep Neural Network Compression Methods. Axioms 11, 229, MDPI Switzerland. https://doi.org/10.3390/axioms11050229.
- 4. Xiaoyi Xiong, Xiangyong Xiao, Heng Zhao. Electric shock accident current detection based on adaptive algorithm[J]. Power System Protection and Control, 45(04):139–144,2017. https://doi.org/10.7667/PSPC160315.
- 5. Yan Huo. Feature extraction method of EEG signals based on EEMD and improved EMD [D]. Nanjing University of Posts and Telecommunications,2020.https://doi.org/10.27251/d.cnki.gnjdc.2020.000987.
- 6. Chunlan Li, Jing Wang, Zhai Shi, Changyun Wang, Luo J Ren Peng. Research on electrocution current extraction method based on VMD-LSTM[J]. Journal of Hunan University,49(02):149–159, (2022). https://doi.org/10.16339/j.cnki.hdxbzkb.2022224.
- 7. Wu S., Lin S., and Guo M., "Application of WE-AE-BP Method to Electric Shock Faults Identification in the Low-voltage Distribution Network," in 2020 IEEE 1st China International Youth Conference on Electrical Engineering (CIYCEE), 2020. http://doi.org/10.1109/CIYCEE49808.2020.9332673.
- 8. Xiong X, Shi Y. A detection method for biological electric shock based on improved sample entropy[C].IOP Conference Series: Earth and Environmental Science. IOP Publishing, 983(1): 012065, 2022. https://doi.org/10.1088/1755-1315/983/1/012065.
- 9. Babović Z., Bajat B., Đokić V. et al. Research in computing-intensive simulations for nature-oriented civil-engineering and related scientific fields, using machine learning and big data: an overview of open problems. J Big Data 10, 73 (2023). https://doi.org/10.1186/s40537-023-00731-6.
- 10. Liu J. F., Tao Z., Wang G. M.VMD algorithm based on mutual information improvement and pipeline leakage signal noise reduction[J]. Modern Electronics Technology,44(01):53–57,2021. https://doi.org/10.16652/j.issn.1004-373x.2021.01.012.
- 11. Li GQ, Liu Z, Jin GB, Quan Ran. Ultra-short-term power load forecasting based on stochastic distributed embedding framework and BP neural network[J]. Power Grid Technology,44(02):437–445,2020. https://doi.org/10.13335/j.1000-3673.pst.2020.1198.
- 12. Sheng Siqing, Jinhang Liu, Changrong . Short- and medium-term prediction of wind farm power generation based on VMD-WSGRU[J]. Power Grid Technology,46(03):897–904,2022. https://doi.org/10.13335/j.1000-3673.pst.2020.1198.
- 13. Yao Shi, Wang Yajing, Cui Jingkai, Zhang Hanrui. Interharmonic harmonic detection based on VMD-WPT and Prony algorithm[J]. Electrical Transmission,51(22):3–7+21, 2021. https://doi.org/10.19457/j.1001-2095.dqcd21852.
- 14. Dragomiretskiy K. and Zosso D.,"Variational Mode Decomposition,"in IEEE Transactionson Signal Processing,vol.62,pp.531–544,Feb.1,2014. https://doi.org/10.1109/TSP.2013.2288675.
- 15.
Yanan Zhang. Research on rolling bearing fault diagnosis method based on stream learning and optimal limit learning machine[D]. Beijing Jiaotong University,2019. https://doi.org/10.26944/d.cnki.gbfju.2019.001168.
- 16. Guiji Tang,Xiaolong Wang. Application of parameter-optimized variational modal decomposition method in early fault diagnosis of rolling bearings[J]. Journal of Xi’an Jiaotong University,49(05):73–81,2015. https://doi.org/10.7652/xjtuxb201505012.
- 17. Bacanin N, Stoean C, Zivkovic M, Rakic M, Strulak-Wójcikiewicz R, Stoean R. On the Benefits of Using Metaheuristics in the Hyperparameter Tuning of Deep Learning Models for Energy Load Forecasting. Energies. 2023; 16(3):1434. https://doi.org/10.3390/en16031434.
- 18. Rajasekar V., Predić B., Saračević M., Elhoseny M., Karabasevic D., Stanujkic D., et al (2022), Enhanced Multimodal Biometric Recognition Approach for Smart Cities Based on an Optimized Fuzzy Genetic Algorithm, NATURE Scientific Reports, 12, Article number: 622 https://doi.org/10.1038/s41598-021-04652-3.
- 19. Miodrag Zivkovic, Bacanin Nebojsa, Venkatachalam K., Anand Nayyar, Aleksandar Djordjevic, Ivana Strumberger, et al, COVID-19 cases prediction by using hybrid machine learning and beetle antennae search approach,Sustainable Cities and Society,Volume 66,2021, https://doi.org/10.1016/j.scs.2020.102669.
- 20. Arivazhagan N., Somasundaram K., Vijendra Babu D., Gomathy Nayagam M., Bommi R. M., Gouse Baig Mohammad, et al, "Cloud-Internet of Health Things (IOHT) Task Scheduling Using Hybrid Moth Flame Optimization with Deep Neural Network Algorithm for E Healthcare Systems", Scientific Programming, vol. 2022, Article ID 4100352, 12 pages, 2022. https://doi.org/10.1155/2022/4100352.
- 21. Zhu Zhiguo, and Liu Guowei. "MPPT control method for photovoltaic system based on particle swarm optimization and bacterial foraging algorithm." Int J Electr Compon Energy Convers 4.1 Volume 4, Issue 1. PP 45–45. 2018. https://doi.org/10.11648/j.ijecec.20180401.15.
- 22. Salehi M., Farhadi S., Moieni A. et al. A hybrid model based on general regression neural network and fruit fly optimization algorithm for forecasting and optimizing paclitaxel biosynthesis in Corylus avellana cell culture. Plant Methods 17, 13 (2021). https://doi.org/10.1186/s13007-021-00714-9.
- 23. Mouassa S., Jurado F., Bouktir T. et al. Novel design of artificial ecosystem optimizer for large-scale optimal reactive power dispatch problem with application to Algerian electricity grid. Neural Comput & Applic 33, 7467–7490 (2021). https://doi.org/10.1007/s00521-020-05496-0.
- 24. Zhan Zhang, Wei Wang, Songlin Shi, Quanchao Leng. LMS harmonic current detection algorithm based on improved hyperbolic tangent function[J]. Journal of Wuhan University (Engineering Edition),53(12):1085–1090,2020. https://doi.org/10.14188/j.1671-8844.2020-12-007.
- 25. Bora D J, Dasgupta R. Estimation of skin impedance models with experimental data and a proposed model for human skin impedance[J]. IET Systems Biology, 14(5): 230–240, 2020. https://doi.org/10.1049/iet-syb.2020.0049.
- 26. Lafargue A L, Cabrales L B, Larramendi R M. Bioelectrical parameters of the whole human body obtained through bioelectrical impedance analysis[J]. Bioelectromagnetics: Journal of the Bioelectromagnetics Society, The Society for Physical Regulation in Biology and Medicine, The European Bioelectromagnetics Association, 23(6): 450–454, 2002. https://doi.org/10.1002/bem.10034.