You are on page 1of 5

Harmonic Parameter Estimation of a Power Signal

using FT-RLS Algorithm


Santosh Kumar Singh1 Member IEEE Arup Kumar Goswami2 Member IEEE
Electrical Engineering Department Nidul Sinha3 Senior Member IEEE
National Institute of Technology Silchar, India Electrical Engineering Department
Email- santoshkrsingh.nits@gmail.com National Institute of Technology Silchar, India

Abstract— Many algorithms have been proposed for harmonic active compensation of power system disturbances.
estimation to improve the power quality performance, but till However various adaptive filtering approaches has
today it is still a challenge for accurate estimation. In this paper been applied to characterize harmonic signal parameters
an adaptive filtering algorithm called Fast Transverse Recursive such as Least Mean Square (LMS)[3-4], Extended
Least Square (FT-RLS) is applied for the first time for Least Mean Square (ELMS)[5-6], Recursive Least
estimating harmonic parameters. The algorithm has been
Square (RLS)[7-8], Forgetting Factor Recursive Least
considered to estimate the amplitudes, phases and frequency in
case of time varying power signals containing harmonics in the Square (FFRLS)[9], Normalized Least Mean Square
presence of White Gaussian Noise in MATLAB simulating (NLMS) [10-11] etc but each of them has several
environment. Also comparison results with two recently limitations in terms of inaccuracies due to the presence
proposed algorithms such as Forgetting Factor Recursive Least of noise, harmonics and other changing parameters such
Square (FF-RLS) and Recursive Least Square (RLS) are as change in fault inception angle, change in fault resistance
presented to show the effectiveness of the proposed FT-RLS etc in the signal.
algorithm. Keeping this in mind, three iterative adaptive filtering
algorithms such as Forgetting Factor Recursive Least Square
Index Terms-- Extended Least Mean Square (ELMS), Fast
(FF-RLS)[9],Recursive Least Square (RLS) and a novel Fast
Transverse Recursive Least Square (FT-RLS), Forgetting
Factor Recursive Least Square (FF-RLS), Least Mean Transverse Recursive Least Square (FT-RLS) along with
Square (LMS), Recursive Least Square (RLS) their comparisons are presented in this paper for fast and
accurate estimation of nominal and off-nominal power system
I. INTRODUCTION
frequency of a harmonic signal. During comparison we
observe that the proposed FT-RLS algorithm outperforms on
The presence of nonlinear loads and the increasing use of FF-RLS and RLS algorithm.
power electronic devices during the last decades contribute to The paper is organized as follows. Section I describes the
change the characteristics of voltage and current waveforms introduction part of the recursive adaptive algorithms used for
from ideal sinusoidal to non sinusoidal in power systems. Thus harmonic estimation. Section II describes the theoretical
destroying the power quality and generating harmonics in the background which formulates the harmonic estimation
signal. Under these conditions advanced signal processing algorithms based on FT-RLS. Section III discusses the FT-
techniques are required for accurate estimation of harmonic RLS algorithm implementation. Section IV describes the
parameters such as amplitude, phase and frequency. Thus signal modeling part for harmonic estimation whereas Section
accurate computation of these parameters is also a challenging V describes the simulation test and Estimation performance
problem in power system. of the proposed FT-RLS algorithm through MATLAB
The accurate estimation of supply frequency and voltage simulations. Finally, test result and simulation performance is
during its variation with time is very essential. Variations in explained in Section VI whereas conclusion is briefly
system frequency from its normal value indicate the explained in Section VII.
occurrence of a corrective action for its restoration to its
II. THEORETICAL BACKGROUND
original value. In this context a large number of numerical
methods are available for frequency estimation from the The general set up of an adaptive-filtering environment is
digitized samples of the system voltage [1-3]. Conventional illustrated in Fig.1.
method assumes that the nature of the voltage waveform is
required to be purely sinusoidal and therefore the time
between two zero crossings is an indication of system
frequency. The obtained signal parameters can be employed
for revenue purposes, electrical grid characterization and

978-1-4673-6487-4/14/$31.00 ©2014 IEEE

