Next Article in Journal
An Efficient Parameter Estimation Algorithm for Proton Exchange Membrane Fuel Cells
Next Article in Special Issue
Power Scheduling Scheme for DSM in Smart Homes with Photovoltaic and Energy Storage
Previous Article in Journal
Coopetitive Platform: Common Benefits in Electricity and Gas Distribution
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Robust Algorithm for Real-Time Phasor and Frequency Estimation under Diverse System Conditions

1
Depsys SA, Route du Verney 20B, 1070 Puidoux, Switzerland
2
School of Electrical, Computer and Energy Engineering, Arizona State University, Tempe, AZ 85281, USA
*
Author to whom correspondence should be addressed.
Energies 2021, 14(21), 7112; https://doi.org/10.3390/en14217112
Submission received: 3 September 2021 / Revised: 11 October 2021 / Accepted: 15 October 2021 / Published: 1 November 2021
(This article belongs to the Special Issue Optimization and Energy Management in Smart Grids)

Abstract

:
This paper presents a comprehensive approach for performing phasor and frequency estimation from voltage and/or current signals of the modern power system. Undesirable components, such as decaying DC, if present in the input signal, are first attenuated using a complex-gain filter. The initial estimates of phasor and frequency are obtained next using the discrete Fourier transform and an improved estimation of signal parameters via rotational invariance technique, respectively. Finally, the accuracy of phasor and frequency estimates are increased based on the identified system condition. Simulations performed to evaluate the proposed approach confirm that it can do fast and accurate estimation of phasor and frequency under diverse operating conditions, making it ideal for wide-area monitoring, protection, and control applications in power systems.

1. Introduction and Background

Optimal energy management in smart grids requires an enhanced visualization of its system parameters, e.g., voltage/current phasors and frequency. This heightened visualization is usually provided by devices capable of producing time-synchronized measurements, such as phasor measurement units (PMUs) in the transmission system and micro-PMUs in the distribution system. To ensure the relevance of the measurements obtained from these devices for monitoring, protection, and control applications, it is necessary that the estimation algorithms used in them are accurate, robust against stray components, computationally efficient, and have low response time [1,2]. Hence, digital signal processing techniques such as discrete Fourier transform (DFT) [3,4,5,6,7,8,9,10,11], least squares (LS) [12,13,14,15], maximum likelihood [16], space vector transform [17], artificial neural networks [18], Hilbert transform [19], Stockwell transform [20], matrix pencil method [21], Kalman filters [22,23], subspace-based methods [24,25], and filter-based methods [26,27] have been proposed recently to estimate phasor and/or frequency under different operating conditions. However, many of the techniques mentioned above suffer from long response time during switching transients [9,13,20], high computational complexity [7,21,24], susceptibility to grid disturbances [12,18,22] and noise [19], lengthy observation window [7,10,11,25,26,27], and performance degradation due to: (i) off-nominal frequency condition [4,5,6,9,12,14,18], and (ii) presence of undesirable components in the input signals, such as decaying DC (DDC) [3,8,15,16,17,23,25]. Thus, there is a genuine need to create robust, real-time phasor and frequency algorithms for synchrophasors as it will ensure a more effective management of the smart grid.
The proposed research satisfies this need and goes beyond the state-of-the-art in the following ways. First, stray components (such as DDC), if present in the input signal, are removed/attenuated by a filter that is designed based on the concept of complex frequencies. The initial values of phasor and frequency are then estimated in parallel from the filtered signal using DFT and an improved version of estimation of signal parameters via rotational invariance technique (ESPRIT) [28], called iESPRIT that significantly reduces the computational burden. Finally, the initial estimates of phasor and frequency are updated based on the identified system condition (normal/abnormal). Performance evaluation of the proposed approach using different test signals indicates that it makes the following salient contributions:
  • It efficiently suppresses undesirable components present in the input signal, and can therefore be applied to both voltage and current signals.
  • It provides fast, accurate, and robust phasor and frequency estimates under diverse operating conditions (faults, frequency ramps, power swings, harmonics).
  • It detects abnormal system conditions quickly (in less than one-cycle).
  • It satisfies the requirements of relevant IEEE and IEC Standards (this paper focuses on P-class PMUs which have more stringent speed requirements) [29,30].

2. Proposed Filter for DDC Rejection

Considering the most general setting, let the input signal be described by
x ( t ) = A 0 + k = 1 K A k cos ( ω k t + θ k ) + D 0 e t / τ
where A 0 denotes a DC offset; K denotes the total number of sinusoidal components; A k and θ k denote the magnitude and phase angle of the k-th sinusoid. The angular frequency of the k-th sinusoid is denoted by ω k and is equal to 2 π f k , where f k is the frequency of the k-th sinusoid; the nominal frequency and angular frequency are denoted by f n o m and ω n o m , respectively. D 0 and τ are the magnitude and time constant of the DDC component and are called DDC parameters. The above signal can be written in discretized form as
x [ n ] = A 0 + k = 1 K A k cos ( ω k n Δ t + θ k ) + D 0 E n
in which Δ t is the sampling interval and is equal to 1 / f s (where f s is the sampling frequency), n denotes the sample number, and E = Δ e Δ t / τ , called the damping factor, depends on the DDC time constant [4]. It is difficult to predetermine the DDC parameters as they depend on fault characteristics, such as, fault inception time/angle, fault location, and fault resistance [4,5,6,31]. However, their presence (usually in the current signals) can cause up to 15% error in the estimated phasor [31]. This can result in a maximum overreach of 115% if the first zone of a distance relay is set at 100% of the line impedance. Thus, DDC suppression is important for safe and reliable operation of the smart grid.
The goals of the proposed filter design are: (i) removing/attenuating the DDC for different values of its time constant, (ii) preventing variation in parameters of the fundamental component during the removal process, and (iii) attaining fast response time (or equivalently low-order characteristic). The frequencies present in (1) are shown in Figure 1, where the frequencies of the DC offset, DDC, and sinusoidal components are located at the origin, negative side of the real axis, and imaginary axis of the s-plane, respectively. The DDC time constant ( τ ) varies due to fault characteristics (such as fault impedance and fault location) between 0.5 and 5 cycles [31,32]; hence, a corresponding lower bound ( τ l ) and upper bound ( τ u ) are specified. Since the DDC frequency is equal to 1 / τ in the s-plane, the zeros of the proposed filter should lie between [ 1 / τ l , 1 / τ u ] , which is called DDC frequency band (see Figure 1), to filter out the DDC. However, the filter’s zeros will cause phase shifting of the fundamental component. To compensate for this phase-shift, filter’s poles can be added (as was done in [6]). However, doing so will result in: (i) neutralization of the effect of DDC attenuation by the filter’s zeros, (ii) additional error in phasor estimation due to the vicinity of the added poles to the fundamental frequency, and (iii) oscillatory behavior in the estimated magnitude and phase angle. To solve this problem, in this paper, we propose the design of a complex gain filter. The transfer function of the proposed filter is given by
G ( s ) = K F m = 1 R s z m
where the total number of zeros (or equivalently the filter order) is denoted by R which plays a key role in the response time of the proposed filter. The filter gain is expressed by K F which is complex (i.e., K F = Δ | K F | e j γ F ). z m s are inserted in the DDC frequency band with the aim of reaching minimum multiplication of their distance to any frequency in this band. This can be formulated as the following optimization problem:
min z m m = 1 R | x z m | 2 x 1 / τ l , 1 / τ u subject to : 1 / τ l < z m < 1 / τ u m { 1 , , R }
Note that this optimization problem ensures that the proposed filter suppresses DDC components regardless of their time-constant values, without any re-tuning.
Next, to compensate for the phase shift due to the added zeros, the phase-angle of the filter gain γ F is adjusted as follows (see Figure 1):
γ F + m = 1 R δ m = 0
Finally, the magnitude of the filter gain | K F | is determined with the aim of reaching unit total filter gain at nominal frequency f n o m . This is given by
| G ( ω n o m = 2 π f n o m ) | = 1
Since the proposed filter is designed for ω n o m , its performance may deteriorate at off-nominal frequencies. Under such circumstances, the filter’s parameters can be readjusted as described in Section 6.2. As the number of filter’s zeros increases, the filter can suppress DDC components more effectively, at the cost of increased response time. This trade-off between the proposed-filter’s capacity for DDC attenuation and its response time is investigated in Section 7.1.

