Grounding grid intelligent fault diagnosis method based on multi-attention pulse neural network

Through the intelligent fault diagnosis method of grounding grid based on multi-attention impulse neural network, using electrical impedance imaging technology and Spikingjelly framework, the problem of large error and complexity in grounding grid fault diagnosis is solved, and high accuracy and efficient fault diagnosis are achieved. Electrical impedance imaging data set for grounding grids.

CN118674996APending Publication Date: 2024-09-20LIAONING TECHNICAL UNIVERSITY

Patent Information

Application Number
CN202410920335.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing grounding grid fault diagnosis methods have problems such as large errors, large workloads, unintelligentness, and inconvenience. In particular, the electromagnetic field method is susceptible to electromagnetic interference during measurement, and the data complexity of electrical impedance imaging makes fault diagnosis tasks complex.

Method used

An intelligent fault diagnosis method for grounding grids based on multi-attention spiking neural network is adopted. By constructing a multi-attention spiking neural network model MA-SNN, electrical impedance imaging technology is used to establish a data set, and the model is trained under the Spikingjelly framework to directly communicate with the grounding grid. Use electrical impedance imaging pictures for fault diagnosis and output fault severity levels.

Benefits of technology

It realizes the intelligentization of grounding grid fault diagnosis, improves the diagnosis accuracy and efficiency, avoids the problem of data set representativeness, and is suitable for the electrical impedance imaging data set of grounding grids. It retains the advantages of the third generation neural network and performs well in practical applications. produce higher accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674996A
    Figure CN118674996A
Patent Text Reader

Abstract

The invention discloses a grounding grid intelligent fault diagnosis method based on a multi-attention pulse neural network, and relates to the technical field of grounding grid intelligent fault diagnosis, and the method comprises the steps: constructing a data set of different fault levels, different fault numbers and different fault positions of a grounding grid through employing an electrical impedance imaging technology; performing image enhancement on the original grounding grid data set to obtain a grounding grid data set with strong contrast; the method comprises the following steps: constructing a multi-attention pulse neural network model MA-SNN under a Spikingjelly framework; training an MA-SNN model on the grounding grid data set with strong contrast; and performing intelligent fault diagnosis on the grounding grid by using the trained MA-SNN model to obtain the current fault degree of the grounding grid. According to the invention, on the basis that visualization of the corrosion position of the grounding grid is completed by the electrical impedance imaging technology, intelligent fault diagnosis of the grounding grid with low energy consumption, high speed and high accuracy is realized, so that the problems of large task load, non-intelligence, inconvenience and the like in fault diagnosis of the grounding grid are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent fault diagnosis of grounding grids, and in particular to an intelligent fault diagnosis method of grounding grids based on a multi-attention pulse neural network. Background Art

[0002] The grounding grid is an important measure to maintain the safe and reliable operation of the power system and to ensure the safety of personnel. With the development of the power industry, the scale of the power system is getting larger and larger, and the requirements for the safe and stable operation of the power system are getting higher and higher. Therefore, regular fault diagnosis and subsequent operation and maintenance of the grounding grid are essential and important tasks.

[0003] For the fault diagnosis task of the grounding grid, since it is necessary to obtain the change of resistance, the current methods are mostly combined with the electrical network method and the electromagnetic field method, and the electrical impedance imaging method. However, the electromagnetic field method has electromagnetic interference during measurement, which has certain errors, and the number of resistivities in the electrical impedance imaging is large, and the location of the grid division also makes it extremely complicated to perform fault diagnosis based on the data. Therefore, in the grounding grid fault diagnosis task, in addition to the error problem of the method itself, there are also problems such as large workload, lack of intelligence, and inconvenience.

