Open access peer-reviewed chapter

Electric Power Quality Recognition and Classification in Distribution Networks

By Soliman Abdel-Hady Soliman and Rashid Abdel-Kader Alammari

Submitted: February 14th 2012Reviewed: September 5th 2012Published: April 17th 2013

DOI: 10.5772/53081

Downloaded: 1852

1. Introduction

The power quality problem is now of a great concern to electric utilities of power industry and they are trying hard to supply their customers with a good quality of power especially in the open market. Due to the wide spread use of power electronics in every place in the power industry, the power supplied to the customers are now distorted in either the voltage signal or current signal or both of them. This distortion has a great effect on the sensitive equipments and may cause interruption to such equipments that result in very expensive consequence. It has been reported that 30% voltage sag for very short duration can reset programmable controllers for the entire assembly line. As such an accurate algorithm is needed for identification and measurements of these events

Power quality involves how close the voltage waveform is to being a perfect sinusoid with a constant frequency and amplitude. Historically, it has been the utilities’ responsibility to provide a “clean” voltage waveform, and most customers’ load did no affect the quality of their power. Today, a new factor, harmonics, has been added to the power quality scenario because utility customers, including residential ones, are using electronic devices that require non-sinusoidal currents, currents rich in harmonics.

The presence of power system harmonics is not a new problem; it has been well known since the first generator was built. However, nowadays due to the widespread use of electronic equipment, arcing devices, such as arc furnaces and equipment with saturated ferromagnetic cores, such as transformers, power engineers pay more attention to power system harmonics. The presence of voltage and current waveform distortion is generally expressed in terms of harmonic frequencies that are integral multiples of the power system nominal frequency. It is a steady phenomenon in a power system, and it is completely different from the distortion results from the transient, such as faults, in a power system.

The subject of harmonics has been deemed so important that there are international conferences dedicated to the subject, working groups and committees in international engineering societies, which deal only with harmonics, and several dedicated books on the topics. Power system, harmonics are become one of the important index to the power quality issues these days. Good power quality means less distortion, less harmonics, in the voltage and current sources.

Good harmonic prediction requires clear understanding of two different but closely related topics. One is the non-linear voltage/ current characteristic of some power system components and its related effect, the presence of harmonic sources. The main problem in this respect is the difficulty in specifying these sources accurately. The second topic is the derivation of the suitable harmonic models of the predominantly linear network components, and of the harmonic flows resulting from their interconnection. This task is made difficult by insufficient information on the composition of the system loads and their damping to harmonic frequencies. Further impediments to accurate prediction are the existence of many distributed non-linearities, phase diversity, the varying nature of the load, etc.

To assess the quality of delivered power, especially in open markets, it is necessary to estimate the harmonic components in a power system. The quality of power delivered necessitates knowledge regarding the magnitude of harmonic components and phase angle of these components. The reduction of harmonics in a system means good system quality. Installing filters at feeding points along the network can do this if the harmonic components magnitudes as well as their phase angles are known in advance.

Over the past 25 years major improvements in the field of signal theory have been achieved and many algorithms and techniques have been published in the literature. In Ref. [1] an algorithm for tracking the voltage envelope based on calculating the energy operator of a sinusoidal waveform is presented. It is assumed that the frequency of the sinusoidal waveform is known and a lead-lag network with unity gain is used. An approach to power quality assessment based on real-time (RT) hardware-in-the-loop (HIL) simulation is proposed in Ref. [2]. The RT-HIL platform is being used for power quality studies of NAVY all-electric ships. Ref. [3] describes an analytical method for evaluating the voltage sag performance of a power-supply distribution network, different evaluation algorithms are proposed to account for each type of sensitivity.

Ref. [4] proposes a fuzzy pattern recognition system for power quality disturbances. It is a two-stage system in which a multi-resolution S-transform is used to generate a set of optimal features vectors in the first stage. In the second stage a fuzzy logic-based pattern recognition system is used to classify the various disturbances waveforms generated due to power quality violations. The Teager energy operator (TEO) and the Hilbert transform (HT) are introduced in Ref. [5] as effective approaches for tracking the voltage flicker levels. It has been found that TEO and HT are capable of tracking the amplitude variations of the voltage flicker and supply frequency in industrial systems with an average error 3%. Root-mean-square (rms) calculation is a popular method adopted in power system parameter classification such as voltage sag classification and relay protection. Ref. [6] studies the characteristics of the rms method, for both the single-frequency and mixed-frequency signals. Analysis is made on its dependence on sampling rate, sampling window size, as well as point-on-wave through strict mathematical deductions.

