Next Article in Journal
Simulation Model to Estimate Emotions in Collaborative Networks
Next Article in Special Issue
Detecting Grounding Grid Orientation: Transient Electromagnetic Approach
Previous Article in Journal
Proximate Time-Optimal Servomechanism Based on Transition Process for Electro-Optical Set-Point Tracking Servo System
Previous Article in Special Issue
Numerical Analysis of a Spiral Tube Damping Busbar to Suppress VFTO in 1000 kV GIS
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamic State Estimation for Synchronous Machines Based on Adaptive Ensemble Square Root Kalman Filter

1
School of Electrical Engineering, Xinjiang University, Urumqi 830047, China
2
Electric Power Research Institute, State Grid Xinjiang Electric Power Co., Ltd., Urumqi 830011, China
3
College of Energy and Electrical Engineering, Hohai University, Nanjing 210098, China
4
Department of Electrical Power Engineering, Faculty of Mechanical and Electrical Engineering, Tishreen University, Lattakia 2230, Syria
5
Department of Management & Innovation Systems, University of Salerno, 84084 Salerno, Italy
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2019, 9(23), 5200; https://doi.org/10.3390/app9235200
Submission received: 13 November 2019 / Revised: 25 November 2019 / Accepted: 26 November 2019 / Published: 29 November 2019

Abstract

:
Dynamic state estimation (DSE) for generators plays an important role in power system monitoring and control. Phasor measurement unit (PMU) has been widely utilized in DSE since it can acquire real-time synchronous data with high sampling frequency. However, random noise is unavoidable in PMU data, which cannot be directly used as the reference data for power grid dispatching and control. Therefore, the data measured by PMU need to be processed. In this paper, an adaptive ensemble square root Kalman filter (AEnSRF) is proposed, in which the ensemble square root filter (EnSRF) and Sage–Husa algorithm are utilized to estimate measurement noise online. Simulation results obtained by applying the proposed method show that the estimation accuracy of AEnSRF is better than that of ensemble Kalman filter (EnKF), and AEnSRF can track the measurement noise when the measurement noise changes.

1. Introduction

In order to obtain the optimal control strategy of generator in power system, phasor measurement unit (PMU) is required to observe the generator data (power angle, electric angular velocity, etc.) to determine its state. However, there are random noises and measurement errors in PMU measurements, which cannot be directly used as the true state value [1,2,3]. Statistical method is used to calculate the estimated value of generator state variables and predict the future state. This method is called dynamic state estimation (DSE). Therefore, the prediction of generator’s future state by DSE is helpful for power system regulation and has important significance to the stability of power network.
In recent years, the problem of electromechanical transient state estimation of generators has attracted wide attentions. Generator is a complex nonlinear system, and its DSE needs corresponding nonlinear filtering algorithm. In the field of generator DSE algorithms, many studies mainly focus on extended Kalman filter (EKF), unscented Kalman filter (UKF) and cubature Kalman filter (CKF) [4,5]. In [6], EKF was implemented to estimate the dynamic state of generator, where the fourth-order model of generator with unknown input was utilized. However, the linearization process of the generator model by EKF will lead to large truncation errors, which cannot be applied to the strongly nonlinear systems. In [7,8], the deterministic sampling filter-UKF algorithm was applied to estimate the dynamic state of generator. Due to the poor flexibility of UKF in parameter selection, the CKF method was proposed by S. Haykin [9,10]. In [11], the CKF was used for the DSE of generator, which could achieve much better performance than both EKF and UKF.
On the other hand, considering the system uncertainties, in [12], based on the second-order model of generator, adaptive interpolation and H theory was introduced into EKF to estimate the dynamic state of generator, by which the robustness was improved. In [13], an online state estimation method for synchronous generators based on UKF was proposed, and the fourth-order nonlinear model of generators was used to verify that the algorithm has not only high filtering speed and accuracy but also strong robustness. In [14], square root filtering was introduced into CKF to ensure the nonnegative qualitative and numerical stability of covariance matrix, by which, the asymmetric or nonnegative covariance of CKF in the iteration of DSE could be avoided and the estimation accuracy of CKF could also be improved. To the best of the authors’ knowledge, there have been few results concerning DSE for generator by using ensemble Kalman filtering algorithm [15], which has been widely utilized in meteorology.
In this paper, based on the improved EnKF-EnSRF, which can approximate the nonlinear system by random sampling method, an adaptive ensemble root mean square Kalman filter algorithm is proposed. The proposed method does not need to interfere with the measured values, avoiding the problem of underestimating the analysis error covariance in EnKF and improving the filtering precision. Meanwhile, the Sage–Husa algorithm is introduced to estimate measurement noise online. When there is a deviation in measurement noise, the method can revise the covariance of measurement noise dynamically and filter it, which reduces the influence of noise error on filtering. Extensive simulation results show that the proposed method can not only achieve a higher filtering precision than the conventional EnKF but also with a stronger robustness to noise. Hence, the main contributions of this paper are:
  • Proposing a novel, robust AEnSRF method applicable for measurement noise estimation.
  • The proposed robust AEnSRF method is based on the combination between the EnSRF and the Sage–Husa algorithm.
  • The proposed AEnSRF does not need to interfere with the measured values, avoiding the problem of underestimating the analysis error covariance in EnKF and improving the filtering precision.
  • The suggested technique utilizes Sage–Husa algorithm to adjust the covariance matrices of measurement noise dynamically and filter it when there is a deviation in measurement noise.
  • The proposed method mitigates the adverse influence of noise error on the filtering result.
  • The proposed method has a higher filtering precision than the conventional EnKF and a stronger robustness to noise.