157
A ( n ) =Optimal Forward Predictor Coefficient Error
f ( n ) =Estimation Error of the Forward Predictor
α ( n ) = Least Square Value of Forward Prediction Error
rf ( n ) = Optimal Coefficient for Forward Predictor
k L +1 ( n ) =Augmented Gain Vector
Fig-1: Adaptive Filtering Structure rb (n) =Optimal Coefficient for Backward Predictor
Where k is the iteration number, x (k ) denotes the input
ψ ( n ) = Posterior Backward Prediction Vector
signal, y (k ) is the adaptive-filter output signal, and d (k )
L = Successive Samples of one Signal
defines the desired signal. The error signal e( k ) is calculated K (n) = Gain Vector
as d ( k ) − y (k ) . The error signal is then used to form a
ε ( n ) = Priori Estimation Error
performance (or objective) function that is required by the
adaptation algorithm in order to determine the appropriate W ( n ) = Optimal Least Square Coefficient Vector
updating of the filter coefficients. The minimization of the
objective function implies that the adaptive-filter output e ( n ) = Error Vector
signal is matching the desired signal in some sense. The
algorithm is the procedure used to adjust the adaptive filter d ( n ) = Desired Signal Vector
coefficients in order to minimize a prescribed criterion. The X L +1 ( k ) = Augmented Input Vector
algorithm is determined by defining the search method (or
minimization algorithm), the objective function, and the error G ( n ) = Optimal RLS Backward Predictor Coefficient
signal nature. The choice of the algorithm determines several
Vector
crucial aspects of the overall adaptive process, such as the
existence of Sub-optimal solutions, biased optimal solution,
and computational complexity. The basic objective of the IV. SIGNAL MODELING
adaptive filter is to set its parameter e( k ) , in such a way that Let x(k ) be an input signal buried in white Gaussian
its output tries to minimize a meaningful objective function noise μk represented by the following structure:
involving the reference signal.
K
III. FT-RLS ALGORITHM x(kTs ) = ∑ Ak sin(ωk kTs + φk ) + μk (14)
The complete recursion for efficiently implementing the k =1
FT-RLS adaptive filtering algorithm for the estimation of So for the purpose of estimating the signal in parametric form
errors is given in Table-1 below in Eq-1 to 13. can be written as:

x(kTs ) = [sin ωk Ts cos ωk Ts ] ⎡⎣α β ] + μ k


T
(15)
Now the signal can be modeled as,
x ( kTs ) = xk * [ wk ] + μk
T
(16)

Where xk = [ sin ωkTS cosωkTs ] and wk = [α β ] which are


input and weight vector matrix of the signal.
Where α ,β parameters to be estimated given by:
α = Ak cos φk
(17)
β = Ak sin φk
So the actual required parameters are amplitude ( Ak ),
phase ( φk ) and frequency ( f k ) which can be obtained
Where, using,
φ ( n ) = Priori Forward Prediction Errors Ak = α 2 + β 2 (18)
x ( n ) =Input Vector of the Signal

158
⎛β ⎞ Recursive Least Square (RLS) and Fast Transverse Recursive
φk = tan −1 ⎜ ⎟ (19) Least Square (FT-RLS). Among these algorithms, the
⎝α ⎠ performance of proposed FT-RLS algorithm is found to be
superior for estimating harmonic parameters than FF-RLS
1 ⎡ −1 ⎧ x ( kTs ) − μk ⎫ ⎤
fk = ⎢sin ⎨ ⎬ − φk ⎥ (20) and RLS.
2π kTs ⎢⎣ ⎩ Ak ⎭ ⎥⎦

Fig-3: Amplitude plot for the generated signal corrupted with


Noise at 20 dB SNR

Amplitude, Phase & Frequency plot for Fundamental


Harmonic (50 Hz) Signal

Fig-2: Flowchart for Algorithm Performance and


Estimation Fig-4: Amplitude (Estimated) plot for Harmonic signal
corrupted with Noise using FF-RLS, RLS & FT-RLS
V. SIMULATION TEST
To evaluate the performance of the proposed Fast
Transverse Recursive Least Square (FT-RLS) algorithm for
harmonic analysis in estimating the harmonic amplitude,
phase & frequency a discretized signal having a fundamental
frequency of 50 Hz is generated using MATLAB. The power
signal consists of fundamental harmonics is given in equation
(21). This type of signal is typically present in industrial load Fig-5: Amplitude (Error) plot for Harmonic signal corrupted
comprising of power electronic devices and arc furnaces. with Noise using FF-RLS, RLS & FT-RLS
x(t ) = 1.25sin(ωt + 70D ) + μk (21)
The aforementioned signal is corrupted by random noise
μk = 0.05 randn having normal distribution with zero mean
and unity variance. The amplitude given is in per unit (p.u)
value. The data are sorted for amplitude, phase and frequency
as per algorithm given in Fig-2. The harmonics are the integer
multiples of the fundamental frequency. The presence of
distortion in the sinusoidal signal obtained from the original Fig-6: Amplitude (MSE) plot for Harmonic signal corrupted
wave gives the measurement of THD. Sampling frequency with Noise using FF-RLS, RLS & FT-RLS
(Fs) = 2000 Hz, Number of iterations (Samples) (K=N=100),
and length of the signal to be tested as 500 samples/10 cycles
at frequency F= 50 Hz confirming windowing 200-ms in
practice & signal to noise ratio is taken 20dB for the
generation of the signal given in Fig-5. The parameters for
amplitude, phase and frequency are estimated one by one
using three different adaptive filtering algorithms such as
Fig-7: Phase (Estimated) plot for Harmonic signal corrupted
Forgetting Factor Recursive Least Square (FF-RLS), with Noise using FF-RLS, RLS & FT-RLS

