Next Article in Journal
Formulation and Analysis of an Approximate Expression for Voltage Sensitivity in Radial DC Distribution Systems
Next Article in Special Issue
Active Participation of Air Conditioners in Power System Frequency Control Considering Users’ Thermal Comfort
Previous Article in Journal
An Approach to Identify the Suitable Plant Location for Miscanthus-Based Ethanol Industry: A Case Study in Ontario, Canada
Previous Article in Special Issue
Interval Type-II Fuzzy Rule-Based STATCOM for Voltage Regulation in the Power System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Two-Stage Algorithm to Estimate the Fundamental Frequency of Asynchronously Sampled Signals in Power Systems

1
Department of Electrical Engineering, Myongji University, Yongin 449-728, Korea
2
Industrial Physical Instrument Center, Korea Testing Laboratory, Ansan 426-901, Korea
*
Author to whom correspondence should be addressed.
Energies 2015, 8(9), 9282-9295; https://doi.org/10.3390/en8099282
Submission received: 9 July 2015 / Revised: 19 August 2015 / Accepted: 21 August 2015 / Published: 28 August 2015
(This article belongs to the Special Issue Electric Power Systems Research)

Abstract

:
A two-stage algorithm is proposed for the estimation of the fundamental frequency of asynchronously sampled signals in power systems. In the first stage, time-domain interpolation reconstructs the power system signal at a new sampling time and the reconstructed signal passes through a tuned sine filter to eliminate harmonics. In the second stage, the fundamental frequency is estimated using a modified curve fitting, which is robust to noise. The evaluation results confirm the efficiency and validity of the two-stage algorithm for accurate estimation of the fundamental frequency even for asynchronously sampled signals contaminated with noise, harmonics, and an inter-harmonic component.

1. Introduction

Sampling-based power measurements are typically carried out using a clock signal that is synchronized with the signal from the power system under analysis. However, often there may be no means of synchronizing the clock signal to the power system signal, and power measurements are instead based on asynchronous sampling of power system signals. These circumstances include industrial measurements and high-precision calibrations in metrology laboratories. Under such circumstances, accurate estimation of the fundamental frequency of power system signals is essential to minimize the errors caused by asynchronous sampling.
Numerous studies have estimated the fundamental frequency of asynchronously sampled signals, and several interesting results have been published in recent decades. Spectral techniques [1,2,3,4,5] are among the most popular approaches because of their low computational burden and feasibility for real-time applications. When asynchronously sampled data are processed using a discrete Fourier transform (DFT) to extract frequency information, the spectral leakage error is appended to the calculated result. Spectral techniques compensate for this leakage error to estimate the fundamental frequency. Orthogonal techniques [6,7,8,9,10,11,12,13,14] are another of the most popular approaches for real-time applications. In this approach, filters generate orthogonal signals and complex vectors, which are used to estimate the fundamental frequency. However, the calculation accuracy of spectral and orthogonal techniques is limited, and does not satisfy the precision required for certain applications.
In contrast, time-domain techniques, such as curve fitting [15,16,17,18,19] and parametric interpolations [20,21,22,23], are capable of highly accurate frequency estimation, at the cost of a higher computational burden. Curve fitting algorithms are commonly used in time-domain techniques because of their robustness to noise. In particular, the four-parameter sine fit (4PSF) algorithm [16] performs close to the Cramer Rao lower bound (CRLB), which is the theoretical limit of variance for an unbiased estimator, for almost all noise levels [24,25]. The 4PSF algorithm is more suited to less distorted steady-state waveforms, since its performance significantly degrades as total harmonic distortion (THD) increases. Parametric interpolations, such as cubic spline interpolations [20,21] and Newton interpolations [22,23], offer an alternative time-domain approach and are used to modify the sampling rate of an analog-to-digital conversion in software. In particular, the time-domain interpolation and scanning (TDIS) algorithm [20] reconstructs a waveform by cubic spline interpolation to find a new sampling rate that is an integer multiple of the fundamental frequency using a scanning procedure. The phase drift in the reconstructed waveform is used to estimate the fundamental frequency and iteratively correct the waveform. The TDIS algorithm gives greater frequency errors in the presence of inter-harmonics. In the opposite sense to the TDIS algorithm, which modifies the sampled signal to synchronize with the estimated frequency, the phase sensitive frequency estimation with interpolated phase (PSFEi) algorithm [26,27] modifies the frequency of the sine waves used in curve fitting to synchronize with the sampled data. The PSFEi algorithm calculates the phase increase of the fundamental component between two groups within the sampled data using the three-parameter sine fit (3PSF) algorithm [28] and then updates the fundamental frequency to be consistent with the phase increase. To minimize the effect of harmonic components, the phase increase in the final iteration is interpolated to an exact integer number of fundamental cycles. The PSFEi gives greater frequency errors in the presence of fluctuating harmonics.
In this paper, a two-stage algorithm is proposed for accurate estimation of the fundamental frequency of asynchronously sampled signals regardless of noise and harmonics. The remainder of the paper is organized as follows: frequency estimation using the two-stage algorithm is formulated in Section 2, and the performance of the algorithm is evaluated in Section 3 using both computer simulations and a hardware implementation. Conclusions are presented in Section 4.

