Next Article in Journal
Smart Meter Forecasting from One Minute to One Year Horizons
Previous Article in Journal
An Experimental Study of Combustion of a Methane Hydrate Layer Using Thermal Imaging and Particle Tracking Velocimetry Methods
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Adaptive Approach for Voltage Sag Automatic Segmentation

1
College of Electrical Engineering and Information Technology, Sichuan University, Chengdu 610065, China
2
China Southern Power Grid Shenzhen power supply bureau Co. Ltd, Shenzhen 518020, China
*
Author to whom correspondence should be addressed.
Energies 2018, 11(12), 3519; https://doi.org/10.3390/en11123519
Submission received: 22 November 2018 / Revised: 12 December 2018 / Accepted: 14 December 2018 / Published: 17 December 2018
(This article belongs to the Section F: Electrical Engineering)

Abstract

:
Voltage sag characterization is essential for extracting information about a sag event’s origin and how sag events impact sensitive equipment. In response to such needs, more characteristics are required, such as the phase-angle jump, point-on-wave, unbalance, and sag type. However, the absence of an effective automatic segmentation method is a barrier to obtaining these characteristics. In this paper, an automatic segmentation method is proposed to improve this situation. Firstly, an extended voltage sag characterization method is described, in which segmentation plays an important role. Then, a multi-resolution singular value decomposition method is introduced to detect the boundaries of each segment. Further, the unsolved problem of how to set a threshold adaptively for different waveforms is addressed, in which the sag depth, the mean square error, and the entropy of the sag waveform are considered. Simulation data and field measurements are utilized to validate the effectiveness and reliability of the proposed method. The results show that the accuracies of both boundary detection and segmentation obtained using the proposed method are higher than those obtained using existing methods. In general, the proposed method can be implemented into a power quality monitoring system as a preprocess to support related research activities.

1. Introduction

Nowadays, power customers and utilities consider voltage sag to be one of the most important power quality (PQ) problems. Voltage magnitude and sag duration are acknowledged to be basic characteristics of voltage sags [1,2,3]. In the past, only these two characteristics were involved in quantifying and benchmarking voltage sags [4]. With the increase in PQ monitors and new types of sensitive equipment in power systems, an effective data analysis of a sag event’s origin and how sag events impact sensitive equipment is becoming more important for resolving voltage sag problems. Such developments have resulted in a need for a characterization method that can support several related research activities, as described below:
  • The identification of the underlying causes of voltage sags. Short-circuit faults, energizing, and the connection of components may lead to sag events in a power system. For different causes, the characteristics in the recorded waveform are different. Since two single characteristic values lead to a significant loss of sag information, an improved characterization method may help to extract essential characteristics from the recorded waveform to identify the causes of a sag and recognize the status of the power supply system [5,6].
  • Research on the impacts of sags on sensitive equipment. The behavior of certain types of equipment is influenced by other characteristics [7]. Two sag events with the same magnitude and duration may have different impacts on end-user equipment. Improved characterization methods are required to provide more information about the impact of sags on equipment and prevent harmful effects on power system components.
In response to the above needs, the standard method has been recognized as insufficient, and improved characterization methods have been studied [7,8,9,10,11,12]. Among these methods, one generally accepted method has been proposed by an international working group (CIGRE/CIRED/UIE JWG C4.110). It suggests dividing the monitoring data sequence into several blocks to obtain more characteristics, i.e., the magnitude, duration, phase-angle-jump, point-on-wave, sag type, unbalance, etc. [7]. It helps to improve the characterization method to some extent. However, from a practical standpoint, it does not specify how to divide the recorded waveforms, i.e., automatic segmentation. Although a visual inspection is often implemented in characteristics calculations [9,10], this manual method mainly depends on human experience, and is not practicable for the analysis of enormous volumes of data. Reference [13] is probably the pioneering work in automatic segmentation for voltage sags. It segments a waveform based on the residuals of sinusoidal models. However, the key problem is that the threshold used for segmentation is a constant value and is still set by experience. As a result, an acceptable threshold for one waveform sometimes may be invalid for another one if the waveform changes obviously. Moreover, it is impossible to set the threshold value artificially for different sag events at every monitoring site. There is another method that sets the threshold for segmentation based on the probability density function (PDF) of hundreds of measured events [14]. However, it requires an enormous volume of measured data on each monitoring site in advance.
To our best knowledge, as a preprocessing step before the application of an effective data analysis method, an acceptable automatic segmentation method has yet to be developed. In response to this situation, an automatic segmentation method for voltage sag is proposed in this paper. Since segmentation can be regarded as a special detection process, the basic idea of the proposed method is to detect the boundaries of each segment with a multi-resolution singular value decomposition method (MRSVD). Moreover, with the adaptive threshold set by the proposed method, the defect of a constant threshold is overcome and accuracy of segmentation is improved. The rest of this paper is organized as follows. Section 2 explains the extended voltage sag characterization method, in which automatic segmentation plays a crucial role in the characteristics calculation. Section 3 introduces the transition segment detection method based on multi-resolution singular value decomposition. Section 4 presents the automatic segmentation method with an adaptive threshold to overcome the deficiency due to the constant threshold. Simulation data and field measurement validation results are shown in Section 5. The conclusions are summarized in Section 6.

