Transformers partial discharge pattern recognition based on Vision Transform
필름·전자재료 · (18) VENT(방수통기 부품)
기본 정보
- 저자
- DOI
- 10.1088/1742-6596/2903/1/012010
- 저널
- Journal of Physics Conference Series
- 발행년도
- 2024
- 발행기관
- IOP Publishing
- 피인용수
- 1
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1088/1742-6596/2903/1/012010
- 토픽
- High voltage insulation and dielectric phenomena
- OpenAlex ID
- W4404996831
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (18) VENT(방수통기 부품)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > VENT(방수통기 부품)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 16,087자
본문 펼치기
섹션 본문 30문단 · 15,322자
(제목 없음)
1The secure and stable operation of modern electricity systems depends on the reliable performance of transformers.Partial discharge (PD), as a common fault phenomenon in transformers, has a significant impact on its performance and lifetime.Traditional PD identification methods rely on manual feature extraction and lack generalization capability.In addition, this paper proposes a partial discharge recognition method based on Vision Transformer (ViT), which utilizes the self-attention mechanism of the visual transformer to accurately recognize partial discharges in transformers.Through the training and testing of the transformer partial discharge mapping dataset, the results show that the method in the present paper outperforms the traditional method in terms of recognition accuracy and stability, and the accuracy is maintained between 96.24% and 97.08%, which has a good prospect for engineering applications.
Introduction
2In the development of modern society, the safe and stable operation of the power system is one of the key guarantees of the normal operation of society.The transformer, as one of the core equipment of the grid system, runs through all aspects of power generation, transmission, transformation and distribution, and its performance and reliability are related to the operation of the whole power system directly.However, transformers are prone to defects due to quality defects, external damage and other factors.These defects can damage the insulation integrity of the transformer and generate partial discharges (PD) [1][2].
3Currently, commonly used methods for detecting PD mainly include ultra-high frequency (UHF) [3], fiber optic method and gas decomposition product analysis method [4], which are used to detect PD phenomenon through insulation defects of the transformer where PD may occur, and compare with the data information of the transformer during normal operation.However, only finding the PD phenomenon is far from enough.Different types of PD on the insulation of transformer equipment have a large difference in the degree of damage and can be a timely and effective discovery of PD.Distinguishing between different types of PD for the safe and stable operation of transformer equipment is also very important [5].
4Previously, the traditional machine methods for PD identification of transformers mainly include fuzzy clustering classification, Bayesian classification, support vector machine classification (SVM) [6], random forest classification (RF) [7], etc., among which the random forest classification and support vector machine classification are representative algorithms for image classification that are relatively more mature and have wider application domains.However, these algorithms are based on statistical feature volume, the extraction of feature volume relies on the experience of experts, and the design of IOP Publishing doi:10.1088/1742-6596/2903/1/012010 2 specific extraction for specific datasets can't get rid of the experts' understanding of specific problems, which leads to the lack of a certain degree of generalization ability of these pattern recognition algorithms.In recent years, with the big hit in the field of deep learning and machine vision technology, CNN, as one of the symbolic algorithms of deep learning, performs well in the field of image processing, and is able to automatically carry out multi-level feature extraction, overcoming the limitations of the traditional methods that need to manually select features and rely on the knowledge of experts, and effectively dealing with complex images with stronger generalization [8].However, with the increasing demand for transformer partial discharge detection, the existing methods still need to be further improved in terms of recognition accuracy and efficiency.
5Vision Transformer (ViT), as an emerging deep learning model, has a stronger capability in processing global image information by dividing the image into several chunks and inputting these chunks into the transformer model by treating them as sequential data.Many significant advantages over traditional CNNs are also demonstrated in image classification tasks, showing its great potential.Accordingly, this paper proposes a Vision Transformer-based partial discharge recognition method for transformers, which utilizes the superior characteristics of ViT to achieve efficient recognition of PRPD mapping.By constructing the transformer PRPD mapping dataset, pre-processing the data and category standardization, and then establishing a ViT model suitable for the research content of this paper for recognition, the test shows that the method proposed in this paper is more advantageous than the traditional method in transformer discharge pattern recognition and has stronger engineering applicability [9][10][11].
Overview of Vision Transformer
6Vision Transformer is a new deep learning model that has emerged in recent years, and its proposal stems from the fact that the Transformer model suggested by Vaswani et al. in 2017 utilizes a selffocused mechanism to perform well in sequence data processing and in natural language processing (NLP).Inspired by this, Dosovitskiy et al. proposed the Vision Transformer in 2020, which was the first successful application of a Transformer to an image classification task [12].
7A typical ViT model mainly consists of image chunking, linear embedding, a self-attention layer, and a classification head.The structure and principle of each part are as follows:
Image segmentation
8Unlike traditional CNNs, the ViT model introduces the concept of image chunks (patches) in order to transform images into sequential data that can be processed by the Transformer structure.ViT does this by dividing the input image into fixed-size image blocks (e.g., 16x16).Each image block is flattened and imported into the linear embedding part to form the input that ViT can process.
Linear embedding sections
9In this section, each unfolded image block will be mapped to a high-dimensional vector space by a linear transformation to form a matrix that serves as an input to the Transformer, which is equivalent to word embeddings in NLP.At the same time, Positional En-coding is added in order for the ViT to capture their relative positions in the original image, rather than treating the input image blocks as a set of unordered vectors.The Positional En-coding vectors are added to the image block feature vectors to preserve the relative positional relationships between the image blocks.In addition, a separate block numbered 0 is added for computing the image category.The positional encoding is generated using the sine-cosine function, i.e.
10where ps is the input sequence encoding position, n is an arbitrarily fixed offset, dmod is the model sublayer and embedding layer generating output dimensions, and l is the position encoding vector dimension.
11IOP Publishing doi:10.1088/1742-6596/2903/1/0120103
Transformer encodes
12After the image chunking and linear embedding process, the sequence of image chunks containing positional coding is input into the Transformer encoder.At its core is the Multi-head Self-attention.The self-attention mechanism is the core technology of ViT for image recognition, which captures the global features between image blocks.It generates a new feature representation by calculating the similarity weights between image blocks and weighting and summing the global information of image blocks.In this, the self-attention mechanism output matrix is given by:
13where Q is the query matrix, K is the key matrix, V is the value matrix, and dk is the matrix Q and K in dimension.
14To improve the expressive power of the model, improve the stability of training and model generalisation ability, this paper adopts a more complex multi-head self-attention mechanism, which divides the model into multiple subspaces, and uses multiple Q, K, and V, and weight matrices W to enhance the model's ability to pay attention to the information of the same sequence at different locations, which can effectively enhance the model's ability to pay attention to the information in multiple aspects.The calculation formula for the output matrix of the multiple attention mechanism is:
15) where hx is the x-th head independent self-attention computation, Concat is the matrix of hi obtained by connecting all the x-th self-attention mechanism computations and multiplying them with the connection matrix; n is the number of heads of the multi-head self-attention mechanism, which is usually taken to be 8;
16W and are the weight matrices of the matrices Q, K, and V in the i-th subspace.
Classification head
17Finally, a special classification token (class token) with an initial value of a learnable embedding vector is added in front of the input image block sequence.This classification token is processed by the Transformer encoder layer and used for the final classification task.Regarding the categorization problem in this paper, the output of the encoder layer is classified with the classification token, and then features are integrated through a fully connected layer.Finally, the Softmax layer is used to output the class prediction of the image.
Construction of PRPD mapping dataset for transformers
18Typical transformer insulation defects can be categorized as tip discharges, suspension discharges, insulation discharges, and discharges along the surface.A large amount of field inspection data was collected and screened using UHF sensors through long-term monitoring of transformer equipment in distribution stations.A total of 4000 valid PRPD data were collected, 1000 data for each type of discharge type.
19Considering the inconsistent size and specification of the collected images, it is necessary to preprocess the images before putting them into the model training:
20• The collected 4000 PRPD mapping data are classified, labeled, and randomly divided into training and test sets in the 4:1 ratio.• Using Python's transforms module, a series of image transformation and data enhancement operations are performed on the atlas, including compression to 112×122 pixels, randomly adjusting the image brightness, contrast, and other information, which not only improves the efficiency of the model training, but also ensures that the data are valid and the diversity of the dataset is guaranteed.• In order to prevent numerical overflow, reduce bias and improve the effect of the optimizer, the image is then normalized using mean and standard deviation.
Training results
21After the above hyper-parameter settings and training of the transformer dataset with 100 iterations, Figure 1 shows the combined curve of training loss values and accuracy.
22As can be seen from the figure, training using the ViT algorithm proposed in this paper, the loss value curve of the training set starts to decrease significantly in the 3rd cycle, from 42.78 to 8.95.With the increase in the number of iterations, by the 10th cycle, the loss value gradually stabilizes at a lower level, with its value fluctuating between 5.17 and 3.55.The smoothing of the loss curve and the narrowing of the fluctuation range reflect the stability of the algorithm in subsequent iterations, indicating that our method can effectively optimize the model and maintain stable learning progress.The accuracy indicates that the model is actively learning and adapting to the features of the dataset in the early stage of training, after which the model clearly stabilizes and stays between 96.24% and 97.08% as the number of iterations increases.Such high stability and accuracy indicate that the algorithm proposed in this paper is able to effectively capture the key features of the data and achieve excellent performance in the image classification task.
Comparison of recognition accuracy between ViT and traditional methods
23To test the validity of the ViT proposed in this paper, ViT is next compared with several previous common partial discharge recognition methods, namely Random Forest (RF), Support Vector Machine (SVM), and CNN.Accuracy is an evaluation metric for several algorithms.The comparison results are shown in Figure 2.
24It can be seen that ViT accuracy is improved over other algorithms, as a deep learning model based on an attention mechanism that automatically learns features from the input image and does not need to extract features manually.In contrast, RF and SVM rely on manual feature extraction, which limits their performance on complex image data.CNNs, on the other hand, although capable of learning features automatically, are limited in that they require a large amount of data and computational resources, and take a long time to train on larger image datasets.
Conclusion
25In addition, this paper proposes a partial discharge pattern recognition method based on visual transformer and PRPD mapping.In this paper, the most suitable ViT model structure for partial discharge recognition is identified.
26We first constructed the PRPD mapping dataset from the UHF sensor data collected in the field, and performed data preprocessing and labeling work.Tests were conducted for different hyperparameter settings, and finally, the Patch Size of 16×16, as well as the Adam optimizer and StepLR learning rate scheduler, were chosen to optimize the learning efficiency and accuracy of the model.
27The experimental results demonstrate that the optimized ViT model has significantly improved the recognition accuracy and stability of transformer discharge patterns.Compared with the traditional RF, SVM, and CNN, the ViT model proposed in this paper exhibits higher efficiency and generalization ability when dealing with the task of classifying complex discharge patterns, which provides a good solution for the effective monitoring and maintenance of the transformer.The effective monitoring and maintenance of the equipment provides powerful technical support, which in turn ensures the stable and safe operation of the power system.
Figure 1 .
28Figure 1.Training loss values and accuracy composite curves.
Figure 2 .
29Figure 2. Comparison of the accuracy of different algorithms.
30Different network structures and parameter configurations can significantly affect the recognition effect of the model.In order to adapt to different practical application scenarios, it is necessary to choose a suitable network structure by combining theoretical analyses and specific experimental requirements.For the PD mapping recognition classification task studied in this paper, we design and determine an appropriate network model and corresponding hyperparameters.4.1.1.Learning rate adjustment and optimizer selection.The learning rate determines the step size each time the model parameters are updated.In order to take into account the convergence speed and stability, the Adam optimizer is used in this experiment, which combines the advantages of AdaGrad and RMSProp, and automatically adjusts learning speed during training sessions.The initial learning rate of the Adam optimizer is set to 0.002, and the learning rate is decayed to 0.3 times the original learning rate every 10 epochs using the StepLR learning rate scheduler.4.1.2.Patch size.Different from CNN, ViT replaces convolutional computation as model input bysplitting the image into a series of Patch and then spreading it into a sequence, and the different number of partition blocks directly affects the performance and the efficiency of the modelling.To avoid losses due to image cutting, this paper sets the Patch Size to 16×16, which is effective in extracting local features and ensures the computational efficiency of the training process.
참고문헌 5건
- New aspects of UHF PD diagnostics on gas-insulated systems IEEE Transactions on Dielectrics and Electrical Insulation · Institute of Electrical and Electronics Engineers · 2014 10.1109/tdei.2014.004391
- Discrimination of partial discharge sources in the UHF domain IEEE Transactions on Dielectrics and Electrical Insulation · Institute of Electrical and Electronics Engineers · 2016 10.1109/tdei.2015.005015
- Verification of Interpretability of Phase-Resolved Partial Discharge Using a CNN With SHAP IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3236315
- SAR Image Recognition Using ViT Network and Contrastive Learning Framework With Unlabeled Samples IEEE Geoscience and Remote Sensing Letters · Institute of Electrical and Electronics Engineers · 2023 10.1109/lgrs.2023.3332364
- A Deep Learning Model with a Self-Attention Mechanism for Leg Joint Angle Estimation across Varied Locomotion Modes Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s24010211