2. Two-Stage Algorithm for Estimating a Fundamental Frequency

Assuming that a power system signal has a purely sinusoidal waveform with a fundamental frequency ωf (rad/s), amplitude Af (V or A), and phase θf (rad), the NM-point data uniformly sampled with a sampling time Δt can be described in discrete time steps as follows:
y ( n ) = A f cos ( ω f n 2 π ω 0 N 0 + θ f ) = A f cos ( ω f n Δ t + θ f ) n = 1 , , N M
where ω0 (rad/s) is a nominal frequency and N0 is the number of samples per cycle at ω0.

2.1. Tuned Sine Filtering Followed by Time-Domain Interpolation

Harmonics within a power system signal make accurate estimation of the fundamental frequency difficult. To eliminate these harmonics from the power system signal, a sine filter is usually used and its reference frequency is typically set to the nominal frequency [11]. When the fundamental frequency is equal to the reference frequency, the sine filter can eliminate harmonics from the power system signal perfectly. However, when the fundamental frequency deviates from the reference frequency, harmonics may not be eliminated effectively. To overcome this drawback, this paper proposes a tuned sine filter that adjusts its reference frequency to synchronize with an estimate of the fundamental frequency. The filter length should be matched to the number of samples per cycle at the reference frequency to keep its ability to eliminate harmonics. To meet this constraint, time-domain interpolation is used to reconstruct the power system signal at a new sampling time corresponding to the reference frequency, prior to applying the tuned sine filter.
Assuming that ω ^ f ( i 1 ) is an estimate of the fundamental frequency at the previous iteration (i – 1), which will be used as the reference frequency for the tuned sine filter, the new sampling time Δ t ^ ( i ) is given as:
Δ t ^ ( i ) = 2 π ω ^ f ( i 1 ) N 0
To reconstruct the power system signal at the new sampling time, application of cubic spline interpolation to Equation (1) yields:
y ^ ( i ) ( n ) = A f cos ( ω f n Δ t ^ ( i ) + θ f ) n = 1 , , N ^ M ( i )
where N ^ M ( i ) is the number of samples in the reconstructed signal and is given as N M Δ t Δ t ^ ( i ) . The algorithm used to compute the splines and interpolation is taken from [29]. Using the estimate of the fundamental frequency as the reference frequency for the tuned sine filter, the coefficients of the filter are given by:
H S ( n ) = 2 N 0 sin ( ω ^ f ( i 1 ) n Δ t ^ ( i ) ) = 2 N 0 sin ( 2 π n N 0 )    n = 1 , , N 0
It is noted that the coefficients of the filter are independent of the estimate of the fundamental frequency since this has already been considered in the calculation of the new sampling time, given in Equation (2). Applying Equation (4) to y ^ ( i ) ( n ) in Equation (3) yields a sine-filtered signal:
y ^ S ( i ) ( n ) = A f | H S ( ω f ) | cos ( ω f n Δ t ^ ( i ) + θ f + H S ( ω f ) ) n = N 0 , , N ^ M ( i )
where | H S ( ω f ) | and H S ( ω f ) are the amplitude and phase response of the tuned sine filter at ωf, respectively. Some minor calculations yield:
y ^ S ( i ) ( n ) = C f cos ( ω f n Δ t ^ ( i ) ) + S f sin ( ω f n Δ t ^ ( i ) ) n = N 0 , , N ^ M ( i )
where:
C f = A f | H S ( ω f ) | cos ( θ f + H S ( ω f ) )
S P = A f | H S ( ω f ) | sin ( θ f + H S ( ω f ) )

2.2. Modified Curve Fitting with an Unknown Frequency