[0004] In order to achieve intelligent fault diagnosis and solve the related performance problems brought by traditional methods, researchers have introduced deep learning into industrial fault diagnosis. However, as the second-generation neural network, the application of neuroscience in various artificial neural networks (ANN) has gradually weakened, which is not conducive to the development of artificial intelligence close to the level of the human brain. Therefore, the pulse neural network has a higher biological rationality due to its specific pulse triggering method, which is closer to the action mode of biological neurons and becomes the third-generation neural network. Due to its advantages such as small computational complexity, low energy consumption, fast speed and application on neural chips, it has broad prospects in practical applications and has gradually been introduced into the field of fault diagnosis. For example, in 2024, Jiale Liu of the University of Electronic Science and Technology of China and Huan Wang of Tsinghua University proposed a wide pulse residual grouping attention framework to achieve intelligent fault diagnosis and realized the fault level classification of bearing data sets on bearing data sets, but the proposed method is the training method of ANN-SNN, not the direct training of SNN network. In the same year, Zongtang Xu et al. proposed a deep pulse residual shrinkage neural network for bearing fault diagnosis. However, the bearing dataset is different from the grounding grid image dataset. The model in the above study is not suitable for the grounding grid fault diagnosis dataset in terms of training method, neurons, and attention mechanism selection. Therefore, a new model needs to be proposed to realize intelligent fault diagnosis of grounding grid. Summary of the invention

[0005] In view of the problems and development prospects of the above-mentioned prior arts, the present invention aims to combine the grounding grid fault diagnosis task with the pulse neural network, and proposes an intelligent fault diagnosis method for the grounding grid based on the multi-attention pulse neural network. By using the trained pulse neural network model, the electrical impedance imaging image of the grounding grid is directly diagnosed, and the fault degree level is output as the diagnosis result, so as to realize the intelligent diagnosis of the grounding grid fault.

[0006] The present invention proposes a grounding grid intelligent fault diagnosis method based on a multi-attention pulse neural network, comprising the following steps: step S1, using electrical impedance imaging technology to construct a data set of different fault levels, different fault numbers and different fault positions of the grounding grid; step S2, performing image enhancement on the original grounding grid data set to obtain a grounding grid data set with high contrast; step S3, constructing a multi-attention pulse neural network model MA-SNN under the Spikingjelly framework; step S4, training the MA-SNN model on the grounding grid data set with high contrast; step S5, using the trained MA-SNN model to perform intelligent fault diagnosis on the grounding grid.

[0007] Furthermore, in step S1, the electrical impedance imaging technology is used to construct a data set of different fault levels, different fault numbers and different fault locations of the grounding grid, including: According to the different degrees of grounding grid corrosion, in different numbers and positions, a sufficient and non-repetitive grounding grid dataset is constructed. The grid size of the electrical impedance imaging image is re-determined to improve the imaging speed.

[0008] Furthermore, in step S2, image enhancement is performed on the original ground grid dataset to obtain a ground grid dataset with high contrast, including: The original grounding grid dataset is subjected to local adaptive contrast enhancement. In Lab mode, the image contrast is improved by increasing the brightness channel L in the local block. The value of the L channel is adjusted using the mean and variance of different local blocks. The adjusted image can enhance the contrast between the fault location and the non-fault location, and obtain a grounding grid dataset with strong contrast. The calculation formulas for the mean, variance, and L channel contrast enhancement are as follows: (1) (2) (3) In the formula, is the pixel L component value of the local block, represents the mean value of the nth local block, represents the variance of the nth local block, is the enhanced L channel component value. The pixel sum and square sum in the process of solving the mean and variance are obtained using the integral image and square integral image of the local block.

[0009] Furthermore, in the step S3, a multi-attention spiking neural network model MA-SNN is constructed under the Spikingjelly framework, including: constructing a multi-attention mechanism spiking neural network MA-SNN (Multi-Attention MechanismsSpiking Neural Network), the network includes a pulse coding layer, a residual layer, and a classification layer. Among them, the coding layer is a module in MA-SNN that completes the pulse coding of the image, and performs pulse coding on the grounding grid imaging image, which is the first three layers of MA-SNN: convolution layer-BN layer-spiking neuron; the residual layer is the main layer of MA-SNN, extracting the features of different fault categories of the grounding grid, and MA-SNN contains a total of 8 residual blocks, each residual block contains two spiking neurons, and identity mapping is performed after the two spiking neurons; the classification layer is a module in MA-SNN that implements the final fault level classification of the grounding grid, which is composed of a fully connected layer.

[0010] Furthermore, the MA module in the MA-SNN model structure is a multi-attention module, which is an internal module of identity mapping in the residual layer. Among them, multi-attention includes two types: temporal attention mechanism (TA) and temporal channel attention mechanism (TCA), which are located after the convolution layer and BN layer in the residual block respectively. The input-output relationship of the MA module is: (4) in For module input, input the pulse code of the grounding grid image into the module. After the last MA module output, the identity mapping is completed and output to the classification layer, thereby completing the level classification of the grounding grid fault and realizing the intelligent fault diagnosis of the grounding grid.

[0011] Furthermore, in the MA-SNN model structure, all spiking neurons in the backbone network adopt PLIF (Parametric-Leaky-Integrate-and-Fire), and the charging equation is: (5) in, is the membrane potential after the discharge at the previous moment, is an external input, To reset the membrane potential, is the membrane time constant and can be learned.

[0012] Furthermore, in step S4, the MA-SNN model is trained on a ground grid data set with strong contrast, including: MA-SNN is built in the Spikingjelly framework. When training the model, the propagation mode is Multi-Step, and the image input is five-dimensional input. The training backend uses cupy, that is, backend = 'cupy', to speed up the training. The MA-SNN trained on the grounding grid dataset can realize the fault level classification of the grounding grid impedance imaging image.

[0013] Furthermore, in the step S5, the trained MA-SNN model is used to perform intelligent fault diagnosis on the grounding grid, including the following steps: step S51: obtaining current voltage data by applying an excitation current to the grounding grid to be diagnosed; step S52: completing impedance imaging using the obtained voltage data of the grounding grid to obtain an impedance imaging image; step S53: sending the obtained impedance imaging image to the MA-SNN model, and completing classification using the trained MA-SNN; step S54: the MA-SNN model directly outputs the fault level of the current grounding grid, and can visualize the fault location based on the impedance imaging image to complete the intelligent fault diagnosis of the grounding grid.

[0014] Compared with the prior art, the present invention has the following advantages: 1. The present invention discloses a grounding grid intelligent fault diagnosis method based on a multi-attention pulse neural network, which uses electrical impedance imaging technology to establish a simulation data set, and is convenient for obtaining data sets of different fault levels, different fault numbers and different fault locations, thereby ensuring the comprehensiveness of the data set and avoiding the problem of obtaining a high accuracy rate under a special case data set with a better effect, which makes the method unrepresentative. At the same time, the different fault levels of the grounding grid are determined by the resistance change of the grounding grid, and the electrical impedance imaging technology is used to perform imaging based on the resistivity of the grounding grid, so that the fault level of the grounding grid can be set more clearly when establishing the data set.

[0015] 2. The present invention constructs a multi-attention pulse neural network MA-SNN model, which adopts a residual network as the main network structure. At the same time, the residual block selects identity mapping after two pulse neurons. On the basis of a simple pulse residual network, an extra layer of pulse neurons is added before identity mapping, which can improve the performance of the residual module in the pulse neuron. The pulse neuron adopts PLIF neurons. For the application object of grounding grid imaging pictures, PLIF neurons have better expressiveness. The structural arrangement of the attention mechanism in the MA module in the model is more suitable for the electrical impedance imaging data set of the grounding grid. While retaining the advantages of the third-generation neural network, it can greatly improve the network accuracy and accurately realize the intelligent fault diagnosis of the grounding grid.

[0016] The technical solution of the present invention is further illustrated and described below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to introduce the present invention more clearly and in detail, this section briefly introduces the drawings required for describing the embodiments. The drawings are part of the present invention and do not constitute an improper limitation on the present invention. The drawings include: Figure 1 A schematic diagram of a flow chart of a grounding grid intelligent fault diagnosis method based on a multi-attention pulse neural network provided in an embodiment of the present invention; Figure 2 Schematic diagram of electrical impedance imaging grid division of the grounding grid in an embodiment of the present invention; Figure 3 A schematic diagram of the structure of a multi-attention pulse neural network model MA-SNN in an embodiment of the present invention; Figure 4 Schematic diagram of the MA module structure of the MA-SNN model in an embodiment of the present invention; Figure 5 It is a schematic diagram of the process of performing intelligent fault diagnosis on the grounding grid using the trained MA-SNN model in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0019] like Figure 1 As shown, it is a flow chart of a method for intelligent fault diagnosis of a grounding grid based on a multi-attention pulse neural network provided in an embodiment of the present invention, and the method comprises the following steps: step S1, using electrical impedance imaging technology to construct a data set of different fault levels, different fault numbers and different fault positions of the grounding grid; step S2, performing image enhancement on the original grounding grid data set to obtain a grounding grid data set with high contrast; step S3, constructing a multi-attention pulse neural network model MA-SNN under the Spikingjelly framework; step S4, training the MA-SNN model on the grounding grid data set with high contrast; step S5, using the trained MA-SNN model to perform intelligent fault diagnosis on the grounding grid.

[0020] In step S1, the data set of different fault levels, different fault numbers and different fault positions of the grounding grid is constructed by using the electrical impedance imaging technology, including: According to the different degrees of corrosion of the grounding grid, in different quantities and different positions, a sufficient and non-repetitive grounding grid data set is constructed, wherein the grid size of the electrical impedance imaging image is re-determined to improve the imaging speed. The data set constructed in this embodiment is based on the "Technical Guidelines for Diagnosis of Grounding Grid Corrosion", and the fault degree of the grounding grid is divided into four levels, namely: light corrosion, medium corrosion, heavy corrosion, and fracture, and the classification standards are shown in Table 1.

[0021] Table 1 Classification criteria for different fault levels of grounding grid Corrosion degree Light corrosion Medium corrosion Heavy corrosion fracture Grounding network branch resistance increase multiple 0~1 2~9 >9 Ratio of grounding grid branch conductivity to soil conductivity 1~20 The number of faults in the grounding grid is set to 1-4, a total of four cases; data sets with different fault positions are constructed according to the fault distribution in different rows and columns. There are 2,000 images in each data set with different numbers of faults, including 500 images with different fault levels, so a total of 8,000 images are constructed as the grounding grid data set of this embodiment.

[0022] At the same time, determine the grid size of the electrical impedance imaging image, set N=2, such as Figure 2 , which is a schematic diagram of the grid division of the electrical impedance imaging of the grounding grid in an embodiment of the present invention. N=2 means that the distance between the left and right ends of a grounding grid is divided into two triangulation unit lengths. Setting N=2 can not only retain relatively accurate information of the grounding grid, but also ensure a faster imaging speed.

[0023] In step S2, the original ground grid dataset is enhanced to obtain a ground grid dataset with high contrast, including: The original grounding grid dataset is subjected to local adaptive contrast enhancement. In Lab mode, the image contrast is improved by increasing the brightness channel L in the local block. The value of the L channel is adjusted using the mean and variance of different local blocks. The adjusted image can enhance the contrast between the fault location and the non-fault location, and obtain a grounding grid dataset with strong contrast. The calculation formulas for the mean, variance, and L channel contrast enhancement are as follows: (1) (2) (3) In the formula, is the pixel L component value of the local block, represents the mean value of the nth local block, represents the variance of the nth local block, is the enhanced L channel component value. The pixel sum and square sum in the process of solving the mean and variance are: , The integral map and square integral map of the local block are used to reduce the amount of calculation, wherein the square integral map directly uses the square of the difference between the pixel value and the mean value.

[0024] After local adaptive contrast enhancement processing, a grounding grid dataset with strong contrast is obtained, which highlights the fault characteristics and is sent to the created MA-SNN model for training.