159
frequency is done after the estimation of amplitude and phase
of the signal by using Eq-20.
Fig-1 represents the Adaptive Filtering Strategy which
clearly describes the functional operation of any adaptive
algorithms whereas Fig-2 describes the flow chart for
Algorithm Performance and Estimation. Fig-3 shows the
Amplitude plot for the harmonic signal corrupted with noise
Fig-8: Phase (Error) plot for Harmonic signal corrupted with and without noise.
Noise using FF-RLS, RLS & FT-RLS Fig-4, Fig-5 & Fig-6 represents the plot for Estimated
Amplitude, Error in Amplitude and Mean Square Error (MSE)
of Amplitude for harmonic signal using three different
adaptive algorithms such as FF-RLS, RLS & FT-RLS
respectively. The performance of proposed FT-RLS algorithm
can be observed clearly. The Amplitude error and mean square
error (MSE) estimation in proposed FT-RLS is less than that
of FF-RLS & RLS.
Fig-7, Fig-8 & Fig-9 represents the plot for Estimated
Fig-9: Phase (MSE) plot for Harmonic signal corrupted with Phase, Error in Phase and Mean Square Error (MSE) of Phase
Noise using FF-RLS, RLS & FT-RLS for harmonic signal using three different adaptive algorithms
such as FF-RLS, RLS & FT-RLS respectively. The Phase
error and mean square error (MSE) for Phase estimation in
proposed FT-RLS is less than that of FF-RLS & RLS. Overall,
the performance of the proposed FT-RLS algorithm is found to
be better.
Fig-10, Fig-11 & Fig-12 represents the plot for Estimated
Frequency, Error in Frequency and Mean Square Error (MSE)
Fig-10: Frequency (Estimated) plot for Harmonic signal of Frequency for harmonic signal using three different
corrupted with Noise using RLS & FT-RLS adaptive algorithms such as FF-RLS, RLS & FT-RLS
respectively. The Frequency error and mean square error
(MSE) for Frequency estimation in proposed FT-RLS is less
than that of FF-RLS & RLS. Overall, the performance of the
proposed FT-RLS algorithm is found to be better.

Table-2: Performance of FF-RLS, RLS & FT-RLS Algorithm

Fig-11: Frequency (Error) plot for Harmonic signal corrupted


with Noise using RLS & FT-RLS

Fig-12: Frequency (MSE) plot for Harmonic signal corrupted Table-2. Shows a comparative assessment among these
with Noise using RLS & FT-RLS three algorithms, from this table we conclude that three
estimation errors of all the parameters (Amplitude, Phase &
VI. RESULT & DISCUSSION frequency) and computational time are reduced in case of FT-
To improve the performance in the adaptive filtering RLS Algorithm for harmonic signal. So this algorithm
algorithms, many extensions and modifications are found in outperforms on FF-RLS & RLS algorithm.
the literature [9-11]. The enhanced performances gained VII. CONCLUSION
through these modifications are less deviation, faster
convergence and recursive calculations. The initial This paper presents the estimation of amplitude, phase and
covariance matrix is taken as αI, where I is the identity matrix frequency of a harmonic signal corrupted with white
and α= 100. Here the system structure matrix as is taken in Gaussian Noise by various recursive estimation techniques
both algorithms such as FF-RLS, RLS & FT-RLS is a (1×2) such as FF-RLS, RLS and proposed FT-RLS. However
matrix of fundamental harmonic signal. Estimation of choice of the covariance matrix of the input signal is very
crucial at the initial instant for both algorithms. Improper
choice of covariance matrix leads to more computational time