The 3PSF algorithm performs a least-squares curve fitting on the sampled data to find the DC component, and the amplitude and phase of the component at a known frequency [28]. In the 4PSF algorithm, the frequency itself is treated as an unknown parameter to be found. Although the 4PSF algorithm is more computationally complex, this algorithm is recommended for sampled data containing five or more cycles of the power system signal [16,30], because the 4PSF algorithm usually determines the frequency to greater accuracy even if it is accurately known a priori. Since the tuned sine filter, which is used prior to applying the modified curve fitting, can eliminate the DC component, it can be assumed that there is no DC component in the sine-filtered signal given in Equation (6). Therefore, the number of modeling parameters in the 4PSF algorithm can be reduced from four to three: the fundamental frequency, amplitude, and phase. Assuming that C ^ f ( i ) , S ^ f ( i ) , and ω ^ f ( i ) are estimates of Cf, Sf, and ωf in Equation (6) respectively, the sine-filtered signal of Equation (6) can be expressed as:
y ^ S ( i ) ( n ) = C ^ f ( i ) cos ( ω ^ f ( i ) n Δ t ^ ( i ) ) + S ^ f ( i ) sin ( ω ^ f ( i ) n Δ t ^ ( i ) ) n = N 0 , , N ^ M ( i )
To find an iterative form of Equation (7), a Taylor series expansion of the cosine function in Equation (7) is taken around the previous frequency estimate ω ^ f ( i 1 ) :
cos ( ω ^ f ( i ) n Δ t ^ ( i ) ) = cos ( ( ω ^ f ( i 1 ) + Δ ω ^ f ( i ) ) n Δ t ^ ( i ) ) = cos ( ω ^ f ( i 1 ) n Δ t ^ ( i ) ) cos ( Δ ω ^ f ( i ) n Δ t ^ ( i ) ) sin ( ω ^ f ( i 1 ) n Δ t ^ ( i ) ) sin ( Δ ω ^ f ( i ) n Δ t ^ ( i ) ) cos ( ω ^ f ( i 1 ) n Δ t ^ ( i ) ) sin ( ω ^ f ( i 1 ) n Δ t ^ ( i ) ) Δ ω ^ f ( i ) n Δ t ^ ( i ) = cos ( 2 π n N 0 ) sin ( 2 π n N 0 ) Δ ω ^ f ( i ) n Δ t ^ ( i )
Similarly, a Taylor series expansion of the sine function in Equation (7) is taken around ω ^ f ( i 1 ) :
sin ( ω ^ f ( i ) n Δ t ^ ( i ) ) sin ( 2 π n N 0 ) + cos ( 2 π n N 0 ) Δ ω ^ f ( i ) n Δ t ^ ( i )
Substitution of Equations (8) and (9) into Equation (7) yields:
y ^ S ( i ) ( n ) C ^ f ( i ) { cos ( 2 π n N 0 ) sin ( 2 π n N 0 ) Δ ω ^ f ( i ) n Δ t ^ ( i ) } + S ^ f ( i ) { sin ( 2 π n N 0 ) + cos ( 2 π n N 0 ) Δ ω ^ f ( i ) n Δ t ^ ( i ) } = C ^ f ( i ) cos ( 2 π n N 0 ) + S ^ f ( i ) sin ( 2 π n N 0 ) + Δ ω ^ f ( i ) n Δ t ^ ( i ) { S ^ f ( i ) cos ( 2 π n N 0 ) C ^ f ( i ) sin ( 2 π n N 0 ) } C ^ f ( i ) cos ( 2 π n N 0 ) + S ^ f ( i ) sin ( 2 π n N 0 ) + Δ ω ^ f ( i ) n Δ t ^ ( i ) { S ^ f ( i 1 ) cos ( 2 π n N 0 ) C ^ f ( i 1 ) sin ( 2 π n N 0 ) }
The successive samples in Equation (10) can be written in matrix form:
y ^ S ( i ) = A ^ ( i ) x ^ ( i )
where:
y ^ S ( i ) = [ y ^ S ( i ) ( N 0 ) y ^ S ( i ) ( N ^ M ( i ) ) ] T    x ^ ( i ) = [ C ^ f ( i ) S ^ f ( i ) Δ ω ^ f ( i ) ] T
A ^ ( i ) = [ cos ( 2 π N 0 N 0 ) sin ( 2 π N 0 N 0 ) N 0 Δ t ^ ( i ) { S ^ f ( i 1 ) cos ( 2 π N 0 N 0 ) C ^ f ( i 1 ) sin ( 2 π N 0 N 0 ) } cos ( 2 π N ^ M ( i ) N 0 ) sin ( 2 π N ^ M ( i ) N 0 ) N ^ M ( i ) Δ t ^ ( i ) { S ^ f ( i 1 ) cos ( 2 π N ^ M ( i ) N 0 ) C ^ f ( i 1 ) sin ( 2 π N ^ M ( i ) N 0 ) } ]
Since the coefficient matrix A ^ ( i ) with dimensions ( N ^ M ( i ) N 0 + 1 ) × 3 is not square, its pseudo inverse with dimensions 3 × 3 is used to find x ^ ( i ) :
x ^ ( i ) = ( ( A ^ ( i ) ) T A ^ ( i ) ) 1 ( A ^ ( i ) ) T y ^ S ( i )
Finally, the frequency estimate is updated using the frequency deviation Δ ω ^ f ( i ) in x ^ ( i ) :
ω ^ f ( i ) = ω ^ f ( i 1 ) + Δ ω ^ f ( i )