The rest of the paper is organized as follows: In Section 2, the second-order generator DSE model is presented. Section 3 describes the main algorithm in detail. IEEE 9-bus system and the real power grid system are used to test and illustrate the usefulness of the proposed method, and some necessary comparison results with ENKF and ENSRF are also performed in Section 4. Finally, the conclusions are provided in Section 5.

2. Generator Dynamic State Estimation Model

2.1. Mathematical Model of Dynamic State Estimation

State space model can be used to describe the dynamic system as
{ X k + 1 = Φ X k + Γ U k + W k Z k = C X k + V k
where k indicates the time instant, W k represents system noise, V k represents measurement noise, Φ denotes the state transition matrix, Γ is the input matrix, and C is the observation matrix.
The statistical characteristics of noise W k and V k are given as follows
{ E [ W k ] = E [ V k ] = 0 E [ W k W k T ] = Q δ k j E [ V k V k T ] = R δ k j
where Q is the variance matrix of system process noise, R is the variance matrix of system measurement noise, δ k j = { 1 , k = j 0 , k j .

2.2. Equation of Measurement and State Estimation

In the electromechanical transient process of power system, the system topology and bus voltage cannot be acquired in real time. Thus, the rotor power angle and angular velocity, which do not abruptly change and are constrained by the rotor differential equation, are selected as the state variables of the generator DSE.
The second-order differential equations of synchronous generators can be expressed as follows
{ d δ d t = ( ω 1 ) ω 0 d ω d t = 1 T J ( T m T e D ω ) = 1 T J ( P m ω P e ω D ω )
where δ indicates the power angle, ω represents the electric angular velocity; T m denotes the mechanical torque, T e is the electromagnetic torque; P m is the mechanical power, P e is the electromagnetic power, T J represents the generator’s rotor’s inertia time constant, and D is the damping coefficient.
The differential equation of generator model in (3) can be rewritten as
[ δ ˙ ω ˙ ] = [ 0 180 π ω 0 0 D T J ] [ δ ω ] + [ 1 0 0 1 T J ] [ 180 π ω 0 ( P m P e ) / ω ]
where the unit of δ is degree. For convenience, one has
{ X = [ δ ω ] A = [ 0 180 π ω 0 0 D / T J ] B = [ 1 0 0 1 / T J ] U = [ 180 π ω 0 ( P m P e ) / ω ]
In general, the first three terms of Taylor expansion of general state transition matrix can meet the precision requirements
Φ ( T ) I + A T + A 2 T 2 2
Γ ( T ) = [ 0 T Φ ( α ) d ( α ) ] B
where T represents the sampling period.
The power angle and angular velocity of generator can be measured directly by PMU, which are usually selected as the measurements
{ Z = [ δ ω ] C = [ 1 0 0 1 ]
According to (4) to (7), the discrete form of generator DSE model can be obtained
{ X k + 1 = Φ X k + Γ U k = f ( X k , U k ) Z k = C X k = h ( X k , U k )

2.3. Error Analysis

Equations (4) to (9) show that the imprecision of the model parameters T J , D and the errors in the measurement of P e and P m will lead to the imprecision of the model. The obtained value of T J is generally accurate. In general, the value of D is very small, indicating the influence of mechanical friction and wind resistance on the operation of generators. Therefore, the measurement errors of P e and P m are the main components of generator process noise. Actually, it is difficult to obtain precise P m value, assuming that P m value is constant when there is only governor but no shut-off and fast shut-off valve; the change of P m caused by governor action is treated as the process noise of the system.
According to [16,17], the measurement error is generally between 1% and 2%. Considering the influence, the process noise variance matrix is set as
Q = d i a g ( 0 , 0.0004 P e 0 + 0.0001 )
where P e 0 is the standard unit of output electromagnetic power in steady state.
The measurement errors of δ and ω are mainly caused by PMU measurement errors. Ideally, the measurement error variance of δ is 2 2 , ω is 10 6 , and the measurement noise variance matrix of the system is set as
R = d i a g ( 2 2 , 10 6 )

3. Adaptive Ensemble Square Root Kalman Filter

3.1. Ensemble Kalman Filter

Regarding the nonlinear systems and in order to track their state trajectories, the extended Kalman filter and the nonlinear filtering method which combines the techniques of unscented transformation and numerical difference without computing Jacobian matrix are widely used. However, when the system’s nonlinearity is strong and the noise is non-Gaussian, the performance of these algorithms will be degraded significantly, resulting in unreliable state estimation. Therefore, ensemble Kalman filter, a sub-optimal filtering method, has attracted more and more attention. Based on Kalman filtering, ensemble prediction is introduced into ensemble Kalman filtering. Sequential Monte Carlo simulation method is employed to create the initial set of samples representing the state statistics. The state transition function is used to calculate the new set of states at the current time for each sample in the set, then the samples of the new set of states are calculated. Mean and covariance are used to get the optimal value of the current time estimate [18].
In the traditional Kalman filter, the calculation formulas of state prediction error covariance and analysis error covariance are presented as
P f = ( X f X t ) ( X f X t ) T ¯ P a = ( X a X t ) ( X a X t ) T ¯
where X denotes the state vector, P represents the state covariance, T is the matrix transposition. The superscript f indicates the prediction state, the superscript a is the analysis state, and the superscript t is the real state.
In the EnKF, the posterior distribution of the state function is approximated by the ensemble elements, and the degree of approximation depends on the number of elements in the ensemble. Assuming that the number of set elements is N , X E f represents the set storing all predicted states, and X E a represents the set storing all analyzed states. When N tends to infinity, the real value of the state can be replaced by the mean value of the set of state estimators. It follows from [19] that the prediction error covariance and the analysis error covariance can be calculated by
P f 1 N 1 ( X E f X E f ¯ ) ( X E f X E f ¯ ) T P a 1 N 1 ( X E a X E a ¯ ) ( X E a X E a ¯ ) T
The EnKF uses the finite element in the ensemble for the estimation of the state error covariance, thus avoiding the prediction of the covariance matrix.
In the process of EnKF, firstly, according to the known state priori information, an initial state set of N elements is obtained by SMC method, then a prediction set X E f is obtained by predicting each element in the initial state set through Kalman filter, in which the elements are expressed by X f i . Secondly, the observation set of state by SMC method as well, and the prediction state set is modified by covariance of X E f to get the analysis set X E a of state. The elements are expressed by X a i , and the average value of the state analysis set X E a is the optimal state estimation value. The analysis set of states is used for prediction [20,21].
The iteration formula of ensemble Kalman filter algorithm is given as follows
(1) State prediction:
X k + 1 f i = f ( X k a i , U k ) + W k i
X ¯ k + 1 f = 1 N i = 1 N X k + 1 f i
E X , k + 1 f = ( X k + 1 f 1 X ¯ k + 1 f X k + 1 f N X ¯ k + 1 f )
E Z , k + 1 f = ( Z k + 1 f 1 Z ¯ k + 1 f Z k + 1 f N Z ¯ k + 1 f )
P X Z , k + 1 f = P k + 1 f H k + 1 T = 1 N 1 E X , k + 1 f ( E Z , k + 1 f ) T
P Z Z , k + 1 f = H k + 1 P k + 1 f H k + 1 T = 1 N 1 E Z , k + 1 f ( E Z , k + 1 f ) T
(2) State update:
K k + 1 = P X Z , k + 1 f ( P Z Z , k + 1 f ) 1
X k + 1 a i = X k + 1 f i + K k + 1 ( Z k + 1 f i h ( X k + 1 f i ) )
X ¯ k + 1 a = 1 N i = 1 N X k + 1 a i
where X k + 1 f i and Z k + 1 f i are the i elements of prediction state set and measurement state set, respectively; X k a i are the i elements of analysis state set, X ¯ k + 1 f , X ¯ k + 1 a and Z ¯ k + 1 f are the average values of predicted state set, analyzed state set and measured state set at k + 1 time instant, respectively, E X , k + 1 f and E Z , k + 1 f are the deviation matrices of elements and average values in predicted state set and measured state set, respectively, P X Z , k + 1 f is the covariance of predictive state error and observation state error at k + 1 time, P Z Z , k + 1 f is the covariance of observation state error at k + 1 time.
The EnKF algorithm not only overcomes the problem that Kalman filter is limited to linear systems, but also avoids the problem of large amount of computing resources when calculating prediction error covariance. Tangent linear model and adjoint model are no longer needed. The method also gives the optimal value of the estimated result and the confidence interval of the estimated value at the same time.
The EnKF is a sub-optimal estimation method which uses the ensemble to describe the traditional Kalman filter algorithm. A prediction set estimation is used to calculate the state prediction error covariance matrix of the Kalman gain matrix. If each element of the set is updated with the same observation value and the same gain, the set will systematically underestimate the state update error covariance matrix. It even can lead to subsequent analysis degradation and filtering divergence. This problem can be alleviated by adding random perturbations to the measurements with correct statistical data. However, the introduction of random perturbation will inevitably increase the additional error of sampling error related to measurement error covariance. This additional error will reduce the covariance accuracy of the observation state error as well as the estimation accuracy.

3.2. Ensemble Square Root Kalman Filter

In EnSRF, the calculation of the analytic state variables is divided into two parts [22], one is the update of the mean value of the analytic state set, the other is the update of the mean deviation of the analytic state set sample
X ¯ a = X ¯ f + K ( Z ¯ H X ¯ f )
X a = X f + K ˜ ( Z H X f )
where X ¯ a represents the mean of analysis state set, X a indicates the mean deviation of analysis state set samples, X ¯ f denotes the mean deviation of prediction state set, X f is the mean deviation of prediction state set samples, Z ¯ is the observation value obtained by PMU, Z is the random observation deviation obeying the probability distribution of observation error, K is the gain of traditional Kalman filter, K ˜ is the mean deviation gain of the update set.
In EnKF, when all sets of samples are updated with the same observation value and the same gain [23], i.e., Z = 0 and K ˜ = K , the covariance of the analysis state set can be expressed as (25). In the traditional Kalman filter, the covariance expression of state analysis error is shown in (26). As can be seen from (25) and (26), the value of P a in EnKF lacks the term K R K T , so EnKF has the problem of systematic underestimation
P a = ( I K H ) P f ( I K H ) T
P a = ( I K H ) P f ( I K H ) T + K R K T = ( I K H ) P f
EnSRF eliminates the problem of systematic underestimation of EnKF without disturbing the observed values [22,23,24]. In EnSRF, (24) can be reformulated as
X a = X f K ˜ H X f = ( I K ˜ H ) X f
K ˜ is substituted for (25) and the analysis error covariance of the set K ˜ needs to satisfy (26). Furthermore, if K ˜ = α K and α is a constant, one can further derive
( I K ˜ H ) P f ( I K ˜ H ) T = ( I K ˜ H ) P f
H P f H T H P f H T + R K ˜ K ˜ T K K ˜ T K ˜ K T + K K T = 0
H P f H T H P f H T + R α 2 2 α + 1 = 0
α = ( 1 + R H P f H T + R ) 1
The traditional Kalman filtering algorithm is a linear unbiased minimum variance estimation algorithm under standard conditions. Kalman filter can obtain better estimation results when the dynamic system model and noise statistics are known. However, in the practical application, it is difficult to obtain accurate system model as well as accurate noise statistical characteristics, which will affect the accuracy of Kalman filter estimation results.

3.3. Sage–Husa Algorithm

In 1969, Sage and Husa presented an improved noise filtering algorithm. The algorithm can compute both matrices of process noise variance Q and measurement noise variance R [25,26] online and in real time when the system noise mean and covariance are unknown. Comparing with the adaptive filtering algorithm based on maximum likelihood criterion, this algorithm adds a forgetting factor, which strengthens the influence of newer observations on filtering and weakens the influence of older observations on the results. This algorithm effectively reduces the influence of model error on filtering, restrains filter divergence, and improves estimation accuracy [27].
The steps of Sage–Husa algorithm are given as:
(1) Filtering equation:
X ^ k + 1 | k = F k X ^ k | k + q ^ k
P k + 1 | k = F k P k | k F k T + Q ^ k
K k + 1 = P k + 1 | k H k + 1 T ( H k + 1 P k + 1 | k H k + 1 T + R ^ k + 1 ) 1
e k + 1 = Z k + 1 H k + 1 X ^ k + 1 | k r ^ k + 1
X ^ k + 1 | k + 1 = X ^ k + 1 | k + K k + 1 e k + 1
P k + 1 | k + 1 = ( I K k + 1 H k + 1 ) P k + 1 | k
(2) Time-varying noise estimator:
r ^ k + 1 = ( 1 d k + 1 ) r ^ k + d k + 1 ( Z k + 1 H k + 1 X ^ k + 1 | k )
R ^ k + 1 = ( 1 d k + 1 ) R ^ k + d k + 1 ( e k + 1 e k + 1 T H k + 1 P k + 1 | k H k + 1 T )
q ^ k + 1 = ( 1 d k + 1 ) q ^ k + d k + 1 ( X ^ k + 1 | k + 1 F k + 1 X ^ k | k )
Q ^ k + 1 = ( 1 d k + 1 ) Q ^ k + d k + 1 ( K k + 1 e k + 1 e k + 1 T K k + 1 T + P k + 1 | k + 1   F k + 1 P k + 1 | k + 1 F k + 1 T )
where q ^ k + 1 represents the mean of process noise at k + 1 ; r ^ k + 1 is the mean of k + 1 , e k + 1 is the residual at time instant k + 1 ; d k + 1 = ( 1 b ) / ( 1 b k + 2 ) , b is the forgetting factor and 0 < b < 1 .
Generally, Sage–Husa algorithm can simultaneously estimate process noise Q ^ k + 1 and measurement noise R ^ k + 1 . In fact, the algorithm cannot estimate both Q ^ k + 1 and R ^ k + 1 at the same time. It can be seen from (37) and (39) that the calculation of Q ^ k + 1 and R ^ k + 1 depends on e k + 1 . The change of e k + 1 will affect the calculation of Q ^ k + 1 and R ^ k + 1 at the same time, which cannot guarantee the accuracy of the estimation results. In addition, there are minus signs in the calculation of Q ^ k + 1 and R ^ k + 1 , which may affect the semi-positive and positive definiteness of Q ^ k + 1 and R ^ k + 1 , leading to filter divergence.
In the electromechanical transient process of generator, the influence of measurement noise R ^ k + 1 on the estimation is more important. Generally speaking, process noise Q is a constant. Assuming that both process noise as well as measurement noise are Gauss, white noise with mean value equals to zero, i.e., r = 0 and q = 0 .
Sage–Husa algorithm can be simplified as follows.
(1) Filtering equation:
X ^ k + 1 | k = F k X ^ k | k
P k + 1 | k = F k P k | k F k T + Q
K k + 1 = P k + 1 | k H k + 1 T ( H k + 1 P k + 1 | k H k + 1 T + R ^ k + 1 ) 1
e k + 1 = Z k + 1 H k + 1 X ^ k + 1 | k
X ^ k + 1 | k + 1 = X ^ k + 1 | k + K k + 1 e k + 1
P k + 1 | k + 1 = ( I K k + 1 H k + 1 ) P k + 1 | k
(2) Measurement noise estimator:
R ^ k + 1 = ( 1 d k + 1 ) R ^ k + d k + 1 ( e k + 1 e k + 1 T H k + 1 P k + 1 | k H k + 1 T )
In order to ensure the positive covariance of measurement noise, (47) is replaced by (48). It can be seen from the formula that a certain filtering-precision is sacrificed to ensure the stability of the filter.
R ^ k + 1 = ( 1 d k + 1 ) R ^ k + d k + 1 ( e k + 1 e k + 1 T )

3.4. Adaptive Ensemble Square Root Kalman Filter

The proposed AEnSRF combines ensemble root mean square Kalman filter with Sage–Husa algorithm. Comparing with ensemble Kalman filter, the proposed AEnSRF not only has a higher filtering-precision but also can be effectively corrected while measurement noise deviates, so as to suppress filter divergence and improve estimation accuracy.
The specific steps are as follows:
(1)
Initialization: The initial value ω 0 of generator rotor angular velocity is 1. The initial value δ of generator power angle, electromagnetic power P e and mechanical power P m is its steady-state operation value.
(2)
The initial value of the state set with the number of set elements is generated by Monte Carlo method, and the initial estimation error covariance matrix is taken as the unit matrix.
X 0 = [ x 11 x 12 x 13 x 1 N x 21 x 22 x 23 x 2 N x 31 x n 1 x 32 x n 2 x 33 x n 3 x 3 N x n N ]
(3)
State prediction:
X k + 1 f i = f ( X k a i , U k ) + W k i
X ¯ k + 1 f = 1 N i = 1 N X k + 1 f i
E X , k + 1 f = ( X k + 1 f 1 X ¯ k + 1 f X k + 1 f N X ¯ k + 1 f )
E Z , k + 1 f = ( Z k + 1 f 1 Z ¯ k + 1 f Z k + 1 f N Z ¯ k + 1 f )
P X Z , k + 1 f = P k + 1 f H k + 1 T = 1 N 1 E X , k + 1 f ( E Z , k + 1 f ) T
P Z Z , k + 1 f = H k + 1 P k + 1 f H k + 1 T = 1 N 1 E Z , k + 1 f ( E Z , k + 1 f ) T
(4)
Calculating Kalman gain:
K k + 1 = P X Z , k + 1 f ( P Z Z , k + 1 f ) 1
(5)
Calculate the measurement noise covariance:
e k + 1 = Z k + 1 Z ¯ k + 1 f
d k + 1 = ( 1 b ) / ( 1 b k + 2 )
R ^ k + 1 = ( 1 d k + 1 ) R ^ k + d k + 1 ( e k + 1 e k + 1 T )
(6)
Calculate the mean deviation gain of the updated set:
α = [ 1 + R ^ k + 1 ( P Z Z , k + 1 f ) 1 ] 1
K ˜ k + 1 = α K k + 1
(7)
State update:
X ¯ k + 1 a = X ¯ k + 1 f + K k + 1 e k + 1
X k + 1 a i = X k + 1 f i K ˜ k + 1 h ( X k + 1 f i )
X ¯ k + 1 a = 1 N i = 1 N X k + 1 a i
X k + 1 a = X ¯ k + 1 a + X ¯ k + 1 a
For convenience, the proposed AEnSRF method’s implementation flow chart is presented in Figure 1.

4. Case Study

4.1. Basic Test Analysis

The IEEE-9 bus system is firstly taken as the test system in this paper. The single-line diagram of it is given in Figure 2. The classical second-order model of generator considering governor is adopted in simulation. The inertia time constants of G1, G2, and G3 are respectively 47.28, 12.8, 6.02 s; and the damping coefficient is set to 2. The initial values of generator state variables and control variables are set to the values of the system’s stable operation before fault occurred. Suppose that in the IEEE 9 bus system, three-phase short-circuit fault occurs at the beginning of branch 4–8 at 0.8 s. After 0.36 s, the switch on both sides of branch jumps off and the fault is removed. The whole simulation time is 6 s.
The real values of power angle and angular velocity of generator are obtained by Bonneville Power Administration (BPA) simulation software, and the measured values are obtained by adding the real values to the random noise where its mean value obeys normal distribution with zero standard deviation. In this paper, the DSE algorithm is implemented in Matlab. The initial values of the estimated generator state variables are set to stable operation value, and the initial state error covariance matrix is set to unit matrix.
In order to further compare the difference of filtering results of each algorithm, the root mean square error (RMSE) is used
R M S E = 1 n k = 1 n ( X ^ k | k X k ) 2
where n is the sampling period.
The process noise variance matrix and the measurement noise variance matrix of the generator are selected as the corresponding values in [10,11]. Figure 3 is a comparison of the filtering results of G1 by utilizing the EnKF and EnSRF algorithms under normal noise. Table 1 gives the RMSE results of EnKF and EnSRF algorithms.
As it might be noted from Figure 3 and Table 1, EnKF and AEnSRF both show good filtering effect without deviation of measurement noise. Because the observation value in AEnSRF does not introduce disturbance, the problem of underestimation in EnKF filtering is avoided. The filtering-precision of AEnSRF is improved comparing with EnKF.
Figure 4 is a sketch of the noise estimator tracking the measured noise in AEnSRF without deviation from the measured noise.
From the simulation, we can see that in the process of tracking power angle measurement noise by AEnSRF, the standard deviation of 0.14 s is stable at 1.9 degrees, and the angular velocity is too small (almost 0). Combining with Figure 4, it can be remarked that AEnSRF can track the measured noise more accurately.

4.2. Noise Measurement and Analysis on the IEEE 9-Bus System

In this subsection, G2 is taken as an example to test the estimation effect of AEnSRF on generator state as well as the tracking of measurement noise when it is biased. Assuming that the actual value of the standard deviation of power angle measurement noise is 3 degrees, the value is set as 2 degrees in the filtering program to detect the tracking effect of AEnSRF on power angle measurement noise.
Figure 5 depicts the comparison results of G2 by utilizing EnKF and AEnSRF algorithms, respectively. It can be obviously noted from Figure 5 that both of them can show good estimation results under the consideration of measurement noise deviation condition.
The simulation results of G2 show that under AEnSRF algorithm, the RMSE of power angle estimation is 0.0516, the RMSE of electric angular velocity estimation is 0.0011. Under EnKF algorithm, the RMSE of power angle estimation is 0.0536 and the RMSE of electric angular velocity estimation is 0.0012. By comparing both algorithms, AEnSRF has higher filtering-precision.
Figure 6 is the simulation diagram of AEnSRF tracking curve for measurement noise when there is a deviation in measurement noise. As it can be noticed from this figure, when the power angle measurement noise is biased, the Sage–Husa noise estimator with on-line real-time estimation noise is introduced by AEnSRF, which makes the estimated standard deviation of power angle measurement noise stabilize around 3 degrees at about 1.1 s.

4.3. Noise Measurement and Analysis on a Real Power System

For further verification of the proposed algorithm’s effectiveness, simulation tests are also carried out on a real power grid system. One generator outgoing circuit has a short-circuit fault, and the generator parameters are based on the actual data. The initial value of the state variable is the steady value, and the initial error covariance matrix is the unit matrix. Assuming that the actual value of the standard deviation of power angle measurement noise is 2.5 degrees, the value is set to 2 degrees in the filtering program.
Comparing EnKF with the proposed method, Figure 7 and Figure 8 show the simulation results of DSE of generator in the presence of measurement noise deviation. The simulation results of G2 illustrate that under the AEnSRF, the RMSE of power angle estimation is 0.0435, the RMSE of electric angular velocity estimation is 0.0010. Under the EnKF, the RMSE of power angle estimation is 0.0438 and the RMSE of electric angular velocity estimation is 0.0013.
Comparing with EnKF, AEnSRF has higher filtering-precision. In AEnSRF, the noise estimator tracks the power angle measurement noise at 0.3 s and stabilizes at about 2.5 degrees. This shows that AEnSRF has a good tracking effect on measurement noise.

5. Conclusions

In this paper, a novel DSE method was proposed based on the EnSRF; a simplified Sage–Husa adaptive Kalman filter with relatively simple principle and good practicability was introduced. In the proposed AEnSRF method, set members were utilized to approximate the posterior distribution of the real state without random disturbance to the measured values. Comparing with EnKF, AEnSRF could enhance the accuracy of filtering. At the same time, Sage–Husa noise estimator was added between the prediction and correction steps to estimate the measurement noise online and in real time, which effectively avoided the problem that the filtering-precision was reduced or even divergent due to the deviation of the measurement noise.

Author Contributions

D.N. created models, developed methodology, wrote the initial draft, and designed computer programs; W.W. supervised and was responsible for leading the research activity planning and presented critical review; K.W. conducted research and investigation process and edited the initial draft. D.N., W.W., R.J.M., H.H.A., and P.S. reviewed the manuscript and synthesized study data. All authors read and approved the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China under Grant 51667020.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, Y.; Sun, Y.; Dinavahi, V.; Wang, K.; Nan, D. Robust dynamic state estimation of power system with model uncertainties based on adaptive unscented H infinity filter. IET Gener. Transm. Distrib. 2019, 13, 2455–2463. [Google Scholar] [CrossRef]
  2. De La Ree, J.; Centeno, V.; Thorp, J.S.; Phadke, A.G. Synchronized phasor measurement applications in power systems. IEEE Trans. Smart Grid 2010, 1, 20–27. [Google Scholar] [CrossRef]
  3. Wang, Y.; Sun, Y.; Dinavahi, V. Robust forecasting-aided state estimation for power system against uncertainties. IEEE Trans. Power Syst. 2019. [Google Scholar] [CrossRef]
  4. Singh, H.; Alvarado, L.; Liu, W. Constrained LAV state estimation using penalty functions. IEEE Trans. Power Syst. 2002, 12, 383–388. [Google Scholar] [CrossRef]
  5. Mili, L.; Cheniae, M.; Rousseeuw, P. Robust state estimation of electric power systems. IEEE Trans. Circuits Syst. I Fundam. Theory Appl. 2002, 41, 349–358. [Google Scholar] [CrossRef]
  6. Ghahremani, E.; Kamwa, I. Dynamic state estimation in power system by applying the extended Kalman filter with unknown inputs to phasor measurements. IEEE Trans. Power Syst. 2011, 26, 2556–2566. [Google Scholar] [CrossRef]
  7. Wang, S.; Gao, W.; Meliopoulos, A. An alternative method for power system dynamic state estimation based on unscented transform. IEEE Trans. Power Syst. 2012, 27, 942–950. [Google Scholar] [CrossRef]
  8. Qi, J.; Sun, K.; Wang, J.; Liu, H. Dynamic state estimation for multi-machine power system by unscented Kalman filter with enhanced numerical stability. IEEE Trans. Smart Grid 2018, 9, 1184–1196. [Google Scholar] [CrossRef]
  9. Arasaratnam, I.; Haykin, S. Cubature Kalman filters. IEEE Trans. Autom. Control 2009, 54, 1251–1269. [Google Scholar] [CrossRef]
  10. Arasaratnam, I.; Haykin, S. Cubature Kalman filtering for continuous-discrete systems: Theory and simulations. IEEE Trans. Signal Process. 2010, 58, 4977–4993. [Google Scholar] [CrossRef]
  11. Li, Y.; Li, J.; Qi, J.; Chen, L. Robust cubature Kalman filter for dynamic state estimation of synchronous machines under unknown measurement noise statistics. IEEE Access 2019, 7, 29139–29148. [Google Scholar] [CrossRef]
  12. Ai, M.; Sun, Y.; Lv, X. Dynamic state estimation for synchronous machines based on interpolation H∞ extended Kalman filter. In Proceedings of the IEEE 33rd Youth Academic Annual Conference of Chinese Association of Automation (YAC), Nanjing, China, 18–20 May 2018. [Google Scholar]
  13. Esmaeil, G.; Innocent, K. Online state estimation of a synchronous generator using unscented Kalman filter from phasor measurements units. IEEE Trans. Energy Convers. 2011, 26, 1099–1108. [Google Scholar]
  14. Gopinath, G.; Shyama, P. Sensorless control of permanent magnet synchronous motor using square-root cubature Kalman filter. In Proceedings of the IEEE 8th International Power Electronics and Motion Control Conference (IPEMC-ECCE Asia), Hefei, China, 22–26 May 2016. [Google Scholar]
  15. Evensen, G. Sequential data assimilation with a nonlinear quasi-geostrophic model using Monte Carlo methods to forecast error statistics. J. Geophys. Res. Ocean. 1994, 106, 10143–10162. [Google Scholar] [CrossRef]
  16. Huang, R.; Diao, R.; Li, Y.; Sanchez-Gasca, J.; Huang, Z.; Thomas, B.; Etingov, P.; Kincic, S.; Wang, S.; Fan, R.; et al. Calibrating parameters of power system stability models using advanced ensemble Kalman filter. IEEE Trans. Power Syst. 2018, 33, 2895–2905. [Google Scholar] [CrossRef]
  17. Lee, W.; Gim, J.; Chen, M.; Wang, S.; Li, R. Development of a real-time power system dynamic performance monitoring system. IEEE Trans. Ind. Appl. 1997, 33, 1055–1060. [Google Scholar]
  18. Gillijns, S.; Mendoza, O.B.; Chandrasekar, J.; De Moor, B.L.R.; Bernstein, D.S.; Ridley, A. What is the ensemble Kalman filter and how well does it work? In Proceedings of the IEEE American Control Conference, Minneapolis, MN, USA, 14–16 June 2006. [Google Scholar]
  19. Kotecha, J.; Djuric, P. Gaussian particle filtering. IEEE Trans. Signal Process. 2003, 51, 2592–2601. [Google Scholar] [CrossRef]
  20. Fan, R.; Huang, R.; Diao, R. Gaussian mixture model-based ensemble Kalman filter for machine parameter calibration. IEEE Trans. Energy Convers. 2018, 33, 1597–1599. [Google Scholar] [CrossRef]
  21. Fan, R.; Liu, Y.; Huang, R.; Diao, R.; Wang, S. Precise fault location on transmission lines using ensemble Kalman filter. IEEE Trans. Power Del. 2018, 33, 3252–3255. [Google Scholar] [CrossRef]
  22. Burgers, G.; Peter, J.; Evensen, G. Analysis scheme in the ensemble Kalman filter. Mon. Weather Rev. 1998, 126, 1719–1724. [Google Scholar] [CrossRef]
  23. Whitaker, J.S.; Hamill, T.M. Ensemble data assimilation without perturbed observations. Mon. Weather Rev. 2003, 130, 1913–1924. [Google Scholar] [CrossRef]
  24. Tippett, M.K.; Anderson, J.L.; Bishop, C.H.; Hamill, T.M.; Whitaker, J.S. Ensemble square root filters. Mon. Weather Rev. 2003, 131, 1485–1490. [Google Scholar] [CrossRef]
  25. Zhu, Z.; Liu, S.; Zhang, B. An improved Sage-Husa adaptive filtering algorithm. In Proceedings of the IEEE 31st Chinese Control Conference, Hefei, China, 25–27 July 2012. [Google Scholar]
  26. Wang., Y.; Sun, Y.; Dinavahi, V.; Cao, S.; Hou, D. Adaptive robust cubature Kalman filter for power system dynamic state estimation against outliers. IEEE Access 2019, 7, 105872–105881. [Google Scholar] [CrossRef]
  27. Deng, F.; Chen, J.; Chen, C. Adaptive unscented Kalman filter for parameter and state estimation of nonlinear high-speed objects. J. Syst. Eng. Electron. 2013, 24, 655–665. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The flowchart of adaptive ensemble square root Kalman filter (AEnSRF) algorithm.
Figure 1. The flowchart of adaptive ensemble square root Kalman filter (AEnSRF) algorithm.
Applsci 09 05200 g001
Figure 2. The single-line diagram of IEEE-9 bus test system.
Figure 2. The single-line diagram of IEEE-9 bus test system.
Applsci 09 05200 g002
Figure 3. Comparison of G1 state filtering results under ensemble Kalman filter (EnKF) and AEnSRF: (a) Power angle dynamic estimation curve of G1; (b) electric angular velocity dynamic estimation curve of G1.
Figure 3. Comparison of G1 state filtering results under ensemble Kalman filter (EnKF) and AEnSRF: (a) Power angle dynamic estimation curve of G1; (b) electric angular velocity dynamic estimation curve of G1.
Applsci 09 05200 g003aApplsci 09 05200 g003b
Figure 4. Measurement noise tracking curve of G1 under AEnSRF: (a) Power angle measurement noise tracking curve of G1; (b) angular velocity measurement noise tracking curve of G1.
Figure 4. Measurement noise tracking curve of G1 under AEnSRF: (a) Power angle measurement noise tracking curve of G1; (b) angular velocity measurement noise tracking curve of G1.
Applsci 09 05200 g004
Figure 5. Comparisons of G2 state filtering results between EnKF and AEnSRF in the presence of measurement noise deviation: (a) Power angle dynamic estimation curve of G2; (b) electric angular velocity dynamic estimation curve of G2.
Figure 5. Comparisons of G2 state filtering results between EnKF and AEnSRF in the presence of measurement noise deviation: (a) Power angle dynamic estimation curve of G2; (b) electric angular velocity dynamic estimation curve of G2.
Applsci 09 05200 g005
Figure 6. Tracking curve of G2 measurement noise by AEnSRF in the case of measurement noise deviation: (a) Power angle measurement noise tracking curve of G2; (b) angular velocity measurement noise tracking curve of G2.
Figure 6. Tracking curve of G2 measurement noise by AEnSRF in the case of measurement noise deviation: (a) Power angle measurement noise tracking curve of G2; (b) angular velocity measurement noise tracking curve of G2.
Applsci 09 05200 g006
Figure 7. Contrast chart of EnKF and AEnSRF for generator state filtering with deviation of measurement noise: (a) Power angle dynamic estimation curve of generator; (b) dynamic angular velocity estimation curve of generator.
Figure 7. Contrast chart of EnKF and AEnSRF for generator state filtering with deviation of measurement noise: (a) Power angle dynamic estimation curve of generator; (b) dynamic angular velocity estimation curve of generator.
Applsci 09 05200 g007
Figure 8. Tracking curve of AEnSRF for generator measurement noise with deviation of measurement noise: (a) Power angle measurement noise tracking curve of generator; (b) angular velocity measurement noise tracking curve of generator.
Figure 8. Tracking curve of AEnSRF for generator measurement noise with deviation of measurement noise: (a) Power angle measurement noise tracking curve of generator; (b) angular velocity measurement noise tracking curve of generator.
Applsci 09 05200 g008aApplsci 09 05200 g008b
Table 1. The RMSE results of EnKF and EnSRF.
Table 1. The RMSE results of EnKF and EnSRF.
Generator NumberAlgorithm δ /rad ω /pu
G1EnKF0.03459.7396 × 10 4
AEnSRF0.03299.1950 × 10 4
G2EnKF0.034610.000 × 10 4
AEnSRF0.03309.6680 × 10 4
G3EnKF0.035411.000 × 10 4
AEnSRF0.034410.000 × 10 4

Share and Cite

MDPI and ACS Style

Nan, D.; Wang, W.; Wang, K.; Mahfoud, R.J.; Haes Alhelou, H.; Siano, P. Dynamic State Estimation for Synchronous Machines Based on Adaptive Ensemble Square Root Kalman Filter. Appl. Sci. 2019, 9, 5200. https://doi.org/10.3390/app9235200

AMA Style

Nan D, Wang W, Wang K, Mahfoud RJ, Haes Alhelou H, Siano P. Dynamic State Estimation for Synchronous Machines Based on Adaptive Ensemble Square Root Kalman Filter. Applied Sciences. 2019; 9(23):5200. https://doi.org/10.3390/app9235200

Chicago/Turabian Style

Nan, Dongliang, Weiqing Wang, Kaike Wang, Rabea Jamil Mahfoud, Hassan Haes Alhelou, and Pierluigi Siano. 2019. "Dynamic State Estimation for Synchronous Machines Based on Adaptive Ensemble Square Root Kalman Filter" Applied Sciences 9, no. 23: 5200. https://doi.org/10.3390/app9235200

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

Article Metrics

Back to TopTop