Fault arc detection method and system based on GRU-Attention

By using GRU-Attention model and wavelet transformation technology in the AC system, the characteristic values ​​of fault current data are extracted, the problem of series fault arc detection is solved, the detection accuracy and efficiency are improved, and the detection difficulties of traditional methods are alleviated.

CN119044695AInactive Publication Date: 2024-11-29STATE GRID BEIJING ELECTRIC POWER CO +2
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411168098.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In AC systems, series fault arcs are difficult to detect accurately, and traditional protection devices are difficult to identify and determine the fault points, affecting the stability and safety of the power system.

Method used

Using the fault arc detection method based on GRU-Attention, fault current data is obtained on the preset experimental platform, the characteristic values ​​are extracted using the Fk4 wavelet-based wavelet transformation, and the GRU-Attention model is trained, combining ant colony optimization and Adam optimizer optimization model Parameters, construct detection model including input layer, GRU layer, attention layer and output layer.

Benefits of technology

It improves the accuracy of fault arc detection, reduces gradient disappearance and explosion problems, captures long-term dependencies, realizes efficient fault arc detection, and reduces the detection difficulty of traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119044695A_ABST
    Figure CN119044695A_ABST
Patent Text Reader

Abstract

The invention discloses a GRU-Attention-based fault arc detection method and system, and relates to the technical field of low-voltage AC power distribution, and the method comprises the steps: obtaining fault current data based on a preset AC fault arc experiment platform; extracting characteristic values of the fault current data; taking the characteristic values as a training set, training a preset GRU-Attention model, and obtaining a trained fault arc detection model; and performing fault arc detection on the to-be-detected power system based on the trained fault arc detection model. According to the invention, the technical problem that a traditional protection device is often difficult to accurately detect series fault arcs is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of low-voltage AC power distribution, and in particular to a GRU-Attention-based fault arc detection method and system. Background Art

[0002] In AC systems, series fault arcs are arc faults caused by cable aging, insulation damage, poor contact, etc. These problems may be caused by factors such as long-term operation of the equipment, harsh environment, or hidden dangers in the manufacturing process. The hazards of series fault arcs in AC systems are mainly manifested in their potential to cause fires, burn equipment, and affect the stability of the power system. When a series fault arc occurs in the circuit, high temperature and arc light radiation will be generated, which may cause surrounding materials to burn and cause a fire. In addition, the arc will also cause equipment damage and even have a negative impact on the operating stability of the power system. Therefore, for AC systems, it is necessary to detect and handle series fault arcs in a timely manner to avoid potential safety hazards.

[0003] The difficulty in detecting series fault arcs in AC systems lies mainly in the fact that the characteristics of the arcs are not easy to accurately identify. Traditional protection devices often have difficulty accurately detecting series fault arcs because series fault arcs reduce the loop current, which increases the difficulty of detection. In addition, the location of series fault arcs is unevenly distributed, and it is sometimes difficult to accurately determine the location of the fault point, which also brings challenges to detection. Summary of the invention

[0004] The purpose of the present invention is to provide a fault arc detection method and system based on GRU-Attention in order to solve at least one of the above technical problems.

[0005] In the first aspect, an embodiment of the present invention provides a fault arc detection method based on GRU-Attention, including: acquiring fault current data based on a preset AC fault arc experimental platform; extracting characteristic values ​​of the fault current data; using the characteristic values ​​as a training set, training a preset GRU-Attention model to obtain a trained fault arc detection model; and performing fault arc detection on a power system to be detected based on the trained fault arc detection model.

[0006] Furthermore, before obtaining the fault current data, the method also includes: building the preset AC fault arc experimental platform; wherein the preset AC fault arc experimental platform includes: connecting the cable test piece forming the carbonized conductive channel into the loop between the power system and the load.

[0007] Furthermore, extracting the characteristic value of the fault current data includes: extracting the characteristic value of the fault current data using a wavelet transform method based on an Fk4 wavelet basis.

[0008] Furthermore, the preset GRU-Attention model includes: an input layer, a GRU layer, an attention layer, a fully connected layer and an output layer.

[0009] Furthermore, the preset GRU-Attention model is trained, including: optimizing and updating parameters of the number of hidden units and the learning rate in the preset GRU-Attention model based on an ant colony optimization method and an Adam optimizer.

[0010] In the second aspect, an embodiment of the present invention also provides a fault arc detection system based on GRU-Attention, including: an acquisition module, an extraction module, a training module and a detection module; wherein the acquisition module is used to acquire fault current data based on a preset AC fault arc experimental platform; the extraction module is used to extract the characteristic values ​​of the fault current data; the training module is used to train the preset GRU-Attention model with the characteristic values ​​as a training set to obtain a trained fault arc detection model; the detection module is used to perform fault arc detection on the power system to be detected based on the trained fault arc detection model.

[0011] Furthermore, it also includes: a building module for: building the preset AC fault arc experimental platform; wherein the preset AC fault arc experimental platform includes: connecting the cable test piece forming the carbonized conductive channel into the loop between the power system and the load.