2.3. Frequency Estimation Procedure

Figure 1 shows the block diagram for the frequency estimation procedure using the two-stage algorithm. Initial estimates for C ^ f ( 0 ) , S ^ f ( 0 ) , and ω ^ f ( 0 ) are obtained using 3pDFT [31], a simple and efficient algorithm for estimating the fundamental frequency. At the first iteration, a new sampling time Δ t ^ ( 1 ) is calculated corresponding to ω ^ f ( 0 ) and cubic spline interpolation is applied to reconstruct the power system signal at the new sampling time. The reconstructed signal passes through the tuned sine filter to eliminate harmonics. Prior to performing the modified curve fitting on the sine-filtered signal, the coefficients of A ^ ( 1 ) are calculated based on C ^ f ( 0 ) , S ^ f ( 0 ) , and Δ t ^ ( 0 ) . After finding the pseudo inverse of A ^ ( 1 ) as given in Equation (12), the modified curve fitting determines the modeling parameters ( C ^ f ( 1 ) , S ^ f ( 1 ) , and Δ ω ^ f ( 1 ) ) and the frequency estimate ω ^ f ( 1 ) is updated using Δ ω ^ f ( 1 ) . The i t h iteration is the same as the first iteration, but uses the most recent estimates C ^ f ( i 1 ) , S ^ f ( i 1 ) , and ω ^ f ( i 1 ) instead of the initial estimates C ^ f ( 0 ) , S ^ f ( 0 ) , and ω ^ f ( 0 ) . Since curve fitting algorithms with an unknown frequency double the number of significant digits in the frequency estimate at each iteration and converge very rapidly, six iterations have been considered more than adequate [30]. In this paper, six iterations are repeated to produce an accurate frequency estimate.
Figure 1. Frequency estimation procedure for the two-stage algorithm.
Figure 1. Frequency estimation procedure for the two-stage algorithm.
Energies 08 09282 g001

3. Performance Evaluation

To evaluate the performance of the two-stage algorithm, results were compared with those obtained using the TDIS, 4PSF, and PSFEi algorithms. All four algorithms were tested using two approaches: computer simulations and a hardware implementation.

3.1. Computer Simulations

3.1.1. Number of Cycles in the Data Window

While the sampling time and length of the data window were fixed (i.e., Δ t = 30 u s and N M = 8192 ), the number of cycles in the data window was varied by varying the fundamental frequency of the test waveform, which consisted of a single-tone sine wave and a 60 dB white noise signal. In the simulations, the number of cycles in the data window was varied between 3 and 20, which corresponds to the fundamental frequencies between 12.207 Hz and 81.380 Hz. The root-mean-square (RMS) error of frequency estimation after 1000 repetitions at each number of cycles is shown in Figure 2, together with the CRLB. The 4PSF and PSFEi algorithms perform close to the CRLB for all numbers of cycles; the TDIS algorithm performs well, but is marginally worse than the 4PSF and PSFEi algorithms for six cycles or more within the data window. It was also found that the two-stage algorithm needs at least eight cycles in the data window to perform close to the CRLB.
Figure 2. RMS error of frequency estimation with an increasing number of cycles in the data window.
Figure 2. RMS error of frequency estimation with an increasing number of cycles in the data window.
Energies 08 09282 g002

3.1.2. Noise Level

Simulations with noise were performed using a single-tone sine waveform with a random phase and fundamental frequency of 61.2 Hz. The signal-to-noise ratio (SNR) varied from 0 dB to 100 dB with a noise increase of 10 dB. The RMS error of frequency estimation after 1000 repetitions at each SNR level is shown in Figure 3. As with previous tests, the 4PSF and PSFEi algorithms perform close to the CRLB for all noise levels, and the two-stage algorithm also performs close to the CRLB. The TDIS algorithm performs approximately 1.2-fold worse than the others.
Figure 3. Root-mean-square (RMS) error of frequency estimation with increasing noise level.
Figure 3. Root-mean-square (RMS) error of frequency estimation with increasing noise level.
Energies 08 09282 g003

3.1.3. Harmonics

