Open access

Parameters Estimation of Time-Varying Harmonics

Written By

Cristiano A. G. Marques, Moisés V. Ribeiro, Carlos A. Duque and Eduardo A. B. da Silva

Submitted: 13 September 2012 Published: 17 April 2013

DOI: 10.5772/53816

From the Edited Volume

Power Quality Issues

Edited by Ahmed Zobaa

Chapter metrics overview

2,396 Chapter Downloads

View Full Metrics

1. Introduction

The increasing use of power electronic devices in power systems has been producing significant harmonic distortions, what can cause problems to computers and microprocessor based devices, thermal stresses to electric equipments, harmonic resonances, as well as aging and derating to electrical machines and power transformers [13]. The most important problems that have been reported in the literature concerns to the difficulty of the frequency control within the micro-grids and the increase of the total harmonic distortion. These two factors may negatively impact on the protection system, power quality analysis and intelligent electronic devices (IEDs), in which digital algorithms assume that the fundamental frequency is constant. Based on this fact, there has been an increasing interest in signal processing techniques for detecting and estimating harmonic components of time-varying frequencies. Their correct estimation has become an important issue in measurement equipment and compensating devices. Although many methods have been proposed in the literature, it still remains difficult to detect and estimate harmonics of time-varying frequencies [4, 5]. The harmonic components (voltage or current) can change its frequencies due to continuous changes in the system configuration and load conditions, to the rapid proliferation of distributed resources, and to possibilities of new operational scenarios (e.g., islanded microgrids). Also the need for massive monitoring of networks is unquestionable within the concept of smart grids. An important line of research in the smart grids context is to identify and estimate time-varying harmonics that may appear in the current and voltage signals, and from this information, correct and adjust the digital algorithms that are part of protection equipments, power quality monitors and IEDs.

The concept of time-varying harmonics came recently to the vocabulary of power systems engineers, because more and more nonlinear loads, with dynamic behavior, are being connected to power systems and the fundamental frequency is experiencing a large range of variation. These factors have putting in check the traditional stationary spectral analysis methods, and many techniques for improving harmonics measurement have been proposed in recent years. Parametric and nonparametric methods that commonly have been used by the community of signal processing have been applied to power system harmonic estimation. These methods have in common that they need to estimate the fundamental frequency to adjust some internal parameters, like filter coefficients. The challenge is producing a harmonic estimator with high convergence ratio, high accuracy, low computational burden and immunity to the presence of interharmonic: conditions that are not ease to simultaneously deal with. The most used technique for harmonics estimation is based on the discrete Fourier transform (DFT) [8, 10]. The DFT algorithm is attractive because of its low computational complexity and its simple structure. However, DFT does not perform well if power system frequency varies around the nominal value. Several other techniques have been proposed in the literature for harmonic estimation. However, the DFT still appear to be the preferred algorithm mainly due to its simplicity.

Advertisement

2. Power quality and smart grid

The term “smart grid” has different definitions in the literature. Regardless of the precise definition, the term smart grid can be seen as a new paradigm, covering from conception to operation of the power systems, that makes intensive use of information and communication technologies, decentralized control approaches, powerful signal processing and computational intelligence techniques, renewable and distributed generation and storage energy facilities, self-generation, etc [11] to offer flexibility, robustness, and efficiency regarding generation, transmission, distribution, and consumption of electrical energy.

One of the promises of the smart grid is to improve the power quality. Therefore, the reliability or continuity of service is one of the consequences that will result from the implementation of the self-healing aspects of the Smart Grid. However power quality issues should not form an unnecessary barrier against the development of smart grids or the introduction of renewable sources of energy. The smart properties of future grids should rather be a challenge for new approaches in an efficient management of power quality [11].

