AC fault arc detection method, system, device and medium
Through empirical mode decomposition and CNN-RNN hybrid neural network model, fault arc characteristics in low-voltage AC distribution lines are extracted, which solves the problem of low fault arc detection rate in the existing technology and achieves more accurate and faster fault detection.
Patent Information
- Application Number
- CN202410795601.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-10
AI Technical Summary
The existing technology has the problem of low detection rate and inability to troubleshoot faults in time when detecting fault arcs in low-voltage AC distribution lines. In particular, series fault arcs caused by aging line insulation or poor contact are difficult to effectively detect.
Empirical mode decomposition technology is used to extract the inherent mode function, and the Lyapunov index, interharmonic variance, and energy entropy are calculated to construct the fault arc feature vector, and the pre-trained CNN-RNN hybrid neural network model is used for detection.
It improves the accuracy and speed of arc fault detection, can more effectively capture abnormal patterns in arc current signals, enhances the multi-dimensional characterization capability of detection, improves the robustness and generalization capabilities of the system, and ensures timely detection of electrical Fire hazard.
Smart Images

Figure CN118625073A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of low-voltage alternating current power distribution, and in particular to an alternating current fault arc detection method, system, equipment and medium. Background Art
[0002] For most existing buildings, cables are usually placed in hidden trenches for the sake of connection safety and clear and orderly line directions. As a result, timely response is often not possible in the early stages of a fire due to the hidden location. When smoke or open flames appear, a large fire is inevitable and difficult to save in time. As the lines are loaded and overloaded for a long time, the quality of cables on the market varies. As the power lines age and the insulation is damaged over the years, arcs are likely to occur in the circuit.
[0003] The randomness, concealment, and complexity of arc faults make them difficult to predict and inspect, posing a serious electrical fire hazard to low-voltage distribution lines. In particular, series arc faults caused by aging of line insulation or poor contact are the most common in distribution systems. They have a small current amplitude and cannot be effectively protected by traditional protection devices. Compared with parallel arc faults, they are more difficult to detect and are one of the loopholes in the existing electrical protection system. However, existing detection methods only consider features of a single dimension, which often leads to poor recognition results. Therefore, there is an urgent need for an AC arc fault detection method, system, equipment, and medium. Summary of the invention
[0004] The purpose of the present invention is to provide an AC fault arc detection method, system, device and medium to solve the problem that the fault arc detection rate of the one-dimensional feature input in the prior art is low and the fault cannot be timely checked to ensure personal safety.
[0005] In order to achieve the above purpose, the following technical solutions are adopted:
[0006] A method for detecting an AC fault arc comprises the following steps:
[0007] Collect arc current signals on the cable to obtain arc current raw data sets;
[0008] Performing empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions;
[0009] For each intrinsic mode function, the Lyapunov exponent, interharmonic variance, and energy entropy are calculated;
[0010] The three eigenvalues of Lyapunov index, interharmonic variance and energy entropy are used to construct the fault arc eigenvector;
[0011] The obtained fault arc feature vector is input into the pre-trained CNN-RNN hybrid neural network model to obtain the fault arc detection result.
[0012] Optionally, the step of performing empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions specifically includes:
[0013] Initialize the EMD process, determine the number of decomposition iterations and the stopping criteria;
[0014] The arc current raw data set is iteratively decomposed, and in each iteration, the intrinsic mode function is separated through mathematical operations;
[0015] Extract the intrinsic mode functions one by one from the original data set of arc current until the remaining signal can no longer generate new intrinsic mode functions, and take the remaining signal as the residual signal;
[0016] The obtained intrinsic mode functions and residual signal sets are combined to form multiple groups of intrinsic mode functions.
[0017] Optionally, for each intrinsic mode function, respectively calculating the Lyapunov exponent, the interharmonic variance, and the energy entropy; and constructing the fault arc characteristic vector from the three eigenvalues of the Lyapunov exponent, the interharmonic variance, and the energy entropy, specifically includes:
[0018] Performing time series analysis on each divided current cycle data to determine the time series characteristics of the data;
[0019] Using the determined time series characteristics, the Lyapunov exponent of each current cycle data is calculated;
[0020] Perform frequency domain analysis on current cycle data and calculate interharmonic variance;
[0021] Based on the obtained timing characteristics and the calculated interharmonic variance, the energy entropy is calculated;
[0022] The calculated Lyapunov index, interharmonic variance, and energy entropy are combined to construct the fault arc feature vector.
[0023] Optionally, the training steps of the pre-trained CNN-RNN hybrid neural network model specifically include:
[0024] Prepare a training data set, which includes multiple current signal samples in normal and fault states, and each sample is equipped with a corresponding label;
[0025] Preprocessing the prepared training data set, including normalization and segmentation, to obtain a preprocessed training data set;
[0026] Design an RNN network structure to process the feature sequence extracted by CNN and capture the temporal dependencies therein;
[0027] The CNN and RNN networks are integrated to build a CNN-RNN hybrid neural network model;
[0028] Design the architecture of the CNN-RNN hybrid neural network model, including determining the number and parameters of convolutional layers, recurrent layers, and other connected layers;
[0029] The designed CNN-RNN hybrid neural network model is trained using the preprocessed training data set, and the network weights are optimized through the back propagation algorithm and gradient descent method;
[0030] During the training process, cross-validation and hyperparameter adjustment techniques are used to improve the generalization ability and performance of the CNN-RNN hybrid neural network model;
[0031] After the training is completed, the trained CNN-RNN hybrid neural network model is evaluated, and the verification data set is used to test the accuracy and robustness of the CNN-RNN hybrid neural network model, so that the CNN-RNN hybrid neural network model can accurately identify fault arcs.
[0032] Optionally, the CNN-RNN hybrid neural network model includes at least one convolutional layer and at least one recurrent layer, the convolutional layer is used to extract spatial information of the features, and the recurrent layer is used to extract temporal information of the features.
[0033] Optionally, before the obtained fault arc feature vector is input into a pre-trained CNN-RNN hybrid neural network model, the constructed fault arc feature vector is also standardized.
[0034] Optionally, after the step of collecting the arc current signal on the cable, a step of denoising the arc current signal is further included, specifically including:
[0035] Identify and mark the noise components in the arc current signal;
[0036] Apply a denoising algorithm to remove the identified noise components and obtain a denoised arc current signal;
[0037] The denoised arc current signals are combined to obtain the arc current raw data set.
[0038] An AC fault arc detection system, comprising:
[0039] A data acquisition unit is used to collect arc current signals on the cable to obtain an original data set of arc current;
[0040] A data decomposition unit is used to perform empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions;
[0041] A data calculation unit, used for calculating Lyapunov exponent, interharmonic variance and energy entropy for each intrinsic mode function;
[0042] A vector construction unit is used to construct a fault arc feature vector using three eigenvalues: Lyapunov index, interharmonic variance, and energy entropy;
[0043] The model detection unit is used to input the obtained fault arc feature vector into a pre-trained CNN-RNN hybrid neural network model to obtain a fault arc detection result.
[0044] An electronic device comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement an AC fault arc detection method.
[0045] A computer-readable storage medium includes: the computer-readable storage medium stores at least one instruction; when the at least one instruction is executed by a processor, the AC fault arc detection method is implemented.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] 1. The present invention can effectively capture the characteristic information of the fault arc through the three characteristics of Lyapunov index (L index), interharmonic variance and energy entropy, and realize the effective characterization of the fault arc information. A hybrid neural network based on CNN-RNN is adopted, which has fast detection speed and high detection accuracy.
[0048] 2. The present invention uses empirical mode decomposition to process the original data set of arc current. The present invention can effectively extract the intrinsic mode function reflecting the fault characteristics, which helps to more accurately capture the abnormal mode in the arc current signal, thereby improving the detection accuracy of the fault arc. The Lyapunov exponent, interharmonic variance and energy entropy are calculated as the characteristics of the fault arc. These multi-dimensional features can comprehensively characterize the complexity and nonlinear characteristics of the arc current signal and enhance the expression ability of the fault arc feature vector. The pre-trained CNN-RNN hybrid neural network model can simultaneously extract the spatial and temporal information of the features, using the convolution layer to capture the local spatial features and the recurrent layer to capture the time series features. This structure optimizes the model's recognition ability for the fault arc signal.
[0049] 3. The present invention improves the generalization ability of the model by using cross-validation and hyperparameter adjustment techniques in the model training process, so that the system can still maintain high detection accuracy and robustness when facing arc current signals under different conditions. The method of the present invention can quickly process the collected arc current signals and perform real-time detection, which is crucial for timely discovery and response to potential electrical fire hazards. Through the denoising process, the present invention reduces noise interference in the signal, simplifies the subsequent feature extraction and model processing process, and improves the efficiency of data processing.
[0050] 4. The detection system of the present invention is composed of multiple functional units, each unit is responsible for a specific data processing task, and this modular design facilitates system integration and expansion. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 The present invention is a flowchart of an AC fault arc detection method embodiment of the present invention.
[0052] Figure 2 The figure is a schematic diagram of calculation results of an AC fault arc detection method embodiment of the present invention.
[0053] Figure 3 It is a schematic diagram of the comparison results of different features and final recognition accuracy of the discrimination model in an embodiment of an AC fault arc detection method of the present invention.
[0054] Figure 4 It is a block diagram of an embodiment of the device of the present invention.
[0055] Figure 5 It is a schematic diagram of an embodiment of an AC fault arc detection system of the present invention. DETAILED DESCRIPTION
[0056] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0057] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention.
[0058] Example 1
[0059] like Figure 1 As shown, an AC fault arc detection method includes the following steps:
[0060] Collect arc current signals on the cable to obtain arc current raw data sets;
[0061] Performing empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions;
[0062] For each intrinsic mode function, the Lyapunov exponent, interharmonic variance, and energy entropy are calculated;
[0063] The three eigenvalues of Lyapunov index, interharmonic variance and energy entropy are used to construct the fault arc eigenvector;
[0064] The obtained fault arc feature vector is input into the pre-trained CNN-RNN hybrid neural network model to obtain the fault arc detection result.
[0065] Specifically, Figure 1 As shown in the figure, the arc current signal on the cable is firstly collected, and then the collected fault arc current signal is subjected to empirical mode decomposition to obtain different modal components. Then, the AC fault arc feature is constructed from three feature dimensions: Lyapunov index (L index), interharmonic variance, and energy entropy. Finally, the intelligent fusion of features is realized based on CNN-RNN and the final recognition result is output.
[0066] As a preferred example, the step of performing empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions specifically includes:
[0067] Initialize the EMD process, determine the number of decomposition iterations and the stopping criteria;
[0068] The arc current raw data set is iteratively decomposed, and in each iteration, the intrinsic mode function is separated through mathematical operations;
[0069] Extract the intrinsic mode functions one by one from the original data set of arc current until the remaining signal can no longer generate new intrinsic mode functions, and take the remaining signal as the residual signal;
[0070] The obtained intrinsic mode functions and residual signal sets are combined to form multiple groups of intrinsic mode functions.
[0071] Specifically, the empirical mode decomposition process is started and appropriate initial conditions are selected, including setting the number of iterations of the decomposition algorithm and defining a stopping criterion, wherein the number of iterations is determined based on the complexity of the signal and the required decomposition accuracy, and the stopping criterion can be the energy ratio of the residual signal or the consistency index of the modal function.
[0072] An iterative decomposition is performed on the arc current raw data set. In each iteration, the intrinsic mode functions (IMFs) are separated through mathematical operations such as subtracting the mean, constructing and subtracting saddle points, etc., ensuring that each IMF meets two conditions: their derivatives or themselves have zero mean at any point, and the envelope of the entire function is a local trend.
[0073] IMFs are extracted one by one from the original data set of arc current until the signal energy in the original data set is mainly decomposed into several IMFs, where each IMF represents a specific frequency component of the signal. When the fluctuation of the remaining signal no longer meets the conditions of the IMF, the remaining signal is defined as the residual signal.
[0074] The obtained IMFs and residual signals are merged to form multiple groups of intrinsic mode functions. These IMFs and residual signals together constitute the complete decomposition of the arc current signal, providing rich frequency and time domain information for subsequent feature extraction.
[0075] As a preferred example, for each intrinsic mode function, the Lyapunov exponent, interharmonic variance, and energy entropy are calculated respectively; and the steps of constructing the fault arc characteristic vector by using the three eigenvalues of the Lyapunov exponent, interharmonic variance, and energy entropy specifically include:
[0076] Performing time series analysis on each divided current cycle data to determine the time series characteristics of the data;
[0077] Using the determined time series characteristics, the Lyapunov exponent of each current cycle data is calculated;
[0078] Perform frequency domain analysis on current cycle data and calculate interharmonic variance;
[0079] Based on the obtained timing characteristics and the calculated interharmonic variance, the energy entropy is calculated;
[0080] The calculated Lyapunov index, interharmonic variance, and energy entropy are combined to construct the fault arc feature vector.
[0081] Specifically, the reconstruction sub-step is: analyzing multiple groups of intrinsic mode functions (IMFs) obtained by empirical mode decomposition, and selectively combining these IMFs to reconstruct the current signal, which can reflect the characteristics of the arc. The selective reconstruction can be based on the energy content, frequency characteristics or correlation with the arc characteristics of the IMFs.
[0082] Signal division sub-step: the obtained reconstructed current signal is divided according to the time period to form a plurality of current period data for time series analysis. The division of the time period can be based on the natural periodicity of the signal or a specific time window.
[0083] Timing analysis sub-step: Perform detailed timing analysis on each current cycle data obtained to determine the timing characteristics of the data, such as key features such as signal periodicity, frequency change, amplitude change, etc.
[0084] Lyapunov exponent calculation sub-step: using the determined time series characteristics, the Lyapunov exponent is calculated for each current cycle data, and the index is used to quantify the chaotic behavior of the signal and the uncertainty of the prediction.
[0085] Frequency domain analysis sub-step: Perform frequency domain transformation on the obtained current period data, such as converting the time domain signal into a frequency domain signal through fast Fourier transform (FFT), and calculating the interharmonic variance to characterize the distribution of non-fundamental frequency components in the signal.
[0086] Energy entropy calculation sub-step: combining the obtained timing characteristics and the calculated interharmonic variance, an appropriate algorithm is used to calculate the energy entropy of each current cycle data, and the entropy value reflects the distribution uniformity of the signal energy in different frequency components.
[0087] Feature vector construction sub-step: The calculated Lyapunov exponent, interharmonic variance, and energy entropy are combined to form a comprehensive feature vector, which fully characterizes the multi-dimensional characteristics of the fault arc.
[0088] The specific implementation further includes:
[0089] In the reconstruction sub-step, methods based on energy concentration or correlation analysis are used to select IMFs involved in the reconstruction.
[0090] In the signal division sub-step, synchronous or asynchronous sampling technology can be used to adapt to the period division requirements of different signal characteristics.
[0091] In the time series analysis sub-step, advanced time series analysis techniques such as the autoregressive integrated moving average (ARIMA) model or wavelet transform can be used to improve the recognition accuracy of time series characteristics.
[0092] In the Lyapunov exponent calculation sub-step, numerical methods, such as time-delay-based embedded phase space reconstruction technology, can be used to improve the accuracy of the exponent calculation.
[0093] In the frequency domain analysis sub-step, in addition to FFT, other frequency domain analysis techniques, such as wavelet transform, can also be used to meet the analysis requirements of different frequency characteristics.
[0094] In the energy entropy calculation sub-step, the entropy calculation formula in information theory can be used in combination with the power spectrum density of the signal to quantify the complexity of the energy distribution of the signal.
[0095] In the feature vector construction sub-step, feature fusion techniques, such as principal component analysis (PCA) or linear discriminant analysis (LDA), may be used to optimize the performance of the feature vector.
[0096] As a preferred example, the training steps of the pre-trained CNN-RNN hybrid neural network model specifically include:
[0097] Prepare a training data set, which includes multiple current signal samples in normal and fault states, and each sample is equipped with a corresponding label;
[0098] Preprocessing the prepared training data set, including normalization and segmentation, to obtain a preprocessed training data set;
[0099] Design an RNN network structure to process the feature sequence extracted by CNN and capture the temporal dependencies therein;
[0100] The CNN and RNN networks are integrated to build a CNN-RNN hybrid neural network model;
[0101] Design the architecture of the CNN-RNN hybrid neural network model, including determining the number and parameters of convolutional layers, recurrent layers, and other connected layers;
[0102] The designed CNN-RNN hybrid neural network model is trained using the preprocessed training data set, and the network weights are optimized through the back propagation algorithm and gradient descent method;
[0103] During the training process, cross-validation and hyperparameter adjustment techniques are used to improve the generalization ability and performance of the CNN-RNN hybrid neural network model;
[0104] After the training is completed, the trained CNN-RNN hybrid neural network model is evaluated, and the verification data set is used to test the accuracy and robustness of the CNN-RNN hybrid neural network model, so that the CNN-RNN hybrid neural network model can accurately identify fault arcs.
[0105] Specifically, a sample library containing current signals in normal and fault states is collected and constructed, and each sample has a clear label indicating its state to constitute a training data set.
[0106] Preprocessing operations are performed on the training dataset, including data normalization to eliminate the dimensionality effects between different samples, and data segmentation to divide the dataset into training and validation subsets.
[0107] Design a recurrent neural network (RNN) structure, including but not limited to a long short-term memory network (LSTM) or a gated recurrent unit (GRU), to process the feature sequence extracted by CNN and effectively capture the dependencies in time series data.
[0108] The convolutional neural network (CNN) is integrated with the designed RNN structure to construct a CNN-RNN hybrid neural network model that can process both spatial features and time series.
[0109] Determine the architectural details of the CNN-RNN hybrid neural network model, including the number and parameter configuration of convolutional layers, recurrent layers, and other possible fully connected layers or pooling layers to optimize the model's feature extraction and sequence processing capabilities.
[0110] Using the preprocessed training data set, the CNN-RNN hybrid neural network model can be trained through the back propagation algorithm and gradient descent method to optimize the network weights and bias parameters.
[0111] During the training process, cross-validation techniques can be applied to evaluate the performance of the model on different data subsets, and hyperparameter adjustments such as learning rate, batch size, etc. can be made to improve the generalization ability and performance of the model.
[0112] After training, an independent validation dataset is used to evaluate the CNN-RNN hybrid neural network model. Indicators such as accuracy, precision, recall, and F1 score can be used to test the accuracy and robustness of the model to ensure that the model can accurately identify fault arcs.
[0113] As a preferred example, the CNN-RNN hybrid neural network model includes at least one convolutional layer and at least one recurrent layer, the convolutional layer is used to extract spatial information of features, and the recurrent layer is used to extract temporal information of features.
[0114] As a preferred example, before the obtained fault arc feature vector is input into a pre-trained CNN-RNN hybrid neural network model, the constructed fault arc feature vector is also standardized.
[0115] Specifically, an embodiment may be:
[0116] The characteristic values such as Lyapunov exponent, interharmonic variance, energy entropy, etc. calculated by the method are integrated into a single fault arc characteristic vector.
[0117] Each eigenvalue in the fault arc feature vector is standardized to ensure the consistency and comparability of the data. The standardization process can use the Z-score standardization or minimum-maximum standardization method to scale the eigenvalue to a uniform range or distribution.
[0118] If the Z-score standardization method is used, the difference between each eigenvalue and the mean is calculated and then divided by the standard deviation to obtain the standardized eigenvalue so that the eigenvalue has zero mean and unit variance.
[0119] For example, if the minimum-maximum normalization method is used, the minimum value is subtracted from each eigenvalue and then divided by the difference between the maximum and minimum values to scale the eigenvalue to the range of [0,1].
[0120] During the normalization process, possible outliers are identified and processed to prevent them from adversely affecting the model performance.
[0121] The standardized eigenvalues are reintegrated into the fault arc eigenvector to ensure that each eigenvalue has the same importance in the model input.
[0122] As a preferred example, after the step of collecting the arc current signal on the cable, the step of denoising the arc current signal is further included, which specifically includes:
[0123] Identify and mark the noise components in the arc current signal;
[0124] Apply a denoising algorithm to remove the identified noise components and obtain a denoised arc current signal;
[0125] The denoised arc current signals are combined to obtain the arc current raw data set.
[0126] Specifically, a possible implementation example is:
[0127] Use high-precision current sensors and data acquisition systems to collect arc current signals on the cable and obtain raw signal data.
[0128] Analyze the original signal data and identify the noise components in the signal, including electrical interference, electromagnetic noise, etc., through time domain and frequency domain analysis methods, such as fast Fourier transform (FFT).
[0129] The identified noise components are marked to facilitate the subsequent denoising process. Noise marking can be based on the statistical properties of the noise, such as power spectral density or autocorrelation function.
[0130] Select a suitable denoising algorithm, such as wavelet transform, filter design (low-pass filtering, band-pass filtering, etc.), or adaptive denoising technology, based on the characteristics of the signal and the type of noise.
[0131] The selected denoising algorithm is applied to remove the noise components in the original signal data to reduce the impact of noise on signal analysis.
[0132] Evaluate the quality of the denoised signal and ensure the effectiveness of the denoising process through indicators such as signal-to-noise ratio (SNR) and mean square error (MSE).
[0133] The denoised arc current signals are combined in time series to form the original arc current data set, providing high-quality input data for subsequent feature extraction and fault detection.
[0134] like Figure 2 and Figure 3 As shown, the results of AC fault arc detection based on multidimensional features and hybrid neural network are specifically explained.
[0135] In order to achieve effective feature construction, this paper performs empirical mode decomposition on the collected 1MHz AC fault arc, and selects the third mode value after decomposition to calculate the energy entropy, Lyapunov index (L index) and variance value. The calculation results are shown in Figure 3 It can be seen that the three characteristics can effectively characterize the arcing state of the fault arc, and the characteristic value increases rapidly after the arcing. Figure 4 The comparison results of the final recognition accuracy of different features and discriminant models are given. It can be seen that the final detection effect of the hybrid feature combined with the CNN-RNN model is the best, achieving a detection accuracy of 97.45%.
[0136] Example 2
[0137] like Figure 5 As shown, an AC fault arc detection system includes:
[0138] A data acquisition unit is used to collect arc current signals on the cable to obtain an original data set of arc current;
[0139] A data decomposition unit is used to perform empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions;
[0140] A data calculation unit, used for calculating Lyapunov exponent, interharmonic variance and energy entropy for each intrinsic mode function;
[0141] A vector construction unit is used to construct a fault arc feature vector using three eigenvalues: Lyapunov index, interharmonic variance, and energy entropy;
[0142] The model detection unit is used to input the obtained fault arc feature vector into a pre-trained CNN-RNN hybrid neural network model to obtain a fault arc detection result.
[0143] Specifically, the data acquisition unit performs the following operations:
[0144] Collect arc current signals on the cable, specifically by deploying high-sensitivity current sensors for real-time monitoring.
[0145] The collected analog signal is converted into a digital signal through an analog-to-digital converter (ADC) to form an arc current raw data set.
[0146] Signal preprocessing unit: performs the following processing on the original data set obtained by the data acquisition unit:
[0147] Identify and mark noise components in the signal using advanced noise identification algorithms.
[0148] Apply denoising algorithms, such as wavelet denoising or adaptive filtering, to remove noise components and retain useful signals.
[0149] The denoised signal is subjected to necessary signal conditioning, such as amplification and filtering, to form an arc current raw data set suitable for further analysis.
[0150] Data decomposition unit: Perform empirical mode decomposition on the data set output by the signal preprocessing unit:
[0151] Initialize the EMD process, set the number of iterations and the stopping criterion.
[0152] Perform iterative decomposition to isolate the intrinsic mode functions (IMFs).
[0153] IMFs are extracted until the remaining signal can no longer generate new IMFs, and the remaining signal is taken as the residual signal.
[0154] All IMFs and residual signals were combined to form a data set for subsequent analysis.
[0155] Feature extraction unit: Perform the following operations on each IMF:
[0156] Perform time series analysis on IMFs to determine the time series characteristics of the data.
[0157] Using the time series characteristics, the Lyapunov index of each IMF is calculated.
[0158] The IMFs are analyzed in the frequency domain and the interharmonic variance is calculated.
[0159] The energy entropy is calculated by combining the timing characteristics and interharmonic variance.
[0160] Feature vector construction unit: This unit combines the calculated Lyapunov exponents, interharmonic variance, and energy entropy according to the steps in claim 3 to construct a fault arc feature vector, and performs standardization according to the steps in claim 6 to adapt to the input of the neural network model.
[0161] Model detection unit: This unit integrates the CNN-RNN hybrid neural network model and performs the following operations:
[0162] Receives the normalized feature vector output by the feature vector construction unit.
[0163] CNN layers are used to extract spatial information in feature vectors.
[0164] The RNN layer is used to extract the temporal information in the feature vector.
[0165] By fusing the outputs of the CNN and RNN layers, intelligent detection of fault arcs is performed and the detection results are output.
[0166] System Integration and Operational Process: The system integrates the above units into a coordinated testing process. The specific steps include:
[0167] The data acquisition unit starts collecting signals and starts the entire detection process.
[0168] The signal preprocessing unit performs denoising and conditioning on the received signal.
[0169] The data decomposition unit performs EMD decomposition on the preprocessed signal.
[0170] The feature extraction unit calculates the required features for the decomposed IMFs.
[0171] The feature vector construction unit constructs and normalizes the fault arc feature vector.
[0172] The model detection unit receives the feature vector, performs fault detection, and outputs the final result.
[0173] Training and evaluation mechanism: The CNN-RNN hybrid neural network model in the model detection unit is trained and evaluated, including:
[0174] Prepare and preprocess the training dataset, including normalization and segmentation.
[0175] Design the CNN-RNN model architecture and determine the parameters of each layer.
[0176] The model is trained using the preprocessed training dataset.
[0177] Cross-validation and hyperparameter tuning techniques were used to optimize model performance.
[0178] The trained model is evaluated for accuracy and robustness.
[0179] Example 3
[0180] like Figure 4As shown, an electronic device includes a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement an AC fault arc detection method.
[0181] The present invention also provides an electronic device 100 for implementing an AC fault arc detection method of the above embodiment; the electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on the at least one processor 102, and at least one communication bus 104. The memory 101 can be used to store the computer program 103, and the processor 102 implements the steps of an AC fault arc detection method of embodiment 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101. The memory 101 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. At least one processor 102 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or the processor 102 may also be any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100. The memory 101 in the electronic device 100 stores multiple instructions to implement an AC fault arc detection method.
[0182] Example 4
[0183] A computer-readable storage medium stores at least one instruction. When the at least one instruction is executed by a processor, an AC fault arc detection method is implemented.
[0184] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory). It should be understood by those skilled in the art that the embodiments of the present invention can be provided as a method, system, or computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0185] It is known from common technical knowledge that the present invention can be implemented by its embodiments without departing from its spirit or essential features. Therefore, the embodiments disclosed above are only illustrative in all respects and are not exclusive. All changes within the scope of the present invention or within the scope equivalent to the present invention are included in the present invention.
Claims
1. A method for detecting an AC fault arc, characterized in that: The following steps are involved: Collect arc current signals on the cable to obtain arc current raw data sets; Performing empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions; For each intrinsic mode function, the Lyapunov exponent, interharmonic variance, and energy entropy are calculated; The three eigenvalues of Lyapunov index, interharmonic variance and energy entropy are used to construct the fault arc eigenvector; The obtained fault arc feature vector is input into the pre-trained CNN-RNN hybrid neural network model to obtain the fault arc detection result.
2. The method according to claim 1, characterized in that The step of performing empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions specifically includes: Initialize the EMD process, determine the number of decomposition iterations and the stopping criteria; The arc current raw data set is iteratively decomposed, and in each iteration, the intrinsic mode function is separated through mathematical operations; Extracting intrinsic mode functions one by one from the original data set of arc current until the remaining signal can no longer generate new intrinsic mode functions, and taking the remaining signal as the residual signal; The obtained intrinsic mode functions and residual signal sets are combined to form multiple groups of intrinsic mode functions.
3. The method according to claim 1, characterized in that The steps of respectively calculating the Lyapunov index, the interharmonic variance, and the energy entropy for each intrinsic mode function; and constructing the fault arc characteristic vector from the three eigenvalues of the Lyapunov index, the interharmonic variance, and the energy entropy specifically include: The obtained multiple groups of intrinsic mode functions are selectively reconstructed to obtain a reconstructed current signal reflecting the arc characteristics; The obtained reconstructed current signal is divided according to the time period to obtain the divided current period data for time series analysis; Performing time series analysis on each divided current cycle data to determine the time series characteristics of the data; Using the determined time series characteristics, the Lyapunov exponent of each current cycle data is calculated; Perform frequency domain analysis on current cycle data and calculate interharmonic variance; Based on the obtained timing characteristics and the calculated interharmonic variance, the energy entropy is calculated; The calculated Lyapunov index, interharmonic variance, and energy entropy are combined to construct the fault arc feature vector.
4. The method according to claim 1, characterized in that: The CNN-RNN hybrid neural network model includes at least one convolutional layer and at least one recurrent layer, the convolutional layer is used to extract spatial information of features, and the recurrent layer is used to extract temporal information of features.
5. The method according to claim 1, characterized in that The training steps of the pre-trained CNN-RNN hybrid neural network model specifically include: Prepare a training data set, which includes multiple current signal samples in normal and fault states, and each sample is equipped with a corresponding label; Preprocessing the prepared training data set, including normalization and segmentation, to obtain a preprocessed training data set; Design an RNN network structure to process the feature sequence extracted by CNN and capture the temporal dependencies therein; The CNN and RNN networks are integrated to build a CNN-RNN hybrid neural network model; Design the architecture of the CNN-RNN hybrid neural network model, including determining the number and parameters of convolutional layers, recurrent layers, and other connected layers; The designed CNN-RNN hybrid neural network model is trained using the preprocessed training data set, and the network weights are optimized through the back propagation algorithm and gradient descent method; During the training process, cross-validation and hyperparameter adjustment techniques are used to improve the generalization ability and performance of the CNN-RNN hybrid neural network model; After the training is completed, the trained CNN-RNN hybrid neural network model is evaluated, and the accuracy and robustness of the CNN-RNN hybrid neural network model are tested using the verification data set to obtain the trained CNN-RNN hybrid neural network model.
6. The method according to claim 1, characterized in that Before the obtained fault arc feature vector is input into the pre-trained CNN-RNN hybrid neural network model, the constructed fault arc feature vector is also standardized.
7. The method according to claim 1, characterized in that After the step of collecting the arc current signal on the cable, the step of performing denoising on the arc current signal is also included, which specifically includes: Identify and mark the noise components in the arc current signal; Apply a denoising algorithm to remove the identified noise components and obtain a denoised arc current signal; The denoised arc current signals are combined to obtain the arc current raw data set.
8. An AC fault arc detection system, characterized in that: include, A data acquisition unit is used to collect arc current signals on the cable to obtain an original data set of arc current; A data decomposition unit is used to perform empirical mode decomposition on the obtained arc current original data set to obtain multiple groups of intrinsic mode functions; A data calculation unit, used for calculating Lyapunov exponent, interharmonic variance and energy entropy for each intrinsic mode function; A vector construction unit is used to construct a fault arc feature vector using three eigenvalues: Lyapunov index, interharmonic variance, and energy entropy; The model detection unit is used to input the obtained fault arc feature vector into a pre-trained CNN-RNN hybrid neural network model to obtain a fault arc detection result.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement an AC fault arc detection method as described in claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, an AC fault arc detection method as described in claims 1-7 is implemented.
Citation Information
Cited By
Electronic load MOS tube burning prediction method based on multi-scale and BILSTM cross fusion
CN118839226A
Early warning method, system and equipment for potential safety hazard of electricity utilization of equipment and medium
CN118884095A
Early warning methods, systems, equipment and media for potential safety hazards of equipment electricity use
CN118884095B
Electrical fire early warning method and system for TOD building
CN119479249A
Electric arc detection method based on high-precision sampling circuit and empirical mode decomposition
CN119780624A