The simulated test waveforms have the following form:
y ( n ) = h = 0 H A h ( n ) sin ( h ω f t n + θ h ) + e ( n )
Tests were run with fundamental frequencies varying within 60 ± 5 Hz, with a random phase θ h for each harmonic. The other parameters in Equation (14) were set as follows: e ( n ) = 60 dB , H = 10 , A 1 ( n ) = 1 , A h ,even ( n ) = 0.01 × S , A h 1 , odd ( n ) = 0.2 × S , where S was an integer multiplier from 0 to 4 used to increase the amplitudes of the even and odd harmonics. The maximum error of frequency estimation after 1000 repetitions at each level of THD is given in Figure 4. The performance of the 4PSF algorithm significantly degrades as the multiplier S and, therefore, the THD increases. The PSFEi, TDIS, and two-stage algorithms perform with greater accuracy regardless of THD level, with the two-stage algorithm exhibiting slightly improved performance over the PSFEi and TDIS algorithms.
Figure 4. Maximum error of frequency estimation with increasing THD.
Figure 4. Maximum error of frequency estimation with increasing THD.
Energies 08 09282 g004

3.1.4. Fluctuating Harmonic Component

The simulated test waveforms with a fluctuating harmonic component of order k have the following form:
y ( n ) = h = 0 , k H A h ( n ) sin ( h ω f t n + θ h ) + A k ( 1 + B k sin ( ω k t n ) ) sin ( k ω f t n + θ k ) + e ( n )
where ωk is the frequency of fluctuation, which was set to vary randomly within 7 ± 2 Hz; Ak is the amplitude of the fluctuating harmonic component, which was set to 0.5; and Bk is the depth of fluctuation, which was set to 0.1. The other parameters were identical to those used in Section 3.1.3, except that here the integer multiplier S was set to 1. The order of the fluctuating harmonic component was varied from 2 to 10, and the maximum error of frequency estimation after 1000 repetitions for each fluctuating harmonic order is given in Figure 5; comparison between Figure 4 and Figure 5 shows that the maximum errors for most of the algorithms are significantly worse when one of the harmonics fluctuates. Performance slightly improves as the fluctuating harmonic order increases. This is most likely because spectral leakage from a fluctuating harmonic closer to the fundamental frequency has a greater effect on the estimate.
Figure 5. Maximum error of frequency estimation with increasing order of the fluctuating harmonic.
Figure 5. Maximum error of frequency estimation with increasing order of the fluctuating harmonic.
Energies 08 09282 g005
To evaluate the effect of modulation depth, the order of the fluctuating harmonic was set to 3 and Bk was varied from 0 to 1.0 in 0.1 increments. The maximum error of frequency estimation after 1000 repetitions for each modulation depth is shown in Figure 6. Similar to the effect seen when changing the fluctuating harmonic order, an increase in spectral leakage due to greater modulation depth has an adverse effect on the performance of the PSFEi, TDIS and two-stage algorithms. The 4PSF algorithm is more influenced by THD level and a fluctuating harmonic component does not have a significant effect on its performance.
Figure 6. Maximum error of frequency estimation with increasing modulation depth of the third harmonic.
Figure 6. Maximum error of frequency estimation with increasing modulation depth of the third harmonic.
Energies 08 09282 g006

3.1.5. Fluctuating Inter-Harmonic Component

The simulated test waveforms with a fluctuating inter-harmonic component of index x have the following form:
y ( n ) = h = 0 H A h ( n ) sin ( h ω f t n + θ h ) + A x ( 1 + B x sin ( ω x t n ) ) sin ( x ω f t n + θ x ) + e ( n )
where ω x is the frequency of fluctuation, which was set to vary randomly within 7 ± 2 Hz; and B x is the depth of fluctuation, which was set to 0.1. Other parameters were identical to those used in Section 3.1.3, except that the integer multiplier S was set to 1. The inter-harmonic amplitude Ax was varied from 0 to 0.7 in 0.1 increments. The maximum error of frequency estimation after 1000 repetitions for each of the inter-harmonic amplitude is given in Figure 7. At each repetition, index x was randomly varied from 1.5 to 10. The contamination of the fundamental component caused by the inter-harmonic component leads to increasing estimation errors for the TDIS, PSFEi, and two-stage algorithms with increasing inter-harmonic amplitude. Again, a fluctuating inter-harmonic component does not have a significant effect on the performance of the 4PSF algorithm.
Figure 7. Maximum error of frequency estimation with increasing inter-harmonic amplitude.
Figure 7. Maximum error of frequency estimation with increasing inter-harmonic amplitude.
Energies 08 09282 g007

3.1.6. Computational Burden

Table 1 lists the average time taken to complete a frequency estimate in the simulations for each of the algorithms. The algorithms were implemented in MATLAB, and all simulations were run on a personal computer with an Intel Core i7 processor running at 4.0 GHz. The TDIS and two-stage algorithms required significantly more time than the 4PSF and PSFEi algorithms, which is due to the time-domain interpolation.
Table 1. Average time required for one frequency estimation (ms).
Table 1. Average time required for one frequency estimation (ms).
AlgorithmFigure number
234567
4PSF8.33378.28248.10428.30448.21348.5206
PSFEi12.38811.27910.44411.10210.71011.762
TDIS463.98465.78459.23466.76462.63481.13
Two-stage254.12348.07331.07341.41339.56355.14