[0025] In step S3, a multi-attention spiking neural network model MA-SNN is constructed under the Spikingjelly framework, including: constructing a multi-attention mechanism spiking neural network MA-SNN (Multi-Attention Mechanisms SpikingNeural Network), the network includes a spike coding layer, a residual layer, and a classification layer, such as Figure 3 As shown, it is a schematic diagram of the structure of the multi-attention pulse neural network model MA-SNN in an embodiment of the present invention. Among them, the encoding layer is a module in MA-SNN that completes the pulse encoding of the image, and performs pulse encoding on the grounding grid imaging image, which is the first three layers of MA-SNN: convolution layer-BN layer-pulse neuron; the residual layer is the main layer of MA-SNN, which extracts the characteristics of different fault categories of the grounding grid. MA-SNN contains a total of 8 residual blocks, each of which contains two pulse neurons, and identity mapping is performed after the two pulse neurons; the classification layer is a module in MA-SNN that realizes the final fault level classification of the grounding grid, which is composed of a fully connected layer.

[0026] Furthermore, the MA module in the MA-SNN model structure is a multi-attention module, which is an internal module of the identity mapping in the residual layer, such as Figure 4 As shown in FIG. 1 , it is a schematic diagram of the MA module structure of the MA-SNN model in an embodiment of the present invention. Among them, multi-attention includes two types: temporal attention mechanism (TA) and temporal channel attention mechanism (TCA). One residual block contains three TAs and one TCA, which are located after the convolution layer and the BN layer in the residual block respectively. The input-output relationship of the MA module is: (4) in For module input, input the pulse code of the grounding grid image into the module. After the last MA module output, the identity mapping is completed and output to the classification layer, thereby completing the level classification of the grounding grid fault and realizing the intelligent fault diagnosis of the grounding grid.

[0027] In the MA-SNN model structure, all spiking neurons in the backbone network use PLIF (Parametric-Leaky-Integrate-and-Fire), and the charging equation is: (5) in, is the membrane potential after the discharge at the previous moment, is an external input, To reset the membrane potential, is the membrane time constant and can be learned.

[0028] In this example, the initial membrane time constant of the PLIF neuron Set to 2, T in the time attention mechanism is set to 4, the convolution conversion multiple in the attention mechanism is set to 1 / 2, and the convolution multiple in the channel attention mechanism is set to 1 / 16. The grounding grid dataset is input in batches in the form of images, and the encoding from images to pulses is completed in the encoding layer of the MA-SNN model; feature extraction is further completed in the residual layer, in which the attention mechanism can optimize the extraction process; finally, the classification of different fault levels of the grounding grid is completed in the classification layer.

[0029] In step S4, the MA-SNN model is trained on the grounding grid data set with strong contrast, including: MA-SNN is built in the Spikingjelly framework, the propagation mode is selected as Multi-Step when training the model, and the image input is five-dimensional input. The training backend uses cupy, that is, backend = 'cupy', to speed up the training speed. The MA-SNN trained on the grounding grid data set can realize the fault level classification of the grounding grid electrical impedance imaging image.

[0030] In this embodiment, the image data set after contrast enhancement is divided into a training set and a test set at a ratio of 8:2. The optimizer uses Adam, and the loss function uses the MSELoss mean square error loss function to train the MA-SNN model. When training the model, the propagation mode uses the multi-step mode (Multi-Step) to input five-dimensional data. At this time, the image input format is: [ T , N , C , H , W ] Five-dimensional data completely contains time, channel, and space information, and only the data position needs to be adjusted when using different attention mechanisms.

[0031] In the time attention mechanism, the data order is adjusted to: [ N , T , C , H , W ] At this point, time becomes the input channel of the subsequent convolutional layer; In the channel attention mechanism, the data order is adjusted to: [ N , C , T , H , W ] At this point, the channel becomes the input channel of the subsequent convolutional layer.

[0032] Among them, TCA is the temporal channel attention mechanism, and the channel attention mechanism is performed on the basis of the temporal attention mechanism. The two attention mechanisms are activated after completion.

[0033] After the model training is completed, the actual fault level labels of the grounding grid impedance image are compared with the fault level labels obtained by MA-SNN verification to obtain the accuracy of the MA-SNN model.

[0034] In step S5, the trained MA-SNN model is used to perform intelligent fault diagnosis on the grounding grid. The data set established in this embodiment is a 3*3 grounding grid grid. The trained MA-SNN model is also suitable for fault diagnosis of the 3*3 grounding grid grid. When applied in the actual grounding grid, 3*3 regional partition diagnosis is adopted. Figure 5 As shown, it is a schematic diagram of the process of performing intelligent fault diagnosis on the grounding grid using the trained MA-SNN model in an embodiment of the present invention, including the following steps: Step S51: Applying an excitation current to the selected 3*3 grounding grid area to be diagnosed to obtain voltage data; Step S52: Using the voltage data obtained from the 3*3 grounding grid to complete impedance imaging, and obtain an impedance imaging image; Step S53: Sending the obtained impedance imaging image to the MA-SNN model, and completing classification with the trained MA-SNN; Step S54: The MA-SNN model directly outputs the fault level of the current grounding grid (light corrosion, medium corrosion, heavy corrosion, fracture), and can complete the intelligent fault diagnosis of the grounding grid according to the visual fault location of the impedance imaging image.

[0035] From the contents of the above embodiments, it can be seen that the intelligent fault diagnosis method for the grounding grid based on the multi-attention pulse neural network proposes a method for constructing a data set and an effective method for enhancing the data set, and at the same time constructs a pulse neural network MA-SNN model structure with a multi-attention mechanism, which effectively improves the accuracy of the model. According to the method flow provided by the present invention, in the entire system, it is possible to gradually obtain voltage data from the actual grounding grid, generate a grounding grid imaging map through impedance imaging, and then send it to the pulse neural network model to complete the fault diagnosis of the actual grounding grid. The present invention introduces deep learning into the state level classification of the grounding grid, and realizes the intelligent fault diagnosis of the grounding grid on the basis of completing the visualization of the fault position of the grounding grid with impedance imaging technology.

[0036] The above description is only a preferred embodiment of the present invention, which is exemplary and not exhaustive, and does not limit the present invention in any way. All modifications and variations according to the present invention belong to the scope of the claims of the present invention and their equivalent technologies, that is, any simple modification, change and equivalent change made to the above embodiments by the essence of the invention technology still fall within the protection scope of the technical solution of the present invention.

Claims

1. A grounding grid intelligent fault diagnosis method based on multi-attention pulse neural network, characterized in that: The method comprises the following steps: step S1, using electrical impedance imaging technology to construct a data set of different fault levels, different fault numbers and different fault positions of a grounding grid; step S2, performing image enhancement on the original grounding grid data set to obtain a grounding grid data set with strong contrast; step S3, constructing a multi-attention spike neural network model MA-SNN under the Spikingjelly framework; step S4, training the MA-SNN model on the grounding grid data set with strong contrast; and step S5, using the trained MA-SNN model to perform intelligent fault diagnosis on the grounding grid.

2. The grounding grid intelligent fault diagnosis method based on multi-attention pulse neural network according to claim 1, characterized in that: In step S1, the electrical impedance imaging technology is used to construct a data set of different fault levels, different fault numbers and different fault locations of the grounding grid, including: constructing a sufficient and non-repetitive grounding grid data set according to different degrees of grounding grid corrosion, in different quantities and different positions, wherein the grid division size of the electrical impedance imaging image is re-determined to improve the imaging speed.

3. The intelligent fault diagnosis method for grounding grid based on multi-attention pulse neural network according to claim 1, characterized in that: In step S2, the original grounding grid data set is image enhanced to obtain a grounding grid data set with high contrast, including: performing local adaptive contrast enhancement on the original grounding grid data set, and improving the image contrast by increasing the brightness channel L in the local block in Lab mode. The value of the L channel is adjusted using the mean and variance of different local blocks. The adjusted image can enhance the contrast between the fault location and the non-fault location, and obtain a grounding grid data set with high contrast. Among them, the calculation formulas for the mean, variance and L channel contrast enhancement are: (1) (2) (3) In the formula, is the pixel L component value of the local block, represents the mean value of the nth local block, represents the variance of the nth local block, is the enhanced L channel component value. The pixel sum and square sum in the process of solving the mean and variance are obtained using the integral image and square integral image of the local block.