2. Application of the Segmentation Method to a Voltage Sag Waveform Analysis

In the past, voltage sag was described as a two-dimensional electromagnetic disturbance [3], and magnitude and duration were acknowledged to be basic characteristics. As illustrated in Figure 1, for a typical voltage sag waveform, the voltage magnitude always changes abruptly from being three-phase-balanced with a nominal magnitude to being unbalanced with a low magnitude, and then, finally, recovers to a balanced nominal magnitude. Therefore, this pattern of change in magnitude means that waveforms can be separated into distinctive parts, i.e., pre-event, transition, during-event, and post-event segments [7], as shown in Figure 1. Each one is, in general, relatively stationary except for the transition segment. As a result, different statistical characteristics in each segment can be obtained to describe voltage sags in more detail. Moreover, more information about the origins and impacts of sag events can be extracted.
To improve the characterization method, the magnitude and phase variation with time, as well as the difference between each phase, are taken into consideration. Some characteristics, e.g., “single-event characteristics” and “single-segment characteristics”, are introduced in [8,9,10]. Besides magnitude and duration, which are defined in standards [1,2,3,4], additional characteristics are required, e.g., the sag type [9], phase-angle jump [10], point-on-wave [15], unbalance [1,16], etc. In general, segmentation is a prerequisite process to obtain these characteristics that helps network operators and end-users to analyze sag events completely.
For segmentation, the voltage magnitude and phase angle values during the transition segment are influenced by the calculation method and typically not realistic. Therefore, values in the transition segment should be excluded before calculation. As shown in Figure 2, the maximum voltage unbalance during a sag event is calculated as an example. If transition segments cannot be detected, it would result in the wrong result (more than 3% unbalance instead of 1%). The impacts of segmentation on other characteristics can be found in some published works, where segmentation is considered to be an unsolved problem [9,10]. In general, the inaccuracy of segmentation sometimes may result in an unacceptable error in the characteristics calculation. Another example can be found in the classification of a voltage sag event’s origin [13], where the transition segment can be used to classify the origins of sag events. If the number of transition segments is inaccurate, the classification results are invalid. Overall, a further analysis of sag events and related conclusions would be affected by the segmentation method.
It is noted that the pattern of transition segments and stationary segments is not common to all sag events. There might be no steady-state during the sags caused by starting a heavy motor and energizing a transformer. The cases in which the voltage changes continuously during the entire sag event are not considered in this paper. Since most sag events are caused by faults, which are more harmful to a power system’s end-users, it is still necessary analyze these sag events. Besides, there are higher sub- and inter-harmonics caused by transformer energizing, arcing faults, intermediate faults, etc. Since all of the voltage values utilized in the proposed method are fundamental voltage values, harmonics would not affect the analysis’s result. The question of how to obtain fundamental voltage values from sampling voltage values is the concern of the detection process, which is beyond the scope of this paper.

3. Transition Segment Detection Based on the Multi-Resolution Singular Value Decomposition Method

3.1. The Definition and Original Cause of Transition Segments

To separate a monitoring data sequence into several data blocks, segmentation has been implemented in many fields, including medicine and speech analysis [17,18,19]. Similar to the definition in other fields, a transition segment of a voltage sag waveform can be defined as a nonstationary segment from one stationary segment to another. The underlying reason is that it indicates the intermediate state during state changes of a power system. These changes result in abrupt changes in the three-phase voltage waveform. Therefore, the original cause of a transition segment is usually associated with fault initiation, a protection operation, etc. For instance, the actual event nearly happens close to the start of the transition segment, making segmentation more important [6]. Considering this property, the segmentation progress can be considered to be a special detection problem to locate abrupt changes in a sag waveform, that is, the boundaries of the transition segment. Once the boundaries of the transition segments have been determined, the voltage sag waveform can be divided into several segments.

3.2. The Multi-Resolution Singular Value Decomposition Method