Ref. [7] presents a control technique for flicker mitigation. This technique is based on the instantaneous tracking of the measured voltage envelope. The ADALINE (ADAptive LINear) neuron algorithm and the Recursive Least Square (RLS) algorithm are introduced for the flicker envelope tracking. Presented in Ref. [8] is a fuzzy-expert system for automated detection and classification of power quality disturbances. The types of concerned disturbances include voltage sags, swells, interruption, switching transients, impulses, flickers, harmonics and notches from a signal that is available in sampled form. Fourier transform and wavelet analysis are utilized to obtain unique features for the waveforms. Ref. [9] and Ref. [10] present concepts based on fuzzy expert system for power quality study, the concept integrates the power system modeling, classifying and characterizing for power quality events, studying equipment sensitivity to the event disturbance, and locating point of event occurrence into one unified frame. Both Fourier and wavelet analyzes are applied for extracting distinct features of various types of events as well as for characterizing the events. Ref. [11] presents a technique for learning power- quality waveforms based adaptive neuro-fuzzy systems to learn power quality signature waveforms. Ref. [12] compared three signal processing tools for power quality analysis; the continues wavelet transform, the multi-resolution analysis and the quadratic transform. It has been concluded that the continues Wavelet transform is as reliable as these methods but has been the advantage of giving directly the magnitude of the 50/60 Hz signal, and is suitable for quantifying power quality when detecting and measuring voltage sags, transients over voltages or flicker. None of these techniques are as adequate to detect and measure the voltage magnitude of harmonic content as the Fourier transform. Reference [15] presents an optimal measurements scheme for tracking the harmonics in power system voltage and current waveforms. The proposed scheme was based on Kalman filtering. Reference [15] implements the well-known LES algorithm for identification and measurement of power system harmonics. The mathematical model for the identification and measurement process is presented in this reference. The samples used in this reference are for one of the three- phase voltage or current signals. Reference [16] presents a comparative study for power system harmonic estimation, where it compares the results obtained using discrete Fourier transform (DFT), the well known least errors square (LES) parameter estimation algorithm and the least absolute value (LAV) parameter estimation algorithm. It has been concluded that the three algorithms produce the same estimate, if the signal under study is free of noise. However, if some data samples are missed, the least absolute value produces better estimates than the DFT and LES algorithms. The algorithms in this reference use the samples of a one-phase voltage or current signal. An approach based on singular value decomposition (SVD) for estimating harmonic components in a power system is presented in Reference [17]. Three different techniques are investigated in this reference; the standard averaged SVD, the total LS and double SVD. Reference [18] implements the neural network in its analogue form for estimation of harmonics. It has been shown that such problem formulation leads to a quadratic objective of the global minimum, which can be found by using simple electronic circuitry in real time. Reference [19] presents an approach for the estimation of harmonic components of a power system using a linear adaptive neuron called Adaline. The proposed estimator tracks Fourier coefficients of signal data corrupted with noise and decaying DC components. Reference [28] develops a fast Newton type solution of the six-pulse rectifier and dc system in the harmonic domain. The nonlinear equations are solved using Newton’s method, which employs a Jacobian matrix of partial derivatives. A twelve states Kalman filtering algorithm is applied in Reference [29], using an 8-bit microprocessor, for continues real-time tracking of the harmonics in the voltage or current waveforms of a power system to obtain in real time the instantaneous values for a maximum of six harmonics as well as the existing harmonic distortion. Reference [30] reviews the problems associated with direct application of the Fast Fourier Transform to compute harmonic levels of non-steady state distorted waveforms, and various ways to describe recorded data in statistical terms. Reference [31] presents an approach based on fuzzy linear regression for the measurement of power system harmonic components. The non-sinusoidal voltage or current waveform is written as a linear function. The parameters of this function are assumed to be fuzzy numbers having certain middle and spread value. The problem in this reference is formulated as a linear optimization problem, where the objective is to minimize the spread of voltage or current samples. The on-line digital measurement on power systems for the power quality analysis under non-sinusoidal conditions is considered in Reference [32]. The proposed instrument, in this reference, adopts a floating point digital signal processing (DSP) hosted on a IBM PC and interfaced with a special high-speed data acquisition system (DAS). Voltage and current waveforms are acquired and processed by using a fast recursive least-square (FRLS) measurement algorithm. Using such an algorithm, different quantities are obtained, such as the current and voltage rms values, their harmonic content, the active power, the harmonic active power, the power factor, etc. Reference [33] applies a technique to the computation of individual harmonics in digital protections, where only certain isolated harmonics, rather than the full spectrum, are needed. This leads to O (log2N) computations per harmonics. A technique based on modeling and identification method is proposed in Reference [34] using a mathematical model describing the signal in question. The recursive least-square-error identification algorithm is used to identify the harmonic parameters. These are including the frequency, the amplitude and phase angle. Because of the limitations associated with conventional algorithms, particularly under supply-frequency drift and transient situations, an approach based on non-linear least squares parameter estimation has been proposed in Reference [35]. To reduce the computational time the Hopfield type feedback neural networks for real-time harmonic evaluation. The neural network implementation determines simultaneously the supply frequency variation, the fundamental-amplitude/phase variation as well as the harmonics-amplitude variation. Reference [36] considers state estimation of harmonic signals with time varying magnitudes. Harmonic signals are modeled using elliptical set-theoretic methods and an optimal reduced-order estimator, which has one-half the dimension of the state vector, is developed for predicting the unknown time-varying harmonic magnitudes. Reference [37] proposes the optimization of spectrum analysis to reduce the restriction on Fast Fourier Transform (FFT)[38] resulting mismatch the frequency scale with signal characteristics. By using this method both of the picket-fence effect and the leakage effect are reduced, and it makes the harmonic parameters show on spectrum more accurately. Reference [39] proposes a harmonic model based on Wavelet Transform (WT) for on-line tracking of power system using Kalman filtering. The close relation between the Wavelet and Multi-resolution analysis is utilized to express the harmonic magnitudes and phase angle as a sum of Wavelet and scaling function.voltage sags define as an rms reduction in the AC voltage, at the power frequency, for duration from a half a cycle to a few second. If the voltage drops below normal level for several cycles it would affect the critical load and cause shutdown to these loads. Voltage sags constitute the majority of power line problem representing about 60% of all problems. In addition to these quantities, sags also characterize by unbalance, non-sinusoidal wave-shapes and phase angle shift (phase jump). These factors are important for determining the behavior of ac motor drives during sags [40]. The main sources for the voltage sags are start-ups of large motors, sudden increase in line loads, electrical faults on utility power lines caused by animals, trees, storms, or other objects in contacts with power lines. A majority of faults on a utility system are single-line-to-ground faults (L-G). During L-G faults, the voltage on the faulted phase goes to nearly zero volts at the fault location. The corresponding voltage at a customer bus depends on the system configuration, location of the fault, the impedance of the system upstream of the fault, the feeder impedance, the distance of the fault and the transformer connections between the faulted system and customer bus. Furthermore, Electronic loads that pull large currents such as copy machines, laser printers can cause voltage sags. Further more, loose wiring in the distribution installation can cause voltage sags [14]. To quantify the effect of sensitive equipment to voltage sags, it is necessary to characterize the parameters of voltage sags. Most often, voltage sags characterize by a duration and depth parameter and represent in a two-dimensional rms voltage magnitude versus duration plot. This simplified representation of voltage sag characteristics does not take into account the different in individual phase voltages (voltage asymmetry or unbalance) and the associated phase angle shift during voltage sag. Furthermore, it does not take into account the non-sinusoidal nature of the voltage waveform during the sag. The magnitude of voltage sag can be determined from the rms voltage. As long as the voltage is sinusoidal, it does not matter whether rms voltage, fundamental voltage, or peak voltage used to obtain the sag magnitude. But especially during a voltage sag this is often not the case.[15] Chapter 4 in Ref. [15] explains in details the voltage sag characterization, the different available techniques used to measure the voltage sags at different modes of operation of power systems Fast Fourier Transform used to measure the phase angle jumps using the moving window length technique.

In Reference [42], a method for voltage disturbances such as voltage sags, voltage swells, flicker, frequency change in the utility voltage, and harmonic distortion of a single-phase or poly phase voltage disturbances is explored The algorithm is based on the theory that allows a set of three-phase voltages be represented as dc voltages in a d–qsynchronous rotating frame. In this case, the utility input voltages are sensed and then converted to dc quantities in the d–qreference frame. The output of the algorithm is compared with a set of reference voltages, and the error is used as a measure to such disturbances. Reference [43] presents a Monte Carlo based approach to evaluate the maximum voltage sag magnitudes as well as the voltage unbalance in transmission systems. In this context, investigations have been conducted on a system model taking into consideration the uncertainty in several factors associated with the practical operation of a power system.

Reference [44] has discussed the limitations of the conventional sag characterizing method and proposed a new sag characterizing method. The conventional method overestimates the nonrectangular sag and cannot reflect the exact effect of voltage sag according to the voltage tolerance characteristics. The method has approximated the voltage profile during voltage sag using order radical root function. It has modified the voltage sag duration using the known parameters, and which are measured at PQ monitors. With the modified sag duration, the method has evaluated the effect of voltage sag correctly. Moreover, it can be applied to not only rectangular sag but also nonrectangular sag.

Reference [45] proposes the concept of “voltage sag state estimation” and associated algorithms to achieve this goal. The method has the characteristics: 1) It makes use of the radial connection characteristic of a distribution feeder, 2) it is based on a limited number of metering points, and 3) it employs a least-square method to predict the sag profile along a distribution line. The results of sag state estimator can be used to calculate the feeder power quality performance indices such as the System Average RMS Frequency Index (SARFIx). Reference [46] presents a technique for accurate discrimination between transient voltage stability and voltage sag by combining damped sinusoids-based transient modeling with neural networks. Transient modeling is accomplished by energy adapted matching pursuits with an over-complete dictionary of damped sinusoids. In this approach, the information provided by the damped sinusoids-based transient modeling stage is applied to a Neural Network, which determine in a fast and accurate fashion the class to which the waveform belongs. In Reference [47] a power quality assessment method was proposed. Test results show that the method can tolerate highly distorted voltages, significant sudden frequency change, and three-phase voltage sags, but it cannot tolerate certain short-term phase-shifted single-phase voltage sags. In Reference [40] a control algorithm for the (Distributed Generation) DG interface based on the Hilbert transform (HT) is presented. The HT is employed as an effective technique for tracking the voltage flicker levels in distribution systems. The technique can be used on-line tracking of voltage flicker. The accurate tracking of the HT facilitates its implementation for the control of flicker mitigation devices. The HT realized with long filter length provides a minimum error in tracking the voltage envelope but with higher computation cost and a larger delay time than that of the short filter length. The HT can surpass the Kalman Filter in voltage tracking in a sense that it requires less computation effort and avoid the pitfalls of the FFT. In Reference [48], an algorithm for tracking the voltage envelope based on calculating the energy operator of a sinusoidal waveform is presented. This algorithm is used to evaluate the instantaneous changes in the amplitude and so track the envelope of the waveform. The algorithm is fast and robust and uses only a few samples to calculate the energy. It is not sensitive to the noise or the distortion in the waveform. The results show the capability of the algorithm to track different shapes of envelopes associated with high signal-to-noise ratio (SNR). However, there will be a delay between the actual and the tracked envelope, due to using the lead/lag networks

A prototype wavelet-based neural network classifier for recognizing power-quality disturbances is implemented and tested in Reference [50], under various transient events. The discrete wavelet transform (DWT) technique is integrated with the probabilistic neural-network (PNN) model to construct the classifier. First, the multi resolution-analysis technique of DWT and the Parseval’s theorem are employed to extract the energy distribution features of the distorted signal at different resolution levels. Then, the PNN classifies these extracted features to identify the disturbance type according to the transient duration and the energy features. Various transient events are tested, such as, momentary interruption, capacitor switching, voltage sag/swell, harmonic distortion, and flicker. The results show that the classifier can detect and classify different power disturbance types efficiently. Reference [51] proposes a wavelet-based extended fuzzy reasoning approach to power-quality disturbance recognition and identification. To extract power-quality disturbance features, the energy distribution of the wavelet part at each decomposition level is introduced and its calculation mathematically established. Based on these features, rule bases are generated for extended fuzzy reasoning. The power-quality disturbance features are finally mapped into a real number, in terms of which different power-quality disturbance waveforms are classified. One prominent advantage of this approach is that the power-quality engineers’ knowledge about features of the disturbance waveforms can be easily included into the algorithm using linguistic description.

Reference [52] presents a procedure for stochastic prediction of voltage sags based on the Monte Carlo method. A medium size distribution network is used to analyze, the convergence of the Monte Carlo method, the influence of protective devices and the importance of voltage sag indices is studied. This reference has presented the scope and advantages of an EMTP-based procedure for voltage sag analysis. The aim of a stochastic prediction is not only to deduce the number of voltage sags but also the number of trips of sensitive equipment. Therefore, the representation of equipment sensitivity is also required. In Reference [53] the Recursive Least Square (RLS) algorithm are introduced for the flicker envelope tracking. Both the ADALINE and the RLS algorithms are used to track the voltage envelope. The difference between the estimated envelope and the required voltage level is passed to the controller to obtain the required reactive power to compensate flickers. A fast response, accurate tracking, and robustness of the proposed control system are revealed from the results. In addition, the performance of the ADALINE and the RLS algorithms for the estimation of flicker envelopes are investigated.

Reference [54] presents and verifies a voltage sag detection technique for use in conjunction with the main control system of a DVR. A problem arises when fast evaluation of the sag depth and phase shift is required, as this information is normally embedded within the core of a main DVR control scheme and is not readily available to either user monitoring the state of the grid or parallel controllers. The voltage sag detection method in this reference proposes a matrix method, which is able to compute the phase shift and voltage reduction of the supply voltage much quicker than the Fourier transform or a PLL. DPQ sites have widely dispersed power quality. Many sites have many more sags than other sites. Rural sites have many more sags and momentary interruptions than suburban and urban sites. The three strongest indicators of voltage sags are 1) circuit exposure, 2) lightning, and 3) a term with transformer size and number of feeders. A linear model can predict sags based on a small number of site characteristics. Load density and three-phase circuit exposure most strongly affect momentary [55]. In Reference [56] a potential problem area in using RMS values in power quality assessment are identified and discussed. The RMS can be computed either using a fixed window (s-RMS) or a moving average technique (m-RMS). In both cases, RMS is a function of window length, and is a constant function for periodic signals of fundamental period.

Reference [57] presents an expert system for automatic classification of power quality recordings. The classification procedure is based on segmenting the voltage waveforms in points of sudden changes in the fundamental magnitude. Based on the segmentation results, a set of classification modules is utilized to classify the event. Classification is based on features extracted from the voltage waveforms. The system successfully classifies the largest part of the recordings. The only problems that are found are related with either the failure in detecting very small changes in the voltage magnitude or the time resolution problems of the magnitude estimation and the detection. The expert system enables fast and accurate analysis of large databases and classification of the recordings in terms of the origin. Event classification (instead of disturbance classification) offers the means for better understanding and description of the operation of the system in terms of power quality.

Reference [58] uses the continuous wavelet transform to detect and analyze voltage sags and transients. Recursive algorithm is used and improved to compute the time-frequency plane of electrical disturbances. Characteristics of investigated signals are measured on a time-frequency plane. A comparison between measured characteristics and benchmark values detects the presence of disturbances in analyzed signals and characterizes the type of disturbances. Duration and magnitude of voltage sags are measured; transients are located in the width of the signal. Furthermore, meaningful time and frequency components of transients are measured. Detection and measurement results are compared using classical methods. This algorithm enables very accurate time location and magnitude measurements of voltage sags and meaningful transient identifications. Furthermore, the method enables an accurate classification of transient events to be performed, and characteristics are easily read from the time-frequency plane. Reference [59] shows that it is possible to use sampled voltage and current waveforms to determine on which side of a recording device a disturbance originates. This is accomplished by examining the energy flow and peak instantaneous power for both capacitor energizing and voltage sag disturbances. By examining sampled voltage and current waveforms, it is possible to make a judgment as to which side of a recording device a power quality disturbance event originates. This is accomplished by examining the disturbance power and energy flow and the polarity of the initial peak of the disturbance power. If several recording devices are available in a network, the source of the disturbance may be pinpointed with a higher degree of accuracy.

2. αβ-Transformation for identifying the power quality events (Clarkes transformation)αβ-Transformation (Clarks Transformation) is a dc transformation used to transfer the three-phase ac system of voltage or current to a dc system. This section presents the application of this transformation to identifying the power quality events, such as harmonics, voltage sages, flicker, swell and transients. This transformation can be implemented for a single phase or three- phase system of voltage. The phasor voltage resulting from the combination of Vαand Vβhas a magnitude proportional to the system operating voltage and rotates with a speed of the frequency of the system voltage. The estimated shape of the phasor voltage over the data window size gives the nature of the power quality event. The proposed technique can be implemented in off-line or on-line modes. Simulated results, for different types of events are presented in the text and the results show excellent identification using the proposed technique.

