Keywords

1 Introduction

With the large-scale development and utilization of renewable energy and the development of smart power grid, China has now built a super-large and complex interconnected power system [1]. It has the highest level of transmission voltage and accommodates the largest amount of renewable energy in the world, and poses a great risk for safe operation [2]. Large-scale renewable energy that used to grid introduced a number of inverter, inverter, unified power flow controller of new power electronic equipment [3]. In the power system of power supply, power grid and load each link has obvious power electronic characteristics, cause subsynchronous oscillation disturbance phenomenon such as more frequent, presents the trend of the broadband domain grid harmonic interference, therefore improve the monitoring ability of power grid disturbance of different frequency components, reduce the risk of power grid operation [4]. In recent years, the wide area measurement system (WAMS) based on the synchronous phasor measurement device (PMU) has been widely used in the fields of power system dynamic process monitoring, online identification, security and stability analysis and wide area control [5]. With the deepening of WAMS application research, PMU requires more and more synchronous phasor measurement, and the accuracy and rapidity of its phasor algorithm will directly affect the reliability of related application functions [6].

At present, scholars at home and abroad have put forward a variety of synchronous phasor measurement algorithms, including discrete Fourier transform (DFT) method, dynamic phasor method, wavelet transform method, digital filter method and so on [7]. Among them, DFT algorithm is widely used because of its fast computation speed and strong harmonic suppression ability [8]. Literature [9] proposed a DFT calculation results are modified phasor measurement algorithm, compared with traditional DFT algorithm, the algorithm significantly improves the calculation precision, such as dynamic process response speed is limited, but for mutations and simplify the process done approximation is bigger, when great moment, amplitude changes in the frequency deviation meets the requirement of accuracy [10]. Recently, literature [11] proposed an algorithm based on the frequency domain dynamic model, which used the response of different frequency point filters of the same data window to modify the DFT estimation results, and improved the response speed of dynamic processes such as mutation. To solve the problem of weak noise suppression ability and low accuracy in fault process, literature [12] further proposes phasor algorithm using time-frequency information, which gives consideration to accuracy and speed requirements to some extent, but they do not give the method of frequency and harmonic suppression. As for the actual PMU, the PMU from the major manufacturers in China and the relevant test results abroad also show that the phasor algorithm used in various kinds of devices is still insufficient in the application range and practicability [13].

In view of the above problems, this paper also considers the speed and accuracy requirements of PMU algorithm, and proposes a comprehensive adaptive phasor algorithm: (1) improve the time domain algorithm, propose the use of Taylor series expansion to solve the original approximate processing problem, so as to significantly improve the accuracy of phasor measurement, still meet the national standard and IEEE standard requirements when the frequency deviation is large; (2) an improved frequency-domain algorithm is proposed to calculate the phasor, frequency and frequency change rate by calculating the fundamental wave and harmonic content on a data window. A kind of adaptive switching logic is proposed, which takes into account the calculation accuracy of steady state and the dynamic performance of transient state. By referring to the test methods given by national standards and IEEE standards, the advantages of the proposed algorithm over the traditional DFT and the algorithm proposed in literature [9, 11] are verified through simulation. Furthermore, the physical experiment platform was used to test the measurement performance of the actual PMU developed based on the algorithm in this paper, and the measurement accuracy and response performance of the PMU under dynamic conditions were comprehensively compared with that of a mainstream commercial PMU.

2 Signal Modeling

Considering that the amplitude and phase Angle of the dynamic power signal may change with time, this paper adopts the complex signal to represent the dynamic phasor of the power signal. The power signal can be expressed as:

$$ P(t) = a(t)e^{j\theta (t)} $$
(1)
$$ x(t) = P(t)e^{{j 2\pi f_{0} t}} + P^{ * } (t)e^{{ - j 2\pi f_{0} t}} $$
(2)

Where, \( a(t) \) and \( \theta (t) \) represent the polynomials of the amplitude and phase Angle of the power signal respectively, \( f_{0} \) is the rated frequency, \( * \) and represents the conjugate.

The steady-state calculation mode uses the first-order model, assuming that the amplitude and frequency deviation are constant in the calculation period, that is: \( a(t) = a \), \( \theta (t) = \theta_{0} + \theta_{1} t \), Where \( a,\theta_{0} ,\theta_{1} \) are respectively polynomial coefficients of amplitude and phase Angle. According to the specific accuracy requirements, the Taylor series expansion is simplified, and the DFT results of two adjacent data Windows are modified, with less computation and strong harmonic suppression ability, which meets the steady-state accuracy requirements.