An adequate power quality should guarantees electromagnetic compatibility between all equipment connected to the grid. Then, an important issue for the successful and efficient operation of smart grids is the introduction of advanced, flexible, robust, and cooperative set of signal processing and computational intelligent techniques for power quality analysis. With this set of techniques, an effective and extensive smart monitoring system can be devised and deployed. Such a monitoring system have to allow for the monitoring of such as voltage, current, bidirectional energy consumption at distribution transformers, substations transformers, smart meters, distribution feeders, distribution switching devices, and strategically installed power quality monitors in the power systems.

Advertisement

3. Harmonic estimation techniques: Before and after smart grid

Consider the monitored power line signal, after processed by the analog anti-aliasing filter, be expressed by

x(t)=m=1NhAm(t)cos[mΩ0t+ϕm(t)]+η(t),E1

where Am(t) and ϕm(t) are, respectively, the amplitude and phase of the m-th harmonic, Nh is the maximum harmonic order, η(t) is the additive noise and Ω0 denotes the angular fundamental synchronous frequency. Based on the definition of instantaneous frequency deviation [6, 7], the frequency of the m-th harmonic can be defined as

ψm(t)=d[mΩ0t+ϕm(t)]dt=mΩ0+dϕm(t)dt.E2

Assuming Ω0 constant, note that any variation in ψm(t) can be expressed by the term dϕm(t)dt. As ψm(t)=mψ1(t) (the frequency of the m-th harmonic is equal to m times the fundamental frequency), from (2) we have

mΩ0+dϕm(t)dt=m[Ω0+dϕ1(t)dt]

dϕm(t)dt=mdϕ1(t)dt.E3

The goal of harmonic estimation techniques is to provide estimates of the parameters Am(t) and ϕm(t) using the discrete version x[n] of the signal x(t). Some of the existing techniques estimate these parameters considering that the fundamental angular frequency ψ1(t) is constant and nominal (steady) and some estimate the same parameters considering ψm(t) time-varying.

Basically, we can say that before smart grids, the most used techniques for harmonic estimation assumed that ψ1(t) was constant and nominal. This is the reason that DFT is the standard algorithm adopted in international standards and implemented in the majority of equipments. It can be explained because, generally, in interconnected power systems the power frequency is high controlled and very near the nominal value. Thus, powerful harmonic estimation methods are not needed, except in especial applications. However, with the inclusion of new power generation technologies such as renewable energy source generation and distributed generation energy, the fundamental frequency of micro grids and isolated systems will suffer significant variations (this fact is already noted in actual power systems). In this new scenarios, very common in smart grids, new harmonic estimation techniques will be very needed and essential.

Advertisement

4. Methods for estimating steady-state harmonics

Methods for estimating steady-state harmonics are more simple than time-varying ones, and its algorithms do not use information of the fundamental frequency of the signal under estimation. In what follows, we describe four algorithms.

4.1. Discrete fourier transform

The most common and the most used technique for steady-state harmonic estimation is the discrete Fourier transform (DFT) [8-10]. The DFT method is simple and easy to be implemented in monitoring systems, but its application for time-varying harmonics is not recommended.

Given the discrete signal x[n], the amplitude and phase of the k-th harmonic component can be straightforwardly estimated by the recursive equations:

A^k[n]=2Yck2[n](t)+Ysk2[n]E4

and

ϕ^k[n]=arctan(Ysk[n]Yck[n]),E5

respectively, where,

Yck[n]=Yck[n1]+(x[n]x[nN])cos(kw0)E6

and

Ysk[n]=Ysk[n1]+(x[n]x[nN])sin(kw0),E7

in which w0=Ω0/fs is the discrete synchronous angular frequency, fs is the sampling rate and N is the number of samples within a integer number of cycles of the fundamental power signal.

The DFT algorithm is very simple and its implementation is easy for real-time application. However, if the fundamental frequency is not nominal and constant, then the estimates can carry significant errors.

4.2. Demodulation

The demodulation technique presented in [15] can be used to estimate the parameters of harmonics as point out in [16]. In similar way to the DFT technique the demodulation technique can give erroneous results if its filter is fixed.

The k-th harmonic parameters can be estimated by

A^k[n]=2Yck2[n](t)+Ysk2[n]E8

and

ϕ^k[n]=arctan(Ysk[n]Yck[n]),E9

in which Yck[n] and Ysk[n] are evaluated by

Yck[n]=(x[n]cos(kw0))*h[n]E10

and

Ysk[n]=(x[n]sin(kw0))*h[n],E11

respectively, where h[n] is the impulse response of a low-pass filter and ∗ denotes the linear convolution operator.

4.3. Goertzel

The Goertzel technique uses a second-order infinite impulse response filter to estimate the parameters of the k-th harmonic [17]. The Goertzel algorithm is more efficient than the Fast Fourier Transform (FFT) when the number of harmonics to be calculated is low.

The amplitude and phase of the k-th harmonic is estimated, respectively, by

A^k[n]=2Yck2[n](t)+Ysk2[n]E12

and

ϕ^k[n]=arctan(Ysk[n]Yck[n]),E13

in which Yck[n] and Ysk[n] are evaluated by

Yck[n]=(X[k])E14

and

Ysk[n]=(X[k]),E15

where

X[k]=exp(2πk)s[N1]s[N2],E16
s[n]=x[n]+2cos(2πk/N)s[n1]s[n2].E17

4.4. Linear least squares

The linear least squares (LS) algorithm estimates several harmonics in one evaluation instead of a unique estimate [18]. Its advantage is the acquisition of several harmonics in only one evaluation. However the computational burden is high.

Basically, the LS algorithm has as a result the vector given by

v[m]=[a1[m] a2[m] ... aNh[m] b1[m] b2[m] ... bNh[m] ]TE18

Thus, the amplitude and phase of the k-th harmonic (k ∈ [1, 2,...,Nh]) are given by

A^k[m]=2bk[m]2+ak[m]2E19

and

ϕ^k[m]=arctan(bk[m]ak[m]).E20

The vector v[m] is evaluated as following

v[m]=(HT[m]H[m])1H[m]Ty[m],E21

where

y[m]=[x[n] x[n1] ... x[nN]]TE22

and

H[m]=[Ha[m] Hb[m]]E23
Ha[m]=(cos(w0n)cos(2w0n)cos(Nhw0n)cos(w0(n1))cos(2w0(n1))cos(Nhw0(n1))cos(w0(nN))cos(2w0(nN))cos(Nhw0(nN)))E24
Hb[m]=(sin(w0n)sin(2w0n)sin(Nhw0n)sin(w0(n1))sin(2w0(n1))sin(Nhw0(n1))sin(w0(nN))sin(2w0(nN))sin(Nhw0(nN)))E25

In this kind of technique, the number of harmonic has to be known a priori. Otherwise, the performance can be considered reduced, also, the computational complexity is higher due to the matrix operations.

Advertisement

5. Methods for estimating time-varying harmonics

Methods for estimating time-varying harmonics consider that not only the amplitudes and phases of harmonics change, but also the fundamental frequency, and consequently, the harmonics frequencies. Thus, the frequency estimation is generally required to improve the algorithms.

5.1. Discrete fourier transform with sampling frequency control

The main weakness of the DFT is to estimate the harmonics when the sampling frequency is not synchronous with the fundamental frequency. In order to guarantee this synchronism we can control the sampling frequency as shown in Fig. 1. This method reduces and can also eliminate the errors caused by the mismatch between the fundamental frequency and the sampling frequency, however, it requires a robust and controllable ADC converter and a frequency estimation algorithm. As a result, its use is not recommended.

Figure 1.

DFT with control of the ADC sampling frequency

5.2. Discrete fourier transform with signal resample

An alternative to the problem of synchronization of the sampling frequency when the sampling frequency is constant and not controllable is resampling the original signal before the harmonic estimation with the DFT. The drawback of this approach is the high computation complexity required by the resample process. Also, a frequency estimation technique is required to control the resampling process. Fig. 2 shows the block diagram of this strategy.

Figure 2.