2.1. Modeling the voltage signals [1]

The three phase voltages of the power systems can be written at any sample k, k=1, m, m is the total number of samples available


Where we define the parameters in (1) as:

Vmis the signal amplitude

ωis the signal nominal frequency

ΔTis the sampling time=1Fs,Fsis the sampling frequency

kis the sampling step; k=1,..,m

φis the signal phase angle

ζa(k),ζb(k),ζc(k)are the noise terms which may contain harmonics

The well-known αβ- transformation for the three-phase signal is given as:


Equation (2) can be rewritten as:


For m samples of three-phase signals, m samples for vα(k),vβ(k)are obtained. By using this transformation, harmonics of order three and their multiples are suppressed. Equation (3) and (4) gives the transformed voltage vα(k),vβ(k)at any sample k. The complex voltage phasor formed from these two voltages which having the same frequency ω and phase angle φas the original three phases is:


Where the amplitude V (k)of the complex signal is calculated at any sample kas:


and the rms magnitude is given as:


Equation (6) gives the value of phasor voltage at any instant k, while equation (7) is used to calculate the rms value of the phasor voltage.

The phase angle of this transformed voltage is:


2.2. Testing the algorithm

The proposed algorithm explained in the previous section is used to identifying the power quality events for a three phase balanced voltage. These are including voltage swell, voltage flicker, momentary interruption, voltage sags, and harmonics and voltage transients due to switching on/off capacitors used in reactive power compensation.

2.2.1. Voltage swell

In this test a voltage swell is assumed on the system, over voltage, for a short period. The rms value for the complex phasor is calculated, using equation (7) as well as the phasor phase angle in radian is computed using equation (8)

Figure 1.

A system of three-phase voltage experiences a voltage swell.

Figure 1 gives the amplitude, rms value and the phase angle of the phasor for a system of three-phase voltage experiences a voltage swell. It can easily be noticed, from the phasor amplitude that the voltage is experienced a voltage swell of magnitude 1.53, normal voltage is 1.224 p. u, during the time that equivalent to sample number 83 to the time that equivalent to sample number 163.

2.2.2. Voltage flickers

In this test we assume that the three phase voltages are experienced a flicker the complex phasor of the voltage is extracted from the available samples for the three phase voltages.

Figure 2.

Phasor amplitude for a voltage flicker

Figure 2 gives the results obtained. Examining this figure reveals that this amplitude is modulated amplitude during the data window size under investigation, i.e. looking to this figure one can conclude that a flicker signal is imposed on the nominal voltage signal.

2.2.3. Momentary interruption

A momentary interruption for a small period of time is implemented in this test, and then the voltage is restored again. Figure 3 gives the phasor amplitude when the system voltage experienced a momentary interruption. Examining this curve reveals that the proposed algorithm is succeeded in estimating the voltage amplitude and the period of interruption.

Figure 3.

Phasor Amplitude for a momentary interruption

This figure also reveals that the phasor amplitude tends to zero from the time equivalent to the samples between 85 and 162, the time of interruption is (162-85)*sampling time, and after the sample number 162 the system voltage is restored again to nominal voltage.

2.2.4. Voltage sags

In this test voltage is assumed to experience voltage sag, where the voltage is reduced to 0.6 pu, the voltage phasor amplitude of equation 6 is calculated. Figure 4 gives the results obtained, examining this curve reveals that the proposed algorithm is succeeded in estimating the voltage amplitude as well as the sags period.

Figure 4.

Phasor amplitude for a Voltage experiences voltage sag

2.2.5. Voltage transients

In this test the three-phase voltage signal is experienced voltage transient, this may come from faults and/or lightning. The phasor amplitude is calculated using the proposed algorithm.

Figure 5.

Phasor amplitude for voltage experiences voltage transients

Figure 5 depicts the results obtained. Examining this curve reveals that the proposed transformation is succeeded in estimating the voltage amplitude as well as the transient period.

2.2.6. Harmonics

The voltage signal in this test is assumed to be polluted by harmonics up to the fifth order, and the proposed algorithm is used to estimate the voltage phasor amplitude. Figure 6 depicts the results obtained. If we examine this figure we can conclude that the phasor amplitude is a harmonically polluted one, and is following exactly the system voltage.

Figure 6.

Voltage signal polluted with harmonics

2.3. Conclusion

We present, in this section, the application to αβ-Transformation for identifying and discriminating between different types of power quality events. Simulated examples for these events are presented in the body of the text and more results for the nature of the transformed voltages are given. It has been shown, through extensive runs, that if one of the phase is experienced a power quality event alone while the others are not, the algorithm is succeeded in identifying this events which is not the case of the other earlier algorithms in the past.


3. Kalman filtering algorithm

Power quality involves how close the voltage waveform is to being a perfect sinusoid with a constant frequency and amplitude. In this section, we review the applications of linear Kalman filtering algorithm for on-line electric power quality analysis. These applications include the measurement of harmonics and voltage sags. Mathematical models for each problem are developed to suite the filter and tested using simulated examples.

3.1. Harmonics model

The voltage signal can be written as Fourier series as:


A d.c component may exist in the voltage signal, this occurs at n=0. Equation (9) can be written, for a specific number of harmonics, as:

Equation (9) can be rewritten as:


In equation (10) we assume that the voltage signal is contaminated up to the third harmonic. But the incoming steps are generally enough to apply for any number of harmonics.

Define the following states as :


Moreover, define the following coefficients as:


Equation (10) can be written as:


In equation (12) k=1,2,..,m, and Δtis the sampling time.

Equation (12) can be written as an observation equation as:


Equation (13) can be written in vector form as:


Where Z_is an m×1samples of voltage, His an m×7measurement matrix which can be calculated off line, θ_is 7×1parameters vector to be identified and ξ_is m×1errors vector to be minimized. Note that the order of Hmatrix as well as the vector Xdepends on the number of harmonic expected to contaminate the voltage signal.

We assume that the system state equation is given by


Where φis 7×7state transition matrix, and it is assumed to be identity matrix. Moreover, υ_(k)is 7×1errors vector associated with the states when they move from stage kto k+1. Now equations (14) and (15) are suitable for Kalman filter application

3.2. Computer experiments

3.2.1. Harmonics identification

The voltage signal in this test is assumed to be contaminated with harmonics, 3rd, 5th, and 7th order. The voltage signal in this case is given as:


Where ω=2πf, f=50 Hz, and it is assumed to be constant during the estimation process. This signal is sampled at frequency of 2000 Hz, 40 samples per cycle.

Figure 7 shows the estimated fundamental, 3rd, 5th components when the voltage signal is modeled using up to the 7th harmonic. While Figure 8 shows the estimated phase angle for each harmonics component including the fundamental component. The following observation can be concluded from these two Figures:

  • Kalman filtering algorithm is succeeded in estimating the magnitude of harmonics components, as well as the phase angle of each component, providing that the voltage signal is accurately modeled

  • It has been shown through extensive runs that the sampling frequency and number of samples do not affect the estimates of the magnitudes and phase angles of each harmonics component. Providing that the sampling frequency satisfies the sampling theory.

Figure 7.

Estimated Magnitudes

Figure 8.

Estimated phase angle

Another test is conducted, where we modeled the voltage signal in the observation equation to take only the fundamental component i.e we assume that the voltage signal does not contaminated with harmonics, but in reality, it does. Figure 9 and 10 gives the estimated fundamental magnitude and its phase angle respectively.

Figure 9.

Estimated Fundamental Magnitude

Figure 10.

The estimated fundamental phase angle

Examining these curves reveals the following remarks:

  • Although the fundamental component is the only one modeled in the waveform, good estimates are obtained for both amplitude and phase angle.

  • The proposed algorithm can easily estimate the fundamental component and its phase angle using 20 samples, since the estimates are periodical, i.e a half cycle data window size is enough.

3.2.2. Voltage sags A pure sinusoidal voltage signal

The source voltage in this case takes the following waveform equation:


Where ωο is the nominal frequency = 2πfo, fo=50 Hz, Vsis the value of the voltage during the period of measurements, presage value, during sage and post sage voltage. In this simulation, we assume the following values for this voltage


where Tsis the time at which the voltage sag starts, while Tfis the time at which the voltage sage restrain. T is the time at which the measurements end up. Figure 11 shows such type of voltage signal.

Figure 11.

Voltage Sag

This signal is sampled at a sampling frequency of 40 kHz with a one-cycle data window size for the three stages. The proposed technique, Kalman filter algorithm, is implemented to estimate the voltage magnitude as well as the phase angle.

Figure 12.

The estimated Voltage Amplitude (p.u)

Figure 12 gives the estimated rms voltage during the three stages, while Figure 13 gives the estimated phase angle. Examining the two curves reveals the following remarks;

  • The proposed algorithm estimates the voltage amplitude accurately in the first cycle and with a fair accuracy during the voltage sages and after the voltage sages

  • One cycle data wind size during voltage sages is not enough to reach the actual voltage sages at least we need more than four cycles. This will be discussed in the next test

Figure 13.

The estimated phase angle

  • There is a phase jump during the voltage sags period, and the proposed algorithm estimates the phase angle accurately during pre voltage sages and after voltage sages.

Another test is conducted in the same voltage signal, where we increase the voltage sages’ period to three cycles. Figure 14 gives such waveform

Figure 14.

A Voltage sag

The estimated voltage amplitude and the phase angle are given in Figure 15, 16. Examining these two curves reveals that:

  • Kalman filter is succeeded in identifying the period, where the voltage sags are occurred, as well as the amplitude of the voltage sags with an acceptable accuracy

  • Increasing the number of cycles for the voltage sags makes the filter able to identify pre, during and after sags amplitudes with acceptable accuracy.

  • It has been shown, as a common practice, that there is phase jump always occurs during the period of voltage sags

Another test is performed in this study, where we assume that the voltage signal contaminates with third and fifth harmonics with magnitude 0.25 and 0.125 respectively. Figure 17 gives the waveform of this voltage signal, while Figures 18, 19 give the estimated rms value of the fundamental component and its phase angle.

Figure 15.

The estimated voltage amplitude

Figure 16.

The Estimated Phase Angle

Figure 17.

A Non-sinusoidal voltage experienced voltage sag

Figure 18.

Estimated Fundamental Component

Figure 19.

Estimated Fundamental Phase Angle

Examining these curves reveals that:

  • Although the voltage signal is contaminated with harmonics, the proposed algorithm is succeeded to estimate the amplitude of the fundamental components in pre, during and after voltage sags with fair accuracy.

  • The proposed technique estimates exactly the period of the voltage sags,

  • The phase angle jump during the voltage sags, in this case, is greater than that of non-harmonics contamination.

3.3. Conclusions