In the dynamic calculation mode, it is assumed that the amplitude and phase Angle in the phasor model are k-order models (K is a natural number, in special case K = 0, corresponding to the traditional DFT algorithm), that is \( a(t) = \sum\limits_{i = 0}^{K} {a_{i} t^{i} } \), \( \theta (t) = \sum\limits_{i = 0}^{K} {\theta_{i} t^{i} } \). This can better reflect the dynamic characteristics of the signal. The phasor, frequency and frequency change rate are calculated by the fundamental wave and harmonic content of a data window, so as to meet the requirement of fast response of dynamic process.

3 Algorithm Synthesis Implementation

3.1 Time Domain Algorithm

In the steady-state computing mode, the original approximate processing problem is solved by the time-domain algorithm and the Taylor series expansion. Specifically, the discrete signal model is obtained by sampling formula (2) at N points every period, and the DFT transformation of the signal model is carried out. In this paper, the rectangular window is selected. Thus, the phasor of the power signal can be obtained as:

$$ X = a_{c} e^{{j\theta_{c} }} = ae^{{j\theta_{0} }} e^{{j\frac{{\theta_{1} (N - 1)}}{{2Nf_{0} }}}} A(1 + e^{ - jC} B) $$
(3)
$$ \left\{ {\begin{array}{*{20}c} A & = & {\frac{1}{N}\sin (\frac{{\theta_{1} }}{{2f_{0} }} ) /\sin (\frac{{\theta_{1} }}{{2Nf_{0} }})\;\;\;\;\;\;\;\;\;\;\;} \\ B & = & {\sin (\frac{{\theta_{1} }}{{2Nf_{0} }} ) /\sin (\frac{{\theta_{1} + 4\pi f_{0} }}{{2Nf_{0} }})\;\;\;\;\;\;\;} \\ C & = & {2\theta_{0} + (\theta_{1} + 2\pi f_{0} )(N - 1) / (Nf_{0} )} \\ \end{array} } \right. $$
(4)

Where, \( a_{c} \) and \( \theta_{c} \) respectively represent the calculated amplitude and phase Angle of DFT before correction.

To solve the problem that the approximate error of traditional DFT correction algorithm is large, the time domain algorithm proposed in this paper controls the error by expanding the Taylor series. To be specific, the error requirements under strict conditions of national standard and IEEE standard are considered comprehensively. In the process of approximate derivation, the approximate error should be within the order of \( 10^{ - 5} \) and below. Taking the approximation of B as an example, the Taylor series in the numerator and denominator are expanded to order 1 and order 3 respectively and simplified. As shown in Eq. (5), in the adverse case of sampling at 32 points per cycle and frequency deviation within 5 Hz, the maximum error after simplification is \( 1.5 \times 10^{ - 6} \), which is acceptable.

$$ B \approx \frac{{3N^{2} \theta_{1} }}{{4\pi (3N^{2} - 2\pi^{2} )f_{0} + (3N^{2} - 6\pi^{2} )\theta_{1} }} $$
(5)

Simplify A and \( 1 + e^{ - jC} B \) by following a similar principle. On this basis, the relationship between the phasor after correction and the direct calculation of the phasor by DFT before correction can be obtained as follows:

$$ a \approx \frac{{a_{c} }}{{\frac{{24f_{0}^{2} - \theta_{1}^{2} }}{{24f_{0}^{2} }}\sqrt {1 + B^{2} + 2B\,\cos C} }} $$
(6)
$$ \theta_{0} \approx \theta_{c} + D - \frac{{\theta_{1} (N - 1)}}{{2Nf_{0} }} $$
(7)

Where: \( D = B\,\sin C/(1 + B\,\cos C) \)

The Taylor series expansion of formula (7) can be obtained as follows:

$$ \frac{D}{B} \approx F + GD + \frac{2}{3}GD^{3} - \frac{4}{3}FD^{4} $$
(8)

Where: \( F = \sin (2\theta_{c} - {{2\pi } \mathord{\left/ {\vphantom {{2\pi } N}} \right. \kern-0pt} N}) \), \( G = \cos (2\theta_{c} - {{2\pi } \mathord{\left/ {\vphantom {{2\pi } N}} \right. \kern-0pt} N}) \).

Under the same adverse circumstances, the error after the elimination of the higher order term is acceptable, and the approximate D is substituted into Eq. (7). The data window with k points is calculated like DFT, and the quadratic equation with one variable about B is obtained by combining with the assumed signal model, and then \( \theta_{1} \) is obtained. Substitute \( \theta_{1} \) into Eq. (7) to obtain the corrected phase Angle; The amplitude of a after correction is obtained by formula (6). The corrected frequency is \( f = f_{0} + {{\theta_{1} } \mathord{\left/ {\vphantom {{\theta_{1} } {(2\pi )}}} \right. \kern-0pt} {(2\pi )}} \). Finally, the phasor and frequency are smoothed according to the corrected frequency.

3.2 Frequency Domain Algorithm

Aiming at algorithms in the literature [11] gave no spectrum and frequency variation, and the harmonic interference when unable to obtain the phasor problem correctly, this article proposed frequency-domain algorithm and Taylor series expansion of the power signal model, and through a data window base wave frequency and frequency variation and phasor calculation, harmonic content, can be in a data window to calculate the frequency and frequency variation, and solve the problem of containing harmonic cases phasor calculation. Specifically, formula (1) is expanded into the form of real part and imaginary part of order K through Taylor series:

$$ P(t) = \sum\limits_{k = 0}^{K} {R_{k} t^{k} + j\sum\limits_{k = 0}^{K} {I_{k} t^{k} = R(t) + jI(t)} } $$
(9)

Available:

$$ \left\{ {\begin{array}{*{20}c} {a_{0} } & = & {\sqrt {R_{0}^{2} + I_{0}^{2} } } \\ {\tan \theta_{0} } & = & {\frac{{I_{0} }}{{R_{0} }}} \\ {\theta_{1} } & = & {\frac{{R_{0} I_{1} - R_{1} I_{0} }}{{R_{0}^{2} + I_{0}^{2} }}} \\ {\theta_{2} } & = & {\frac{{R_{0} I_{ 2} - R_{ 2} I_{0} }}{{R_{0}^{2} + I_{0}^{2} }}{ + }\frac{{(R_{0} I_{1} + R_{1} I_{0} )(R_{1} I_{0} - R_{0} I_{1} )}}{{(R_{0}^{2} + I_{0}^{2} )^{2} }}} \\ \end{array} } \right. $$
(10)

By sampling at N points every period of formula (2), the signal model is discretized, and then DFT with coefficient of \( e^{{ - jg_{k} \frac{2\pi }{N}n}} \), where \( g_{k} \) is the set variable, is carried out after the signal model is windowed. In this paper, a rectangular window is selected, and the complex domain equation is:

$$ \begin{aligned} x_{k} = \frac{1}{N}\sum\limits_{n = 0}^{N - 1} {(P(n)e^{{j\frac{2\pi n}{N}}} + P^{ * } (n)e^{{ - j\frac{2\pi n}{N}}} )e^{{ - jg_{k} \frac{2\pi }{N}n}} } \hfill \\ \, \frac{2}{N}\sum\limits_{n = 0}^{N - 1} {(\bar{R}(n)\cos \frac{2\pi n}{N} + \bar{I}(n)\sin \frac{2\pi n}{N})} e^{{ - jg_{k} \frac{2\pi }{N}n}} \hfill \\ \end{aligned} $$
(11)

Where: \( X_{k} \) is the calculation result of the K times Fourier transform; \( \bar{R}(n) = \sum\limits_{k = 0}^{K} {\bar{R}_{k} } n^{k} \), \( \bar{I}(n) = \sum\limits_{k = 0}^{K} {\bar{I}_{k} } n^{k} \), where, \( \bar{R}_{k} = {{R_{k} } \mathord{\left/ {\vphantom {{R_{k} } {(Nf_{0} )^{k} }}} \right. \kern-0pt} {(Nf_{0} )^{k} }} \), \( \bar{I}_{k} = {{I_{k} } \mathord{\left/ {\vphantom {{I_{k} } {(Nf_{0} )^{k} }}} \right. \kern-0pt} {(Nf_{0} )^{k} }} \).

Expand the complex domain equation into the form of real part and imaginary part:

$$ X_{k} = \frac{2}{N}M_{k} P $$
(12)

Where, \( X_{k} = [X_{kR} ,X_{kI} ]^{T} \) is the vector formed by the real part \( X_{kR} \) and the imaginary part \( X_{kI} \) of the K times Fourier transform calculation result; \( M_{k} = [M_{k0} ,M_{k1} , \cdots ,M_{kK} ] \) is the coefficient of the system, and its element expression is shown in Eq. (13). \( P = [\bar{R}_{0} ,\bar{I}_{0} ,\bar{R}_{1} ,\bar{I}_{1} , \cdots ,\bar{R}_{K} ,\bar{I}_{K} ]^{T} \) is the signal model parameter.

$$ M_{ki} = \left[ {\begin{array}{*{20}c} {\sum\limits_{n = 0}^{N - 1} {n^{i} \cos \frac{2\pi n}{N}\cos \frac{{2\pi ng_{k} }}{N}} } & { - \sum\limits_{n = 0}^{N - 1} {n^{i} \sin \frac{2\pi n}{N}\cos \frac{{2\pi ng_{k} }}{N}} } \\ { - \sum\limits_{n = 0}^{N - 1} {n^{i} \cos \frac{2\pi n}{N}\cos \frac{{2\pi ng_{k} }}{N}} } & {\sum\limits_{n = 0}^{N - 1} {n^{i} \sin \frac{2\pi n}{N}\sin \frac{{2\pi ng_{k} }}{N}} } \\ \end{array} } \right] $$
(13)

When \( k = 0,1, \cdots ,K \) simultaneous equations, get:

$$ X = \frac{2}{N}MP $$
(14)

Where: \( X = [X_{0}^{T} ,X_{1}^{T} , \cdots ,X_{K}^{T} ]^{T} \), \( M = [M_{0}^{T} ,M_{1}^{T} , \cdots ,M_{K}^{T} ]^{T} \).

It should be noted that the selection of \( g_{k} \) in DFT coefficient should make the matrix \( M^{ - 1} \) condition number as small as possible to avoid ill-condition. At the same time, the power system harmonic interference should be suppressed. In order to suppress the common odd harmonic interference, 1,2,4…, that is, find the fundamental wave and the 2nd and 4th harmonic content of power signal in a data window. Since \( g_{k} \) can be determined in advance, the matrix \( M \) and its inverse \( M^{ - 1} \) can be calculated offline. In combination with Eq. (10) and (14), the amplitude at the calculation point is \( a_{0} \) and the phase Angle is \( \theta_{0} \). When the order K is ≥ 1, the frequency deviation is \( {{\theta_{1} } \mathord{\left/ {\vphantom {{\theta_{1} } {2\pi }}} \right. \kern-0pt} {2\pi }} \). When K ≥ 2, the rate of frequency change can be obtained as \( {{\theta_{2} } \mathord{\left/ {\vphantom {{\theta_{2} } \pi }} \right. \kern-0pt} \pi } \).

Theoretically, the higher the order K is, the higher the accuracy will be. However, in practical application, the higher the order K is, the higher the requirement for PMU software and hardware resources will be. Therefore, in engineering application, it is necessary to select according to the actual situation.

3.3 Verification Algorithm and Comprehensive Algorithm Implementation

In view of the problem that the existing algorithm can not take into account both the calculation accuracy of steady state and the dynamic performance of transient state, the algorithm proposed in this paper can realize the adaptive switching of calculation mode through verification under different conditions, so as to take into account the requirements of fast response and high precision.

Specifically, by calculating the phasor, the theoretical calculated values of each sampling point are deduced, and compared with the actual measured points. If the total deviation is small, the test passes. For example, for the time-domain algorithm, the theoretical calculation value of each extraction point is deduced from \( \theta_{0} \), \( \theta_{1} \) and \( a \) after correction, and the density of the extraction point is determined according to the actual situation:

$$ x_{c} (n_{i} ) = a\,\cos (\theta_{0} + \frac{{n_{i} \theta_{1} }}{{Nf_{0} }} + \frac{{2\pi n_{i} }}{N}) $$
(15)

Where: \( n_{i} (i = 1,2. \cdots ,L) \) is the selected point, and \( 1 \le n_{i} \le N \), where L is the total number of samples; \( x_{c} (n_{i} ) \) is the theoretical value of the extracted point.

The total deviation between the theoretical calculated value and the measured value is:

$$ \varepsilon \;{ = }\;\sum\limits_{i = 1}^{L} {\left| {x_{c} (n_{i} ) - x_{m} (n_{i} )} \right|} $$
(16)

Where: \( x_{m} (n_{i} ) \) is the measured value of the corresponding sampling point.

The overall flow of the comprehensive algorithm is shown in Fig. 1, mainly including the following steps: (1) assume that the power signal is a first-order model, solve the phasor through the time domain algorithm; (2) through the comparison of the back value and the measured value, check the calculation result is correct, if the check through, the end, if not, it means that the current may be in a sudden change and other dynamic process, into the next step; Assuming that the power signal is a k-order model, the phasor, frequency and frequency change rate are solved by frequency domain algorithm. (4) check whether the calculation results of the frequency-domain algorithm are correct. If the calibration fails, the failure may occur in the case that the equal-frequency algorithm in this data window is also unable to deal with. In order to avoid large fluctuations, the results of the time-domain algorithm are still used.

Fig. 1.
figure 1

Comprehensive phasor measurement algorithm to achieve the flow

4 Simulation Analysis

The national standard and IEEE standard specify the measurement method and precision requirement of PMU under steady state and dynamic condition in detail. According to the reference standards in literature [14], devices of four major PMU manufacturers in China were tested, and the test results showed that all four failed to fully meet the standard requirements, and some indicators even had a large deviation. In this paper, the performance of the algorithm was comprehensively tested and analyzed by reference to the standard in MATLAB, and compared with the traditional DFT algorithm (algorithm 1), the DFT correction algorithm (algorithm 2) proposed in literature [9], and the DFT correction algorithm (algorithm 3) proposed in literature [11] using the response of different frequency point filters. Due to the limitation of space, the steady-state performance and the dynamic performance of the step response under the three important indexes of frequency deviation, harmonic influence and frequency linear change are analyzed emphatically in this paper. In the simulation process, the sampling frequency of each algorithm is equal to 6400 Hz, and the interval between two adjacent data Windows in the time-domain algorithm in this paper is 64 points. The phasor model of the frequency-domain algorithm adopts the third-order model.

4.1 Frequency Deviation Analysis

When the frequency deviation is 5 Hz, the corresponding maximum error, average absolute error and root mean square error of each algorithm are shown in Table 1. It can be seen that when the frequency deviates from the rated frequency, the error of algorithm 1 and 2 is large. The measurement accuracy of this algorithm is high and meets the requirements of national standards. The reason is that the unsynchronized sampling of algorithm 1 leads to the spectrum leakage, and algorithm 2 makes a large approximation in the process of simplification. However, under the premise of ensuring the accuracy, the algorithm in this paper deduces the approximation by controlling the number of Taylor series expansion terms, so the accuracy is high.

Table 1. Error of each algorithm when frequency deciation is 5 Hz

4.2 Harmonic Influence Analysis

According to the national standard, the algorithms are analyzed under the frequency deviation of 0.5 Hz and the superposition of 2–13 harmonics of rated amplitude of 20%. The simulation results are shown in Table 2. It can be seen from Table 2 that when the frequency is shifted by 0.5 Hz with serious harmonic interference, the error of algorithm 3 is large. The accuracy of the algorithm in this paper is better than that of algorithm 1 and 2, and it meets the requirements of the latest national standard. Due to the limitation of the signal model and algorithm principle of algorithm 3, the fundamental phasor of the power signal cannot be acquired correctly. In this paper, the harmonic suppression capability of DFT algorithm is integrated, and the frequency deviation is high precision.

Table 2. Error of each algorithm under harmonic influence

4.3 Frequency Slope Response Analysis

According to IEEE standard, the slope test signal with frequency deviation of 5 Hz and rate of change of 1 Hz/s is applied to test the accuracy of each algorithm. The mathematical expression of the input signal is as follows:

$$ x(t) = a\,\cos (2\pi f_{0} t + 2\pi \Delta ft + \pi t^{2} + {\pi \mathord{\left/ {\vphantom {\pi 2}} \right. \kern-0pt} 2}) $$
(17)

When a is equal to 1, it’s equal to 50 Hz. The error results of each algorithm are shown in Table 3. It can be seen that when the signal frequency range is wide and the frequency linear change is fast, the algorithm in this paper still maintains high accuracy and is better than the other three algorithms. Among them, the maximum frequency error is 0.001 Hz and the maximum frequency change rate error is-0.0088 Hz/s, which all meet the requirements of IEEE standard.

Table 3. Error of each algorithm during ramp change of frequency

4.4 Step Response Analysis

In order to test the response performance of the algorithm to dynamic processes such as mutation, 90° phase Angle step signal was applied according to the national standard:

$$ x(t) = \left\{ {\begin{array}{*{20}c} {a\,\cos (2\pi f_{0} t + {\pi \mathord{\left/ {\vphantom {\pi 6}} \right. \kern-0pt} 6}) \, t < 40\;\text{ms}} \\ {a\,\cos (2\pi f_{0} t + {\pi \mathord{\left/ {\vphantom {\pi 6}} \right. \kern-0pt} 6} + {\pi \mathord{\left/ {\vphantom {\pi 2}} \right. \kern-0pt} 2}) \, t \ge 40\;\text{ms}} \\ \end{array} } \right. $$
(18)

The step response curves of each algorithm are shown in Fig. 2.

Fig. 2.
figure 2

Step response curves of each algorithm

According to the definition of response time by the national standard, the response time of the algorithm in this paper is about 20 ms, which is faster than algorithm 2 (30 ms) and has higher accuracy than algorithm 3. This is because the algorithm in this paper ADAPTS to the frequency domain algorithm after the step response, and only needs one period of data. Algorithm 2 needs two data Windows, so the algorithm in this paper has a faster response speed than algorithm 2, while algorithm 3 fluctuates greatly in the data window where the fault is due to the limitation of principle. At the same time, it also shows the correctness of the proposed algorithm.

5 Experimental Test

Based on the embedded software and hardware platform, PMU is developed. The developed PMU converts large voltage and current signals into small voltage signals through voltage and current transformers. Then, according to the global positioning system’s second pulse, the voltage signals are sampled at regular intervals in time synchronization through 16-bit analog digital converter, and the sampled signals are processed in the digital signal processor chip. The experimental test platform used for this test is shown in Fig. 3.

Fig. 3.
figure 3

PMU test system

5.1 Measurement Accuracy Test Under Dynamic Condition

The curve of comparing the voltage amplitude of the slave node measured by commercial PMU and the PMU algorithm in this paper with the truth value is shown in Fig. 4(a). The truth value refers to the data directly sent from the simulation system. By calculation, the average absolute error of the amplitude of commercial PMU is 0.17%, while the algorithm in this paper is 0.14%. Figure 4(b) shows the curve comparing the relative phase Angle measured by the commercial PMU and the PMU algorithm in this paper with the true value. By calculation, the average absolute error of the phase Angle of the commercial PMU is 0.156°, while the algorithm in this paper is 0.062°. According to Fig. 4 and the calculation error, in the dynamic process, both PMUs meet the requirements of the national standard. The algorithm in this paper is closer to the truth value than the commercial PMUs, but due to the limitation of hardware conditions, the accuracy improvement level is not significant.

Fig. 4.
figure 4

Curves of voltage magnitude and angle

5.2 Fast Response Performance Test Under Dynamic Conditions

In order to objectively compare the response performance of the commercial PMU and the algorithm in this paper under dynamic conditions, 34 short-circuit simulation experiments were carried out in succession. The test results show that the phasor cannot be measured correctly 16 times in the short circuit process of the commercial PMU, and the algorithms in this paper are all normal. Figure 5(a) shows the curve of amplitude and truth value comparison of slave stations measured by commercial PMU and the algorithm in this paper. Figure 5(b) shows the curve of relative phase Angle and true value of the horizontal leach-derived station measured by commercial PMU and the algorithm in this paper. It can be seen that in the short-circuit process, the commercial PMU has a point with amplitude of 0 and a large fluctuation of relative phase Angle, which is not consistent with the true value, indicating that the algorithm in this paper has a faster response performance than the commercial PMU in some transient processes.

Fig. 5.
figure 5

Curves of voltage magnitude and angle under quick response performance testing

6 Conclusion

In this paper, a comprehensive adaptive phasor algorithm based on Taylor series and DFT is proposed. According to the national standard and IEEE standard, the proposed algorithm is comprehensively simulated in MATLAB. Based on the algorithm in this paper, PMU is implemented and compared with a mainstream commercial PMU on a digital - physical hybrid simulation platform. Theoretical simulation and experimental test results show that the proposed algorithm has superior performance, mainly in the following aspects.

  1. 1)

    in the steady-state calculation mode, time-domain algorithm is adopted to simplify the calculation by Taylor series expansion under the premise of analysis to ensure the accuracy, which has high accuracy and strong harmonic suppression ability.

  2. 2)

    in the dynamic computing mode, the frequency domain algorithm is adopted to calculate the amplitude, phase Angle, frequency and frequency change rate only through the fundamental wave and each harmonic content of a data window, with fast response speed and harmonic suppression ability.

  3. 3)

    through the calculation of the phasor, the strategy of reversely deducing the theoretical calculation value of each sampling point and comparing it with the measured value can be adopted to switch the calculation mode adaptively, taking into account the accuracy and rapidity requirements.

  4. 4)

    the implementation, accuracy and fast response performance of the actual PMU are better than the commercial PMU compared, indicating that the proposed algorithm can meet the requirements of practical application.