선정목록으로
Interpretable Detection of Partial Discharge in Power Lines with Deep Learning
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2008.05838
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2008.05838
- 토픽
- High voltage insulation and dielectric phenomena
- OpenAlex ID
- W6910370926
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Partial discharge (PD) is a common indication of faults in power systems, such as generators, and cables. These PD can eventually result in costly repairs and substantial power outages. PD detection traditionally relies on hand-crafted features and domain expertise to identify very specific pulses in the electrical current, and the performance declines in the presence of noise or of superposed pulses. In this paper, we propose a novel end-to-end framework based on convolutional neural networks. The framework has two contributions. First, it does not require any feature extraction and enables robust PD detection. Second, we devise the pulse activation map. It provides interpretability of the results for the domain experts with the identification of the pulses that led to the detection of the PDs. The performance is evaluated on a public dataset for the detection of damaged power lines. An ablation study demonstrates the benefits of each part of the proposed framework.
본문 50,243자
본문 펼치기
## INTERPRETABLE DETECTION OF PARTIAL DISCHARGE IN POWER LINES WITH DEEP LEARNING
ACCEPTED IN MDPI SENSORS (ISSN 1424-8220)
Gabriel Michau
ETH Zürich,
Zürich, Switzerland
Chi-Ching Hsu
ETH Zürich,
Zürich, Switzerland
17th of March 2021
ABSTRACT
Olga Fink
ETH Zürich,
Zürich, Switzerland
Partial discharge (PD) is a common indication of faults in power systems, such as generators, and
cables. These PD can eventually result in costly repairs and substantial power outages. PD detection
traditionally relies on hand-crafted features and domain expertise to identify very specific pulses in
the electrical current, and the performance declines in the presence of noise or of superposed pulses.
In this paper, we propose a novel end-to-end framework based on convolutional neural networks.
The framework has two contributions. First, it does not require any feature extraction and enables
robust PD detection. Second, we devise the pulse activation map. It provides interpretability of the
results for the domain experts with the identification of the pulses that led to the detection of the
PDs. The performance is evaluated on a public dataset for the detection of damaged power lines. An
ablation study demonstrates the benefits of each part of the proposed framework.
_K_ eywords Partial Discharges, Power distribution lines, Temporal CNN, Fault Detection.
1 Introduction
Many critical services in our society, such as healthcare, transportation and security require a robust, reliable and
undisrupted supply of electricity. This requires on the one hand a reliable and redundant infrastructure, and on the
other hand, the ability to maintain the performance of the infrastructure. As such, the ability to detect faults and to
act accordingly is of critical importance for maintaining a high availability of the network [5]. Many components
of the power generation and distribution network can be directly monitored with specific sensors. However, it is not
possible or not cost efficient for all the components and all the fault types. Therefore, for some of the components, the
monitoring can only be performed indirectly through the behaviour of the electrical current. For example, insulation
damages in power systems, such as generators, or defects in medium voltage cables [23] can be monitored by detecting
localised pulses in the electrical current, namely partial discharges (PD).
According to the IEC 60270 international standard, Partial discharges are “localized electrical discharges that only
partially bridge the insulation between conductors”. In fact, the presence of PD can be indicative of anomalies in
many electrical systems and can cause further degradation of the insulation. The high voltage discharges deteriorate
the insulation materials and can have impacts on the entire system. Their detection is, therefore, of utmost importance
to assess the condition of electrical components and has been a long-standing challenge [17]. As such, the literature is
extremely vast. PD detection has been studied in many systems such as in transformers [14], gas-insulated high-voltage
switchgear [18], power plants [25], and power lines [26]. The main challenge in PD detection lies in the detection of
extremely short and temporally localised events: their wavelength is at the micro-second scale. It requires, therefore,
extremely high frequency data (several tens of MHz). In addition, only few pulses can occur per period of the current
utility frequency (usually 50 or 60Hz) [17]. In brief, PD signs in the electrical current represent roughly 1/20 000-th
of the data. Until the very recent development of technologies able to capture and store such vast amount of data, the
detection of PD patterns had to be performed online.
A PREPRINT - 17TH OF MARCH 2021
Figure 1: Graphical Abstract: (1) The raw data: three phases over one period. (2) For each phase, the signal is
filtered to remove the utility frequency _f_ ut. (3) Extracted _w_ samples of pulses identified with a maximum filter. The
windows start 1/8th before the identified peak. (4) For each phase, the pulse collection is fed to a deep 1D convolution
neural network. (5) The outputs of the three phases are considered together to label the powerline. (6) Thanks to the
GAP Layer, the Pulse Activation Map can be displayed for further diagnostics.
Among the traditional approaches, a group of approaches takes advantage of the property that for some systems, PD
always occurs at the same phase in the electrical current. These approaches are also referred to as the phase-resolved
partial discharge (PRPD) detection methods [13]. They consist in detecting pulses in the electrical current, whereby
the simplest method to detect a pulse is to apply a maximum filter. Subsequently, the detected rate of occurrence (n)
of pulses is plotted as a function of their voltage amplitude (Q) and of their phase value ( _φ_ ). It can be implemented
online and experts can inspect PRPD graphs to recognise the patterns generated by the different types of PD [31].
However, to obtain meaningful occurrence rates, these methods require the aggregation of pulses over several hundreds
or thousands of periods. Overall, these methods are expensive, since experts need to constantly monitor the _φ_ -Q-n
diagrams. The interpretation of the diagrams also becomes difficult in the presence of noise or of superimposed pulses.
Since all types of PD are not necessarily resolved in the phase domain, statistical approaches are also frequently
used [15]. They aim at characterizing the pulses with engineered features. The features become a multi-dimensional
space where decision boundaries are established, for example with traditional classifiers such as random forest [26],
support vector machines (SVM) [29, 7], or deep learning methods such as artificial neural networks (ANN) [16],
convolutional neural networks (CNN) [21, 2], autoencoders [10], and recurrent neural networks (long short-term
memory networks LSTM) [27, 6, 28]. For a more exhaustive overview, the reader is referred to the literature reviews
in [33, 3]. These methods are time consuming and expensive due to the difficulty of extracting and engineering the
relevant features. It requires years of domain expertise for a profound understanding of the system. Additionally, the
methods suffer from degradation performances when pulses are superimposed.
To address the aforementioned challenges, we propose to take advantage of the recent advances in Deep Learning
(DL) applied to time series (TS) anomaly detection. For example, DL has already been successfully applied to identify cardiac abnormalities in electrocardiography (ECG) data [1]. In particular, convolutional neural networks (CNN)
have recently demonstrated very good performances for TS classification [32, 9], forecasting [34] and anomaly detection [11]. In fact, temporal convolutions are able to learn meaningful filters in the time domain, adjusted to the
signature of the analysed events, and are, thus, often compared to learnable spectral features [20].
In this paper, we propose an end-to-end learning framework for partial discharge detection in time series. The framework comprises two parts: 1) the automatic PD detection without any feature engineering and 2) the subsequent
extraction of pulse activation maps that provide the domain experts a possibility to interpret the results. The difficulty
met by previous research in the detection of partial discharges lies in the discrimination between PD and non-PD
related pulses. Therefore, we propose here to extract a collection of pulses for each period of the utility frequency.
We train a temporal convolution neural network with the binary information of whether PD are present in the original
time series or not. Since all pulses of the collection are processed with the same temporal filters, a well-performing
2
A PREPRINT - 17TH OF MARCH 2021
model should be able learn the PD pulse signatures. Learning these signatures is, in fact, particularly valuable for
the experts to potentially distinguish between different types of PD. Therefore, we design our framework to provide
both competitive results in terms of partial discharge detection, and a visualisation of the neural network processing
of the inputs through the pulse activation maps. These activation maps provide interpretability and explainability of
the results and allow the experts to diagnose for each time series, which pulses and which part of the pulses where
dominant in the final score of the network. It gives an extremely fine interpretation of the network decision. We
demonstrate the performance of the proposed approach by achieving rank 4 on private leaderboard of the Kaggle VSB
Power Line Fault Detection competition. The aim is to identify damaged power lines from the observed PD in the
electrical voltage [8, 23]. Furthermore, we also demonstrate the added value of each part of the proposed framework
with an ablation study.
The paper is organized as follows: Section 2 presents each step of the framework, including the pre-processing, the
network architecture and the pulse activation map devising. Section 3 details the experiments we performed to quantify
the results presented in Section 4. The final results are discussed in Section 5.
2 Methodology
An overview of the proposed framework is presented in Figure 1. For each measurement (1), each phase is handled
independently. Low frequencies, in particular the utility frequency, are filtered first (2). Pulses are identified and
ranked with a simple maximum filter, and extracted into a pulse collection (3). Each phase is estimated independently
by the same neural network (4). The final decision on the power line takes the results from the three phases into
account and applies a global threshold (5). Last, a pulse activation map (6) is computed to understand which part of
the input led to the networks classification results.
2.1 Pre-processing
The main assumption of the proposed framework relies on the inherent definition of a PD signature as a pulse in the
electric current. Thus, inspired by the PRPD analysis, in the very first step, we identify and extract the pulses with a
simple maximum filter. This requires first the removal of the low frequencies.
Data filtering - Fig 1 (2). PD are due to insulation failures and typically occur at very specific voltage changes.
Their frequency is much higher than the utility frequency _f_ ut. Thus, we first implement a high-pass filter with cutoff
frequency _fc_ _> f_ ut. In this work, we apply a Butterworth filter of order 5 [4]. However, other filters could be explored.
An example before and after the filtering of an electric current recording over one period is shown in Figure 1 (2),
where the sampling frequency _fs_ = 40 _MHz_, _fc_ = 20 _kHz_ and _f_ ut = 50 _Hz_ . Low frequencies such as the underlying
sine-wave are eliminated after the high-pass filter, while the high frequency pulses remain unchanged.
Pulse extraction - Fig 1 (3). Since the partial discharge signature is inherently a pulse in the electric potential, we
propose as a second step to extract a large collection of pulses from the recordings that will be used as inputs to the
neural network (NN). The goal of the NN is to learn to recognise if there is a PD pulse signature within the input
collection. Due to the nature of partial discharge, we can expect some periodicity in the occurrence of the pulses with
respect to the utility frequency. We create therefore, for each period of the utility frequency, a 2D array where each
row represents a single pulse. The columns represent the time dimension. The number of columns corresponds to the
number of timestamps _w_ collected for each pulse.
The pulses are identified with a maximum filter on the absolute value of the electric potential. The filter extracts the
local maximal values which are further apart than a given window size. For simplicity purposes, we set this window
to _w_ . We extract in the filtered data, the _w_ timestamps around each of the _Np_ largest local maxima, with an offset of
1 _/_ 8 _· w_ . That is, if the _i_ -th local maximum is localised at timestamp _ti_, we extract the interval [ _ti −_ <sup>_<u>w</u>_</sup> 8 <sup>_, ti_</sup> <sup>+</sup> <sup><u>7</u></sup> 8 <sup>_<u>w</u>_</sup> <sup>].</sup> <sup>The</sup>
collection of pulses is, therefore, a 2D array of shape _Np_ _× w_ . Figure 1 (3) illustrates the pulse extraction and the
resulting collection for one period and phase of the utility frequency.
_Np_ and _w_ are hyperparameters of the proposed approach. Expert domain knowledge could help to identify relevant
values for these hyperparameters. The selected values would primarily depend on the noise level for the selection of _Np_
(some noise pulses may dominate the PD pulses), and on the expected frequency of the pulses for the selection of _w_ .
Yet, if this knowledge is not available, as in our case, these hyperparameters can be selected based on cross-validation.
2.2 Temporal Convolutional Neural Network - Fig 1 (4)
Convolutional neural network (CNN). Inspired by the recent advances in computer vision and more recently also
in time series classification tasks, using CNN architectures, we propose to apply a CNN for this PD detection task.
3
A PREPRINT - 17TH OF MARCH 2021
For the applied architecture, we propose a deep learning neural network architecture with a similar structure to VGG
neural networks [30]. Yet, the architecture requires several adaptations to the high-frequency time series data as used
in this case study. Unlike in images, where the neighbourhood of a pixel has a clear meaning in both the _X_ and the
_Y_ dimensions, in the extracted pulses, only the temporal dimension contains a physically meaningful neighbourhood
relationship. The pulses have been ordered by decreasing amplitudes and not by their relationships in the signal. We,
therefore, apply 1D convolutions instead of 2D kernels. This also means that the temporal filters are applied identically
to each pulse, performing operations similar to spectral analysis.
Global Average Pooling (GAP). A limitation when using CNN is that the convolutional layers preserve the dimensionality of their inputs. Therefore, since predictions are usually vectors (with one element per class), it is necessary
to flatten the latent space in order to transition toward fully connected layers. A consequence is an explosion in the
number of model parameters, often leading to over-fitting effects and harming the generalization ability of the network.
We propose, therefore, to use the Global Average Pooling (GAP) as a structural regularizer [12, 22]. GAP takes the
average over the feature maps channel-wise and thus shrinks the size of the last latent space before its vectorisation.
Proposed CNN Architecture. The proposed network architecture takes advantage of 1D CNN and the GAP layer. It
contains 2 blocks comprising 2 successive convolutional layers and a max pooling layer. The 2 blocks are followed by
a GAP layer, a fully connected (FC) layer and a single neuron layer for binary classification.
2.3 Pulse Activation Maps (PAM) - Fig 1 (6)
To provide more interpretability and more insights on the network decision to classify a collection of pulses as belonging to a damaged line or not, we propose to devise the Class Activation Maps (CAM) of our network [35]. Following
the methodology in [35], we devise in this section the pulse activation map (PAM) for the proposed network architecture. The PAM enables to interpret which part of the pulse has contributed most to the classification result (in this
case, PD or non-PD). There are two differences to the original contribution. First, our network has a binary output. We
devise a single PAM per input, instead of a per-class activation map. Second, our network contains a fully connected
layer between the GAP and the output. In the following we demonstrate that the CAM (or here, the PAM) can still
be computed in such cases, as long as the activation functions used by the intermediate fully connected layers are
piece-wise linear.
Since the first two blocks of our network use 1-D convolution filters, the latent space _M_ after the last block can be
written as _M_ = ( _m_ _plj_ ) _p∈_ �1 _,Np_ - _,l∈_ �1 _,Nl_ - _,j∈_ �1 _,Nf_ �, where _Np_ is the number of pulses used as input to the network, _Nl_
is the resulting size after the successive max-pooling (here _Nl_ = _⌊_ <sup>_<u>w</u>_</sup> 4 <sup>_⌋_</sup> <sup>)</sup> <sup>,</sup> <sup>and</sup> <sup>_Nf_</sup> <sup>is</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>filters</sup> <sup>of</sup> <sup>the</sup> <sup>last</sup>
convolution. In the following, we denote the size of _M_ as _Nm_ = _Np · Nl_
The _j_ -th neuron of the GAP layer performs the operation:
GAP <sup>_j_</sup> = <u>1</u>
_∀j_ _∈_ �1 _, Nf_ - _,_ _Nm_
_NP ×Nl_
_p,l_
_m_ _plj_ (1)
The GAP layer is connected to a fully connected layer of size _NF C_ with the weights and bias
( _w_ _ij_ <sup>_F C,_</sup> <sup>_b_</sup> _i_ <sup>_F C_</sup>
_ij_ <sup>_F C,_</sup> <sup>_b_</sup> _i_ <sup>_F C_</sup>
_i_ <sup>_F C_</sup> ) _i∈_ �1 _,NF C_ - _,j∈_ �1 _,Nf_ �, we have for the _i_ -th neuron, before activation:
_∀i ∈_ �1 _, NF C_ - _,_
<u>1</u>
_w_ _ij_ <sup>_F C_</sup> _·_ _Nm_
<u>1</u>
_ij_ <sup>_F C_</sup> _·_ _Nm_
_m_ _plj_
_Np×Nl_
_p,l_
FC <sup>_i_</sup> = _b_ <sup>_F C_</sup> _i_ +
_Nf_
<u>1</u>
=
_Nm_
_j_ =1
_Np×Nl_
_p,l_
_b_ _i_ <sup>_F C_</sup> +
_Nf_
_j_ =1
_w_ _ij_ <sup>_F C_</sup> _·_ _m_ _plj_
(2)
After the piece-wise linear activation function, the _i_ -th activated neuron AFC <sup>_i_</sup> is given by:
AFC <sup>_i_</sup> = ReLU
�FC <sup>_i_</sup> <sup>�</sup>
= _δi ·_ FC <sup>_i_</sup> (3)
4
where
_δi_ =
A PREPRINT - 17TH OF MARCH 2021
- 1 if FC <sup>_i_</sup> _>_ 0
(4)
0 otherwise
Note that the definition of _δ_ can be generalised to any piece-wise linear activation function. Under this assumption, it
is also worth noticing that Equation 3 can be generalised to as many successive fully-connected layers as required.
Last, the activated neurons are combined into a last dense layer of output size 1. Denoting its weights and bias by
( _w_ _i_ <sup>_Out_</sup>
_, b_ <sup>_Out_</sup> ) _i∈_ �1 _,NF C_ �. The final score before the sigmoid is obtained as:
Score = _b_ <sup>_Out_</sup> +
_NF C_
_i_ =1
_w_ _i_ <sup>_Out_</sup> _·_ AFC <sup>_i_</sup>
_Nf_
_j_ =1
_w_ _ij_ <sup>_F C_</sup> <sup>_m_</sup> <sup>_plj_</sup>
<u>1</u>
=
_Nm_
_Np×Nl_
_p,l_
_b_ <sup>_Out_</sup> +
_NF C_
_i_ =1
_w_ _i_ <sup>_Out_</sup> _δi_
(5)
_b_ _i_ <sup>_F C_</sup> +
�
Finally, the pulse activation map PAM for each input is a collection of _Np_ vectors of size _Nl_ and is defined as:
_∀_ ( _p, l_ ) _∈_ �1 _, Np_ - _×_ �1 _, Nl_ - _,_
_Nf_
_j_ =1
_w_ _ij_ <sup>_F C_</sup> <sup>_m_</sup> <sup>_plj_</sup>
PAM( _p, l_ ) = _b_ <sup>_Out_</sup> +
_NF C_
_i_ =1
_w_ _i_ <sup>_Out_</sup> _δi_
(6)
_b_ _i_ <sup>_F C_</sup> +
Since the decision of the network is taken after applying the sigmoid operation to the Score value (Eq. (5)), we can
interpret the PAM as follows: A map which average is positive corresponds to a score above 0.5 after the sigmoid
operation, and is thus originating from pulses containing PD. On the contrary, a map which average is negative corresponds to a non-PD pulse. The activation maps can be used by domain experts to further evaluate the pulses and
possibly to distinguish between different types of PD.
3 Experiments
3.1 Datasets
To demonstrate the benefit of our approach, we apply the proposed methodology on the VSB dataset, generated
and released by the Technical University of Ostrava [8]. The goal of the case study is to detect damaged threephase, medium voltage overhead power lines [23]. According to the dataset description, damaged power lines can be
identified through the observed PD patterns [8]. To this end, the electric voltage is recorded over one period of the
grid utility frequency, 50 Hz, for the three phases simultaneously. The sampling frequency is 40 _MHz_ such that each
recording contains 800 000 values. An example signal is shown in Figure 1 (1).
The VSB dataset contains two sets of measurements. The training set contains 8,712 samples with 3 labels: the
measurement ID, the phase, and whether the power line insulation was damaged at the time of recording. Damaged
power lines should contain PD, however no additional information is provided on the PD types, shapes or location. In
this set, 575 samples are labeled as damaged power lines.
The second set contains 20,037 samples with two labels: the measurement ID and the phase. No ground truth is
provided with respect to the presence of PD. However, the predictions of the health state can be evaluated online
through the Matthew Correlation Coefficient (MCC).
To the best of our knowledge, no other published study outside of the competition leaderboard reported results on the
second test dataset. In [7, 6, 28], the reported results are computed on a subset of the labelled dataset. In [7], results
are reported on the full training set and might therefore be over-fitted. In [6], results are reported on an artificially
augmented set containing 807 non-PD signals and 935 signals with PD, which might also therefore suffer over-fitting.
We report anyway their results in Table 2 where we recompute the value of the metrics they would achieve on our set,
assuming constant sensitivity and specificity of their model. This can not be done for [28] since the numbers of tested
samples with and without PD are not reported.
5
A PREPRINT - 17TH OF MARCH 2021
3.2 Network Architecture and Training
The proposed neural network architecture as presented in Figure 1 (4) comprises two convolutional blocks: The first
block contains two temporal convolutional layers with 16 kernels of size 15. The second block has two temporal
convolutional layers with 8 kernels of size 10. Each block is followed by a 1D temporal max-pooling layer with kernel
size 2. Therefore, the input size is _Np × w ×_ 1, the latent space size after the first block is _Np ×_ <sup>_<u>w</u>_</sup> 2 <sup>_×_</sup> <sup>16, the latent</sup>
size 2. Therefore, the input size is _Np × w ×_ 1, the latent space size after the first block is _Np ×_ <sup>_<u>w</u>_</sup> 2 <sup>_×_</sup> <sup>16, the latent</sup>
space size after the second block is _Np ×_ <sup>_<u>w</u>_</sup> 4 <sup>_×_</sup> <sup>8, and the latent space size after the GAP layer is 8.</sup> <sup>In particular, we</sup>
space size after the second block is _Np ×_ <sup>_<u>w</u>_</sup> 4 <sup>_×_</sup> <sup>8, and the latent space size after the GAP layer is 8.</sup> <sup>In particular, we</sup>
have _Nl_ = <sup>_<u>w</u>_</sup> 4 <sup>= 10 in Eq. (6).</sup> <sup>The fully connected layer after the GAP layer is of size 32. All layers but the last output</sup>
have _Nl_ = <sup>_<u>w</u>_</sup> 4 <sup>= 10 in Eq. (6).</sup> <sup>The fully connected layer after the GAP layer is of size 32. All layers but the last output</sup>
layer use _ReLU_ as activation function. The hyper-parameters of this architecture (number of blocks, kernel number
and size) were inferred from a grid search with a 5-fold stratified cross validation.
We implemented the network with Keras and TensorFlow. For the training, we used the _ADAM_ [19] optimiser with
constant learning rate of 1 _e −_ 3, _β_ 1 = 0 _._ 9, and _β_ 2 = 0 _._ 999. We used the binary cross entropy loss:
_L_ = _−_ ( _ylog_ ( _p_ ) + (1 _−_ _y_ ) _log_ (1 _−_ _p_ )) _,_ (7)
where _y_ is the ground truth and _p_ is the network output.
3.3 Threshold setting
The problem at hand is a binary classification problem. The output is, therefore, designed as a single neuron output
layer, activated with a sigmoid function such that the output is continuous between 0 and 1. The traditional baseline
consists in using a threshold at value 0.5 on the network output value. Compared to the baseline approach, we propose
to explore two modifications: first, the inference of an optimised threshold _thv_ based on a validation set; second, the
consideration of the three phases as a single indicator of the power line health. We propose, thus, to compare four
different post-processing approaches of the network output:
(i) Baseline: Round the output (threshold _th_ = 0 _._ 5).
(ii) ‘1=3’-Phase Classification: Round the prediction of the three phases. If one phase is estimated as damaged,
the whole power line (the three phases) is considered as being damaged.
(iii) 1-Phase Optimized Threshold: Infer the threshold _thv_ with cross-validation, and consider each phase inde
pendently.
(iv) Proposed 3-Phase Global threshold: Using the threshold _thv_ devised in (iii), apply the 3-Phase Global
threshold, _Gthv_ = 3 _· thv_, to the sum of the output values for the three phases.
Please note that in (iv), the direct inference of the _Gthv_ with cross-validation instead of using 3 _·thv_ may have enhanced
the performance. This is, however, not possible since in the training set, some samples do not have all the three phases
recorded as damaged. Using 5-fold stratified cross validation to maximise the MCC (defined below in Section 3.4),
we define _thv_ = 0 _._ 28.
3.4 Evaluation Metrics
As part of the competition, a tool is provided to evaluate the test set online. It provides an evaluation of the results
with the Matthews Correlation Coefficient (MCC) [24]:
<u>(TP</u> _<u>·</u>_ <u>TN)</u> _<u>−</u>_ <u>(FP</u> _<u>·</u>_ <u>FN)</u>
MCC =
~~<u>�</u>~~ (TP + FP)(TP + FN)(TN + FP)(TN + FN)
(8)
where TP is the number of true positives, TN is the number of true negatives, FP is the number of false positives,
and FN is the number of false negatives. This metric varies from -1 to 1, where 1 indicates an optimal solution, 0 a
solution no better than a random guess and -1 a total disagreement with the ground truth.
To enrich our evaluation of the network performance, we propose to use in addition three common evaluation metrics
for binary classification problems, namely, _Accuracy_, _Precision_, and _Recall_, as defined in Equation (9),(10), and (11).
_Accuracy_ = <sup><u>TP + TN</u></sup> (9)
_N_
where _N_ = TP + TN + FP + FN is the total number of samples.
<u>TP</u>
_Precision_ = (10)
TP + FP
6
A PREPRINT - 17TH OF MARCH 2021
Table 1: Results on the Test Dataset (evaluated online), for our four proposed decision rules and for _Np_ set to 200 and
150.
Kaggle VSB test data
Settings
_Np_ = 150, _w_ = 40 _Np_ = 200, _w_ = 40
MCC private Rank* MCC private Rank*
(i) _Baseline_ 0.580 1054 0.629 272
(ii) _‘1=3’_ 0.656 118 0.704 4
(iii) _1-Phase Opt._ 0.631 245 0.658 65
(iv) _3-Phase (our)_ 0.665 46 0.704 4
- Ranking on the private leaderboard of Kaggle
(First place: MCC=0.719)
<u>TP</u>
_Recall_ = (11)
TP + FN
If the _Accuracy_ can give a false sense of performance of the model in a strongly imbalanced dataset (a naive model
always classifying to the main class would have high _Accuracy_ ), its derivatives with respect to TP and TN are identical
and constant. Changes in _Accuracy_ are, therefore, easier to interpret than in other metrics.
4 Results
4.1 Results on the Test Dataset
We evaluated the predictions of the model on the test dataset, using the tool provided online by the hosting platform.
Table 1 summarises the MCC and the rank reported, for the 4 proposed decision rules ( _cf._ Section 3, (i)-(iv)), for
_Np_ = 200 and for _Np_ = 150. Remind that _Np_ represents the number of extracted pulses used as input.
The obtained results show that, first, our proposed approach provides state-of-the-art results. With settings (ii) and (iv)
it achieves rank 4 on the leaderbord of the competition, and this is to our knowledge the best results achieved so far
with a pure deep-learning approach, without careful feature engineering. For comparison, the first place achieved an
MCC of 0 _._ 719 (+2%), using a LightGBM model on carefully designed features using manually tuned threshold.
Second, the results demonstrate that considering _Np_ = 200 pulses per 50 _Hz_ period leads to optimal results. This
illustrates that the partial discharge pulses are not always the most dominant pulses in the signal. Since the pulses are
selected by amplitude, selecting more pulses increases the likelihood of capturing PD pulses. We also evaluated the
performance for a larger number of pulses. However, the performance started to decrease, this may be explained either
by the noise, or by the fact that increasing the input size also increases the number of parameters of the model and
may lead to over-fitting. The training dataset comprising around 8 000 samples is rather small from a deep-learning
perspective.
4.2 Ablation Study
In addition to evaluating the performance of the proposed framework on the test dataset, we performed an ablation
study to evaluate the impact of the different composing elements of the proposed network in more detail. Since the test
dataset does not contain any ground truth information, we cannot perform a more detailed analysis. Thus, we decided
to split the training dataset into a new training dataset of size 6 972 (6 538 non-damaged and 434 damaged power-line
samples), and a new test set of size 1 740, (1 599/141).
Table 2 summarizes the results of the ablation study. The evaluated experiments comprise the proposed model with
the four decision rules (as discussed above) in part (1), and the ablated versions of this model. First, without the use
of the Global Average Pooling layer (‘w/o _GAP_ ’) in part (2), second, without the last fully connected layer between
the GAP layer and the output (‘w/o _FC_ ’) in part (3). We only present the results for _Np_ = 200 and _w_ = 40 since this
was the best performing parameter on the cross-validation.
7
A PREPRINT - 17TH OF MARCH 2021
Table 2: Ablation study and impact of the decision rules on the proposed model with _Np_ = 200 and _w_ = 40.
Methods MCC Acc. Precision Recall
(1)
(2)
(3)
(i) _Baseline_ 0.710 0.959 0.772 0.695
(ii) _‘1=3’_ 0.802 0.963 0.687 0.979
(iii) _1-Phase Opt._ 0.727 0.953 0.669 0.844
(iv) _3-Phase (our)_ 0.817 0.967 0.726 0.957
w/o _GAP_ - (i) 0.583 0.944 0.712 0.525
w/o _GAP_ - (ii) 0.722 0.952 0.656 0.851
w/o _GAP_ - (iii) 0.598 0.945 0.709 0.553
w/o _GAP_ - (iv) 0.616 0.955 0.683 0.610
w/o _FC_ - (i) 0.643 0.952 0.784 0.567
w/o _FC_ - (ii) 0.751 0.959 0.702 0.851
w/o _FC_ - (iii) 0.701 0.954 0.700 0.745
w/o _FC_ - (iv) 0.775 0.966 0.772 0.816
(STL + SVM) <sup>_†_</sup> 0.779 <sup>_▷_</sup> 0.963 <sup>_▷_</sup> 0.73 <sup>_▷_</sup> /0.68 <sup>_∗_</sup> 0.88 <sup>_∗_</sup>
(LSTM) <sup>_††_</sup> 0.344 <sup>_▷_</sup> 0.765 <sup>_▷_</sup> 0.23 <sup>_▷_</sup> /0.79 <sup>_∗_</sup> 0.81 <sup>_∗_</sup>
_†_ Reported results on training set [7]
_††_ Reported results on samples drawn in the artificially augmented training set
(split: non-PD: 807 / PD: 935) [6]
_∗_ Metrics as reported.
_▷_ Metrics recomputed on our own data split assuming constant sensitivity and
specificity of the model.
5 Discussion
5.1 Results Analysis
The Global Threshold provides the best results: The results both of the ablation study and of the evaluation on the
test dataset (Tables 1 and 2) show that setting (iv) always outperforms others both in terms of _MCC_ and in terms of
_Accuracy_ . The only exception is the network without GAP layer. Since this architecture performs worst overall, the
comparison of the settings may not be very insightful in that case.
3-phase classification improves the performance: In general, the results demonstrate that considering the three
phases together (settings (ii) versus (i) and (iv) versus (iii)) is always improving the overall performance ( _MCC_ and
_Accuracy_ ), independently of the other parameters. This also makes sense from an application perspective since the
essential information for the operator is to know whether a power line is damaged or not. Furthermore, some types of
damage may impact all phases.
Optimising the threshold favors the _Recall_ over the _Precision_ : Looking at the _MCC_ in all setups, it appears that
decreasing the detection threshold to an optimised threshold improves the results (comparing the settings (iii) versus
(i) and (iv) versus (ii)). This is in fact due to the non-linearity of MCC, which favors the detection of the smallest
class (the true positives, TP) strongly over the true negatives (TN). Comparing settings (iii) versus (i) in the part (1)
of Table 2 illustrates the strong impact of the revised threshold on the _Recall_, while the _Precision_ is harmed. From an
application perspective, it seems indeed more important to detect true positives, even if it increases the number of false
alarms. This is especially true in our case since a follow-up expert confirmation of positive cases is simplified thanks
to the Pulse Activation Map presented in the next section. On the contrary, unnoticed damaged power-lines can lead
to cascading damages and stronger consequences on the power distribution system.
Single-Phase Detection also provides a good performance: An additional interesting observation is that even though
considering the detection results of 3 phases jointly provides the best performance, the proposed model is still able to
provide good detection performance when the phases are considered independently (settings (i) and (iii) in Table 2).
This is especially true for setting (iii). This confirms that the proposed framework can also be used on single phase
measurements if all three phases are not available simultaneously.
The GAP layer is essential for the performance of the proposed architecture: The ablation study also confirms the
significance of the GAP layer. Irrespective of the settings, the _MCC_ always decreases when the GAP layer is removed
from the architecture (part (2) of Table 2). The biggest impact of the GAP layer appears to be on the _Recall_, that is the
8
A PREPRINT - 17TH OF MARCH 2021
Figure 2: MCC: Colormap of the MCC. From colormap to top, TP = 95%, MCC and its derivative as a function of
TN. From colormap to right, TN = 95%, MCC and its derivative as a function of TP.
ability of the model to correctly identify true positives. As discussed in Section 2.2, GAP improves the generalisation
ability of the networks by decreasing the number of model parameters. For the network used here with _Np_ = 200
and _w_ = 40, using the GAP layer instead of a flatten layer reduces the number of parameters from 518 113 to 6 369.
The resulting model is less prone to over-fitting, which may explain its better performance. In addition, the GAP layer
allows us to extract the Pulse Activation Map as described in Section 5.3.
The last FC layer improves the _Recall_ significantly: Contrary to the architectures commonly encountered in the
literature, adding a FC layer between the GAP and the output improves the results in our case study. This can be
inferred by comparing part (1) and (3) of Table 2. The absence of the FC layer seems to harm the discriminative
capacity of the network since the _Precision_ increases slightly while the _Recall_ decreases strongly. In fact, the model
identifies more true negatives TN but far less TP. The _Accuracy_ is in fact on par with the best models. However, the
_MCC_ strongly decreases. As already discussed above, from an application perspective, we believe that the _Recall_ is
more important than the _Precision_ . This is in line with the competition objective of _MCC_ maximisation.
Comparison with the state-of-the-art: The proposed network outperforms state of the art methodologies found in the
literature on both the _Recall_ and the _MCC_ and would be considered as superior according to the competition objective.
5.2 Note on the MCC for imbalanced datatset
The results in Table 2 indicate that higher _MCC_ are always linked to higher _Recall_ values, but not always to higher
_Precision_ values. This is in fact explained by the higher partial derivative of the _MCC_ with respect to the true detection
of the smallest class (here, true positives) compared to the detection of the largest class (here, true negatives). This is
illustrated in Figure 2, where the _MCC_ is represented using a colormap as the function of both TP and TN. On each
side, a slice of the map _MCC_ is represented when either the TP-rate or the TN-rate are respectively set to 95%. In
Figure 2, the top sub-plot and rightmost sub-plot represent the corresponding partial derivatives. Excluding the region
of low TN, the partial derivative of the MCC with respect to the TP is always much higher compared to the partial
derivative with respect to the TN. Since only the _MCC_ is reported for the test dataset by the online tool, it gives little
insights on the impact of the different experimental setups on the TP and TN values. Changes in TP would dominate
similar changes in TN. As discussed previously, the use of this metric is justified from an application perspective,
since it favors _Recall_ over _Precision_ .
5.3 Pulse Activation Maps (PAM)
To provide more insights on the decision of the network and enable interpretability of the obtained results, we propose
to use the PAM as per Equation (6) as a tool for a deeper analysis of the pulses for domain experts. Plots of some
representative sample maps are demonstrated in Fig. 3.
9
A PREPRINT - 17TH OF MARCH 2021
Figure 3: PAM: For TP (3 upper left), FN (2 upper right), TN (3 lower left) and FP (2 lower right). The color
mapping is symmetric around 0 (white), from dark-blue (strongly negative) to dark-red (strongly positive). Note the
the actual values matter little since the decision of the network only depends on whether the map is positive or negative
in average.
Figure 4: Pulse Activation: Some typical pulses with their activation (same color-map as in Fig. 3). Upper row:
pulses positively activated. Lower row left, the tail is rather considered as distinctive by the network. Lower row,
right, strongly negatively activated pulses (The last one appears to be noise). The _Y_ -axes are independent.
Potentially, the most valuable information for the domain experts is the evaluation of the activation of the pulses, as
demonstrated in Fig. 4, providing an information which parts of the pulses have contributed to the respective decision
of the algorithm (either positive or negative).
Interestingly, two types of patterns appear to influence the decision ( _cf._ Fig. 3): Samples for which the activation has
higher amplitude for the pulse tails, (e.g., first TP and first TN), and samples for which the pulse itself is the deciding
factor (last TP, and the two displayed FP). These different types of pulses are presented in Figure 4. Remarkably,
it appears that the decision to label one power line as damaged or not depends as much on the presence of positively
activated parts as on the presence of pulses that are strongly deactivated (negative parts of the map). For example,
the difference between the first TP and the first TN maps appears to rely on the number of pulses whose tails are
positively activated. Also, for the last FP, the largest pulses (the one at the top of the map) were identified as not being
an indicator of a damaged power line. However, this is compensated on average by the rest of the map which is weakly
positively activated. One could infer that the line may have some PD. However, those PD are not strong enough for the
line to be considered as damaged. The first plotted FN in the figure can lead to a similar interpretation. The network
did find some PD pulses in the signal (upper part is mostly red). However, they were apparently not sufficiently strong
to compensate for the second part of the map which is weakly deactivated (light blue).
Finally, Figure 4 first row, presents pulses that are only positively activated. They could, therefore, be interpreted
as representative of some typical PD pulses. An input from domain experts could provide additional insights and
10
A PREPRINT - 17TH OF MARCH 2021
evaluate the match of the learnt patterns to the expert intuition on the type of the PD. This would guide additionally
the interpretation of the obtained results.
6 Conclusion
In this paper, we proposed a new framework for the detection of damaged power lines. The proposed approach
offers several improvements with respect to traditional power-line diagnostics. First, the proposed framework does not
require any feature engineering and is able to handle raw measurements with extremely little pre-processing. Second,
it provides competitive detection results at the power-line level, but also at the phase level. The proposed approach
is robust and can detect damages in power lines from a single period of utility frequency. It provides a significant
speed up compared to the more traditional PRPD approaches that require firstly, the processing of several hundreds of
periods, and secondly, an expert analysis of the diagrams.
In addition, we proposed to extract the Pulse Activation Maps to improve the interpretability and to gain understanding
on which part of the electrical signals are learned by the network as being a signature of a damaged power line. PAM
can be used by the domain experts to gain more insights in the decisions of the proposed neural networks and to
perform the diagnostics. PAM provide the information on which pulses and which part of the pulses dominated the
decision of the neural network and allows to verify the network’s decision.
It can be pointed out that one limit of the task we tackled here is the relatively small size of the training dataset
(from a deep learning perspective). Even though very competitive results were obtained, we believe our approach
can showcase its full potential when more and more data will be available. Training the framework with more data
will allow for a more precise tuning of the hyper-parameters. Furthermore, if samples were identified per powerline, timestamped and collected over a long time period (which was not the case in the considered case study), the
monitoring of the PAM evolution over time would be a very promising follow-up research. We could expect that, as a
power-line damage increases, the PAM would become more and more positively activated, and such monitoring would
have a potentially large benefit for the utility operators.
Acknowledgements
This work was supported by the Innosuisse grant no. 27662.1 PFES-ES.
References
[1] U. R. Acharya, S. L. Oh, Y. Hagiwara, J. H. Tan, M. Adam, A. Gertych, and R. San Tan. A deep convolutional
neural network model to classify heartbeats. _Computers in biology and medicine_, 89:389–396, 2017.
[2] K. Banno, Y. Nakamura, Y. Fujii, and T. Takano. Partial discharge source classification for switchgears with
transient earth voltage sensor using convolutional neural network. In _2018 Condition Monitoring and Diagnosis_
_(CMD)_, pages 1–5. IEEE, 2018.
[3] S. Barrios, D. Buldain, M. P. Comech, I. Gilbert, and I. Orue. Partial discharge classification using deep learning
methods—survey of recent progress. _Energies_, 12(13):2485, 2019.
[4] S. Butterworth et al. On the theory of filter amplifiers. _Wireless Engineer_, 7(6):536–541, 1930.
[5] Y. Q. Chen, O. Fink, and G. Sansavini. Combined fault location and classification for power transmission lines
fault diagnosis with integrated feature extraction. _IEEE Transactions on Industrial Electronics_, 65(1):561–569,
2017.
[6] M. Dong and J. Sun. Partial discharge detection on aerial covered conductors using time-series decomposition
and long short-term memory network. _Electric Power Systems Research_, 184:106318, 2020.
[7] M. Dong, Z. Sun, and C. Wang. A pattern recognition method for partial discharge detection on insulated
overhead conductors. In _2019 IEEE Canadian Conference of Electrical and Computer Engineering (CCECE)_,
pages 1–4. IEEE, 2019.
[8] ENET Centre at VSB - Technical University of Ostrava. Vsb power line fault detection, 2019. `[https://www.](https://www.kaggle.com/c/vsb-power-line-fault-detection)`
`[kaggle.com/c/vsb-power-line-fault-detection](https://www.kaggle.com/c/vsb-power-line-fault-detection)`, Accessed: 2020-07-04.
[9] H. I. Fawaz, G. Forestier, J. Weber, L. Idoumghar, and P.-A. Muller. Deep learning for time series classification:
a review. _Data Mining and Knowledge Discovery_, 33(4):917–963, 2019.
11
A PREPRINT - 17TH OF MARCH 2021
[10] W. Ganjun, Y. Fan, P. Xiaosheng, W. Yijiang, L. Taiwei, and L. Zibo. Partial discharge pattern recognition of
high voltage cables based on the stacked denoising autoencoder method. In _2018_ _International_ _conference_ _on_
_power system technology (POWERCON)_, pages 3778–3792. IEEE, 2018.
[11] R. A. A. Habeeb, F. Nasaruddin, A. Gani, I. A. T. Hashem, E. Ahmed, and M. Imran. Real-time big data
processing for anomaly detection: A Survey. _International_ _Journal_ _of_ _Information_ _Management_, 45:289–307,
2019.
[12] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In _Proceedings of the IEEE_
_conference on computer vision and pattern recognition_, pages 770–778, 2016.
[13] C. Hudon and M. Belec. Partial discharge signal interpretation for generator diagnostics. _IEEE Transactions on_
_Dielectrics and Electrical Insulation_, 12(2):297–319, 2005.
[14] K. Ibrahim, R. Sharkawy, M. Salama, and R. Bartnikas. Realization of partial discharge signals in transformer
oils utilizing advanced computational techniques. _IEEE_ _Transactions_ _on_ _Dielectrics_ _and_ _Electrical_ _Insulation_,
19(6):1971–1981, 2012.
[15] H. Karami, H. Tabarsa, G. B. Gharehpetian, Y. Norouzi, and M. A. Hejazi. Feasibility study on simultaneous
detection of partial discharge and axial displacement of hv transformer winding using electromagnetic waves.
_IEEE Transactions on Industrial Informatics_, 2019.
[16] M. Karimi, M. Majidi, H. MirSaeedi, M. M. Arefi, and M. Oskuoee. A novel application of deep belief networks
in learning partial discharge patterns for classifying corona, surface, and internal discharges. _IEEE Transactions_
_on Industrial Electronics_, 67(4):3277–3287, 2019.
[17] Y. Kawaguchi and S. Yanabu. Partial-discharge measurement on high-voltage power transformers. _IEEE Trans-_
_actions on Power Apparatus and Systems_, PAS-88(8):1187–1194, 1969.
[18] Q. Khan, S. S. Refaat, H. Abu-Rub, and H. A. Toliyat. Partial discharge detection and diagnosis in gas insulated
switchgear: State of the art. _IEEE Electrical Insulation Magazine_, 35(4):16–33, 2019.
[19] D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. _arXiv preprint arXiv:1412.6980_, 2014.
[20] C.-C. J. Kuo. Understanding convolutional neural networks with a mathematical model. _Journal_ _of_ _Visual_
_Communication and Image Representation_, 41:406–413, 2016.
[21] G. Li, M. Rong, X. Wang, X. Li, and Y. Li. Partial discharge patterns recognition with deep convolutional neural
networks. In _2016_ _International_ _Conference_ _on_ _Condition_ _Monitoring_ _and_ _Diagnosis_ _(CMD)_, pages 324–327.
IEEE, 2016.
[22] M. Lin, Q. Chen, and S. Yan. Network in network. _arXiv preprint arXiv:1312.4400_, 2013.
[23] M. Mashikian and A. Szarkowski. Medium voltage cable defects revealed by off-line partial discharge testing at
power frequency. _IEEE Electrical Insulation Magazine_, 22(4):24–32, 2006.
[24] B. Matthews. Comparison of the predicted and observed secondary structure of t4 phage lysozyme. _Biochimica_
_et Biophysica Acta (BBA) - Protein Structure_, 405(2):442 – 451, 1975. ISSN 0005-2795. doi: https://doi.org/10.
1016/0005-2795(75)90109-9.
[25] D. McGreevy, R. Giussani, M. Seltzer-Grant, A. Singh, A. Patel, S. Calladine, and G. Gibb. Deployment of
an online partial discharge monitoring system for power station with focus on gas turbine generators. In _2017_
_INSUCON-13th International Electrical Insulation Conference_, pages 1–5. IEEE, 2017.
[26] S. Misák, J. Fulnecek, T. Vantuch, T. Buriánek, and T. Jezowicz. A complex classification approach of par
tial discharges from covered conductors in real environment. _IEEE_ _Transactions_ _on_ _Dielectrics_ _and_ _Electrical_
_Insulation_, 24(2):1097–1104, 2017.
[27] M.-T. Nguyen, V.-H. Nguyen, S.-J. Yun, and Y.-H. Kim. Recurrent neural network for partial discharge diagnosis
in gas-insulated switchgear. _Energies_, 11(5):1202, 2018.
[28] N. Qu, Z. Li, J. Zuo, and J. Chen. Fault detection on insulated overhead conductors based on dwt-lstm and partial
discharge. _IEEE Access_, 8:87060–87070, 2020.
[29] W. J. K. Raymond, H. A. Illias, et al. Classification of partial discharge measured under different levels of noise
contamination. _PLOS one_, 12(1), 2017.
[30] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. _arXiv_
_preprint arXiv:1409.1556_, 2014.
[31] S. Strachan, S. Rudd, S. McArthur, M. Judd, S. Meijer, and E. Gulski. Knowledge-based diagnosis of partial
discharges in power transformers. _IEEE Transactions on Dielectrics and Electrical Insulation_, 15(1):259–268,
2008.
12
A PREPRINT - 17TH OF MARCH 2021
[32] G. A. Susto, A. Cenedese, and M. Terzi. Time-series classification methods: Review and applications to power
systems data. In _Big Data Application in Power Systems_, pages 179–220. Elsevier, 2018.
[33] M. Wu, H. Cao, J. Cao, H.-L. Nguyen, J. B. Gomes, and S. P. Krishnaswamy. An overview of state-of-the
art partial discharge analysis techniques for condition monitoring. _IEEE electrical insulation magazine_, 31(6):
22–35, 2015.
[34] Q. Zeng, H. Pan, B. Chen, and Z. Liao. Research on stlf method based on one-dimensional convolution and slope
feature. In _2019 IEEE International Conference on Power Data Science (ICPDS)_, pages 118–121, 2019.
[35] B. Zhou, A. Khosla, A. Lapedriza, A. Oliva, and A. Torralba. Learning deep features for discriminative local
ization. In _Proceedings of the IEEE conference on computer vision and pattern recognition_, pages 2921–2929,
2016.
13
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.