The main contributions of this section are:

  • Kalman filtering algorithm is applied to estimate the harmonic components in a voltage signal of a power system. A full spectrum for identification of the fundamental component is not necessarily. Since the proposed algorithm estimates this component with a good accuracy.

  • The proposed algorithm is succeeded in estimating the magnitude of the voltage signal that experienced voltage sag. Good estimates are produced for the voltage signal before, during and after the voltage sags.

  • An accurate estimate for the phase angle and the phase angle jump is produced using the proposed algorithm.

  • The proposed algorithm produces good estimate for the period of the voltage sags. The starting and ending time of the voltage sags is shown in the Figures within the text.

  • The proposed Kalman filtering technique does not affect by the number of samples for harmonics measurements. A small data window size can provide all the information for harmonics components. Furthermore, the sampling frequency has no effect on the estimated components. Providing that the sampling theorem be satisfied.

4. Parks’ transformation

Park’s transformation is a well known transformation used in the analysis of electric machines, where the three rotating phases abc are transferred to three equivalent stationary dq0 phases (d-q reference frame). In this section this transformation is implemented to recognizing and classifying the power quality events, either for three-phase or single phase circuits. The proposed algorithm transferred the utility signal to a complex phasor. The magnitude of this phasor depends on the magnitude of the utility signal either a three-phase or a single phase signal. This technique produces the complex phasor loci that depend on the power quality event; voltage sags, voltage flickers, voltage swell and harmonics. The time of starting the disturbance is chosen randomly and the length of disturbance is arbitrary. Implementation of this technique is succeeded in recognizing and classifying the power quality events. Simulated results are presented, for three-phase and single phase events. wi

4.1. Identification processes

In the following steps we assume that m samples of the three phase currents or voltage are available at a pre-selected sampling frequency that satisfying the sampling theorem.

The forward transformation matrix


The matrix given in equation (17) can be computed off line if the frequency of the voltage and/or current signals as well as the sampling frequency and the number of samples are known in advance. If the matrix given in equation (17) is multiplied digitally by the samples of the three-phase voltage that are sampled at the same sampling frequency of matrix (17), a new set of three -phase samples are obtained, we call this set a dqoset (reference frame). If we use only the samples for the two perpendicular phases d and q, then the resulting phasor at a sample kis given by;


The magnitude of this phasor is given by


While the phase angle is given by


In this study we may assume, during the power quality events, that the frequency of the voltage signal is constant and equals to the nominal frequency of the system, 50/60 Hz. However if this frequency is not constant, it can be calculated from equation (20) using the least error squares estimation algorithm. Equation (19) is a good indicator to the status of the system signal. Where V(k )is plotted with against the time, and every event has a form that different from other events. If the relation between Vd(k)and Vq(k)a loci is produced that describes the event. In the next section a computer simulation is carried out for different types of power quality events.

4.2. Computer simulation