[0012] Furthermore, the extraction module is also used to extract the characteristic value of the fault current data using a wavelet transform method based on the Fk4 wavelet basis.

[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described in the first aspect above is implemented.

[0015] The embodiment of the present invention provides a fault arc detection method and system based on GRU-Attention, which adopts a recurrent neural network structure based on GRU, reduces the gradient vanishing and gradient explosion problems, and can better capture long-term dependencies; uses an experimental data set based on a series fault arc experimental platform to train the model, improves the detection accuracy of the fault arc, realizes efficient detection of fault arcs in AC systems, and alleviates the technical problem that traditional protection devices are often difficult to accurately detect series fault arcs. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0017] Figure 1 A flowchart of a fault arc detection method based on GRU-Attention provided in an embodiment of the invention;

[0018] Figure 2 A circuit diagram of an AC fault arc experimental platform provided by an embodiment of the present invention;

[0019] Figure 3 A waveform diagram of a wavelet transform based on the Fk4 wavelet basis provided in an embodiment of the present invention;

[0020] Figure 4 A schematic diagram of the structure of a GRU-Attention model provided in an embodiment of the present invention;

[0021] Figure 5 A schematic diagram of a model training process provided by an embodiment of the present invention;

[0022] Figure 6 A schematic diagram of a fault arc detection system based on GRU-Attention is provided for an embodiment of the invention. DETAILED DESCRIPTION

[0023] 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 invention can be combined with each other without conflict.

[0024] 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 invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.

[0025] Embodiment 1

[0026] Figure 1 FIG. 1 is a flow chart of a fault arc detection method based on GRU-Attention according to an embodiment of the present invention. Figure 1 As shown, the method specifically comprises the following steps:

[0027] Step S102, acquiring fault current data based on a preset AC fault arc experimental platform.

[0028] Step S104: extracting characteristic values ​​of fault current data.

[0029] Step S106, using the feature values ​​as a training set, training the preset GRU-Attention model to obtain a trained fault arc detection model.

[0030] Step S108: performing arc fault detection on the power system to be detected based on the trained arc fault detection model.

[0031] Specifically, before step S102, the method further includes: building a preset AC fault arc experimental platform; wherein,

[0032] The preset AC fault arc experimental platform includes: connecting a cable test piece forming a carbonized conductive channel into a loop between a power system and a load.

[0033] Figure 2 FIG. 1 is a circuit diagram of an AC fault arc experimental platform provided according to an embodiment of the present invention. Figure 2 As shown, in an optional implementation manner provided by an embodiment of the present invention, the process of acquiring fault current data is as follows: first, the test switches S1 and S2 are in a closed position and the test current reaches a stable state, and then the test switch S2 is opened to connect the cable sample forming a carbonized conductive channel to the loop to generate a stable arc; finally, the bus current value of the line to be tested is collected to obtain the fault current data.

[0034] Preferably, step S104 specifically includes: extracting characteristic values ​​of the fault current data using a wavelet transform method based on the Fk4 wavelet basis.

[0035] Figure 3 FIG. 1 is a waveform diagram of a wavelet transform based on the Fk4 wavelet basis provided according to an embodiment of the present invention. Figure 3 As shown, after the collected fault current data is subjected to wavelet transformation based on the Fk4 wavelet basis, the characteristic amplitude can be significantly increased, and the prediction of the model after training can be made more accurate.

[0036] In the embodiment of the present invention, the extracted feature values ​​are divided into two groups, 80% of the randomly selected feature values ​​are used as a training set, and the remaining 20% ​​are used as a test set to train the preset GRU-Attention model.

[0037] Figure 4 is a schematic diagram of the structure of a GRU-Attention model provided according to an embodiment of the present invention. Figure 4 As shown, the preset GRU-Attention model includes: input layer, GRU layer, attention layer (i.e., Attention layer), fully connected layer and output layer.

[0038] Among them, the input layer: converts the input features into vector representation;

[0039] GRU layer: GRU is an improved recurrent neural network (RNN) structure that controls the flow of information by adding update gates and reset gates. GRU can effectively capture long-distance dependencies in sequence data;

[0040] Attention layer: The attention mechanism is used to give different weights to different parts of the input sequence so that more attention can be paid to important information in subsequent calculations. It calculates the attention weight of each time step and performs a weighted summation of different parts of the input sequence;

[0041] Fully connected layer: connected to all neurons in the previous layer to achieve free transmission of information and extract features layer by layer;

[0042] Output layer: maps the feature vector processed by GRU and attention mechanism to the final output space.

[0043] Preferably, if Figure 4 As shown, the model also includes a Dropout layer and a Batch Normalization layer, where Dropout is used to correct overfitting and Batch Normalization scales the data to a common scale.

[0044] In the embodiment of the present invention, in order to achieve the best training result, in the process of training the preset GRU-Attention model, the number of hidden units and the learning rate in the preset GRU-Attention model are optimized and the parameters are updated based on the ant colony optimization method and the Adam optimizer. The model training process is as follows Figure 5 Finally, the test set is input into the trained fault arc detection model to obtain the classification prediction result. In an optional implementation provided by the embodiment of the present invention, the prediction result includes 0 and 1, where 0 represents a normal state and 1 represents a fault state.

[0045] The embodiment of the present invention provides a fault arc detection method based on GRU-Attention, which has the following technical effects compared with the prior art:

[0046] () The GRU-based recurrent neural network structure is used to reduce the gradient vanishing and gradient exploding problems and better capture long-term dependencies;

[0047] (2) The model was trained using an experimental data set based on a series fault arc experimental platform, which improved the detection accuracy of the fault arc and achieved efficient detection of the fault arc in the AC system.

[0048] (3) Using wavelet transform based on Fk4 wavelet to extract feature quantities can make the feature values ​​of the fault period and the normal period clearly distinguishable;

[0049] (4) Introducing the attention mechanism into the GRU model makes the model pay more attention to important features and achieve better prediction results;

[0050] (5) The constructed model has fewer parameters and faster training and prediction speeds.

[0051] Embodiment 2

[0052] Figure 6 is a schematic diagram of a fault arc detection system based on GRU-Attention according to an embodiment of the present invention. Figure 6 As shown, the system includes: an acquisition module 10, an extraction module 20, a training module 30 and a detection module 40.

[0053] Specifically, the acquisition module 10 is used to acquire fault current data based on a preset AC fault arc experimental platform;

[0054] An extraction module 20, used to extract characteristic values ​​of fault current data;

[0055] A training module 30 is used to train a preset GRU-Attention model using the feature values ​​as a training set to obtain a trained arc fault detection model;

[0056] The detection module 40 is used to perform arc fault detection on the power system to be detected based on the trained arc fault detection model.

[0057] Specifically, Figure 6 As shown, the system further includes: a building module 50, for:

[0058] Build a preset AC fault arc experimental platform; among them,

[0059] The preset AC fault arc experimental platform includes: connecting a cable test piece forming a carbonized conductive channel into a loop between a power system and a load.

[0060] Specifically, the extraction module 20 is further used to extract the characteristic value of the fault current data by using a wavelet transform method based on the Fk4 wavelet basis.

[0061] Specifically, the training module 30 is also used to optimize and update the number of hidden units and the learning rate in the preset GRU-Attention model based on the ant colony optimization method and the Adam optimizer.

[0062] An embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method provided by the present invention when executing the computer program.

[0063] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method provided by the present invention is implemented.

[0064] It is known from common technical knowledge that the present invention can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments 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.

[0065] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may 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.

[0066] 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 1A device that provides the functions specified in a block or multiple blocks.

[0067] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0068] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A fault arc detection method based on GRU-Attention, characterized in that: include: Based on the preset AC fault arc experimental platform, the fault current data is obtained; Extracting characteristic values ​​of the fault current data; Using the characteristic values ​​as a training set, training a preset GRU-Attention model to obtain a trained fault arc detection model; Based on the trained arc fault detection model, arc fault detection is performed on the power system to be detected.

2. The method according to claim 1, characterized in that Before acquiring the fault current data, the method further includes: building the preset AC fault arc experimental platform; wherein, The preset AC fault arc experimental platform includes: connecting a cable test piece forming a carbonized conductive channel into a loop between a power system and a load.

3. The method according to claim 1, characterized in that Extracting characteristic values ​​of the fault current data includes: The characteristic value of the fault current data is extracted by using a wavelet transform method based on the Fk4 wavelet basis.

4. The method according to claim 1, characterized in that The preset GRU-Attention model includes: an input layer, a GRU layer, an attention layer, a fully connected layer and an output layer.

5. The method according to claim 1, characterized in that The preset GRU-Attention model is trained, including: optimizing the number of hidden units and the learning rate in the preset GRU-Attention model and updating parameters based on an ant colony optimization method and an Adam optimizer.

6. A fault arc detection system based on GRU-Attention, characterized in that: include: Acquisition module, extraction module, training module and detection module; among them, The acquisition module is used to acquire fault current data based on a preset AC fault arc experimental platform; The extraction module is used to extract the characteristic value of the fault current data; The training module is used to train a preset GRU-Attention model using the feature values ​​as a training set to obtain a trained fault arc detection model; The detection module is used to perform arc fault detection on the power system to be detected based on the trained arc fault detection model.

7. The system according to claim 6, characterized in that Also includes: Building blocks for: Build the preset AC fault arc experimental platform; wherein, The preset AC fault arc experimental platform includes: connecting a cable test piece forming a carbonized conductive channel into a loop between a power system and a load.

8. The system according to claim 6, characterized in that The extraction module is further used to extract the characteristic value of the fault current data by utilizing a wavelet transform method based on the Fk4 wavelet basis.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 5 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Power equipment fault detection model based on attention mechanism in combination with GRU

    CN114528755A

  • Multi-information fusion partial discharge detection device based on deep learning

    CN115542092A

  • Fault arc detection method, device and equipment and readable storage medium

    CN116520082A

  • Low-voltage distribution network AC series arc fault diagnosis method

    CN116908618A

  • DC fault arc detection method and system for building photovoltaic system

    CN117216518A