160
with more estimation error. But at the same time these
recursive algorithms are very simple by the representation of
the parametric form of the signal. The computational time is Santosh Kumar Singh received
less due to the simplicity of these algorithms and estimation B.Tech & M.Tech degree in electrical
error is also less. The overall performance of the proposed engineering from West Bengal
FT-RLS algorithm is found to be one of the effective University of Technology (WBUT),
recursive algorithm as compared to recently proposed FF- Kolkata, India, in 2009 & 2011
RLS and RLS algorithm for power system harmonic respectively. He is currently a Ph.D
estimation. research scholar in electrical
engineering department at NIT Silchar,Assam, India. His
REFERENCES research interest includes system identification and
application of signal processing and soft computing
[1] E.A. Abu Al-Feilat, I. El-Amin, M. Bettayeb “Power system harmonic techniques for power quality analysis.
estimation a comparative study”, Electric Power System Research 29
(1994) 91-97.
Arup Kumar Goswami received
[2] Maamar Bettayeb, Uvais Qidwai “Recursive estimation of power
system harmonics” Electric Power System Research 47 (1998) 143- B.Tech degree in electrical
152. engineering from National Institute of
[3] A.K.Pradhan, A.Routray and Abir Basak “Power System Frequency Technology (NIT) Kurukshetra,the
Estimation Using Least Mean Square Technique.” IEEE Trans. Power
M.Tech degree in electrical
Del.,vol 20,no. 3,.july2005.
[4] L.L. Lai, C.T. Tse, W.L. Chan, A.T.P. So, “Real- Time Frequency and engineering from Birla Institute of
Harmonic Evaluation using Artificial Neural Networks” IEEE Trans.on Technology (BIT) Meshra, Ranchi and the Ph.D degree in
Power Delivery, Vol.14, No.1, January 1999. electrical engineering from Indian Institute of Technology
[5] M. Tarrab and A. Feuer., “Convergence and Performance
Roorkee (IIT-Roorkee), India. He is currently an Assistant
Analysis of the Normalized LMS Algorithm with Uncorrelated
Gaussian Data” IEEE Trans. on Inform. Theory, Vol.34(4) , pp. 680- Professor of electrical engineering department at National
691, 1988. Institute of Technology Silchar (NIT Silchar). His research
[6] B.Subudhi, P.K.Ray A.M.Panda and S.R.Mohanty Parameter includes Power Quality, Power System
Estimation Techniques Applied to Power networks, IEEE Conference,
TENCON-08, Hyderabad, Nov. 18-21, 2008.
Reliability,Congestion Management, Deregulated Power
[7] T.S. Sidhu and M.S. Sachdev, “An Iterative Technique for Fast Systems, Application of Power Electronics in Power Systems,
and Accurate Measurement of Power System Frequency”, IEEE Trans. Power System Protection etc.
PWRD, Vol.13, No.1, pp.109-115, 1998.
[8] Maamar Bettayeb and Uvais Qidwai, “ Recursive estimation of power
Nidul Sinha received B.E degree in
system harmonics” Electric Power System Approach Volume 47(2),
,pp.143-152 , October 1998. electrical engineering from National
[9] H.K.Sahoo, Pooja Sharma & N.P.Rath Robust Harmonic Estimation Institute of Technology (NIT) Agartala,
Using Forgetting Factor RLS, India Conference (INDICON), 2011. former Tripura engineering college in
[10] M.S. Sachdev, M.M. Giray, “Off-Nominal Frequency Measurements in
1984 , the M.Tech degree in electrical
Electric Power Systems” IEEE Trans.on Power Delivery, Vol.4, No.3,
pp.1573-1578, 1989. engineering from Indian Institute of
[11] Lee, K.A.; Gan,W.S; “Improving convergence of the NLMS algorithm Technology Delhi (IIT-Delhi),India in 1989, and the Ph.D
using constrained subband updates,” Signal Processing Letters IEEE, degree in electrical engineering from Jadavpur University
vol. 11, pp. 736-739, Sept. 2004.
[12] Paulo S.R. Diniz Adaptive Filtering Algorithms and Practical
(JU), Kolkata, India. He is currently a Professor of electrical
Implementation, Third Edition Springer. engineering department at National Institute of Technology
[13] J.M. Mendel, “Lessons in Digital Estimation Theory” Prentice-Hall, Silchar (NIT Silchar). His research includes Power system
Englewood Cliffs, NJ, 1987. optimization, Automatic generation control under
[14] L. Ljung and T. Soderstrom “Theory and Practiceof
conventional and deregulated environment, Application of
Recursive Identification” MIT Press, Cambridge, MA, 1983.
[15] Mario Oleskovicz, Marcelo A. A. Lima, Etienne Biasotto, and Denis soft computing techniques, technical forecasting, Case base
V. Coury “Estimation of Harmonic Currents Injected by Nonlinear reasoning, intelligent instrumentation. He is a senior member
Loads for a Distorted Power Supply Scenario Using Artificial Neural of IEEE and serves as a reviewer for IEEE
Networks”, Proceedings of 15Th ICHQP-2012, Page(s): 457 – 462,
TRANSACTIONS ON POWER SYSTEMS and POWER
2012.
DELIVERY and many other reputed journals.

161

You might also like