4. The grounding grid intelligent fault diagnosis method based on multi-attention pulse neural network according to claim 1, characterized in that: In the step S3, a multi-attention spiking neural network model MA-SNN is constructed under the Spikingjelly framework, including: constructing a multi-attention mechanism spiking neural network MA-SNN (Multi-Attention Mechanisms SpikingNeural Network), the network includes a pulse coding layer, a residual layer, and a classification layer. Among them, the coding layer is a module in MA-SNN that completes the pulse coding of the image, and performs pulse coding on the grounding grid imaging image, which is the first three layers of MA-SNN: convolution layer-BN layer-spiking neuron; the residual layer is the main layer of MA-SNN, extracting the features of different fault categories of the grounding grid, and MA-SNN contains a total of 8 residual blocks, each residual block contains two spiking neurons, and identity mapping is performed after the two spiking neurons; the classification layer is a module in MA-SNN that implements the final fault level classification of the grounding grid, and is composed of a fully connected layer.

5. The intelligent fault diagnosis method for grounding grid based on multi-attention pulse neural network according to claim 4, characterized in that: The MA module in the MA-SNN model structure is a multi-attention module, which is an internal module of identity mapping in the residual layer. Among them, multi-attention includes two types: temporal attention mechanism (TA) and temporal channel attention mechanism (TCA), which are located after the convolution layer and BN layer in the residual block respectively. The input and output relationship of the MA module is: (4) in For module input, input the pulse code of the grounding grid image into the module. After the last MA module output, the identity mapping is completed and output to the classification layer, thereby completing the level classification of the grounding grid fault and realizing the intelligent fault diagnosis of the grounding grid.

6. The grounding grid intelligent fault diagnosis method based on multi-attention pulse neural network according to claim 4, characterized in that: In the MA-SNN model structure, all spiking neurons in the backbone network use PLIF (Parametric-Leaky-Integrate-and-Fire), and its charging equation is: (5) in, is the membrane potential after the discharge at the previous moment, is an external input, To reset the membrane potential, is the membrane time constant and can be learned.

7. The grounding grid intelligent fault diagnosis method based on multi-attention pulse neural network according to claim 1, characterized in that: In step S4, the MA-SNN model is trained on a grounding grid data set with a strong contrast, including: MA-SNN is built in the Spikingjelly framework, a multi-step mode is selected as the propagation mode when training the model, and the image input is a five-dimensional input. The training backend uses cupy, that is, backend = 'cupy', to speed up the training speed. The MA-SNN trained on the grounding grid data set can realize the fault level classification of the grounding grid electrical impedance imaging image.

8. The intelligent fault diagnosis method for grounding grid based on multi-attention pulse neural network according to claim 1 is characterized in that: In the step S5, the trained MA-SNN model is used to perform intelligent fault diagnosis on the grounding grid, including the following steps: step S51: obtaining current voltage data by applying an excitation current to the grounding grid to be diagnosed; step S52: completing impedance imaging using the obtained voltage data of the grounding grid to obtain an impedance imaging image; step S53: sending the obtained impedance imaging image to the MA-SNN model, and completing classification using the trained MA-SNN; step S54: the MA-SNN model directly outputs the fault level of the current grounding grid, and can visualize the fault location based on the impedance imaging image to complete the intelligent fault diagnosis of the grounding grid.

Citation Information

Patent Citations

  • End-to-end pulse neural network industrial process fault diagnosis method

    CN116560337A

  • Rolling bearing fault diagnosis method based on spiking neural network

    CN116910594A

  • Grounding grid state evaluation method based on electrical impedance tomography and CA-OfficientNetV2

    CN117786504A

Cited By

  • Distribution line fault type identification method based on data enhancement algorithm

    CN122020320A