In this study we assume that the voltage signal frequency is constant at 50Hz during the events, and a sampling frequency of 10000 Hz is used ((ΔT=0.1ms), 200 samples per cycle and 500 samples are used. Before the event 200 samples, 1cycles, are used as pre-estimated period and 100 samples, 0.5 cycles as the event period, and finally 200 samples, 1 cycles, are used as after event period. Different types of power quality events are simulated, these including voltage flickers, voltage sags, voltage swell, momentary interruption and finally voltage harmonics.

4.2.1. Voltage sags

In the first part of this study we assume that one of the phases has only voltage sag, where the voltage is dropped from 1 p.u to 0.25 p.u, single- phase sag. While in the second study, the three phases have the same amount of sags, where the voltage in the three phases is dropped from 1.0 p.u to 0.25 p.u. Figure 20 to 22 gives the results obtained for the single phase sag.

Figure 20.

Variation of the phasor magnitude Single Phase voltage sags,

Figure 21.

Locus of Vd and Vq for a single phase sag

Figure 22.

Waveforms for Vd and Vq for single phase sag.

Figure 23.

Variation of the phasor magnitude three- Phase voltage sags,

Figure 24.

Locus of Vd and Vq for three- phase sag

Figure 25.

Waveforms for Vd and Vq for three-phase sag.

Examining these figures reveals:

  • For the single phase sage, during the sage period the rms value of the voltage is dropped to a value that does not equal to the voltage magnitude at that period, but it does for three -phase voltage sag. Figures 20 and 26. experienced a voltage sage, while in the This is due to the nature of the transformation, where in the single pahse sags one of the phases is only three phase, the three phases are experienced the voltage sags. It does mean that during the sage period, for single phase, two phases are balanced while the third one is distorted, while in the three- phase the three phases are distorted. This is clearly indicated in Figures 21 and 23

  • Figures 22 and 25 indicate that the variation of the two voltages VdandVqin the time domain is not the same for single phase sags, but they are the same for the three phases. In the single phase Vqis a little bit distorted during the sag period while for three -phase sag VdandVqare large distorted during the sag period.

4.2.2. Voltage flicker

In the first part of this study we assume that one of the phases has only voltage flicker, single phase flicker. While in the second study, the three phases are experienced the same voltage flicker, Figure 26 to 9 gives the results obtained for the single phase flicker while Figures from 19 to 21 give the results obtained for the three phase voltage flicker, where the three phases are assumed to experience the same voltage flicker. Examining these curves reveals the following remarks:

  • The phasor amplitude in figure 26 has an amplitude modulation during the data window size

  • The locus of Vd and Vq in Figure 27 is not a pure circle as it should be, but it is an ellipse with distorted amplitude.

  • The signals waveform for the two voltages Vd and Vq are distorted signals.

Indeed looking to Figure 26, one can notice that the system experiences a voltage flicker

Figure 26.

The phasor voltage in the Time domain for a single phase flicker

Examining figures 29 to 31, one can conclude the following remarks:

  • The phasor amplitude decreases down during the data window size, and looking to this figure one can notice that the system experiences voltage flicker.

  • The locus of Vd and Vq is an open ellipse despite of the single phase voltage flicker where this locus is a distorted closed ellipse

  • The wave form of the voltage Vd and Vq is an amplitude modulated wave.

General speaking, for voltage flicker, the amplitude of the transformed signals is demodulated amplitude with amplitude greater than one per unit.

Figure 27.

Locus of Vd and Vq for a single phase flicker

Figure 28.

Vd and Vq in the time domain for a single phase flicker

Figure 29.

Phasor magnitudes in the time domain for a three phase flicker

Figure 30.

Locus Vd and Vq for a three phase flicker

Figure 31.

Vd and Vq in the time domain for a three-phase flicker

4.2.3. Voltage swell

Figure 32.

Phasor Magnitude for single phase swells

In this test a single phase swell is implemented on the voltage signal, where the voltage is increased 50 percent more for a short period, about 10ms. Figures 32, 33 and 34 give the results obtained. Examining these figures one can reveal the following remarks:

  • Examining Figure 32, the phasor amplitude equal to 1 per unit in the pre-swell period, then it increases during swell period and then comes back again to a value of one per unit.

  • The locus of Vd and Vq is not a pure circle, but it is a distorted circle during the time of voltage swell.

  • The signal for Vd and Vq is not pure sinusoids, especially during the time of swell.

In the second part of the test an equal swell is implemented for the three phase signals, and Vd and Vq are calculated. Figures 35, 36 and 37 give the results obtained. Examining these figures reveals the following

  • Looking to Figure 35, immediately one can notice that the voltage has a swell with a magnitude of 1.5 p.u during the swell period

  • The locus of Vd and Vq is not a pure circle, but it is a distorted circle during the time of voltage swell.

  • The signal for Vd and Vq is not pure sinusoids, especially during the time of swell.

Figure 33.

Locus diagram for a single phase swell

Figure 34.

Vd and Vq in the time domain for a single phase swell

Figure 35.

Phasor magnitudes in the time domain for a three phase swell

Figure 36.

Locus diagram for a three phase swell

Figure 37.

Vd and Vq in the time domain for a three phase swell

4.2.4. Voltage harmonics

In this test the voltage signal is contaminated with third harmonics only. In the first part of the test we assume that one phase is only contaminated with harmonics, while the other two phases are not. Figures 38 to 40 gives the results obtained. Examining this curves one can notice the following:

  • The phase magnitude in the time domain is a time varying magnitude and it is not a pure sinusoidal.

  • The locus diagram is a distorted locus not a pure circle as it should be for uncontaminated phase.

  • The voltages Vd and Vq in the time domain are not sinusoidal signals, but they are distorted.

In the second part of this test, we assume that the three phases are contaminated with the same order of harmonics, a balanced three phase harmonics contaminated system. Figures 41 to 43 give the results obtained. Examining these curves reveals the following remarks:

  • Phasor magnitudes in the time domain for three- phase harmonics contamination is a pure sinusoidal with amplitude greater than one per unit, maximum value is 1.2447 per unit and the minimum value is 0.75 per unit and the average value between the two peaks is about one per unit.

  • The locus diagram for three- phase harmonics contamination is a symmetrical shape about both axes

  • Vd and Vq in the time domain for three- phase harmonics contamination are harmonics contaminated signals, distorted signals

Figure 38.

Phasor magnitudes in the time domain for a single phase harmonics contamination

Figure 39.

Locus diagram for a single phase harmonics contamination

Figure 40.

Vd and Vq in the time domain for a single phase harmonics contamination

Figure 41.

Phasor magnitudes in the time domain for three- phase harmonics contamination

Figure 42.

Locus diagram for three- phase harmonics contamination

Figure 43.

Vd and Vq in the time domain for three- phase harmonics contamination

4.3. Conclusions

The main contributions of this section are:

  • Park’s transformation is implemented to recognizing and classifying the power quality events; voltage sags, voltage flickers, voltage swell and harmonics, either for three-phase or single phase circuits.

  • The proposed algorithm is succeeded in identification and classification of power quality events.

  • The utility signal is transformed to a complex phasor. The magnitude of this phasor depends on the magnitude of the utility signal. The proposed technique produces the complex phasor loci that depend on the power quality event. Computer simulation results are presented within the text, these results indicate that the proposed technique is efficient, and one can recognize the type of event just by looking to the locus diagram of the two voltages Vd and Vq.

  • No metering instruments are needed to measure these events, since it is hard to find an instrument that can be used to measure such events.

  • Classifying these events can help in making a decision to install the suitable power conditioning devices to suppress these events or part of them.

  • It has been shown that the starting time of disturbance as well as the length of the disturbance has no effect on the Park's phasor.

© 2013 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Soliman Abdel-Hady Soliman and Rashid Abdel-Kader Alammari (April 17th 2013). Electric Power Quality Recognition and Classification in Distribution Networks, Power Quality Issues, Ahmed Zobaa, IntechOpen, DOI: 10.5772/53081. Available from:

chapter statistics

1852total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Power Quality Enhancement Through Robust Symmetrical Components Estimation in Weak Grids

By António Pina Martins

Related Book

First chapter

Power Quality Monitoring

By Kazem Mazlumi

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us