3.2. Hardware Implementation

Tests using real waveforms with known characteristics are a useful indicator of the performance of the algorithms under real conditions. A system for efficient implementation and comparison of the algorithms was developed at Korea Testing Laboratory (KTL), a representative accreditation authority in South Korea for the testing and calibration of measurement equipment. As shown in Figure 8, an electrical power quality calibrator (Fluke 6105A) generates calibration voltage and current signals, which were sampled using the data acquisition system developed for the KTL power measurement calibration service. In the data acquisition system, a current shunt (Fluke A40B) converts the calibration current signal to a shunt voltage signal. Two digitizing multi-meters (Agilent 3458A) encode the calibration voltage signal and the shunt voltage signal into digital outputs at a 16-bit resolution. During the encoding process, a waveform generator (Agilent 33500B) produces an EXT TRIG signal to synchronize the operation of the two multi-meters. Integrated software on a host computer controls the two multi-meters through a GPIB and gathers the sampled data, which are used for power measurement calibration. All four algorithms are implemented as sub-programs to estimate the fundamental frequency of the calibration voltage signal, sampled at 8.192 kS/s for 8192-point data.
Figure 8. Hardware implementation for tests using real waveforms.
Figure 8. Hardware implementation for tests using real waveforms.
Energies 08 09282 g008

No.Device Name
1Electrical power quality calibrator (Fluke 6105A)
2Waveform generator (Agilent 33500B)
3,4Digitizing multi-meter (Agilent 3458A)
5Current shunt (Fluke A40B)
6Host computer
Table 2 summarizes the maximum errors of frequency estimation when tests were run at a fundamental frequency of 60 Hz. Two calibration voltage levels (110 V and 220 V) were used in the tests and all algorithms demonstrated similar performance regardless of the calibration voltage level and harmonic. In particular, the maximum errors of the two-stage algorithm are maintained stably between 9.5416 × 10 6 and 9.9564 × 10 6 .
Table 2. Maximum errors of frequency estimation with a fundamental frequency of 60 Hz (10−6 × Hz/Hz).
Table 2. Maximum errors of frequency estimation with a fundamental frequency of 60 Hz (10−6 × Hz/Hz).
VoltageH1 = 110 V, θ1 = 0H1 = 220V, θ1 = 0
HarmonicH3 = 10%H3 = 10%H49 = 10%H49 = 10%H3 = 10%H3 = 10%H49 = 10%H49 = 10%
θ3 = 0θ3 = πθ49 = 0θ49 = πθ3 = 0θ3 = πθ49 = 0θ49 = π
4PSF6.631812.4929.92279.60658.766411.7339.50599.7659
PSFEi9.48119.93789.96499.68649.68319.43559.82149.9948
TDIS11.6238.45679.32509.128310.4729.74179.01509.0917
Two-stage9.52669.89519.93669.69039.59929.54169.73779.9564

4. Conclusions

A two-stage algorithm is proposed for estimation of the fundamental frequency of asynchronously sampled signals in power systems. In the first stage, time-domain interpolation reconstructs the power system signal at a new sampling time and the reconstructed signal passes through a tuned sine filter. The tuned sine filter retains its ability to eliminate harmonics by adjusting its reference frequency to synchronize with an estimate of the fundamental frequency. Prior to applying the tuned sine filter, time-domain interpolation renders it possible to match the filter length of the tuned sine filter to the number of samples per cycle in the reconstructed signal. In the second stage, the fundamental frequency is estimated using a modified curve fitting, which is robust to noise. Since the tuned sine filter eliminates the DC component in addition to harmonics, the DC component is removed from the modeling parameters of the modified curve fitting.
The performance of the two-stage algorithm was evaluated using computer-simulated signals, which were asynchronously sampled and contaminated with noise, harmonics, and an inter-harmonic component. The comparison showed that the two-stage algorithm required approximately eight cycles within the data window to provide a level of performance similar to CRLB, and enabled estimation of the fundamental frequency accurately under a range of conditions. In particular, the two-stage algorithm could estimate the fundamental frequency with greater accuracy than the other algorithms in the presence of high levels of THD, a fluctuating harmonic component and a fluctuating inter-harmonic component. The two-stage algorithm was then implemented on a KTL data acquisition system with 16-bit resolution. The results of this implementation demonstrate both the efficiency and validity of the two-stage algorithm, and show that it can achieve accurate estimations of the fundamental frequency in practical conditions. Therefore, the two-stage algorithm may be considered useful for high-precision applications, such as calibrations in metrology laboratories.

Acknowledgments

This research was supported in part by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (No. NRF-2013R1A1A2062924). This research was also supported in part by the Human Resources Program in Energy Technology of the Korea Institute of Energy Technology Evaluation and Planning (KETEP), granted financial resource from the Ministry of Trade, Industry & Energy, Republic of Korea (No. 20154030200770).

Author Contributions

Joon-Hyuck prepared the manuscript and completed the simulations. Soon-Ryul Nam supervised the study and coordinated the main theme of this paper. Dong-Hun Ryu and Jae-Lim Chang developed the hardware implementation. Sang-Hee Kang discussed the results and implications, and commented on the manuscript. All of the authors read and approved the final manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Grandke, T. Interpolation algorithms for discrete Fourier transforms of weighted signals. IEEE Trans. Instrum. Meas. 1983, 32, 350–355. [Google Scholar] [CrossRef]
  2. Andria, G.; Savino, M.; Trotta, A. Windows and interpolation algorithms to improve electrical measurement accuracy. IEEE Trans. Instrum. Meas. 1989, 38, 856–863. [Google Scholar] [CrossRef]
  3. Xi, J.; Chicharo, J.F. A new algorithm for improving the accuracy of periodic signal analysis. IEEE Trans. Instrum. Meas. 1996, 45, 827–831. [Google Scholar]
  4. Zhang, F.; Geng, Z.; Yuan, W. The algorithm of interpolating windowed FFT for harmonic analysis of electric power system. IEEE Trans. Power Del. 2001, 16, 160–164. [Google Scholar] [CrossRef]
  5. Radil, T.; Ramos, P.M.; Serra, A.C. New spectrum leakage correction algorithm for frequency estimation of power system signals. IEEE Trans. Instrum. Meas. 2009, 58, 1670–1679. [Google Scholar] [CrossRef]
  6. Begovic, M.M.; Djuric, P.M.; Dunlap, S.; Phadke, A.G. Frequency tracking in power network in the presence of harmonics. IEEE Trans. Power Del. 1993, 8, 480–486. [Google Scholar] [CrossRef]
  7. Moore, P.J.; Carranza, R.D.; Johns, A.T. A new numeric technique for high-speed evaluation of power system frequency. IEE Proc. Gen. Transm. Distrib. 1994, 141, 529–536. [Google Scholar] [CrossRef]
  8. Akke, M. Frequency estimation by demodulation of two complex signals. IEEE Trans. Power Del. 1997, 12, 157–163. [Google Scholar] [CrossRef]
  9. Sidhu, T.S. Accurate measurement of power system frequency using a digital signal processing technique. IEEE Trans. Instrum. Meas. 1999, 48, 75–81. [Google Scholar] [CrossRef]
  10. Yang, J.Z.; Liu, C.W. A precise calculation of power system frequency. IEEE Trans. Power Del. 2001, 16, 361–366. [Google Scholar] [CrossRef]
  11. Nam, S.R.; Lee, D.G.; Kang, S.H.; Ahn, S.J.; Choi, J.H. Power system frequency Estimation in Power Systems Using Complex Prony Analysis. Int. J. Electr. Eng. Tech. 2011, 6, 154–160. [Google Scholar] [CrossRef]
  12. Ren, J.; Kezunovic, M. A Hybrid method for power system frequency estimation. IEEE Trans. Power Del. 2012, 27, 1252–1259. [Google Scholar] [CrossRef]
  13. Yamada, T. High-accuracy estimations of frequency, amplitude, and phase with a modified DFT for asynchronous sampling. IEEE Trans. Instrum. Meas. 2013, 48, 1428–1435. [Google Scholar] [CrossRef]
  14. Nam, S.R.; Kang, S.H.; Kang, S.H. Real-time estimation of power system frequency using a three-level discrete fourier transform method. Energies 2015, 8, 79–93. [Google Scholar] [CrossRef]
  15. Pintelon, R.; Schoukens, J. An improved sine-wave fitting procedure for characterizing data acquisition channels. IEEE Trans. Instrum. Meas. 1996, 45, 588–593. [Google Scholar] [CrossRef]
  16. Handel, P. Properties of the IEEE-STD-1057 Four-Parameter Sine Wave Fit Algorithm. IEEE Trans. Instrum. Meas. 2000, 49, 1189–1193. [Google Scholar] [CrossRef]
  17. Ramos, P.M.; da Silva, M.F.; Martins, R.C.; Cruz Serra, A.M. Simulation and experimental results of multi-harmonic least squares fitting algorithms applied to periodic signals. IEEE Trans. Instrum. Meas. 2006, 55, 646–651. [Google Scholar] [CrossRef]
  18. Ramos, P.M.; Cruz Serra, A.M. Least squares multi-harmonic fitting: Convergence improvements. IEEE Trans. Instrum. Meas. 2007, 56, 1412–1418. [Google Scholar] [CrossRef]
  19. Giarnetti, S.; Leccese, F.; Caciotta, M. Non recursive multi-harmonic least squares fitting for grid frequency estimation. Measurement 2015, 66, 229–237. [Google Scholar] [CrossRef]
  20. Zhu, L.M.; Ding, H.; Zhu, X.Y. Extraction of periodic signal without external reference by time-domain average scanning. IEEE Trans. Ind. Electron. 2008, 55, 918–927. [Google Scholar] [CrossRef]
  21. Clarkson, P.; Wright, P. Evaluation of an asynchronous sampling correction technique suitable for power quality measurements. In Proceedings of the IMEKO World Congress Fundamental and Applied Metrology, Lisbon, Portugal, 6–11 September 2009; pp. 907–912.
  22. Zhou, F.; Huang, Z.; Zhao, C.; Wei, X.; Chen, D. Time-domain quasi-synchronous sampling algorithm for harmonic analysis based on Newton’s interpolation. IEEE Trans. Instrum. Meas. 2011, 60, 2804–2812. [Google Scholar] [CrossRef]
  23. Wang, K.; Teng, Z.; Wen, H.; Tang, Q. Fast Measurement of Dielectric Loss Angle with Time-Domain Quasi-Synchronous Algorithm. IEEE Trans. Instrum. Meas. 2015, 64, 935–942. [Google Scholar] [CrossRef]
  24. Lapuh, R.; Clarkson, P.; Pogliano, U.; Hallstrom, J.K.; Wright, P.S. Comparison of asynchronous sampling correction algorithms for frequency estimation of signals of poor power quality. IEEE Trans. Instrum. Meas. 2011, 60, 2235–2241. [Google Scholar] [CrossRef]
  25. Ristic, B.; Boashash, B. Comments on “The Cramer-Rao lower bounds for signals with constant amplitude and polynomial phase”. IEEE Trans. Signal. Process. 1998, 46, 1708–1709. [Google Scholar] [CrossRef]
  26. Lapuh, R. Phase Estimation of Asynchronously Sampled Signal Using Interpolated Three-Parameter Sinewave Fit Technique. In Proceedings of the Instrumentation and Measurement Technology Conference, Austin, TX, USA, 3–6 May 2010; pp. 82–86.
  27. Lapuh, R. Phase Sensitive Frequency Estimation Algorithm for Asynchronously Sampled Harmonically Distorted Signals. In Proceedings of the Instrumentation and Measurement Technology Conference, Binjiang, China, 10–12 May 2011; pp. 1–4.
  28. Negusse, S.; Handel, P.; Zetterberg, P. IEEE-STD-1057 Three Parameter Sine Wave Fit for SNR Estimation: Performance Analysis and Alternative Estimators. IEEE Trans. Instrum. Meas. 2014, 63, 1514–1523. [Google Scholar] [CrossRef]
  29. Press, W.H.; Teukolsky, S.A.; Vetterling, W.T.; Flannery, B.P. Numerical Recipes in C: The Art of Scientific Computing; Cambridge University Press: Cambridge, UK, 1992. [Google Scholar]
  30. Souders, M.; Blair, J.; Boyer, W. IEEE Std. 1057-2007. In IEEE Standard for Digitizing Waveform Recorders; Institute of Electrical and Electronics Engineers (IEEE): New York, NY, USA, 2008. [Google Scholar]
  31. Agrez, D. Dynamics of Frequency Estimation in the Frequency Domain. IEEE Trans. Instrum. Meas. 2007, 56, 2111–2118. [Google Scholar] [CrossRef]

Share and Cite

MDPI and ACS Style

Moon, J.-H.; Kang, S.-H.; Ryu, D.-H.; Chang, J.-L.; Nam, S.-R. A Two-Stage Algorithm to Estimate the Fundamental Frequency of Asynchronously Sampled Signals in Power Systems. Energies 2015, 8, 9282-9295. https://doi.org/10.3390/en8099282

AMA Style

Moon J-H, Kang S-H, Ryu D-H, Chang J-L, Nam S-R. A Two-Stage Algorithm to Estimate the Fundamental Frequency of Asynchronously Sampled Signals in Power Systems. Energies. 2015; 8(9):9282-9295. https://doi.org/10.3390/en8099282

Chicago/Turabian Style

Moon, Joon-Hyuck, Sang-Hee Kang, Dong-Hun Ryu, Jae-Lim Chang, and Soon-Ryul Nam. 2015. "A Two-Stage Algorithm to Estimate the Fundamental Frequency of Asynchronously Sampled Signals in Power Systems" Energies 8, no. 9: 9282-9295. https://doi.org/10.3390/en8099282

Article Metrics

Back to TopTop