DFT with signal resample

5.3. Discrete fourier with window

An interesting way of improving the DFT algorithm is using a window in each block of data before the evaluation of the DFT. The windowing of the data can deal with the spectral leakage of the DFT caused by the frequency deviation by adding some computational burden to the algorithm. Some windows generally used are the triangular and Hanning. The coefficients of a Hanning window are computed from the following equation:

w[n]=0.5cos(1cos(2πnN+1)).E26

The triangular window has its coefficient given by

w[n]={2nN, if 1nN2;2(Nn)N, if N2nN1;E27

for N even, and

w[n]={2nN1, if  1nN2;2(Nn)N1, if N+12nN1;E28

for N odd.

5.4. Demodulation

An interesting method based on demodulation technique for estimating time-varying harmonics is presented in [16]. This technique can provide very accurate estimates with a reasonable computational complexity.

The block diagram of the demodulation technique is depicted in Fig. 3. The LP blocks implement identical low-pass filters and the blocks COS and SIN implement the demodulation signals expressed by

dck[n]=cos(kw0n+φk[n])E29

and

dsk[n]=sin(kw0n+φk[n]),E30

respectively. The term φk[n] control the instantaneous frequency of the demodulation signals (29)-(30). It is evaluated by

φk[n]=φk[n1]+kfs(ψ1[n]Ω0),E31

where ψ1[n] is the estimated fundamental frequency in rad.

The blocks AMP and PHAS implement, respectively, the expressions

A^k[n]=2ycck2[n]+yssk2[n]E32

and

ϕ^k[n]=arctan(yssk[n]ycck[n]),E33

respectively, where dck[n] is the output of the low-pass filter at the top and dsk[n] is the output of the low-pass filter at the bottom in Fig. 3.

In this technique, it is applied a approach to control the demodulation signals (blocks COS and SIN) and the frequency response of the low-pass filters (blocks LP) by the power frequency estimate, which is implemented by the block FREQ. The low pass filters are finite impulse response (FIR) filters which are controlled by a frequency estimator.

Figure 3.

Block diagram of the demodulation technique for time-varying harmonic estimation.

5.5. Non linear least squares

The nonlinear least squares (NLS) uses the same expressions of the linear least squares for evaluate the harmonics [18]. The advantage of this approach is the improving of the estimates related to the linear version, however, the additional searching of the optimal frequency introduces additional delay in the technique and computational burden.

The NLS algorithm test several values of w0 near its nominal value in order to minimize the euclidian norm of the following vector:

e[m]=(IH(HT[m]H[m])1HT[m])y[m]E34

Thus, with the optimal w0, the harmonic parameters are evaluates as presented in section 4.4.

Advertisement

6. Performance analysis

In order to analyze the performance of the described techniques the following signal is considered:

x[n]=A1[n]cos(w0n+ϕ1[n])+A3[n]cos(3w0n+ϕ3[n])+A5[n]cos(5w0n+ϕ5[n])+A7[n]cos(7w0n+ϕ7[n])+A9[n]cos(9w0n+ϕ9[n])+A11[n]cos(11w0n+ϕ11[n])+A13[n]cos(13w0n+ϕ13[n])+A15[n]cos(15w0n+ϕ15[n])+A17[n]cos(17w0n+ϕ17[n])+A19[n]cos(19w0n+ϕ19[n])+A21[n]cos(21w0n+ϕ21[n])+A23[n]cos(23w0n+ϕ23[n])+A25[n]cos(25w0n+ϕ25[n])+v[n],E35

where v[n]~N(0,σ2) is a white zero-mean Gaussian noise so that the signal-to-noise ratio (SNR) between the fundamental component and the additive noise is 60 dB (it should be noted that the SNR of the signal obtained from a power system usually ranges between 50 and 70 dB [19]).

Fig. 4 shows time estimations of the amplitude of the 3rd harmonic considering a 50% drop in the amplitude of signal when the fundamental frequency is equal to 60 Hz. Estimation delays of 2 cycles of the fundamental component are noted because the twocycles version of each technique was considered. However, when the fundamental frequency is set to 60.5 Hz such techniques exhibit significant errors in the estimates (time variations), as can be seen in Fig. 5. Otherwise, the time-varying techniques significantly improve the estimates. These results are depicted in Fig. 6. Table 1 shows the maximum of the absolute instantaneous error of all techniques after convergence of the algorithms (after the 50% drop in the amplitude of signal).

The best results are achieved with the demodulation and NLS techniques. Considering only these last two techniques, the errors were evaluated when the fundamental frequency varies between 59.5 Hz to 60.5 Hz for the 25th harmonic (See Fig. 7). Also, it is important to note that the improvement achieved by the DFT with hanning and triangular windows is significant compared with the standard DFT method as can be seen by Figs. 5 and 6. In order to better show this improvement, the errors, considering the DFT, DFT with triangular window and DFT with hanning window, were evaluated when the fundamental frequency varies between 59.5 Hz and 60.5 Hz for the 25th harmonic (Fig. 8).

Figure 4.

Estimation performance for the signal given by equation (35) in the case of a 50% drop in its amplitude for the 3rd harmonic when the fundamental frequency is set to be 60 Hz considering the steady-state methods.

Figure 5.

Estimation performance for the signal given by equation (35) in the case of a 50% drop in its amplitude for the 3rd harmonic when the fundamental frequency is set to be 60.5 Hz considering the steady-state methods.

Figure 6.

Estimation performance for the signal given by equation (35) in the case of a 50% drop in its amplitude for the 3rd harmonic when the fundamental frequency is set tobe 60.5 Hz considering the time-varying methods.

Figure 7.

Maximum of the absolute instantaneous amplitude for the 25th harmonic when the fundamental frequency varies between 59.5 Hz to 60.5 Hz considering the NLS and Demodulaton method.

Figure 8.

Maximum of the absolute instantaneous amplitude for the 25th harmonic when the fundamental frequency varies between 59.5 Hz to 60.5 Hz considering the DFT, DFT with triangular window and DFT with hanning window.

Technique Maximum Instantaneous Error
DFT 4.7655
Goertzel 4.7655
LS 4.7655
Demodulation (steady-state) 4.7655
DFT with hanning window 0.7479
DFT with triangular window 0.2296
NLS 0.0842
Demodulation (time-varying) 0.0660

Table 1.

Maximum of the absolute instantaneous error of all techniques after convergence of the algorithms.

Advertisement

7. What is next and needed?

Most existing end-user equipment (computer, television, lamps, etc) emit almost exclusively at the lower odd integer harmonics, but there are indications that modern devices including certain types of distributed generators emit a broadband spectrum [1114]. The measurement of these low levels of harmonics at higher frequencies will be more difficult than for the existing situation with higher levels and lower frequencies. This might require the development of new measurement techniques including a closer look at the frequency response of existing instrument transformers. Consequently, harmonic estimation of higher order harmonics will be very important and needed. In this case the sampling frequency should be increased to satisfy the Nyquist criterion and faster analog to digital converter (ADC) must be used to deal with this requirement.

Power electronic based photovoltaic solar and wind energy equipment may emit disturbances causing voltage fluctuations and unbalance. These types of electric sources will have large presence in the future grids very large. In order to deal with this new scenario, the harmonic estimation algorithms must be immune to higher voltage fluctuations and interharmonics.

An important issue associated with smart grid in regarding to harmonic estimation is the real time estimation of several harmonics instantaneously, including higher-order harmonics. Higher-order harmonics will be more and more important to estimate due its influence in sensitive electronics devices. Also, the dynamic and diversity of smart grid will demand different set of techniques to analyze the behavior of the time-varying harmonics. For deal with these issues, the use of reconfigurable hardware that allow the exchange of features between existing monitoring devices is of ultimate importance.

Advertisement

8. Concluding remarks

Several methods and techniques were developed so far for estimating steady-state and timevarying harmonics. Although several techniques can deal with time-varying harmonics, the implementation of them is incipient. However, the needs and demands related to smart grids is pushing forward the development of new techniques as well as discussion of new measurement standards for time-varying harmonics.

Although smart grids offers the opportunity to improve the quality, efficiency and reliability for power systems, the increase of disturbances levels is inevitable. Thus, new challenges related to the power quality will be introduced.

References

  1. 1. HAkagiNew trends in active filters for power conditioning, IIEEE Trans. Ind. Appl., 32613121322November 1996
  2. 2. N. RWatsonand JArrigalaHarmonics in large systems, Electric Power System Research, 6615292003
  3. 3. M. A. SMasoumand P. SMosesand A. SMasoumDerating of Asymmetric Three- Phase Transformers Serving Unbalanced Nonlinear Loads, IEEE Trans. Power Delivery, 23420332041October 2008
  4. 4. L. LLaiand W. LChanand C. TTseand A. T. PSoReal-time frequency and harmonic evaluation using artificial neural networks, IEEE Trans. on Power Delivery, 1415259Jan. 1999
  5. 5. PRibeiroTime-Varying Waveform Distortions in Power Systems, Wiley-IEEE Press, 2009
  6. 6. M. MBegovic a. n. d P. MDjuric a. n. d SDunlapand A. GPhadkeFrequency tracking in power networks in the presence of harmonics, IEEE Trans. on Power Delivery, 82480486Apr. 1993
  7. 7. BBoashashEstimating and interpreting the instantaneous frequency of a signal. I. Fundamentals, Proceedings of the IEEE, 804520538Apr 1992
  8. 8. T. AGeorgeHarmonic power flow determination using the fast Fourier transform, IEEE Trans. on Power Delivery, 22530535Apr. 1991
  9. 9. J. SThorpand A. GPhadkeand K. JKarimiReal-time voltage phasor measurements for static-state estimation, IEEE Trans. Power App. Syst., PAS-1041130993106Nov. 1985
  10. 10. Computer Relaying for Power SystemsNew York: John Wiley and Sons, 1988
  11. 11. M. H. JBollenJZhongFZavodaJMeyerAMceachernand F. C. LOpezPower Quality aspects of Smart Grids, International Conference on Renewable Energies and Power Quality, Granada (Spain), 23th to 25th March, 2010
  12. 12. M. H. JBollenP. FRibeiroE. O. ALarssonand C. MLundmarkLimits for voltage distortion in the frequency range 2-9 kHz, IEEE Transactions on Power Delivery, 23314811487July 2008
  13. 13. S. TTentzerakisand S. APapathanassiouAn Investigation of the Harmonic Emissions of Wind Turbines, IEEE Trans. Energy Convers., 221150158March 2007
  14. 14. S. APapathanassiouand M. PPapadopoulosHarmonic analysis in a power system with wind generation, IEEE Trans. Power Delivery, 214pgs. 2006-2016, October 2006. Instantaneous phase tracking in power networks by demodulation, IEEE Trans. On Instrumentation and Measurement, vol. 41, no. 6, 963967December 1992
  15. 15. P. MDjuricand M. MBegovicand MDoroslovaki, Instantaneous phase tracking in power networks by demodulation, IEEE Trans. on Instrumentation and Measurement, 416963967Dec. 1992
  16. 16. C. A. GMarquesand M. VRibeiroand C. ADuqueand P. FRibeiroand E. A. B. da Silva, A Controlled Filtering Method for Estimating Harmonics of Off-Nominal Frequencies, IEEE Trans. On Smart Grids, 313849March 2012
  17. 17. GGoertzelAn algorithm for the evaluation of finite trigonometric series, The American Mathematical Monthly, 65134351958

Written By

Cristiano A. G. Marques, Moisés V. Ribeiro, Carlos A. Duque and Eduardo A. B. da Silva

Submitted: 13 September 2012 Published: 17 April 2013