3. Phasor Estimation at Off-Nominal Frequencies

DFT is one of the most widely used techniques for phasor estimation due to its simplicity in implementation, low computational burden, harmonic filtering, and noise alleviation [1]. By applying DFT on the filtered signal, denoted by subscript f, we get
X ^ ´ 1 = 2 N n = r r + N 1 x f [ n ] e j 2 π N n = 2 N n = r r + N 1 x f [ n ] e j n ω n o m Δ t
where r is the number of the first sample in the data string, N denotes the number of samples per cycle, and X ^ ´ 1 refers to estimated fundamental phasor at nominal frequency. Note that the DC offset and harmonic components, present in (2), are filtered out by the DFT, while the DDC has already been attenuated by the proposed filter (see Section 2). However, when the frequency deviates from its nominal value f n o m , the phasor estimated using DFT can be erroneous. This requires additional correction, as illustrated below.
Consider an off-nominal frequency condition in which the angular frequency is different from its nominal value ω n o m ; i.e., let the actual angular frequency be ω 1 . The DFT of the filtered input signal in this situation can be written as
X ^ 1 = 2 N n = r r + N 1 x f [ n ] e j n ω 1 Δ t
where X ^ 1 is the estimated phasor by DFT at actual frequency ω 1 . After performing trigonometric simplifications on (7) and (8), we get
X ^ ´ 1 = P X ^ 1 e j r ( ω 1 ω n o m ) Δ t + Q X ^ 1 * e j r ( ω 1 + ω n o m ) Δ t
P = Δ sin N ( ω 1 ω n o m ) Δ t 2 N sin ( ω 1 ω n o m ) Δ t 2 e j ( N 1 ) ( ω 1 ω n o m ) Δ t 2
Q = Δ sin N ( ω 1 + ω n o m ) Δ t 2 N sin ( ω 1 + ω n o m ) Δ t 2 e j ( N 1 ) ( ω 1 + ω n o m ) Δ t 2
where P and Q are correction coefficients that are independent of ‘r’ and dependent on N and frequency deviation Δ f . Variations of P and Q for different values of N and Δ f are shown in Table A1 and Table A2 in Appendix A.1. In a typical power system, the variations in the frequency rarely exceed 0.5 Hz in either direction from its nominal value [33]. As shown in Table A1 and Appendix A.1, Q is negligibly small in comparison to P in the range of 0.5 Hz and + 0.5 Hz. The impact of Q on the accuracy of the estimated phasor by the proposed algorithm is investigated in more detail in Appendix A.2. From the conducted investigation, it is realized that the impact of Q on the accuracy of the estimated phasor by the proposed algorithm is small (in comparison to the total vector error (TVE) limit of 1% [29,30]). Consequently, (9) is simplified and rewritten as follows:
X ^ ´ 1 P e j r ( ω 1 ω n o m ) Δ t P ´ X ^ 1 = P ´ X ^ 1
Since P ´ depends on the actual frequency, it is necessary to estimate the frequency precisely and rapidly for correcting the phasor estimate. The frequency estimation algorithm described in Section 4 can not only improve accuracy of the estimated phasor at off-nominal frequency conditions (see Section 6.2), but also estimate the frequency quickly and accurately for other power system applications.

4. Proposed Frequency Estimation Algorithm