To detect power quality disturbances, wavelet transformation (WT) and singular value decomposition (SVD) are generally used [5]. Since segmentation is actually detecting the boundaries of the transition segments of waveforms, these methods are still practical. To obtain a similar performance to the multi-scale analysis of WT, MRSVD has been applied to detect abrupt changes in waveforms, and to further locate the boundaries of transition segments. MRSVD has better performance than WT, especially in a strong noise environment, and does not require the choice of a mother wavelet as in WT [20,21,22].
Assuming a real-valued matrix A R m × n (m ≥ n), it is factored by SVD as follows.
A = U S V T
where S = d i a g ( λ 1 , λ 2 , , λ n ) with λ 1 λ 2 λ n . U and V are the left and right singular vectors of A, respectively, and can be defined as in Equations (2) and (3).
U = [ u 1 , u 2 , u m ] R m × m , U T U = I
V = [ v 1 , v 2 , v n ] R n × n , V T V = I
The singular values λi describe the significance of individual singular vectors. Although traditional SVD has optimal decorrelation and sub-rank approximation properties, to analyze signals in multi-resolution like WT, MRSVD is applied to extract important features at each of several levels of the resolution, and is described as follows.
(1)
Construct a Hankel matrix A0 of an original signal x as:
A 0 = ( x 1 x 2 x N 1 x 2 x 3 x N )
where x = [ x 1 x 2 x N ] is the input data sequence. After SVD, only two singular values are obtained, i.e., S = d i a g [ σ a , σ d ] ( σ a > σ d ) , and A0 is decomposed as:
A 0 = U S V T = σ a 1 u 1 v 1 T + σ d 1 u 2 v 2 T
where
σ a 1 u 1 , 1 v 1 T = ( a 1 a 2 a N 1 )
σ a 1 u 1 , 2 v 1 T = ( a 1 a 2 a N 1 )
σ d 1 u 1 , 1 v 1 T = ( d 1 d 2 d N 1 )
σ d 1 u 1 , 2 v 1 T = ( d 1 d 2 d N 1 )
(2)
Construct the approximation component A1 and detail component D1 as:
A 1 = ( a 1 , 1 , ( L a 1 + L a 2 ) / 2 , a 1 , N )
D 1 = ( d 1 , 1 , ( L d 1 + L d 2 ) / 2 , d 1 , N )
where La1 and La2 can be constructed from Equations (12) and (13), respectively. Similarly, Ld1 and Ld2 are constructed from Equations (14) and (15).
L a 1 = ( a 2 a 3 a N 1 )
L a 2 = ( a 2 a 3 a N 1 )
L d 1 = ( d 2 d 3 d N 1 )
L d 2 = ( d 2 d 3 d N 1 )
(3)
Repeating step (2) can obtain a series of detail components at each level, so multi-resolution decomposition is achieved. Finally, A0 in Equation (4) is decomposed as
A 0 = A j + i = 1 j D i
The multi-scale decomposition of MRSVD is illustrated in Figure 3. Similar to the multi-resolution analysis of WT, the input signal is filtered separately by low-pass and high-pass filters, which are replaced with SVD. At each decomposition level, a detail signal is extracted and an approximation signal is used as the input signal of the next decomposition. By recursively repeating these steps, the original signal x is decomposed into multi-scale approximation and detail signals at different levels, and then the potential features of the original signal at different decomposition levels can be further analyzed.
In this paper, a differential waveform of the voltage magnitude, where a quarter-cycle overlapping calculation window is used, is taken as the input signal for the MRSVD method. For the case shown in Figure 1, results with three decomposition levels are shown in Figure 4. Figure 4a illustrates the voltage magnitude and Figure 4b is the approximation component after MRSVD. Figure 4c–e are the detail components at each decomposition level.
It is noted that some singular values are significantly larger than others in Figure 4b, and they relate to the abrupt changes in Figure 4a, that is, transition segments. In addition, the detail components at each decomposition level reach peaks at the same instant in Figure 4c–e. In conclusion, these peak values indicate the appearance of transition segments, which can be utilized to detect transition segments if the threshold value is selected. Therefore, the automatic segmentation process can be expressed as:
Segmentation   Result = { S t a t i o n a r y s e g m e n t ( σ τ ) T r a n s i t i o n s e g m e n t ( σ > τ )
where σ are singular values as shown in Figure 4b and τ is the threshold value.

4. Automatic Segmentation with an Adaptive Threshold

4.1. Impacts of a Constant Threshold Value on Segmentation

Since segmentation is a detection process, it can naturally be recognized as a binary hypothesis test, where the two hypotheses are as follows:
H0: 
there is no transition segment,
H1: 
there is a transition segment.
The probability density functions (PDFs) of these two hypotheses are shown in Figure 5, where the threshold plays an important role. To evaluate the its impact on segmentation, several definitions are introduced in Table 1.
In the confusion matrix, TP and FN are the numbers of correctly detected cases, while FP and TN are the numbers of false alarm and miss alarm cases, respectively [23]. From Figure 5, with different threshold values, the area of the four kinds of cases is different. Theoretically, the area of the correctly detected cases should be as large as possible, i.e., the numbers of TP and FN should be as large as possible. However, if the threshold is too low, some fluctuations may lead to a false alarm; on the contrary, a miss alarm cannot be avoided. As a result, whatever threshold value is set, FP and TN cannot be eliminated at the same time. Therefore, the threshold value is usually set as a tradeoff between FP and TN in classical algorithms, to yield the minimum miss alarm rate with a given proper false alarm rate. However, it requires enormous waveforms, recorded at each monitoring site, to calculate the PDF in advance. For a large-scale monitoring system, this is sometimes not practical. To further validate the impact of threshold, singular values of two voltage sag waveforms, recorded at the same site in a distribution network, are illustrated in Figure 6.
Due to the stochasticity of voltage sags, the dynamic variation of magnitude has a significant impact on singular values. As the threshold value τ0 (dashed lines) shows in Figure 6, if τ0 in Figure 6a is less than seven, more transition segments would be detected (false alarm), while if it is larger than three for another waveform in Figure 6b, there would be only one segment or even zero (a miss alarm). Overall, the reasonable constant threshold for one recorded waveform may be unavailable to another one. From a practical standpoint, it is impossible to change the threshold value for different sag events at different monitoring sites in an artificial way. This is the primary reason for why there is no acceptable automatic segmentation method.

4.2. Construction Process of an Adaptive Threshold

To overcome the defect of a constant threshold, one feasible solution is to change the threshold value adaptively according to different waveform characteristics. Therefore, the adaptive threshold value is the key point of correct segmentation. To improve this situation, the adaptive threshold proposed in this paper is set as:
τ = V d e p t h / 2 M S E × S max
where Vdepth is the sag depth of the sag event, MSE is the mean square error of the waveform, and Smax is the maximum nominal entropy value. For different sag waveforms, the sag depth, MSE, and entropy can be calculated successively and the corresponding threshold determined. The construction of the adaptive threshold is explained as a three-step process as follows. How it works is verified with some field measurements in Section 5.2.

4.2.1. Sag Depth

Sag depth, one of the main characteristics, is the difference between the nominal voltage and the minimal voltage magnitude [4]. When the fundamental voltage is obtained, the sag depth can be obtained as:
V d e p t h = V N V min
where VN and Vmin is the nominal voltage and the minimum voltage during sag, respectively. For example, if the minimum voltage during sag is 0.7, the sag depth is calculated as 0.3. Note that the proposed method is not a real-time method, which means that the sag depth is calculated after the entire sag waveform has been recorded and the fundamental voltage has been obtained. Since both voltage magnitude and singular values vary in different waveforms, the relationship between sag depth and the maximum singular value is analyzed. Field measurements recorded in different sites are applied to MRSVD and the result is illustrated in Figure 7, where each point represents one field measurement. In total, 98 points from 50 sag events in three-phase (excluding the phases without sag) are plotted in the figure. The X-axis and Y-axis represent the sag depth and the maximum singular value, respectively.
In Figure 7, most points are close to the left side where the sag depth is between 0.1 and 0.2, because most sag events recorded in a distribution system have a slight voltage drop. In addition, it is noted that singular values are related to the sag depth (the first line). The reason is that the maximum singular value represents the largest rate of change (a differential waveform of voltage magnitude is taken as the input signal in MRSVD), which can be approximately considered as the proportion of sag depth. For the same sag depth, if the voltage decreases more quickly, the singular values are larger. Although different sag events may have different rates of voltage decrease (the ratio of Y-axis to X-axis of each point is different), most of them distribute in a small range (since the cases in which the voltage changes continuously during the entire sag event are not considered). To make sure that transition segments in different sag events can be detected, the threshold value should be below most points, but not too much to avoid false alarms. Therefore, the second line in Figure 7 indicates that the threshold should be nearly 0.5 times the sag depth. It is noted that this is just a rough value, and further steps are required to detect the outliers. In general, the sag depth helps us to first select a threshold in an approximate range.

4.2.2. Mean Square Error

Although the stationary segment is relatively stationary compared to the transition segment, the voltage rarely remains constant and the rough threshold identified in the first step may sometimes be invalid. On the basis of the rough threshold, and motivated by the image denoising method [24], the mean square error of the fundamental voltage is introduced as:
M S E = 1 k i = 1 k ( v i v ¯ ) 2
where vi is the fundamental voltage sequence, v ¯ is the mean value of all voltage values in a window, and k is the window size. Due to the significant variety in a transition segment, the MSE in a transition segment is larger than the value in a stationary segment. Thus, the MSE is used as the denominator in Equation (18), making the threshold lower for the transition segment to avoid miss alarms, and making the threshold higher for the stationary segment to avoid false alarms.
With the introduction of the MSE, the miss alarm cases, for instance, the points below the dashed line in Figure 7, can still be detected. Additionally, the threshold helps to overcome the defect of a constant threshold in most cases, i.e., the false alarm and miss alarm cases can be eliminated at the same time.

4.2.3. Entropy

For a distribution system, there are a few cases in which the voltage drops in transition segments are very slight due to the monitoring sites being far away from the sag sources. In these cases, the MSE in Equation (18) would be less than 1 in a transition segment; correspondingly, an increased threshold value would result in a miss alarm. It will be difficult to distinguish transition segments from other disturbances in a stationary segment based on the time-domain features of the waveform. Therefore, considering the property of the multi-resolution analysis of MRSVD, entropy is introduced to correct the threshold value obtained in the second step in this work. Similar to the multi-resolution analysis with the wavelet transform, the entropy is used to evaluate the disorder and uncertainty of sag events in the time-frequency domain [25,26]. The entropy of singular values is calculated as:
E S = j p j ln p j
where Pj is the energy ratio at the jth level, given by Equation (22):
p j = E j E T
and ET is the total energy of the signal, as the sum of energy at each scale Ej.
E T = j k | d j ( k ) | 2 = j E j
where dj is the detail coefficient at the jth decomposition level. Thus, entropy can be obtained based on the multi-resolution analysis results of MRSVD. To consider the efficiency, entropy is calculated once in each calculation window, which has the same window size k as the one used in the MSE calculation.
The more complicated the sag waveform is, the more dispersed energy distributes. As a result, for the cases with a slight voltage drop, Smax is less by the normalization operation. Then, τ is less than the threshold value obtained in the second step and the number of miss alarms caused by the MSE would be reduced. Note that, in the majority cases with obvious voltage drops in transition segments, the concentrated energy makes Smax close to 1 and τ would be same as the threshold in the second step. In general, Smax can be regarded as a correction factor that only impacts on a few cases.
The flow chart for the proposed algorithm is illustrated in Figure 8. Based on an existing detection algorithm, firstly, both the fundamental magnitude and the phase angle versus time can be obtained. Then, based on MRSVD, a differential waveform of fundamental magnitude is applied and the sag depth, mean square error, and entropy of the sag waveform can be calculated. Finally, the adaptive threshold is set in Equation (23) and the waveform is segmented.

5. Results and Discussion

In this section, the proposed method has been verified using both simulation data and field measurements. The simulation data originate from a power quality standard signal generator. The field measurements were recorded at different monitoring sites in a distribution system. The sampling frequencies of both simulated and measured data are 128 samples per cycle, and an entire event waveform, including several cycles before and after sag events, was recorded. The effectiveness of segmentation is affected by two factors: detection of a transition segment’s boundaries and the selected threshold. Therefore, in what follows, the verification is composed of two parts.

5.1. Performance of MRSVD in Transition Segments Detection

To evaluate the performance of MRSVD in transition segments detection, the wavelet transform, which is widely used to detect fluctuations, is taken for comparison.

5.1.1. Transition Segment Detection

MRSVD and WT were utilized to decompose the same waveform shown in Figure 4a and the detail coefficients of each decomposition level are shown in Figure 9. In our experiments, the “Db 4” mother wavelet and five decomposition levels were used. The detail coefficients of each decomposition level shown in Figure 4c–e are plotted in one figure, so it is easier to compare the instants of peak values.
From Figure 9a, the peak values vary at each level in WT, i.e., the singular points would shift with an increase in decomposition levels. Actually, similar to the case of the detail coefficients, the singular points of the approximate coefficients at each decomposition level would also shift in WT. To limit the length of the paper, the approximate coefficients are not shown. The shifting singular point would change the boundaries of transition segments and, furthermore, the characteristics in each segment would be different. For MRSVD, the singular points in Figure 9b do not shift, which helps us to more easily detect singular points, i.e., the boundaries of transition segments.

5.1.2. Denoising Capability

Since WT is affected by noise, some complex denoising methods are necessary from a practical standpoint. However, MRSVD itself has a denoising ability. The phase-a voltage shown in Figure 4a within a 30 dB signal-to-noise ratio (SNR) is applied as an original signal for MRSVD. The approximation components of each decomposition level are shown in Figure 10.
It is validated that MRSVD can effectively reduce the noise of the input signal with an increase in the decomposition level. The reason is that, in the Hankel matrix of Equation (4), the data of the 1st row correlates with the data of the 2nd row. Therefore, the energy is distributed mainly to the larger singular value. In contrast, the energy of the noise is distributed equably between the two singular values, that is, most of the noise energy is eliminated by decomposition. To further verify this property, the maximum detail singular values at each decomposition level are shown in Figure 11. It can be seen that energy of the noise is related to the detail coefficients. From Figure 11b, the decrease in singular values gradually slows down with the increase in decomposition level. This means that most of the noise energy is eliminated in each decomposition.
In addition, the segmentation method would be implemented in a back-stage data center rather than in installed power quality monitors. Therefore, it is not a real-time calculation method. Since segmentation is utilized to enhance some further analyses that are done offline, the computational complexity of the proposed method is not a serious concern.

5.2. Performance of Segmentation with an Adaptive Threshold

5.2.1. Validation of the Adaptive Threshold

To validate the effectiveness of an adaptive threshold in automatic segmentation, several field measurements were applied to the proposed method, and segmentation results with different thresholds are shown in Figure 12 and Figure 13. In these figures, thresholds Th1, Th2, and Th3 represent 0.5 times the sag depth, the ratio of 0.5 times the sag depth to MSE, and τ in Equation (18), respectively. Figure 12a illustrates two field measurements. One is a typical voltage sag with an obvious voltage drop and recovery, while the other one has fluctuation in the during-event segment. From Figure 12b, the former one can be segmented correctly with threshold Th1, while the other one has a false alarm. In Figure 12c, the miss alarm can be eliminated with the introduction of MSE, and both waveforms can be segmented correctly with Th2. In Figure 13, the same sag waveform in Figure 12 is shown in Figure 13 for comparison. One sophisticated field measurement is illustrated (on the right side of Figure 13a). The voltage drop is very slight, and the instants at which the voltage drops in the three phases are different. From the right side of Figure 13b, it can be seen that the slight voltage drop makes the MSE increase, and Th2 is too high to detect the transition segment. With the correction factor Smax, the miss alarm cases can be eliminated, and the compared waveform on the left side would not be influenced due to the concentrated energy.

5.2.2. The Effectiveness of the Proposed Method Compared to an Existing Method

Based on Table 1, two indices are introduced in Equations (24) and (25) to assess the accuracy of segmentation methods. Sensitivity is the proportion of correctly detected cases among all of the true cases, while specificity is the proportion of correctly undetected cases among all of the false cases. The closer to 100% the sensitivity and specificity are, the better the performance is.
S e n s i t i v i t y = TP TP + TN × 100 %
S p e c i f i c i t y = FN FP + FN × 100 %
In this experiment, 45 simulated waveforms and 45 field measurements (different from the measurements utilized in Figure 7) were applied. The simulated waveforms were generated by Fluke 6100A, and the 45 waveforms were divided into nine groups during the simulation. Considering the uncertainty of sag events, the sag depth of each group was set to change from 10% to 90% (with an interval of 10%), and the duration of each waveform in the same group was set to change from 1 cycle to 9 cycles (with an interval of 2 cycles). To meet practical needs, all of the simulated waveforms have been added 3rd, 5th, and 7th order harmonics (10%) and noise (30 dB). The number of transition segments of field measurements have been recognized by inquiring into the short circuit faults and protection records in the system. An existing method, based on the Kalman filter with a constant threshold [11], was taken for comparison. The corresponding results of the two methods are shown in Table 2, where S1 and S2 denote sensitivity and specificity, respectively.
From Table 2, with the increase in the constant threshold, S1 is decreasing while S2 is increasing. It is identical to the rule in Figure 5, i.e., false alarms and miss alarms cannot be eliminated for a constant threshold. Compared to the existing method, the proposed method adapts the threshold value for different waveforms. As a result, it has better performance, and both the sensitivity and specificity are improved at the same time.

6. Conclusions

The general objective of this paper is to propose a practical automatic segmentation method as a preprocess to support effective data analyses in a power quality monitoring system. The principle of the proposed method is to detect transition segments based on the multi-resolution singular value decomposition method. With the ability for multi-resolution analysis, the method has better performance in transition segments detection, especially in a strong noise environment. The method itself has the ability to denoise input signals. In addition, the sag depth, mean square error, and entropy of sag waveform are utilized to construct an adaptive threshold. The threshold value would change with different waveforms, and the defect of a constant threshold value in the existing segmentation method is addressed. Simulated data and field measurements are utilized to validate the proposed method, and the results show that the accuracy of segmentation is improved. Further research is required to study how to improve voltage sag characterization and related sag studies based on the proposed method.

Author Contributions

W.H. and X.X. developed the proposed method and performed the simulations and analysis; H.Z. and J.A. provided the instructions on the MRSVD algorithm and were responsible for a number of key suggestions; Z.Z. coordinated the main theme of this paper and wrote the manuscript. All of the authors produced the results and approved the final version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

The authors would like to thank Nanjing Shining Electric Automation Co.LTD for providing the field measurement waveforms. Nanjing Shining Electric Automation supports the development of the proposed method for power quality monitoring systems.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

AHankel matrix constructed by input signal.
ULeft singular vector in singular value decomposition
VRight singular vector in singular value decomposition
SDiagonal matrix of eigenvalues arranged in decreasing order
xInput signal
λSingular value
jDecomposition level
djDetail coefficient at each decomposition level
σSingular value
σaApproximation singular value
σdDetail singular value
AjApproximation component
DjDetail component
LaSubvector of approximation component
LdSubvector of detail component
τ0Constant threshold value
τAdaptive threshold value
TPNumber of correctly detected cases
TNNumber of miss alarm cases
FPNumber of false alarm cases
FN Number of correctly undetected cases
VdepthSag depth
VNNominal voltage
VminMinimum voltage during sag event
MSEMean square error
viFundamental voltage sequence
v ¯ Mean value of all voltage values in a calculation window
kCalculation window size for MSE and entropy
ESEntropy of singular values
Smaxmaximum of nominal entropy value
PjEnergy ratio at each decomposition level
ETTotal energy of signal
EjSum of energy at each decomposition level
Sensitivity(S1)Proportion of correctly detected cases among all of true cases
Specificity(S2)Proportion of correctly undetected cases among all of false cases

References

  1. IEC. Electromagnetic Compatibility (EMC): Part 4-30: Testing and Measurement Techniques—Power Quality Measurement Methods; IEC 61000-4-30 Ed 3.0; International Electrotechnical Commission: Geneva, Switzerland, 2015. [Google Scholar]
  2. IEEE. IEEE Recommended Practice for Monitoring Electric Power Quality; IEEE 1159 Ed 2.0; Institute of Electrical and Electronics Engineers: New York, NY, USA, 2009. [Google Scholar]
  3. IEC. Electromagnetic Compatibility (EMC): Part 2: Environment-Voltage Dips and Short Interruptions on Public Electric Power Supply Systems with Statistical Measurement Results; IEC 61000-2-8 Ed 2.0; International Electrotechnical Commission: Geneva, Switzerland, 2014. [Google Scholar]
  4. IEEE. IEEE Guide for Voltage Sag Indices; IEEE 1564-2014; Institute of Electrical and Electronics Engineers: New York, NY, USA, 2014. [Google Scholar]
  5. Mahela, O.P.; Shaik, A.G.; Gupta, N. A critical review of detection and classification of power quality events. Renew. Sustain. Energy Rev. 2015, 41, 495–505. [Google Scholar] [CrossRef]
  6. Bollen, M.H.J.; Gu, I.Y.H. Signal Processing of Power Quality Disturbances; John Wiley & Sons: Hoboken, NJ, USA, 2006. [Google Scholar]
  7. CIGRE/CIRED/UIE JWG C4.110. Voltage Dip Immunity of Equipment and Installations. CIGRE Technical Brochure TB 412. 2010. Available online: http://www.uie.org/sites/default/files/CIGRE%20TB412%20voltage%20dip%20immunity%20of%20equipment%20and%20installations.pdf (accessed on 17 December 2018).
  8. Begheri, A.; Bollen, M.H.J.; Gu, I.Y.H. Improved characterization of Multi-Stage Voltage Dips based on the Space Phasor Model. Electr. Power Syst. Res. 2018, 154, 319–328. [Google Scholar] [CrossRef]
  9. Wang, Y.; Bagheri, A.; Bollen, M.H.; Xiao, X.Y. Single-Event Characteristics for Voltage Dips in Three-Phase Systems. IEEE Trans. Power Deliv. 2017, 32, 832–840. [Google Scholar] [CrossRef]
  10. Wang, Y.; Bollen, M.H.J.; Xiao, X.Y. Calculation of the Phase-Angle-Jump for Voltage Dips in Three-Phase Systems. IEEE Trans. Power Deliv. 2015, 30, 480–487. [Google Scholar] [CrossRef]
  11. Ignatova, V.; Granjon, P.; Bacha, S. Space vector method for voltage dips and swells analysis. IEEE Trans. Power Deliv. 2009, 24, 2054–2061. [Google Scholar] [CrossRef]
  12. Lazaro, E.G.; Fuentes, J.A.; Garcia, A.M.; Carreton, M.C. Characterization and visualization of voltage dips in wind power installations. IEEE Trans. Power Deliv. 2009, 24, 2071–2078. [Google Scholar] [CrossRef]
  13. Styvaktakis, E.; Bollen, M.H.J.; Gu, I.Y.H. Expert System for Classification and Analysis of Power System Events. IEEE Trans. Power Deliv. 2002, 17, 423–428. [Google Scholar] [CrossRef]
  14. Garcia, I.M.M.; Munoz, A.M.; Castro, A.G.; Bollen, M.; Gu, I.Y.H. Novel Segmentation Technique for Measured Three-Phase Voltage Dips. Energies 2015, 8, 8319–8338. [Google Scholar] [CrossRef] [Green Version]
  15. Djokic, S.Z.; Milanovic, J.V.; Rowland, S.M. Advanced voltage sag characterisation II: Point on wave. IET Gener. Transm. Dis. 2007, 1, 146–154. [Google Scholar] [CrossRef]
  16. Pedra, J.; Sainz, L.; Córcoles, F.; Bergas, J.; Blas, A.D. Effects of balanced and unbalanced voltage sags on DC adjustable-speed drives. Electr. Power Syst. Res. 2008, 78, 957–966. [Google Scholar] [CrossRef]
  17. Nagata, E.A.; Ferreira, D.D.; Duque, C.A.; Cequeira, A.S. Voltage sag and swell detection and segmentation based on Independent Component Analysis. Electr. Power Syst. Res. 2018, 155, 274–280. [Google Scholar] [CrossRef]
  18. Rabiner, L.R.; Schafer, R.W. Digital Processing of Speech Signals; Prentice-Hall: Englewood Cliffs, NJ, USA, 1978. [Google Scholar]
  19. Hsin, L.T.; Gibson, J.D. Speech analysis and segmentation by parametric filtering. IEEE Trans. Speech Audio Process. 1996, 4, 203–213. [Google Scholar]
  20. Kakarala, R.; Ogunbona, P.O. Signal analysis using a multiresolution form of the singular value decomposition. IEEE Trans. Image Process. 2001, 10, 724–735. [Google Scholar] [CrossRef] [PubMed]
  21. Bhatnagar, G.; Saha, A.; Wu, Q.M.J.; Atrey, P.K. Analysis and extension of multiresolution singular value decomposition. Inf. Sci. 2014, 277, 247–262. [Google Scholar] [CrossRef]
  22. Malini, S.; Moni, R.S. Image denoising using multiresolution singular value decomposition transform. Procedia Comput. Sci. 2015, 46, 1708–1715. [Google Scholar] [CrossRef]
  23. Akobeng, A.K. Understanding diagnostic tests 3: Receiver operating characteristic curves. Acta Paediatr. 2007, 96, 644–647. [Google Scholar] [CrossRef]
  24. Chang, S.G.; Yu, B.; Vetterli, M. Adaptive wavelet thresholding for image denoising and compression. IEEE Trans. Image Process. 2000, 9, 1532–1546. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Ren, W.X.; Sun, Z.S. Structural damage identification by using wavelet entropy. Eng. Struc. 2008, 30, 2840–2849. [Google Scholar] [CrossRef]
  26. Rosso, O.A.; Blanco, S.; Yordanova, J.; Kolev, V.; Figliola, A.; Schürmann, M.; Basar, E. Wavelet entropy: A new tool for analysis of short duration brain electrical signals. J. Neurosci. Methods 2001, 105, 65–75. [Google Scholar] [CrossRef]
Figure 1. A typical voltage sag waveform with several segments.
Figure 1. A typical voltage sag waveform with several segments.
Energies 11 03519 g001
Figure 2. The maximum unbalance value influenced by the transition segment.
Figure 2. The maximum unbalance value influenced by the transition segment.
Energies 11 03519 g002
Figure 3. The multi-scale decomposition of multi-resolution singular value decomposition (MRSVD).
Figure 3. The multi-scale decomposition of multi-resolution singular value decomposition (MRSVD).
Energies 11 03519 g003
Figure 4. The results of MRSVD. (a) Voltage magnitude; (b) Singular value of the approximation; (ce): Detail components at the first, second, and third levels, respectively.
Figure 4. The results of MRSVD. (a) Voltage magnitude; (b) Singular value of the approximation; (ce): Detail components at the first, second, and third levels, respectively.
Energies 11 03519 g004
Figure 5. The probability density functions (PDFs) of the two hypotheses.
Figure 5. The probability density functions (PDFs) of the two hypotheses.
Energies 11 03519 g005
Figure 6. The singular values of two field measurements. (a) event with obvious voltage drop; (b) event with slight voltage drop.
Figure 6. The singular values of two field measurements. (a) event with obvious voltage drop; (b) event with slight voltage drop.
Energies 11 03519 g006
Figure 7. The relation between singular values and sag depth.
Figure 7. The relation between singular values and sag depth.
Energies 11 03519 g007
Figure 8. The flow chart for the proposed algorithm.
Figure 8. The flow chart for the proposed algorithm.
Energies 11 03519 g008
Figure 9. The detail coefficients of each decomposition level: (a) wavelet transform (WT); (b) MRSVD.
Figure 9. The detail coefficients of each decomposition level: (a) wavelet transform (WT); (b) MRSVD.
Energies 11 03519 g009
Figure 10. The denoising result from MRSVD: (a) Magnitude waveform; (bd) Approximation component at the first, third, and fifth decomposition level.
Figure 10. The denoising result from MRSVD: (a) Magnitude waveform; (bd) Approximation component at the first, third, and fifth decomposition level.
Energies 11 03519 g010
Figure 11. The singular values at each decomposition level: (a) Approximate singular values; (b) Detail singular values.
Figure 11. The singular values at each decomposition level: (a) Approximate singular values; (b) Detail singular values.
Energies 11 03519 g011
Figure 12. The segmentation results with different thresholds: (a) voltage magnitude; (b) Th1; (c) Th2.
Figure 12. The segmentation results with different thresholds: (a) voltage magnitude; (b) Th1; (c) Th2.
Energies 11 03519 g012
Figure 13. The segmentation results with different thresholds: (a) voltage magnitude; (b) Th2; (c) entropy; (d) Th3.
Figure 13. The segmentation results with different thresholds: (a) voltage magnitude; (b) Th2; (c) entropy; (d) Th3.
Energies 11 03519 g013
Table 1. The confusion matrix for segmentation.
Table 1. The confusion matrix for segmentation.
Physical TruthPositive (Transition Segment)Negative (Steady Segment)
True (Transition segment)TPTN
False (Steady segment)FPFN
Table 2. The segmentation results with different threshold values.
Table 2. The segmentation results with different threshold values.
τ (10−4)Constant ThresholdAdaptive Threshold
S1S2S1S2
1.087.7872.2292.2285.56
1.585.5676.67
2.082.2281.11
2.578.8983.33
3.075.5684.44

Share and Cite

MDPI and ACS Style

Xiao, X.; Hu, W.; Zhang, H.; Ai, J.; Zheng, Z. An Adaptive Approach for Voltage Sag Automatic Segmentation. Energies 2018, 11, 3519. https://doi.org/10.3390/en11123519

AMA Style

Xiao X, Hu W, Zhang H, Ai J, Zheng Z. An Adaptive Approach for Voltage Sag Automatic Segmentation. Energies. 2018; 11(12):3519. https://doi.org/10.3390/en11123519

Chicago/Turabian Style

Xiao, Xianyong, Wenxi Hu, Huaying Zhang, Jingwen Ai, and Zixuan Zheng. 2018. "An Adaptive Approach for Voltage Sag Automatic Segmentation" Energies 11, no. 12: 3519. https://doi.org/10.3390/en11123519

APA Style

Xiao, X., Hu, W., Zhang, H., Ai, J., & Zheng, Z. (2018). An Adaptive Approach for Voltage Sag Automatic Segmentation. Energies, 11(12), 3519. https://doi.org/10.3390/en11123519

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop