scieee AI-readable full text Open interactive document viewer

Towards the text compression based feature extraction in high impedance fault detection

Vantuch, Tomáš

Abstract

High impedance faults of medium voltage overhead lines with covered conductors can be identified by the presence of partial discharges. Despite it is a subject of research for more than 60 years, online partial discharges detection is always a challenge, especially in environment with heavy background noise. In this paper, a new approach for partial discharge pattern recognition is presented. All results were obtained on data, acquired from real 22 kV medium voltage overhead power line with covered conductors. The proposed method is based on a text compression algorithm and it serves as a signal similarity estimation, applied for the first time on partial discharge pattern. Its relevancy is examined by three different variations of classification model. The improvement gained on an already deployed model proves its quality.

Full text

energies Article Towards the Text Compression Based Feature Extraction in High Impedance Fault Detection Tomáš Vantuch *, Michal Prílepok, Jan Fulneˇcek, Roman Hrbáˇc and Stanislav Mišák Centre ENET at VŠB—Technical University of Ostrava, 17. listopadu 15, 708 33 Ostrava-Poruba, Czech Republic; [email protected] (M.P.); [email protected] (J.F.); r[email protected] (R.H.); stanislav[email protected] (S.M.) *Correspondence: [email protected] Received: 20 April 2019 ; Accepted: 30 May 2019 ; Published: 5 June 2019   Abstract: High impedance faults of medium voltage overhead lines with covered conductors can be identified by the presence of partial discharges. Despite it is a subject of research for more than 60 years, online partial discharges detection is always a challenge, especially in environment with heavy background noise. In this paper, a new approach for partial discharge pattern recognition is presented. All results were obtained on data, acquired from real 22 kV medium voltage overhead power line with covered conductors. The proposed method is based on a text compression algorithm and it serves as a signal similarity estimation, applied for the first time on partial discharge pattern. Its relevancy is examined by three different variations of classification model. The improvement gained on an already deployed model proves its quality. Keywords: Lempel-Ziv complexity; text compression; high impedance fault detection; overhead lines; covered conductor; partial discharges 1. Introduction Several advantages of Covered conductors (CCs) over Aluminium Core Steel Reinforced (ACSR) medium voltage (MV) overhead lines are leading their gradual replacement especially in a forested and hardly accessible terrain [ 1 , 2 ]. The higher reliability, given by the XLPE insulation system, is the main advantage which leads to no interphase short-circuit in cases of contact of phases [ 3 ]. Similarly, the interphase short-circuit does not arise in case a tree branch falls on the CCs phases [ 2 ]. On the other hand, the CCs fault detection is a difficult task. The degradation of insulation system is a common problem, especially if CC is used in the forested area. Degradation is usually caused by the contact with surrounding vegetation (tree branch in the most cases). When CC is in a direct contact with any conductive object of a different potential, partial discharges (PD) may appear on the surface of XLPE insulation. This situation is known as high impedance fault (HIF), because PD activity implies only minimal fault current (initial impedance of the fault ranges between tens to hundreds of mega ohms [ 4 ]). Such a low value of fault current cannot be detected by standard digital relay protection [ 1 , 5 ]. Methods, able to detect the CC HIF faults, are usually based on evaluation of the signal impulse component (voltage or current). The impulse component of the signal is generated by PDs activity at the fault site; it is visible in the high-frequency band (usually between 10 4 and 10 7 Hz). The measurement approaches based on Rogowski coil [ 1 , 6 ] and the sensor (inductor) placed on the insulation system [ 5 , 7 ] were described in our previous study [ 8 ] as well as the issues related to the presence of the background noise interference generated by real environment. According to the conclusions of several high quality reviews [ 7 , 9 , 10 ] there are various proposals in the field of partial discharge pattern evaluation aiming at correct feature extraction and classification. Energies 2019,12, 2148; doi:10.3390/en12112148 www.mdpi.com/journal/energies Energies 2019,12, 2148 2 of 13 Among the classification approaches, the most families of machine learning models and their modifications were already applied in several successful studies (ANN [ 10 , 11 ], SVM [ 12 ], ensemble based approaches [ 8 , 13 ], fuzzy classifiers [ 14 ], hidden Markov models [ 15 ], etc.). These different models require a different adjustment of their hyper-parameters as well as feature pre-processing to perform some reasonably accurate classification which is not the aim of study of PD-activity but the model optimization itself. As it was concluded in the last available review [ 9 ], the most important process for correct PD-activity classification is the extraction of relevant features. The feature extraction approaches described in available literature varied among the application of basic statistical features [ 16 ], the wavelet based decomposition [ 17 ], the Fourier transform [ 18 ], the fractal theory [ 19 ], image based processing, chaos theory [ 20 , 21 ] or representation based on graph structure and adjacency matrices [ 22 , 23 ]. The relevance of features extracted by any selected approach depends on the proper adjustment of the process as well as its ability to handle the external background noise (EBN). Most of the studies attempt to simulate the real conditions by adding the background noise in the observed data. In our case, the data are obtained from real environment where EBN comes from various sources and intensities. Our aim is to design, develop and evaluate a signal similarity estimation which can be applied as additional feature or classification itself with lowest possible noise-sensitivity and minimal computational costs. The application of compression based similarity is able to fulfill these requirements and on top of that its novelty application on fault detection will be compared with our existing solution based on fundamental features [ 8 ]. In case of performance improvement, the combined solution will be deployed as a HIF detector on the real environment. 2. Experiment Design The experiment, described in this paper, contains several phases and a novelty application of compression based similarity function, which is evaluated in three different regimes (classification variations). The estimated signal similarity value is applied in simple k-NN classification, as an additional input value for the random forest algorithm and weighted k-NN classification which serves as calibration of RF predictions. The UML block scheme of the experiment is depicted in Figure 1. Signal denoising Feature extraction Random Forest classification Raw signal loading Butterworth filtering Signal normalization LZC similarity estimation k-NN classification Class prediction Obtained sinusoidal signal containing 400,000 samples Univariate wavelet based denoising Pulse related features extracted from suspicious signal zones Application of trained classifier to estimate the signal s annotation Sine shape removal and splitting signal into suspicious zones Normalization of signal s magnitude towards the entire database Compression based heuristic for similarity estimation The annotation of the N most similar signals implies the estimated annotation By combining two estimated annotation, the final prediction is ensured k-NN calibration Figure 1. Process diagram of the entire experiment depicting the most important phases. 2.1. Data Acquisition Gathering of the data was performed in real environment, forested or hardly accessible terrain, where the metering device was deployed on an overhead line. The locations of deployment will not be published due to the security reasons, but currently our project maintain more than 20 different deployments in several areas of Czech republic. The metering device uses single layer inductor (SLI) as a voltage sensor. SLIs are mounted on the surface of the CC (one inductor per phase). Each SLI is connected to the capacitance divider, output of this divider is connected to the data acquisition card. Control unit of whole detector triggers signals measurement in a scheduled time (see schema in Figure 2). Energies 2019,12, 2148 3 of 13 Figure 2. Schema of the single layer inductor based metering device. Acquired signals are sent through GPRS module to the database server for further data processing and evaluation. The detailed description of a physical platform was brought in [5]. The measurement acquires signals in a length of 20 ms every hour on all three phases (one period of 50 Hz power grid frequency is equal to 20 ms). This results in three signal time series. Each of them contains 400,000 samples with 20 MS/s sampling rate. Those signals are sent into our database where are stored for further analysis. For the purpose of this experiment, 500 signals were selected in order to cover all typical kinds of noisy signals accompanied by the majority of the obtained fault signals. This dataset was randomly shuffled and split into training and testing parts (75% to 25%). Every fault observed on overhead lines is compared with stored data such as each signal is labeled by an human expert. The labels are assigned to the signals based on visual pattern they contain. In case of the fault presence, the malfunction on the overhead lines is double checked by maintaining service operators. Maintenance service operators provides us all detailed information about the fault, like the distance, type of fault (line-to-ground or line-to-line), cause of fault, clearing time etc. Seven different labels are defined to differentiate fault and non-fault signals. Six of them describes the specific kind of faults as it is stated in Table 1. Table 1. Annotations of 7 typical signals of PD patterns, defined by our previous study [20]. Index Annotation Describtion an0 signal indicating no fault on the covered conductor (CC) an1 weak appearance of the event when a tree or branch is in contact with CC and through that the CC is connected to the ground an2 weak appearance of the event when a branch is in contact with multiple CCs and through that the phases are interconnected an3 interruption of the CC fault an4 incorrect behavior due to degradation of the CC insulation system an5 strong appearance of the event when a tree or branch is in contact with CC and through that the CC is connected to the ground an6 strong appearance of the event when a branch is in contact with multiple CCs and through that the phases are interconnected 2.2. Background Noise Unlike the laboratory environment, signals obtained from a real power lines contain high level of background noise. Discrete spectral interference (DSI) is present in all of the acquired signals in a form of radio broadcasting signals (overhead power line act as a long wire antenna). DSI noise magnitude is very variable and depends on time of the day, weather season and ionospheric conditions. High level of DSI covers PD pattern in obtained signals, making it difficult to detect. During the acquisition of data for this experiment, the highest observed DSI level reached peak value of 0.29 V (data acquisition card range is 0.5 V, so the DSI noise can reach 50 percent of its range). Another issue is pulse interference (PI), which generates impulse component in acquired signals. Such pulses have no relation with XLPE insulation, they are caused by other type of discharges, switching operations, atmospheric discharges or they can be induced into the measuring system due to electromagnetic coupling. PI pulses can be misinterpreted as PD pattern. Energies 2019,12, 2148 4 of 13 2.3. Denoising and Feature Extraction Raw signals were synchronised the way mentioned previously. All of them starts from zero and has the same sine shape in order to correctly select the relevant signal parts. In order to suppress the noise interference, the butterworth filter was applied. The effect of BF application with defined cut-off frequency 50Hz is depicted on Figure 3. This was followed by DWT based denoising which removed the majority of small pulses. Those that remained were examined by our feature extraction procedure. 01234 Samples 105 -40 -30 -20 -10 0 10 20 30 Amplitude 01234 Samples 105 -30 -20 -10 0 10 20 30 Figure 3. Signal processed by Butterworth filtering. Raw signal ( left ) and filtered signal ( right ) after using of high-pass filter to suppress the sine shape. The pulse related features are considered as the most relevant indications of partial discharge activity according to the available literature and our previous experiments. With respect to this fact, we applied the feature extraction from our previous study [ 8 ], where their relevance was on PD detection accuracy quantified. The process extracts signal pulses and computes their count and the mean/max/min of their width and magnitude. This process also involves the cancellation of false-hit pulses. False-hit pulses are not generated by the PD activity, but they come as a result of the noise interference. Set of rules, defined by expert’s adjustment, contained several key characteristics (see in Table 2). This set of rules is based on a fundamental knowledge of PD a pulse shape and can be applied only on signals, acquired from power lines with previously described detector. PD pulse cannot be measured directly and the response of sensor is affected by the measuring system and tested object. This is why this set of rules will probably not work with any other type of measuring sensors or with different objects under test. Table 2. Settings applied in denoising and feature extraction from previous study [ 8 ]. * IG stands for information gain criteria. Parameter Value Meaning maxDistance [samples] 10 maximal distance between pulse and its opposite pulse maxHeightRatio [%] 25 ratio of amplitudes between suspected pulse and its opposite one maxHeight [%] 100 maximal amp. of the pulse compared to the amp. of sine maxTicksRemoval [samples] 500 number of pulses suppressed after the opposite pulse mother wavelet db4 selected wavelet for DWT decomposition level of decomposition 1 detailed coefficients were not decomposed again thresholding method hard values under the threshold were set to zero According to [ 24 ], the charge of surface or void PD pulse is mostly positive polarity in one half cycle and negative in the other one. This matches our observations, as it can be seen in in Figure 4. This signal was acquired during the line to ground fault. During the rising slope, polarity of PD pulse is positive ( AMP1 AMP2 ). During the falling slope, polarity of PD pulse is negative (AMP1 AMP2). Energies 2019,12, 2148 5 of 13 Pulses with almost equal magnitudes ( AMP1 ≈AMP2 ) are usually non-related to the CC insulation system and can be considered as false-hits. These pulses can have their origin in background noise or it can be propagated into the measuring system thanks to the inductive and capacitance coupling of a power line conductors. Example of such situation can be seen in Figure 5. There was no fault on this particular phase, but despite this fact there are pulses in acquired signal. They were induced into the measuring system through the electromagnetic coupling between conductors (there was line to ground fault on the other phase, signal was acquired during the ground fault recorded in Figure 4). The ratio of magnitudes “AMP1” and “AMP2” differs from pulses in affected phase, see the detail in Figure 5. Figure 4. Visualization of PD pulse detail during line to ground fault. Figure 5. Visualization of false-hit pulses detail. Based on our observations (there are already several hundred thousands of acquired signals in our database), the false-hit peak is typical by its high initial magnitude “AMP1” (magnitude that cannot be achieved by the PD activity, even in a close distance of a detector), or by the close presence of pulse with the opposite magnitude “AMP2” (in defined closeness “maxDistance” and defined amplitude ratio), or by the regular spacing or by the areas of signal where it appear. Each pulse triggers a transient. If any pulse is identified as a false-hit pulse, a certain number of samples, followed by this pulse, are neglected. This prevents the misinterpretation of pulses from the following transient as a PD event. The feature extraction process is not executed on the entire length of the acquired signal. There are only several parts with higher probability of PD activity appearance, because it is generated by the surface and void discharges of a XLPE insulation with specific phase resolved diagram patterns [ 24 ]. Random pulse interference can appear in any part of the signal and it can be misinterpreted as PD activity. The smaller portion of a signal is analyzed, the lower is probability of a noise pulse presence in analyzed part. It is also necessary to avoid parts around maximum/minimum of the carrier sine wave, because they often contains corona discharge pulses. This is why only parts with high probability of PD occurrence and low probability of other type of discharges appearance are analyzed (see Figure 6). The relevance of these parts was examined in [ 8 ]. The influence of insulation aging on this relevance is possible, but we are unable to analyze it yet (the oldest monitored power line was constructed six years ago and does not show any sign of aging yet). The same signal areas are applied for fundamental feature extraction as well as for LZC processing. Energies 2019,12, 2148 6 of 13 Measured signals are not starting at the same position in the sinusoidal shape, therefore they need to be synchronised. They all need to posses a shape of increasing wave at the beginning, crossing the zero line in the middle when decreasing into its negative part and then increasing back towards the zero. Synchronization of a noisy signals was performed making use of extracting of an approximated shape from wavelet decomposition and estimation of global extremes. Based on them, the signals were cut into pieces and concatenated back to form this shape. 0 2 4 6 8 10 12 14 16 18 Sample #104 -60 -40 -20 0 20 40 60 Amplitude [b] 1 2 Figure 6. Selected parts of the 50 Hz carrier wave with the highest probability of PD activity appearance. 2.4. Measuring the Similarity of Input Data Using LZC The comparison of the LZ sequences lists is the main task in our approach. The lists are compared to each other. The main property for comparison is the number of common sequences in both lists of two input data. This number is represented by the sc parameter in the Equation (1), which is a metric of similarity between LZ sequences lists. SM =sc min(c1,c2)(1) where: •sc is count of common LZ sequences in both lists. •c1,c2is a count of LZ sequences in list of the first or the second sample. The SM value is in the interval between 0 and 1. If SM = 1, then the two list are equal, but if the value of SM =0, then the samples are totally different. 2.5. Classification As it was mentioned previously, the application of LZC similarity is applied in three different variations of classification in order to examine its relevancy. A product of LZC is represented by two similarity matrices (each one is computed on one selected signal area), which serve in all of those variations. For simplicity, the k-nearest neighbors (k-NN) algorithm [ 25 ] was applied to perform classification based on LZC similarity values. • k-NN is used to predict the class of observed signal as the major class of its neighbors. The neighborhood is established as a closeness of observations according to the similarity matrix (higher similarity among observations means higher closeness). The final prediction comes as an average of two sub-predictions computed on both similarity matrices. • k-NN computes two average values of nearest neighbors annotations (one from each similarity matrix) and passes them into RF as another input values. The model is than trained and evaluated for classification performance. • weighted k-NN is applied for calibration of RF classification. Neighbors’ classes are put together with predicted class from RF and the result is given by the majority. The weighted version of Energies 2019,12, 2148 7 of 13 k-NN is applied because of the different character of voting entities. The optimization of weights is simply ensured making use of Differential evolution (DE) [ 26 ], which turns this process into supervised classification. Adjustment of the applied algorithms as well as data processing is described in following section. 3. Theoretical Background The described experiment uses advanced techniques of data, especially signal, processing, briefly reviewed in the following sections. 3.1. Butterworth Filtering The Butterworth filter (BF) [ 27 ] has been commonly used in gait analysis applications. The only parameter which needs to be set by the user, is a cut-off frequency (when assuming constant order and number of passes). BF has a magnitude response that is maximally flat in the passband and monotonic overall. This smoothness comes at the price of decreased rolloff steepness. The amplitude response of n-th order BF is given as follows: Vout Vin =1 p1+ (fc/f)2n, (2) where: •fis frequency at which calculation is made, •fcis the cut-off frequency, i.e., half power or -3dB frequency, •Vin is the input voltage, •Vout is the output voltage, •nis the number of poles. The poles of a BF with cut-off frequency ωc are evenly-spaced around the circumference of a half-circle of radius ωccentered upon the origin of the s-plane. The equation can be rewritten to give its more usual format. Here H(jω) is the transfer function and it is assumed the filter has no gain, i.e., it is not an active filter. |H(jω)|=1 p1+ (ωc/ω)2n, (3) where: •H(jω)is transfer function at angular frequency ω, •ωis angular frequency and is equal to 2πf, •ωcis cutoff frequency expressed as an angular value and is equal to 2πfc 3.2. External Background Noise Suppression The major part of noise interference is aimed to be suppressed making use of a denoising procedure. In our case, the discrete wavelet transformation with coefficient thresholding is followed by the signals reconstruction. It is supposed to remove the noise related pulses with lower amplitude and higher frequency of occurrence. The hard-thresholding approach sets to zero all coefficients values under the defined threshold. The applied mother wavelet is selected according to the energy computed from obtained coefficients (see in Equation (4)) [28]. Ea= ∑ k a2 j,k ∑ k a2 j,k+∑ k ∑ j d2 j,k (4) Energies 2019,12, 2148 8 of 13 The threshold value Tis than estimated according σ=1 0.6745 ×MAD(cd);T=σq2log(N)(5) is the noise estimation, c stand for the vector of detail coefficients and N is the size of that vector. The energy is computed from sums of approximation a and detailed d coefficients on a j -th level of decomposition over all K coefficients. The MAD operation mentioned in the threshold estimation stands for the mean absolute deviation. 3.3. Lempel-Ziv Complexity Similarity Estimation Lempel-Ziv complexity (LZC) and derived LZ algorithms have been extensively used to solve information theoretic problems, such as coding and lossless data compression. In recent years, LZ has been widely used in biomedical applications to estimate the complexity of discrete-time signals [ 29 ]. The input data must be transformed into a finite symbol sequence. For example in the context of signal analysis, typically the discrete-time signal is converted into a binary sequence. By comparison with the threshold Td , the signal data ( X∈(x1 , x2 , · · · , xn) ) are converted into a 0–1 sequence P as follows [ 30 ]: P=s1,s2, . . . , sn(6) where si=(0 if xi<Td, 1 otherwise . (7) Usually, the median is used as the threshold Tdbecause of its robustness to outliers [29]. The LZC for sequences of finite length was suggested by Lempel and Ziv in [ 31 ]. It is a non-parametric, simple-to-calculate measure of complexity in a one-dimensional data. LZC is related to the number of distinct sequences of input data and the rate of their recurrence along the given input sequence [32]. The larger values of LZC are corresponding to more complexity in the data. It has been applied to study the brain function, detect ventricular tachycardia, fibrillation, and EEG [ 30 ]. Also, LZC has been applied to extract complexity from mutual information time series of electroencephalography (EEG) data in order to predict response during isoflurane anesthesia with artificial neural networks in [ 33 ]. The complexity measure can be estimated using the following algorithm [31]: 1. Let S and Q denote two sequences of P and SQ be the concatenation of S and Q , while sequence SQπ is derived from SQ after its last character is deleted ( π means the operation to delete the last character in the sequence). Let v(SQπ) denote the vocabulary of all different sequences of SQπ. At the beginning, c(n) = 1, S=s(1),Q=s(2), therefore, SQπ=s(1). 2. In general, S=s( 1 ) , s( 2 ) , . . . , s(r) , Q=s(r+ 1 ) , then SQπ=s( 1 ) , s( 2 ) , . . . , s(r) ; if Q belongs to v(SQπ), then Qis a sequence of SQπ, not a new sequence. 3. Renew Qto be s(r+1),s(r+2)and judge if Qbelongs to v(SQπ)or not. 4. Repeat the previous steps until Q does not belong to v(SQπ) . Now Qts =s(r+ 1 ) , s(r+ 2 ) , . . . , s(r+i) is not a sequence of SQπ=s( 1 ) , s( 2 ) , π , s(r+i− 1 ) , so increase c(n) by one. 5. Thereafter, Sis renewed to be S=s(1),s(2), . . . , s(r+i), and Q=s(r+i+1). These procedures have to be repeated until Q is the last character. At this time, the number of different subsequences in P —the measure of complexity—is equal to c(n) . In order to obtain the complexity measure of the input data which is independent of the sequence length, c(n) must be Energies 2019,12, 2148 9 of 13 normalized. If the length of the sequence is n and the number of different symbols in the symbol set is α, it has been proved that the upper bound of c(n)is given by [34] c(n)<n (1−en)logα(n)(8) where enis a small quality and en→0, n→∞. In our experiment, we do not deal with the measure of the complexity. Based on the individual subsequences, we create a list of the LZ sequences. One list is created for each data file with turtle commands of the compared files. LZC analysis is based on a coarse-graining of the measurements, before the calculation of the complexity measure. The signal must be transformed into a finite symbol sequence. In this study, we have converted the captured signal into bytes. The signal is presented as a series of consecutive bytes P . The series P is scanned in a direction from left to right and the complexity counter is increased by one unit every time a new sequence of consecutive bytes is encountered. The complexity measure can be estimated using the algorithm described in [ 31 , 33 ]. LZC can be described on a brief example of a binary encoded input. For example: if the input is 000110100100010 and LZ algorithm is applied, the sequence 0, 001, 10, 100, 1000, 101 is obtained as a result. In our experiments, we do not deal with complexity measure of LZ [ 31 , 33 ]. From the individual obtained sequences, a list is created. List of LZ sequences is independent of its order. One list is created for each data part of the captured sample. 3.4. Random Forest Based Classification As a part of our previous study reconstruction [ 8 ], the application of supervised learning model is necessary in order to obtain a classification model. The random forest (RF) was used in this purpose. The model proposed by Breiman in 2001 [ 35 ] gained wide attention and was successfully applied in many machine learning studies [ 36 , 37 ]. The core idea of the algorithm is focused on the application of an ensemble of CART-like tree classifiers [ 38 ] learned on the randomly selected and replaced observations (bagging of the dataset). This increases the overall complexity of the algorithm which is supposed to reduce the variance and keep the bias as low as possible. 4. Adjustments and Results The first half of the experiment reproduces our previous study [ 8 ] which implies a necessity of the same adjustment using in case of denoising, feature extraction and random forest classification. A brief summarization of applied parameters is listed in Table 3. From all proposed combinations of the classification model, we applied the expert based adjustment with all noise-suppressing modules [ 8 ]. This model is clearly based on fundamental knowledge and reflects the relevancy of applied signal features, therefore it serves well for comparison with the extended model by LZC. As it was mentioned previously, LZC is a parameter free method, which serves as unsupervised part and also as the extraction of an additional potentially relevant features. The only adjustable parameter can be the size of the dictionary applied in compression. In our case, double values are encoded into byte values in the range [ − 128, 127] which are further compressed. The application of entire byte range was the only adjustment of the LZC algorithm. This step also served as a normalization of input data into one common range for all observed signals. The computation of LZC was performed twice per each signal, on each selected signal’s area separately, therefore two similarity matrices were obtained. The k-NN based classification simply took 6 nearest neighbors on each similarity matrix and averaged their output classes. The result came up as average from both matrices predictions (LZC in Table 4). Those features (LZC similarity from the first and second matrix) were also applied in RF as two additional features (LZC, RF in Table 4). In the third option (RF, LZC in Table 4) the prediction of