ESPRIT is a well-known subspace-based technique for frequency estimation due to its strong immunity against noise [28]. However, due to its high computational complexity [25], ESPRIT is not suitable for power system applications that require fast estimation of frequency. Hence, an improved version of the ESPRIT, called iESPRIT, is proposed in this paper. The input signal for frequency estimation is the output of the filter that was proposed in Section 2, and can be expressed as
x f [ n ] = A 0 f + A 1 cos ( ω 1 n Δ t + θ 1 ) + k = 2 K A k f cos ( ω k n Δ t + θ k f ) + w f [ n ]
where w f [ n ] denotes an additive noise component with the power of σ n 2 . Note that the filter was designed in such a way that it kept the parameters of the fundamental component unchanged. Equation (13) can be equivalently written in the form of Y = Δ 2 K + 1 complex exponentials distorted with noise, called the harmonic model, as follows:
x f [ n ] = A 0 f + 1 2 A 1 e j ω 1 n Δ t + θ 1 + e j ω 1 n Δ t + θ 1 + k = 2 K 1 2 A k f e j ω k n Δ t + θ k f + e j ω k n Δ t + θ k f + w f [ n ] = k = K K α k e j ω k n Δ t + w f [ n ]
in which α 0 = A 0 f and ω 0 = 0 ; α 1 = α 1 * = Δ | α 1 | e j φ 1 = 1 2 A 1 e j θ 1 and ω 1 = ω 1 ; α k = α k * = Δ | α k | e j φ k = 1 2 A k f e j θ k f and ω k = ω k for k = 2 , , K . For simplicity, we denote the Y α k s and ω k s for k = K , , 0 , , K with α 1 , α 2 , ⋯, α Y and ω 1 , ω 2 , ⋯, ω Y , respectively, and let ω ¯ k = Δ ( ω k / f s ) , where ω ¯ k is thenormalized angular frequency of the k-th exponential component. Then, by using M consecutive samples of x f [ n ] , an M-length data vector x f ( n ) is defined as follows:
x f ( n ) = Δ x f [ n ] x f [ n + 1 ] x f [ n + M 1 ] = 1 1 e j ω ¯ 1 e j ω ¯ Y e j ( M 1 ) ω ¯ 1 e j ( M 1 ) ω ¯ Y H M × Y Φ n α 1 α 2 α Y α + w f [ n ] w f [ n + 1 ] w f [ n + M 1 ] w f ( n ) = H Φ n α + w f ( n ) Φ Y × Y = diag e j ω ¯ 1 , e j ω ¯ 2 , , e j ω ¯ Y
where the Y columns of matrix H are length-M signal frequency vectors described by
h ( ω ¯ k ) = Δ 1 e j ω ¯ k e j ( M 1 ) ω ¯ k T
for k = 1 , , Y . The matrix H is simplified using (16) as
H M × Y = h ( ω ¯ 1 ) h ( ω ¯ 2 ) h ( ω ¯ Y )
In addition, matrix Φ is the diagonal matrix of phase shifts and can be expressed as Φ = diag ϕ 1 , ϕ 2 , , ϕ Y , where ϕ k = e j ω ¯ k for k = 1 , 2 , , Y . Since the frequencies of the complex exponentials ω ¯ k s completely describe the matrix Φ , the estimated frequencies can be obtained by finding Φ .
Let us consider two overlapping sub-matrices within the length-M window vector. In this regard, an ( M 1 ) × Y matrix H M 1 , which is the length-( M 1 ) sub-matrix of H , is defined as
H M 1 = h M 1 ( ω ¯ 1 ) h M 1 ( ω ¯ 2 ) h M 1 ( ω ¯ Y )
in which h M 1 ( ω ¯ k ) = Δ 1 e j ω ¯ k e j ( M 2 ) ω ¯ k T for k = 1 , 2 , , Y . Then, two new ( M 1 ) × Y matrices which are called H 1 and H 2 are defined as follows:
H 1 = Δ H M 1 Φ n and H 2 = Δ H M 1 Φ n + 1
Using (15) and (19), we have:
H Φ n = H 1 * * * = * * * H 2
As seen in (19), the matrices H 1 and H 2 are related as
H 2 = H 1 Φ
Now, a G × M matrix, X f , called the data matrix, can be obtained from an L-length of input data
X f = Δ x f [ 1 ] x f [ 2 ] x f [ M ] x f [ 2 ] x f [ 3 ] x f [ M + 1 ] x f [ G ] x f [ G + 1 ] x f [ G + M 1 ]
in which L = Δ G + M 1 and G is the total number of data vectors used to construct X f . In conventional ESPRIT, Φ is calculated from the singular value decomposition (SVD) of X f , as shown below [28]
X f = L Σ U H
where L G × G and U M × M are the left and right singular vectors (both of them are unitary), and Σ G × M is a diagonal matrix containing singular values ordered in descending magnitude. However, SVD of X f will have a complexity of O ( G M 2 + M G 2 + M 3 ) [34], which makes ESPRIT too slow for frequency estimation in P-class PMUs [1,29,30]. To overcome this problem, the proposed iESPRIT estimates an autocorrelation matrix from X f as shown below
R ^ x = 1 G X f H X f
where R ^ x can be expressed in terms of its eigenvalues and eigenvectors using eigen-decomposition (ED) as
R ^ x = Q Λ Q H
where Λ is an M × M diagonal matrix containing the eigenvalues of the R ^ x in descending order. The columns of Q are also the corresponding eigenvectors. It is proved in Appendix B that the eigenvectors of R ^ x (columns of Q ) are equal to the columns of U which is used in ESPRIT (see (23)). Note that the complexity of ED of R ^ x is O ( M 3 ) [34], which is much lower than the complexity of SVD [35]. The Y largest diagonal elements of Λ (i.e., λ 1 , λ 2 , , λ Y ) are equal to M | α k | 2 + σ n 2 (for k = 1 , 2 , , Y ), while the remaining M Y + 1 diagonal elements of Λ (i.e., λ Y + 1 , , λ M ) have similar values as σ n 2 [28]. As a result, the total number of complex exponentials Y can be obtained using the criterion of the relative slope variation between the R ^ x ’s eigenvalues as shown in Figure 2. Note that the fundamental frequency corresponds to the largest singular value in Λ .
In order to find Φ , the matrix Q is split into two sub-matrices for separation of the signal and noise subspaces
Q M × M = Q S Q n
where Q S is an M × Y sub-matrix that corresponds to the Y largest magnitudes of the eigenvalues (see (25)). Since the elements of the matrix H defined in (17) completely describe the frequencies of exponential components existing in the input signal, H similar to Q S must also lie in the same subspace, called the signal subspace. As a result, an invertible transformation W exists that maps Q S into H as
H = Q S W
Note that it is not necessary to calculate the transformation W , and it is only formulated as a mapping between the matrices H and Q S within the signal subspace. The matrix Q S can also be split into two smaller M 1 -dimensional subspaces as was done with the matrix H
Q S = Q 1 * * * = * * * Q 2
where both Q 1 and Q 2 are ( M 1 ) × Y sub-matrices. Since H 1 and H 2 correspond to the same subspaces as Q 1 and Q 2 , (27) must also hold for these subspaces, as shown below:
H 1 = Q 1 W and H 2 = Q 2 W
As seen in (21), the rotational matrix Φ exists that relates (rotates) H 1 to H 2 . In the same way, a rotational matrix (denoted by Ψ in this paper) must also exist that relates (rotates) Q 1 to Q 2 as
Q 2 = Q 1 Ψ
Note that the matrices Q 1 and Q 2 are known from the ED of R ^ x . Therefore, from (30), the rotational matrix Ψ can be estimated using LS as
Ψ ^ = Q 1 H Q 1 1 Q 1 H Q 2
Finally, using (21), (29) and (30), we get
Φ ^ = W 1 Ψ ^ W
Now, as the diagonal entries of Φ ^ ( ϕ ^ k = e j ω ¯ ^ k for k = 1 , 2 , , Y ) are simply the eigenvalues of Ψ ^ , the estimated frequencies can be obtained as
ω ¯ ^ k = ϕ ^ k for k = 1 , 2 , , Y
Recall ω ¯ k = 2 π f k / f s ; therefore, the estimated frequencies are
f ^ k = f s ( ϕ ^ k ) / ( 2 π ) for k = 1 , 2 , , Y

5. Fast Detection of System Operating Conditions

The input-signal parameters (magnitude, phase angle, frequency) may abruptly change/oscillate due to power system events, such as faults. Termed abnormal conditions in this paper, these sudden changes can quickly be detected using R ^ x . Let the estimated autocorrelation matrix corresponding to the previous data string be denoted by R ^ x o l d . The new autocorrelation matrix R ^ x n e w is estimated using (24) when the most recent data string is obtained. We can now create an M × M matrix Δ R ^ x as shown below:
Δ R ^ x = Δ R ^ x n e w R ^ x o l d
The Frobenius norm of Δ R ^ x , | | Δ R ^ x | | F , is given by
| | Δ R ^ x | | F = i = 1 M j = 1 M | Δ R ^ x ( i , j ) | 2
A threshold ζ can now be defined for | | Δ R ^ x | | F to determine the system’s current operating condition as follows:
(1)
If | | Δ R ^ x | | F ζ , it implies that the system operates under normal conditions and the signal parameters have varied slightly. In such conditions, the estimated phasors from previous and current data strings can be used for accurate estimation of frequency (see Section 6.1).
(2)
If | | Δ R ^ x | | F > ζ , it implies that the system is faced with an abnormal condition resulting in the signal parameters differing significantly from the previous data string. In such conditions, the proposed iESPRIT must be used for precise estimation of frequency, and subsequent correction of the estimated phasor (see Section 6.2).
The impact of ζ on the accuracy and computational burden of the proposed approach is investigated in detail in Section 8.6.

6. Accuracy Enhancement of Estimated Phasor and Frequency under Detected Conditions

The main goal of this section is to improve the accuracy of the estimated phasor (Section 3) and frequency (Section 4) based on the system operating condition (normal/abnormal) identified in Section 5.

6.1. Implementation of the Phasor Estimation Algorithm for Frequency Estimation under Normal Conditions

Let the estimated fundamental phasor obtained from the previous N-length data string with sample numbers { r , r + 1 , , r + N 1 } be denoted by X ^ 1 o l d , which is calculated as follows at ω 1 o l d = 2 π f 1 o l d .
X ^ 1 o l d = 2 N n = r r + N 1 x [ n ] e j n ω 1 o l d Δ t
Similarly, X ^ 1 n e w is obtained from the current N-length data string with sample numbers { r + 1 , r + 2 , , r + N } at ω 1 n e w = 2 π f 1 n e w as
X ^ 1 n e w = 2 N n = r + 1 r + N x [ n ] e j n ω 1 n e w Δ t
It is proved in Appendix C that, under normal conditions, the parameter P ´ (defined in (12)) can be obtained as follows.
P ´ X ^ 1 o l d / X ^ 1 n e w
Now, as P ´ only depends on N, r, and Δ ω 1 , for a pre-determined value of N, P ´ can be calculated offline for different values of r and Δ ω 1 in the form of a look-up table. Then, in real-time, the Δ ω ^ 1 can be obtained with high accuracy from its corresponding P ´ using the look-up table. Finally, the estimated frequency can be updated during normal conditions as
f ^ 1 n e w = f ^ 1 o l d + Δ ω ^ 1 / ( 2 π )
The steps of the proposed frequency estimation algorithm are summarized in Algorithm 1.
Algorithm 1: Proposed Frequency Estimation Algorithm
Input: signal samples, X ^ 1 o l d , X ^ 1 n e w
 Output: estimated frequency
  Initialization: M and L
1: take L-length of input data
2: create X f , estimate R ^ x n e w , and calculate Δ R ^ x using (22), (24) and (35), respectively
3: calculate | | Δ R ^ x | | F using (36)
4: save R ^ x n e w as R ^ x o l d for the next estimation
5: if ( | | Δ R ^ x | | F ζ ) then
6:  calculate P ´ using (39)
7:  find Δ ω ^ 1 using the lookup table
8:  estimate frequency using (40)
9:  go to line 18
10: end if
11: if ( | | Δ R ^ x | | F > ζ ) then
12:   calculate eigenvectors of R ^ x
13:   find Q S by (26), split it into Q 1 and Q 2 by (28)
14:   estimate Ψ ^ using (31)
15:   calculate eigenvalues of Ψ ^
16:   estimate frequency using (34)
17: end if
18: return  f ^ 1

6.2. Implementation of the Proposed Frequency Estimation Algorithm for Phasor Estimation under Abnormal Conditions

The first valid estimated frequency realized using Algorithm 1 is obtained after receiving the first L-length of input data; let this frequency be denoted by f ^ 1 , L . It will be shown in Section 7.4 that the proposed iESPRIT is able to estimate the frequency precisely even when L is lower than one-cycle-length of input data (i.e., L < N ), which is a significant achievement especially for protection applications. Therefore, it is possible to correct the estimated phasors by using P ´ which is dependent on the accurate frequency ω ^ 1 (see (9), (10) and (12)). To do so, we calculate the median ( M d n ) of a set F that contains the previous and current estimated frequencies (i.e., F = { f ^ 1 , L , f ^ 1 , L + 1 , , f ^ 1 , N } ) as shown in (41).
ω ^ 1 = 2 π . M d n F
Employing the median brings additional robustness against noise. The value of the actual angular frequency ω ^ 1 , obtained from (41), can be used to correct the estimated phasors during abnormal conditions. Moreover, ω ^ 1 can also be used to improve the performance of the proposed filter design (see Section 2) by replacing ω n o m with ω ^ 1 in (5) and (6). In this regard, the filter’s parameters can be calculated offline, for the pre-chosen filter order (see Section 7.1), for different values of ω 1 using (5) and (6), and stored in the form of a look-up table. In real time, the filter’s parameters can be adjusted quickly using ω ^ 1 and the look-up table.
Finally, note that the proposed frequency estimator itself provides strong immunity against noise and can be used for various power system applications that require accurate and fast frequency measurements, such as under-frequency relaying, power system stabilization/restoration, protection against loss of synchronism, and rapid synthetic inertia control.
Flowchart of the proposed approach for both phasor and frequency estimation is shown in Figure 3 in which normal and abnormal system operating conditions have been distinguished with green dashed and red solid arrows, respectively.

7. Parameter Selection for Implementation

7.1. Choosing Optimal Value for the Filter Order R

To determine the filter order R of the complex gain filter (see Section 2), 100 synthetic test signals containing both fundamental and DDC components are generated. In the test signals, the D 0 and τ (DDC parameters) are randomly selected from a range of 0 , 1 p . u . and 0.5 , 5 ( cycles ) , respectively [5]. Seven different values { 3 , 4 , 6 , 8 , 10 , 15 , 20 } are considered for R. The input signals are passed through the proposed filter and DFT is then performed for estimation of the fundamental phasor. For each filter order, the maximum values of TVE [29,30] and settling time t S [4], obtained over the 100 test signals are given in Table 1.
As can be seen from Table 1, by increasing R, the DDC is suppressed more effectively resulting in reduction of the maximum TVE at the cost of increasing the maximum t S ; i.e., there is a trade-off in choosing the optimal value of the filter order. Table 1 indicates that an acceptable value for the order of the proposed filter would be six since this provides a reasonable balance between DDC rejection (significantly lower maximum TVE than 1%) and response time.

7.2. Choosing Optimal Value for N

The impact of N (or equivalently f s ) on the accuracy of the estimated phasor by the proposed algorithm is investigated in this section. In this regard, a synthetic test signal containing a fundamental sinusoidal component that is distorted by DDC, harmonics, and noise is used as an input to the proposed algorithm. Six different values { 16 , 32 , 128 , 512 , 1024 , 16 , 384 } are considered for N. For each value, the fundamental phasor is estimated by the proposed algorithm, and the maximum TVE is calculated, which is given in Table 2.
As can be seen in Table 2, the phasor estimation accuracy of the proposed algorithm converges to its limit value and is negligibly affected by increasing the number of samples per cycle, N (or equivalently the sampling frequency, f s ). On the other hand, increasing the sampling frequency causes (i) difficulties in hardware implementation of the phasor and frequency estimation algorithms in numerical relays, and (ii) increased computational burden, which is a major concern for the protection application. Based on Table 2, an appropriate value of N was found to be 32.

7.3. Choosing Optimal Value for M

The value of M plays a key role in computational complexity and robustness of the proposed iESPRIT against noise. As such, seven different values { 3 , 4 , 5 , 6 , 8 , 10 , 15 } are considered for M. A synthetic test signal containing a sinusoidal component (with known frequency) which is distorted by noise is used as an input to the proposed iESPRIT. Note that the value of L (length of data string in (22)) is kept constant at N. The maximum absolute frequency estimation error (denoted by Max. |FE|) [30] and the execution time taken for estimation are presented in Table 3 for each of the seven values of M. Note that all of the simulations done in this paper have been carried out on a system with Core 2 Duo CPU (2.67 GHz) processor and 4 GB RAM.
It can be concluded from Table 3 that more robustness against noise and higher precision are achieved by choosing greater values for M, at the cost of increasing the execution time due to increasing complexity of calculations. Therefore, there is a trade-off between the precision of estimation and computational burden. From Table 3, an appropriate value of M is found to be four.

7.4. Choosing Optimal Value for L

The value for L (length of data string) plays a key role in convergence speed of the proposed iESPRIT. In this regard, six different values { N / 4 , N / 2 , 3 N / 4 , N , 3 N / 2 , 2 N } are considered for L. Likewise, as we did in Section 7.3, a synthetic signal is used while M is kept constant at four.
The Max |FE| and settling time t S are given in Table 4 for the six values of L. Considering optimal accuracy and convergence speed of the proposed iESPRIT, an appropriate value of L is found to be N / 2 .
Note that the empirically obtained values of the parameters identified in Section 7 are kept constant for all the simulations performed in Section 8.

8. Simulation Results

In the following sub-sections, several static and dynamic test signals that comply with the IEEE and IEC Standards [29,30], as well as power system signals, are used to investigate the performance of the proposed approach. The above-mentioned standards only consider changes in the input signal parameters (i.e., magnitude, phase angle, and frequency). However, in this paper, the performance of the proposed algorithm is also evaluated in the presence of stray components, such as DDC and noise. Four recently published phasor and/or frequency estimation methods, applicable to P-class PMUs, have been selected for comparison purposes: (i) A phasor estimation method presented in [5], which is based on DFT and down sampling (called “DS-DFT”), (ii) a phasor and frequency estimation method presented in [13], which is based on LS and amplitude modulation modeling of the input signal (called “AM”), (iii) a phasor and frequency estimation method presented in [13], which is based on LS and phase modulation modeling of the input signal (called “PM”), and finally (iv) a subspace-based frequency estimation method inspired by the multiple signal classification (MUSIC) technique presented in [24] (called “ A 2 MUSIC ”). The nominal frequency f n o m , sampling frequency f s , and ζ are set to 60 Hz, 1920 Hz, and 10 4 , respectively.

8.1. Performance Evaluation in the Presence of DC Offset, DDC, Harmonics, and Noise in Both Nominal and Off-Nominal Frequency Conditions

The following test signal is used to investigate the performance of the proposed approach for phasor and frequency estimation in the presence of DC offset, DDC, harmonics, and noise, in both nominal and off-nominal frequency conditions
x 1 ( t ) = A 0 + D 0 e t / τ + k = 1 K A 1 k cos ( 2 π k f 1 t + k θ 1 ) + w ( t )
where the total number of sinusoids K is set equal to 50 [29,30]. Five-hundred test signals are generated by selecting different values for A 0 , f 1 (varied from 58 to 62 Hz [29]), D 0 (varied from 0 to 1 p . u . ), τ (varied from 0.5 to 5 cycles), and signal-to-noise ratio (SNR) (varied from 10 to 80 dB) [24]. The fundamental phasor and frequency are estimated by the proposed approach and other understudied algorithms, and the mean, root mean square (RMS), and maximum values of maximum of TVE and |FE| are calculated. From the results shown in Table 5, it is clear that the proposed approach gives higher accuracy for both phasor (Max. TVE) and frequency (Max. |FE|) estimation in comparison to the other methods.

8.2. Performance Evaluation for Dynamic Frequency Ramp Test

In this test, for the same test signals generated in Section 8.1, f 1 is ramped to f 1 + 5 (Hz) from 0 to 5 (s) at a rate of 1 Hz/s [3,29,30]. The mean, RMS, and maximum values of the two indices, namely, Max. TVE and Max. |FE|, for the 500 dynamic test signals are given in Table 6.
As seen in Table 6, the proposed approach gives better performance for both phasor and frequency estimation under frequency ramps in comparison to the other methods. Apart from the high estimation accuracy, the proposed approach also has faster response time under dynamic conditions which will be explored in more details in Section 8.4.

8.3. Modulation Test

Transmission line faults/outages and bulk load switching often cause rotor-angle oscillations which may lead to power swings and subsequently mal-operation of the protective relays [32]. Generally, power swings are mathematically modeled as a modulated sinusoidal signal [13,29,30,32]
x 2 ( t ) = X m ( 1 + k x cos ( ω m t ) ) × cos ( ω n o m t + k a cos ( ω m t π ) )
where k x and k a denote amplitude and phase modulation coefficients, respectively, both of which are set to 0.1 [29,30]. In this test, the frequency of the input signal remains constant at 60 Hz, but the magnitude and phase-angle oscillate with an angular frequency of ω m = 2 π f m where f m changes from 0.1 Hz to 2 Hz in steps of 0.1 Hz as recommended by the Standards [29,30] for P-class PMUs. The maximum values of TVE and |FE| are given in Table 7 for different algorithms.
As can be observed from Table 7, the proposed approach gives better frequency estimation accuracy compared to the other algorithms. Since the algorithms presented in [13] are based on amplitude modulation (AM) and phase modulation (PM) modeling of the input signals, they have the highest phasor estimation accuracy (their Max. TVE is lowest). However, the proposed phasor estimation approach also satisfies the modulation test requirements for P-class PMUs specified in the Standards [29,30].

8.4. Step Change Test

Abrupt changes in the impedance and network configuration during faults may cause current/voltage transients which are mathematically expressed as [13,29,30,32]
x 3 ( t ) = X m ( 1 + k x u ( t ) ) × cos ( ω n o m t + k a u ( t ) )
where k x and k a are the magnitudes of the unit step function u ( t ) and set to 0.1 and π / 18 rad, respectively, as recommended in the Standards [29,30]. Two well-known indices, namely, response time and maximum over/undershoot, which are defined in [30], are used to evaluate the performance of the different algorithms from the viewpoints of speed and accuracy. The results are given in Table 8 in which the response time and maximum over/undershoot are denoted by Rsp. and Max O/U.S., respectively. Based on the results obtained in Table 8, it is clear that the proposed approach has superior performance in terms of speed and accuracy, and its performance indices can comply with the requirements for P-class PMUs mentioned in the Standards [29,30].

8.5. Performance Evaluation Using Power System Signals

Power system signals of the IEEE 9-bus test system [13] are used to evaluate the performance of the proposed approach for both phasor and frequency estimation when severe oscillations in magnitude, phase angle, and frequency of the input signals take place. Two different scenarios are considered [13]:
Scenario 1: Outage of line 7-8 at t = 0 s. Voltage of bus 6 is used as the input signal.
Scenario 2: G 2 (connected to bus 2) trips at t = 50 ms. Current of line 6-4 is used as the input signal.
The maximum values of TVE and |FE| are given in Table 9 for the two scenarios. As can be observed from Table 9, the proposed approach provides higher accuracy compared to the other methods. It is also worth mentioning that the abnormal events in both the scenarios were detected by the proposed approach in less than one cycle.

8.6. Computational Burden and Sensitivity Analysis

The threshold ζ has a significant impact on the accuracy and the computational complexity of the proposed approach (see Section 5). Hence, a sensitivity analysis is performed to investigate the effect of ζ on the accuracy of the estimated phasors and frequencies and the computational burden of the proposed approach. In this regard, Max. TVE, Max. |FE|, and average execution time (taken for each estimation) are given in Table 10 for different values of ζ for each of the test signals used in this section.
As can be observed from Table 10, higher accuracy in estimation of phasor and frequency is achieved by choosing smaller values for ζ , at the cost of increasing the execution time (or equivalently computational burden/complexity) i.e., there is a trade-off in choosing the optimal value of the threshold ζ . Table 10 indicates that an acceptable value for ζ would be 10 4 since this provides a reasonable balance between the estimation accuracy and computational burden. The mean execution time of the proposed approach (over all of the test signals in this section) for each synchrophasor and frequency estimation by the adoption of 10 4 for ζ was around 0.34214 (ms), which makes it suitable for real-time applications.

8.7. Noise Propagation through the Proposed Algorithm

In this section, the following test signal is used to investigate the propagation of noise through the proposed algorithm:
x 4 [ n ] = A 1 sin ( 2 π n f 1 f s + θ 1 ) + w [ n ] n = 1 , 2 , , N
Cramér Rao bounds (CRBs) that give lower bounds on the variances of estimated signal parameters (i.e., magnitude, phase angle, and frequency) are obtained for the above-mentioned test signal (45) as follows: [36].
C R B ( A 1 ) = 2 σ n 2 N C R B ( θ 1 ) = 4 σ n 2 A 1 2 2 N + 1 N ( N 1 ) C R B ( f 1 ) = 24 σ n 2 A 1 2 N ( N 2 1 ) f s 2 π 2
In order to investigate the propagation of noise through the proposed algorithm, 100 test signals are generated by choosing different values for f 1 between 58 and 62 (Hz) [29,30]. The variance of the noise in the sinusoidal signal σ n 2 is set to be 0 . 01 2 [36]. For each of the generated test signals, the signal parameters are estimated by the proposed algorithm. The mean square error (MSE) [37] as well as the CRBs are given in Table 11. As can be seen from Table 11, the values of MSE for all of the estimated parameters are very close to their corresponding CRBs.

9. Conclusions

This paper proposes a fast, accurate, robust, and computationally-efficient approach for estimating phasor and frequency that can be applied to both voltage and current signals without making simplifying assumptions regarding the components present in the signal. The first step of the proposed methodology involves the removal of the DDC that may be present in the input signal using optimal filtering. Care is taken to ensure that the parameters of the fundamental component are left unaltered. In the next step, initial phasor and frequency estimates are obtained in parallel using DFT and the proposed iESPRIT, respectively. Finally, to further improve accuracy, the initial estimates of phasor and frequency are updated, based on the identified system condition.
The simulation results confirm that the proposed approach has high accuracy, fast response time, low computational complexity, and is robust against grid disturbances and off-nominal frequency conditions. Furthermore, the proposed approach fulfills the requirements recommended by the IEEE and IEC standards for P-class PMUs in both steady-state and dynamic conditions. This makes the proposed approach suitable for a variety of power system monitoring, protection, and control applications that need fast and accurate estimates of voltage and current phasors and system frequency.
To provide more robustness against stray components such as harmonics and inter-harmonics, particularly for measurement applications, the combination of more recent versions of DFT such as interpolated DFT (IpDFT) with iESPRIT will be explored in the future.

Author Contributions

Conceptualization, B.J. and A.P.; methodology, B.J. and A.P.; software, B.J.; validation, B.J. and A.P.; formal analysis, B.J. and A.P.; investigation, B.J.; writing—original draft preparation, B.J.; writing—review and editing, B.J. and A.P.; visualization, B.J. and A.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. P and Q Correction Coefficients

Appendix A.1. Variations of P and Q for Different Values of Δf and N

Variations of P and Q for different values of N and Δ f are shown in Table A1 and Table A2.
Table A1. Magnitudes and phase angles of correction coefficients for different frequency deviations and sampling rate of 24.
Table A1. Magnitudes and phase angles of correction coefficients for different frequency deviations and sampling rate of 24.
Δ f (Hz)|P| P ( )|Q| Q ( )
−50.9886−14.370.043429.37
−4.50.9908−12.940.039027.94
−40.9927−11.50.034626.5
−3.50.9944−10.060.030225.06
−30.9959−8.620.025823.62
−2.50.9972−7.190.021522.19
−20.9982−5.750.017120.75
−1.50.9990−4.310.012819.31
−10.9995−2.870.008517.87
−0.50.9999−1.440.004216.44
01.00000015
0.50.99991.440.004213.56
10.99952.870.008412.12
1.50.99904.310.012510.69
20.99825.750.01669.25
2.50.99727.190.02067.81
30.99598.620.02466.37
3.50.994410.060.02854.94
40.992711.50.03243.5
4.50.990812.940.03632.06
50.988614.370.04000.62
Table A2. Magnitudes and phase angles of correction coefficients for different sampling rates and frequency of 62 (Hz).
Table A2. Magnitudes and phase angles of correction coefficients for different sampling rates and frequency of 62 (Hz).
N|P| P ( )|Q| Q ( )
120.99825.50.017224.5
240.99825.750.01669.25
360.99825.830.01644.17
480.99825.8760.01641.62
600.99825.90.01640.1
720.99825.920.0164−0.92
840.99825.930.0164−1.64
960.99825.940.0164−2.19
1080.99825.9470.0164−2.61
1200.99825.950.0164−2.95

Appendix A.2. Impact of Q on Phasor Estimation Accuracy

The following test signal is used to investigate the performance of the proposed algorithm with and without considering the effect of Q.
x 5 ( t ) = k = 1 2 A k cos ( 2 π k f 1 t + k θ 1 )
where A 2 / A 1 = 0.1 . The above-mentioned test signal is applied to the proposed algorithm for estimation of the fundamental phasor. To investigate the impact of Q, seven different values of { 0 , ± 0.5 , ± 1 , ± 2 } (Hz) are considered for the deviation of f 1 from its nominal value (60 Hz), and the maximum TVE is used for performance evaluation.
As can be seen from Table A3, the impact of Q on the accuracy of the estimated phasor by the proposed algorithm is small (in comparison to the TVE limit of 1% [29,30]) when the power system frequency varies in the range of 2 Hz and + 2 Hz. Additionally, note that the frequency estimation algorithm improves the accuracy of the estimated phasor at off-nominal frequency conditions (see Section 6.2 and Figure 3).
Table A3. Impact of Q on accuracy of the estimated phasor by the proposed algorithm.
Table A3. Impact of Q on accuracy of the estimated phasor by the proposed algorithm.
Δ f 1 (Hz)Max. TVE (%)
Without QWith Q
−20.2880.218
−10.2230.168
−0.50.1560.128
00.080.08
+0.50.1520.126
+10.2190.161
+20.2850.217

Appendix B. Equality of the Matrices Q and U

By multiplying both sides of (23) by X f H , we have
X f H X f = X f H L Σ U H
By substituting (23) into (A2), we get
X f H X f = L Σ U H H L Σ U H = U Σ H L H L Σ U H
Since the matrices L and U are unitary, (A3) is simplified as
X f H X f = U Σ H Σ U H = U Σ 2 U H
By multiplying both sides of (A4) by 1 / G , we get
1 G X f H X f = 1 G U Σ 2 U H
Substituting (24) into (A5) yields
R ^ x = 1 G U Σ 2 U H
By equating the right-hand sides of (25) and (A6), we get
Q Λ Q H = 1 G U Σ 2 U H
It is clear from (A7), (23) and the (25) that the squared magnitudes of the data matrix singular values are equal to the eigenvalues of the R ^ x scaled by a factor of G (i.e., Σ 2 = G Λ ), and the columns of the matrix U are exactly equal to the columns of Q (i.e., Q = U ). □

Appendix C. Proof of P ´ Calculation Using (39)

The DFT of the previous data string in (37) is split as
X ^ 1 o l d = 2 N x [ r ] e j r ω 1 o l d Δ t + 2 N n = r + 1 r + N 1 x [ n ] e j n ω 1 o l d Δ t J
Similarly, (38) decomposes as follows for the current string:
X ^ 1 n e w = 2 N x [ r + N ] e j ( r + N ) ω 1 n e w Δ t + 2 N n = r + 1 r + N 1 x [ n ] e j n ω 1 n e w Δ t Z
According to (7), (8), (10) and (12), the following equation exists that relates J to Z:
J P ´ Z
By substituting (A8) and (A9) into (A10), we have
X ^ 1 o l d 2 N x [ r ] e j r ω 1 o l d Δ t P ´ X ^ 1 n e w 2 N x [ r + N ] e j ( r + N ) ω 1 n e w Δ t
Now, note the following assumptions (which are not violated under normal operation of power systems):
  • Deviation of frequency from its nominal value is very small (hence, e j N ω 1 n e w Δ t 1 ).
  • The input signal is approximately periodic (hence, x [ r ] x [ r + N ] ).
  • Frequency varies negligibly (hence, e j r ω 1 o l d Δ t e j r ω 1 n e w Δ t ).
Based on these assumptions, (A11) can be simplified to obtain (39). □

References

  1. Bollen, M.H.; Gu, I.Y. Signal Processing of Power Quality Disturbances; John Wiley & Sons: Hoboken, NJ, USA, 2006. [Google Scholar]
  2. Amirat, Y.; Oubrahim, Z.; Ahmed, H.; Benbouzid, M.; Wang, T. Phasor estimation for grid power monitoring: Least square vs. linear Kalman filter. Energies 2020, 13, 2456. [Google Scholar] [CrossRef]
  3. Zhan, L.; Liu, Y.; Liu, Y. A clarke transformation-based DFT phasor and frequency algorithm for wide frequency range. IEEE Trans. Smart Grid 2018, 9, 67–77. [Google Scholar] [CrossRef]
  4. Jafarpisheh, B.; Madani, S.M.; Shahrtash, S.M. A new DFT-based phasor estimation algorithm using high-frequency modulation. IEEE Trans. Power Deliv. 2017, 32, 2416–2423. [Google Scholar] [CrossRef]
  5. Jafarpisheh, B.; Madani, S.M.; Jafarpisheh, S. Improved DFT-based phasor estimation algorithm using down-sampling. IEEE Trans. Power Deliv. 2018, 33, 3242–3245. [Google Scholar] [CrossRef]
  6. Jafarpisheh, B. Phasor estimation algorithm based on complex frequency filters for digital relaying. IEEE Trans. Instrum. Meas. 2018, 67, 582–592. [Google Scholar] [CrossRef]
  7. Kang, S.H.; Seo, W.S.; Nam, S.R. A frequency estimation method based on a revised 3-Level discrete Fourier transform with an estimation delay reduction technique. Energies 2020, 13, 2256. [Google Scholar] [CrossRef]
  8. Jin, T.; Zhang, W. A novel interpolated DFT synchrophasor estimation algorithm with an optimized combined cosine self-convolution window. IEEE Trans. Instrum. Meas. 2021, 70, 1–10. [Google Scholar]
  9. Yu, H.; Jin, Z.; Zhang, H.; Terzija, V. A phasor estimation algorithm robust to decaying DC component. IEEE Trans. Power Deliv. 2021, 1. [Google Scholar] [CrossRef]
  10. Frigo, G.; Derviškadić, A.; Paolone, M. Reduced leakage synchrophasor estimation: Hilbert transform plus interpolated DFT. IEEE Trans. Instrum. Meas. 2019, 68, 3468–3483. [Google Scholar] [CrossRef] [Green Version]
  11. Derviškadić, A.; Romano, P.; Paolone, M. Iterative-interpolated DFT for synchrophasor estimation: A single algorithm for P- and M-class compliant PMUs. IEEE Trans. Instrum. Meas. 2018, 67, 547–558. [Google Scholar] [CrossRef] [Green Version]
  12. Fu, L. A multiple frequency Taylor model-based dynamic synchrophasor estimation algorithm. IEEE Trans. Smart Grid 2019, 10, 6870–6882. [Google Scholar] [CrossRef]
  13. Vejdan, S. Accurate dynamic phasor estimation based on the signal model under off-nominal frequency and oscillations. IEEE Trans. Smart Grid 2017, 8, 708–719. [Google Scholar] [CrossRef]
  14. Kim, W.J.; Nam, S.R.; Kang, S.H. Adaptive phasor estimation algorithm based on a least squares method. Energies 2019, 12, 1387. [Google Scholar] [CrossRef] [Green Version]
  15. Rao, A.V.K. Accurate phasor and frequency estimation during power system oscillations using least squares. IET Sci. Meas. Technol. 2019, 13, 989–994. [Google Scholar]
  16. Choqueuse, V.; Belouchrani, A.; Auger, F.; Benbouzid, M. Frequency and phasor estimations in three-phase systems: Maximum likelihood algorithms and theoretical performance. IEEE Trans. Smart Grid 2019, 10, 3248–3258. [Google Scholar] [CrossRef]
  17. Castello, P.; Ferrero, R.; Pegoraro, P.A.; Toscani, S. Space vector Taylor–Fourier models for synchrophasor, frequency, and ROCOF measurements in three-phase systems. IEEE Trans. Instrum. Meas. 2019, 68, 1313–1321. [Google Scholar] [CrossRef]
  18. da Silva, C.D.L. Phasor estimation in power systems using a neural network with online training for numerical relays purposes. IET Sci. Meas. Technol. 2015, 9, 836–841. [Google Scholar] [CrossRef]
  19. Affijulla, S.; Tripathy, P. Development of phasor estimation algorithm for P-class PMU suitable in protection applications. IEEE Trans. Smart Grid 2018, 9, 1250–1260. [Google Scholar] [CrossRef]
  20. Reddy, M.V.; Sodhi, R. An open loop fundamental and harmonic phasor estimator for single-phase voltage signals. IEEE Trans. Ind. Inform. 2020, 16, 4535–4546. [Google Scholar] [CrossRef]
  21. Wang, L.; Suonan, J. A fast algorithm to estimate phasor in power systems. IEEE Trans. Power Deliv. 2017, 32, 1147–1156. [Google Scholar] [CrossRef]
  22. Zamora-Mendez, A.; Paternina, M.R.A.; Vázquez, E.; Ramirez, J.M.; de Serna, J.A.L.O. Distance relays based on the Taylor–Kalman-Fourier filter. IEEE Trans. Power Deliv. 2016, 31, 928–935. [Google Scholar] [CrossRef]
  23. De Apráiz, M.; Diego, R.I.; Barros, J. An extended Kalman filter approach for accurate instantaneous dynamic phasor estimation. Energies 2018, 11, 2918. [Google Scholar] [CrossRef] [Green Version]
  24. Jafarpisheh, B. Power system frequency estimation using adaptive accelerated MUSIC. IEEE Trans. Instrum. Meas. 2018, 67, 2592–2602. [Google Scholar] [CrossRef]
  25. Drummond, Z.D. An optimized subspace-based approach to synchrophasor estimation. IEEE Trans. Instrum. Meas. 2021, 70, 1–13. [Google Scholar] [CrossRef]
  26. Xu, S.; Liu, H.; Bi, T. A novel frequency estimation method based on complex bandpass filters for P-class PMUs with short reporting latency. IEEE Trans. Power Deliv. 2020, 1. [Google Scholar] [CrossRef]
  27. Chen, L. Harmonic phasor estimator for P-class phasor measurement units. IEEE Trans. Instrum. Meas. 2020, 69, 1556–1565. [Google Scholar] [CrossRef]
  28. Manolakis, D.; Ingle, V.; Kogon, S. Statistical and Adaptive Signal Processing; Artech: Norwood, MA, USA, 2005. [Google Scholar]
  29. IEEE Standard for Synchrophasor Measurements for Power Systems—Amendment 1: Modification of Selected Performance Requirements; IEEE Std C37.118.1a-2014 (Amendment to IEEE Std C37.118.1-2011); 2014; pp. 1–25. [CrossRef]
  30. IEEE/IEC International Standard—Measuring Relays and Protection Equipment— Part 118-1: Synchrophasor for Power Systems—Measurements; IEC/IEEE 60255-118-1:2018; 2018; pp. 1–78. [CrossRef]
  31. Benmouyal, G. Removal of DC-offset in current waveforms using digital mimic filtering. IEEE Trans. Power Deliv. 1995, 10, 621–630. [Google Scholar] [CrossRef]
  32. Affijulla, S.; Tripathy, P. Development of dictionary-based phasor estimator suitable for P-class phasor measurement unit. IEEE Trans. Instrum. Meas. 2018, 67, 2603–2615. [Google Scholar] [CrossRef]
  33. Phadke, A.G.; Thorp, J.S. Synchronized Phasor Measurements and Their Applications; Springer: Berlin/Heidelberg, Germany, 2008; Volume 1. [Google Scholar]
  34. Björck, Å. Numerical Methods in Matrix Computations; Springer: Berlin/Heidelberg, Germany, 2015. [Google Scholar]
  35. Roy, R.H.; Kailath, T. ESPRIT–Estimation of signal parameters via rotational invariance techniques. Opt. Eng. 1990, 29, 296–313. [Google Scholar]
  36. Singh, A.K.; Pal, B.C. Rate of change of frequency estimation for power systems using interpolated DFT and Kalman filter. IEEE Trans. Power Syst. 2019, 34, 2509–2517. [Google Scholar] [CrossRef]
  37. Choqueuse, V.; Belouchrani, A.; Benbouzid, M. Phasor estimation using conditional maximum likelihood: Strengths and limitations. In Proceedings of the 2015 23rd European Signal Processing Conference (EUSIPCO), Nice, France, 31 August–4 September 2015; pp. 2251–2255. [Google Scholar]
Figure 1. Design of the proposed filter in s-plane.
Figure 1. Design of the proposed filter in s-plane.
Energies 14 07112 g001
Figure 2. Slope variation between the eigenvalues of the R ^ x .
Figure 2. Slope variation between the eigenvalues of the R ^ x .
Energies 14 07112 g002
Figure 3. Flowchart of the proposed approach for phasor and frequency estimation.
Figure 3. Flowchart of the proposed approach for phasor and frequency estimation.
Energies 14 07112 g003
Table 1. Maximum values of TVE and t S over 100 input test signals for different values of R.
Table 1. Maximum values of TVE and t S over 100 input test signals for different values of R.
R3468101520
Max. TVE (%)0.760.670.280.220.140.040.01
Max. t S (ms)20.721.726.930.832.936.238.2
Table 2. Impact of N on accuracy of the estimated phasor by the proposed algorithm.
Table 2. Impact of N on accuracy of the estimated phasor by the proposed algorithm.
N1632128512102416,384
Max . TVE (%)0.470.430.400.390.390.38
Table 3. Maximum value of |FE| and execution time for different values of M.
Table 3. Maximum value of |FE| and execution time for different values of M.
M345681015
Max. |FE| (mHz)0.860.410.340.180.090.030.003
Exe. Time (ms)0.120.230.470.811.743.059.7
Table 4. Maximum value of |FE| and t S for different values of L.
Table 4. Maximum value of |FE| and t S for different values of L.
L N / 4 N / 2 3 N / 4 N 3 N / 2 2N
Max. |FE| (mHz)1.030.330.250.040.0070.0008
t S (ms)6.811.414.317.229.133.9
Table 5. Mean, RMS, and maximum values of the indices over the 500 test signals in the presence of undesirable components.
Table 5. Mean, RMS, and maximum values of the indices over the 500 test signals in the presence of undesirable components.
AlgorithmMax. TVE (%)Max. |FE| (mHz)
MeanRMSMax.MeanRMSMax.
DS-DFT [5]1.052.094.86N/AN/AN/A
AM [13]1.232.545.788.2311.432.4
PM [13]1.062.384.976.519.2134.6
A 2 MUSIC [24]N/AN/AN/A2.283.746.63
Proposed Approach0.580.670.790.560.691.01
Table 6. Mean, RMS, and maximum values of the indices over the 500 dynamic test signals during the frequency ramp.
Table 6. Mean, RMS, and maximum values of the indices over the 500 dynamic test signals during the frequency ramp.
AlgorithmMax. TVE (%)Max. |FE| (mHz)
MeanRMSMax.MeanRMSMax.
DS-DFT [5]1.322.595.66N/AN/AN/A
AM [13]1.352.675.939.1412.636.21
PM [13]1.132.525.076.639.4235.06
A 2 MUSIC [24]N/AN/AN/A2.694.177.12
Proposed Approach0.670.780.890.660.801.07
Table 7. Maximum TVE and |FE| for the modulation test.
Table 7. Maximum TVE and |FE| for the modulation test.
AlgorithmMax. TVE (%)Max. |FE| (mHz)
DS-DFT [5]2.37N/A
AM [13]0.00962.3
PM [13]0.00081.9
A 2 MUSIC [24]N/A0.95
Proposed Approach0.430.64
Table 8. Performance indices for the step change test.
Table 8. Performance indices for the step change test.
Algorithm k x k a PhasorFrequency
Rsp. (ms)Max O/U.S. (%) *Rsp. (ms)
DS-DFT
[5]
0.1014.64.1N/A
0 π / 18 15.54.6N/A
AM
[13]
0.1015.3541.3
0 π / 18 28.6440.7
PM
[13]
0.1014.2557.7
0 π / 18 30.9457.1
A 2 MUSIC
[24]
0.10N/AN/A12.4
0 π / 18 N/AN/A12.7
Proposed
Approach
0.1013.92.711.6
0 π / 18 14.43.312.1
* Max O/U.S. values are computed relative to the magnitude of the step [30].
Table 9. Maximum TVE (%) and |FE| (mHz) for each of the scenarios *.
Table 9. Maximum TVE (%) and |FE| (mHz) for each of the scenarios *.
Sc.DS-DFT
[5]
AM
[13]
PM
[13]
A 2 MUSIC
[24]
Proposed
Approach
11.11
N/A
2.16
10.3
1.04
6.8
N/A
3.2
0.72
0.81
21.26
N/A
2.23
11.2
1.12
7.3
N/A
3.8
0.78
0.85
* For each cell, the first row is Max. TVE and the second row is Max. |FE|.
Table 10. Performance indices for different values of ζ .
Table 10. Performance indices for different values of ζ .
Test ζ Max. TVE (%)Max. |FE| (mHz)Execution Time ( μ s)
Steady-State
(Section 8.1)
10 2 0.975.0246
10 4 0.580.56283
10 6 0.510.47405
Frequency Ramp
(Section 8.2)
10 2 1.095.1757
10 4 0.670.66367
10 6 0.590.58472
Modulation Test
(Section 8.3)
10 2 1.035.1152
10 4 0.430.61319
10 6 0.360.56423
Magnitude
Step Change
(Section 8.4)
10 2 1.125.0954
10 4 0.690.59326
10 6 0.600.50446
Phase Angle
Step Change
(Section 8.4)
10 2 1.145.1556
10 4 0.710.63339
10 6 0.630.57468
Scenario 1
(Section 8.5)
10 2 1.165.2159
10 4 0.720.81370
10 6 0.640.74484
Scenario 2
(Section 8.5)
10 2 1.255.2663
10 4 0.780.85391
10 6 0.710.77510
Table 11. MSEs and CRBs of the estimated parameters by the proposed algorithm.
Table 11. MSEs and CRBs of the estimated parameters by the proposed algorithm.
ParameterCRBMSE
A 1 6.25 × 10 6 1.35 × 10 5
θ 1 2.62096 × 10 5 1.46 × 10 4
f 1 6.8458 × 10 3 9.23 × 10 3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jafarpisheh, B.; Pal, A. A Robust Algorithm for Real-Time Phasor and Frequency Estimation under Diverse System Conditions. Energies 2021, 14, 7112. https://doi.org/10.3390/en14217112

AMA Style

Jafarpisheh B, Pal A. A Robust Algorithm for Real-Time Phasor and Frequency Estimation under Diverse System Conditions. Energies. 2021; 14(21):7112. https://doi.org/10.3390/en14217112

Chicago/Turabian Style

Jafarpisheh, Babak, and Anamitra Pal. 2021. "A Robust Algorithm for Real-Time Phasor and Frequency Estimation under Diverse System Conditions" Energies 14, no. 21: 7112. https://doi.org/10.3390/en14217112

APA Style

Jafarpisheh, B., & Pal, A. (2021). A Robust Algorithm for Real-Time Phasor and Frequency Estimation under Diverse System Conditions. Energies, 14(21), 7112. https://doi.org/10.3390/en14217112

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