Next Article in Journal
Relationship between Generalized Orthogonality and Gâteaux Derivative
Next Article in Special Issue
Energy-Management Strategy of Battery Energy Storage Systems in DC Microgrids: A Distributed Fuzzy Output Consensus Control Considering Multiple Cyber Attacks
Previous Article in Journal
A Computational Approach to Individual Cell-Based Decision Algorithms Involved in Bone Remodeling
Previous Article in Special Issue
Mathematical Calculation of Synchronous Electric Motors Dynamic Stability
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Frequency/Phase/Amplitude Estimator for Three-Phase Applications Operating at a Low Sampling Rate

by
Abdullah M. Abusorrah
1,2 and
Hamed Sepahvand
1,*
1
Renewable Energy and Power Systems Research Group, King Abdulaziz University, Jeddah 21589, Saudi Arabia
2
Department of Electrical and Computer Engineering, Faculty of Engineering, King Abdulaziz University, Jeddah 21589, Saudi Arabia
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(3), 363; https://doi.org/10.3390/math12030363
Submission received: 19 November 2023 / Revised: 15 December 2023 / Accepted: 30 December 2023 / Published: 23 January 2024
(This article belongs to the Special Issue Mathematical Applications in Electrical Engineering)

Abstract

:
A frequency/phase/amplitude estimator is arguably one of the most crucial components in the control and synchronization of grid-connected equipment. Such an estimator may also be useful for monitoring and protection purposes in power systems. In this paper, an open-loop (and therefore unconditionally stable) estimator for the accurate and rapid extraction of the grid voltage phase, frequency, and amplitude is presented. In designing the proposed technique, special focus is given to applications operating at a low sampling rate. Examples of such applications include high-power converters, where both switching and sampling frequencies are very low. The study concludes with a comprehensive evaluation of the proposed estimator, demonstrating its effectiveness in accurately and swiftly estimating the fundamental parameters of grid voltage under low sampling rates. It highlights the estimator’s enhanced performance in scenarios of distorted grid conditions and its superiority in filtering capabilities compared to traditional methods. These findings underline the estimator’s potential for broad applicability in power system monitoring, protection, and control.

1. Introduction

Providing an accurate estimation of the grid voltage phase, frequency, and amplitude is extremely important in a wide variety of applications, including distributed generation (DG) systems and microgrids, high-voltage direct current systems, flexible alternating current transmission systems, and power conditioning systems, and in the monitoring and protection of power systems [1,2,3,4,5]. For instance, in DG systems and microgrids, knowledge of the grid phase, frequency, and amplitude is required for a seamless transition from islanding mode to grid-connected mode, as well as for islanding detection [6]. In power systems, accurate frequency detection is crucial for the operation of frequency relays (responsible for over- and under-frequency protection) and for the automatic control of turbines and generators [7].
In recent years, various approaches for estimating grid voltage fundamental parameters have been proposed in the literature. One of the earliest methods was the zero-crossing detection (ZCD)-based technique [8,9]. However, while the ZCD approach is easy to implement, it suffers from two main drawbacks: (1) it often has a poor dynamic response, as the algorithm is updated only every half cycle [10,11]; and (2) its performance deteriorates in the presence of noise, harmonics, and commutation notches, as these disturbances result in multiple zero crossings. Several approaches to improve the performance of the ZCD-based method can be found in later studies [12,13].
An alternative approach for the detection of grid voltage phase, frequency, and amplitude is using the Discrete Fourier Transform (DFT). However, a DFT-based frequency detector requires a high computational effort. This drawback can be alleviated by implementing the DFT method in a recursive form [14]. Nevertheless, some stability concerns regarding the recursive DFT have recently been reported [15].
In a further study [16], an effective frequency estimator is proposed, which is based on a nonlinear Newton-type algorithm and the least-squares method. However, the implementation of this technique demands a very high computational effort. Therefore, to reduce hardware costs, it is implemented at a very low sampling rate.
Phase-locked loop (PLL)-based methods are widely used for extracting the fundamental parameters of grid voltage [17], as they are easy to implement digitally and often offer robust performance. However, special care should be taken in designing and tuning PLLs when they are used for synchronizing grid-connected equipment under weak grid conditions, as the dynamic interaction between the PLL and the converter may result in instability [18]. The methods based on frequency-locked loops (FLLs) are also very popular [19]. Broadly speaking, FLLs are the stationary-reference-frame equivalent of PLLs and, therefore, they share many of the same shortcomings and advantages as PLLs [20].
The aim of this paper is to develop a simple yet efficient method for estimating grid voltage phase, frequency, and amplitude in three-phase applications. The design of the proposed estimator focuses on applications operating at low sampling rates. High-power converters, characterized by low switching and sampling frequencies, exemplify such applications [21,22]. It is important to note that high-power converters are commonly used as the power electronics interface for wind turbines and photovoltaic systems. Their low switching frequency helps in limiting switching losses. Additionally, a frequency estimator with a low sampling rate can be advantageous from an implementation cost perspective. It reduces the need for extensive processing hardware and eliminates the requirement for high-bandwidth sensors [16].
The main contributions of this work are as follows:
  • Open-Loop Nature of the Algorithm: The proposed algorithm operates in an open-loop manner, ensuring unconditional stability due to the absence of feedback in its control loop. This characteristic is significantly beneficial for synchronizing power converters under weak grid conditions. Moreover, the algorithm does not require tuning control parameters, which is advantageous from an application standpoint. It also provides a rapid dynamic response, crucial for quick post-fault re-tracking capabilities, as demanded by modern grid codes;
  • High Disturbance Rejection Capability: The algorithm demonstrates an exceptional ability to reject disturbances. In the context of the ever-increasing power quality issues in power systems, this feature is particularly advantageous for synchronization in three-phase applications;
  • Robustness at Low Sampling Rates: The algorithm exhibits remarkable robustness even at low sampling rates. The analysis and design of synchronization systems at such rates have been largely overlooked in the existing literature, making this aspect of the algorithm particularly noteworthy.
The rest of this work is organized as follows. First, Section 2 provides an overview of the traditional frequency estimation method in three-phase systems and discusses its errors at low sampling frequencies. Then, Section 3 introduces three methods to compensate for frequency errors at low sampling rates. The frequency estimator discussed in Section 2, and consequently, its improved versions in Section 3, rely on access to the fundamental component of the grid voltage. This is challenging because the grid voltage is often heavily contaminated with harmonics and noise. To address this, Section 4 presents the development of an efficient filtering stage based on a chain of delayed signal cancellation operators to extract the grid voltage’s fundamental component. Section 5 then discusses how the grid voltage phase and amplitude can be estimated and how the phase and amplitude errors caused by the filtering stage under off-nominal frequencies can be compensated for. Verification and comparison results are presented in Section 6, and the paper concludes in Section 7.

2. Traditional Frequency Estimation Method

A straightforward approach to estimating the grid frequency in three-phase systems involves transferring the three-phase voltages to the stationary ( α β ) reference frame by applying the Clarke transformation and calculating the grid frequency as follows:
ω ^ g = d tan 1 v β ( t ) v α ( t ) d t = v ˙ β ( t ) v α ( t ) v ˙ α ( t ) v β ( t ) v α 2 ( t ) + v β 2 ( t ) .
As can be observed, the frequency measurement using (1) necessitates the time derivatives of v α and v β , which are most often approximated in the discrete-time domain using a 1-step backward difference formula (BDF1), as follows:
v ˙ α β 1 s ( k ) = v α β ( k ) v α β ( k 1 ) T s
where k denotes the current sample, T s is the sampling time, and the superscript “ 1 s ” indicates the use of the 1-step Backward Difference Formula (BDF1).
Let v α and v β be represented in the discrete-time domain as follows:
v α ( k ) = V cos ω g k T s + φ
v β ( k ) = V sin ω g k T s + φ
where V, ω g , and φ represent the amplitude, frequency, and initial phase angle of the grid voltage, respectively. The time derivatives of frequency, amplitude, and initial phase-angle of the grid voltage can be calculated using (2) as follows:
v ^ ˙ α 1 s ( k ) = V cos ω g k T s + φ V cos ω g k T s + φ T s ω g T s       = V T s 1 cos ω g T s cos ω g k T s + φ sin ω g T s sin ω g k T s + φ
v ^ ˙ β 1 s ( k ) = V sin ω g k T s + φ V sin ω g k T s + φ T s ω g T s       = V T s 1 cos ω g T s sin ω g k T s + φ + sin ω g T s cos ω g k T s + φ .
By substituting (5) and (6) into (1) and performing some mathematical manipulations, we obtain the following result:
ω ^ g 1 s = sin ω g T s T s .
Replacing sin ( ω g T s ) in (7) with its Maclaurin series expansion yields the following:
ω ^ g 1 s = ω g 1 6 ω g 3 T s 2 + 1 120 ω g 5 T s 4 1 5040 ω g 7 T s 6 + error trems
which clearly indicates a considerable estimation error at low sampling frequencies. In what follows, three approaches to remove this error is presented.

3. Frequency Error Correction

3.1. Frequency Error Correction Using Inverse Sine Function

From (7), it can immediately be concluded that the frequency estimation error can be removed by using the inverse sine function (ISF) as
ω g = 1 T s sin 1 T s ω ^ g 1 s .
However, the calculation of the ISF is computationally demanding. Assuming ω ^ g 1 s T s < 1 , which is often the case, the ISF in (9) can be approximated by the first few terms of its Maclaurin series expansion, as follows:
ω g = 1 T s T s ω ^ g 1 s + 1 6 T s ω ^ g 1 s 3 + 3 40 T s ω ^ g 1 s 5 + 5 112 T s ω ^ g 1 s 7 + .
The selection of the number of Maclaurin series terms for the ISF depends on the sampling frequency and involves a tradeoff between detection accuracy and computational effort: a higher number of terms results in lower frequency estimation error, but increases the computational effort. This relationship is clearly illustrated in Figure 1, where ISFn ( n = 1 , 2 , 3 , 4 ) represents the consideration of the first n terms of the ISF Maclaurin series for correcting the frequency estimation error of the traditional method. Notably, ISF1 corresponds to the traditional method without any error compensation. As indicated by the results in Figure 1, considering the first four terms of the ISF Maclaurin series (ISF4) appears to be sufficient for correcting the frequency estimation error at low sampling frequencies.

3.2. Frequency Error Correction Using a Linear Compensator

Defining ω g = ω n + Δ ω g , where ω n is the nominal value of the gird frequency and Δ ω n denotes the grid frequency deviation from its nominal value, and substituting this into (8) gives
ω ^ g 1 s = ω n + Δ ω g 1 6 ω n + Δ ω g 3 T s 2 + ω e
where ω e = 1 120 ω g 5 T s 4 1 5040 ω g 7 T s 6 + is the sum of all but the first error term in (8).
Expanding the third term in the right-hand side of (11) gives
ω ^ g 1 s = ω n + Δ ω g 1 6 ω n 3 + 3 ω n 2 Δ ω g T s 2 1 6 3 ω n Δ ω g 2 + Δ ω g 3 T s 2 + ω e negligible
Using (12) and neglecting the highlighted part, Δ ω g , ω g can be obtained as
Δ ω g 1 1 0.5 ω n 2 T s 2 γ ω ^ g 1 s ω n + 1 6 ω n 3 T s 2 ψ
ω g = Δ ω g + ω n γ ω ^ g 1 s ω n + ψ + ω n .
Figure 2 shows the schematic of the linear compensator described in (14), and Figure 3 evaluates its performance. As it can be observed, the linear compensator can significantly reduce the frequency estimation error at low sampling frequencies.

3.3. Frequency Error Correction Using s-Step ( m 2 ) BDF

The traditional frequency estimation method, as mentioned earlier, uses the BDF1 (1-step BDF) for the approximation of time derivatives of v α and v β . Therefore, using s-step ( s 2 ) BDF (BDFs) can be a reasonable idea to reduce the estimation error of the traditional method. This section aims to evaluate the effectiveness of this idea for s = 2 to 6. Notice that BDFs with s > 6 are not zero-stable [23] and, therefore, cannot be employed.
Equations (15)–(19) describe the time derivatives of v α and v β using BDFs ( s = 2 to 6).
v ˙ α β 2 s ( k ) = 3 v α β ( k ) 4 v α β ( k 1 ) + v α β ( k 2 ) 2 T s
v ˙ α β 3 s ( k ) = 11 v α β ( k ) 18 v α β ( k 1 ) + 9 v α β ( k 2 ) 2 v α β ( k 3 ) 6 T s
v ˙ α β 4 s ( k ) = 25 v α β ( k ) 48 v α β ( k 1 ) + 36 v α β ( k 2 ) 16 v α β ( k 3 ) + 3 v α β ( k 4 ) 12 T s
v ˙ α β 5 s ( k ) = 137 v α β ( k ) 300 v α β ( k 1 ) + 300 v α β ( k 2 ) 200 v α β ( k 3 ) 60 T s      + 75 v α β ( k 4 ) 12 v α β ( k 5 ) 60 T s
v ˙ α β 6 s ( k ) = 147 v α β ( k ) 360 v α β ( k 1 ) + 450 v α β ( k 2 ) 400 v α β ( k 3 ) 60 T s      + 225 v α β ( k 4 ) 72 v α β ( k 5 ) + 10 v α β ( k 6 ) 60 T s
Using these equations and following the same procedure used for the derivation of (7) gives
ω ^ g 2 s = 4 sin ω g T s sin 2 ω g T s 2 T s
ω ^ g 3 s = 18 sin ω g T s 9 sin 2 ω g T s + 2 sin 3 ω g T s 6 T s
ω ^ g 4 s = 48 sin ω g T s 36 sin 2 ω g T s + 16 sin 3 ω g T s 3 sin 4 ω g T s 12 T s
ω ^ g 5 s = 300 sin ω g T s 300 sin 2 ω g T s + 200 sin 3 ω g T s 75 sin 4 ω g T s + 12 sin 5 ω g T s 60 T s
ω ^ g 6 s = 360 sin ω g T s 450 sin 2 ω g T s + 400 sin 3 ω g T s 225 sin 4 ω g T s 60 T s     + 72 sin 5 ω g T s 10 sin 6 ω g T s 60 T s
Replacing the sine functions in (20) to (24) with their Maclaurin series expansions yields
ω ^ g 2 s = ω g + 1 3 ω g 3 T s 2 7 60 ω g 5 T s 4 + 31 2520 ω g 7 T s 6 +
ω ^ g 3 s = ω g + 3 10 ω g 5 T s 4 3 28 ω g 7 T s 6 +
ω ^ g 4 s = ω g 1 5 ω g 5 T s 4 + 13 42 ω g 7 T s 6
ω ^ g 5 s = ω g 5 14 ω g 7 T s 6 +
ω ^ g 6 s = ω g + 1 7 ω g 7 T s 6 +
Comparing (25) with (8) indicates that the BDF2 increases the frequency estimation error. Therefore, it should not be used. However, the other BDFs, particularly BDF6, reduce the frequency estimation error. This fact can be clearly observed in Figure 4.

4. Filtering of the Grid Voltage Disturbance Components

The presence of dc offset, harmonics, and the fundamental frequency negative sequence (FFNS) component in the grid voltage results in an error in the estimation of grid frequency using (1). Therefore, the α β -axis voltage components should be filtered out before using them in the calculation of grid frequency. To achieve this goal, the α β -frame delayed signal cancelation ( α β DSC) operator is employed in this paper. Equation (30) describes this operator in the z-domain [24,25], in which n is called the delay factor and N n = T / n / T s (T is nominal value of the grid fundamental period)
α β DS C n z = 1 2 1 + e j 2 π n z N n .
In the z-domain definition of α β DSC operator, it is assumed that N n is an integer. This assumption, however, may not be always true as the sampling frequency may be determined by factors other than the α β DSC operator. In such scenario, the fractional delay can be approximated by interpolation techniques as [26]
α β DS C n z = 1 2 1 + e j 2 π n z N n , i 1 N n , f + N n , f z 1
where N n , i = f l o o r ( N n ) and N n , f = N n N n , i .
Based on its delay factor, each α β DSC operator can block certain harmonics. Therefore, to deal with real grid scenarios, cascading multiple α β DSC operators with appropriate delay factors is often required. Table 1 summarizes different combinations of α β DSC operators for various grid scenarios and Figure 5 shows their Bode magnitude plots. Notice that α β CDSC n 1 , n 2 , , n m operator denotes the cascade connection of m  α β DSC operators with delay factors n 1 , n 2 , , n m . It should be emphasized here that all these combinations have the α β DSC 4 operator in common and, therefore, all of them can block the FFNS component of the grid voltage.
In addition to the grid harmonic pattern, a special attention should be paid to the Nyquist rate, which is half of the sampling rate, in selecting the proper combination of α β DSC operators. For example, if the sampling frequency is 1.2 kHz (the Nyquist rate is 600 Hz) and the grid harmonic pattern is asymmetrical, then using the α β DSC 32 operator in the combination of α β DSC operators recommended in Table 1, i.e., the α β CDSC 2 , 4 , 8 , 16 , 32 operator, is useless. The reason is that the lowest harmonic frequency that the α β DSC 32 operator can block is 750 Hz (the negative sign denotes a negative sequence harmonic frequency), which is beyond the Nyquist rate (In this paper, it is assumed that the sampling frequency has been carefully chosen based on the grid harmonic content and antialiasing filter capability in the attenuation of harmonics. In other words, it is presumed that harmonic components with frequencies beyond the Nyquist rate are very negligible or have been canceled out before the A/D conversion using the antialiasing filter. Therefore, there is no need to be worry about the aliasing problems caused by finite sampling).
The α β CDSC operator, regardless of its components, provides a zero gain at its targeted harmonic frequencies when the grid frequency is at its nominal value. In the presence of frequency drifts, however, it is not able to do so. To deal with this problem, the α β CDSC operator can be adapted to the grid frequency variations, but at the cost of a much higher computational effort and implementation complexity [27]. An alternative approach is the repeated passes of the signal through the identical α β CDSC operator. To better visualize this, Figure 6 compares the Bode magnitude plots of a single α β CDSC 2 , 4 , 8 , 16 , 32 operator and two series-connected α β CDSC 2 , 4 , 8 , 16 , 32 operators. It is immediately clear that series-connected α β CDSC 2 , 4 , 8 , 16 , 32 operators provide a much higher filtering capability. This improvement, however, is at the cost of doubling the transient time. Therefore, selecting the number of series-connected α β CDSC operators involves a tradeoff between speed of response and filtering capability.

5. Phase and Amplitude Estimation

The prefiltering stage ( α β CDSC operator) provides an accurate estimation of the fundamental frequency positive-sequence (FFPS) component when the grid frequency is at its nominal value. In this condition, the grid voltage phase and amplitude can be easily and effectively estimated using
θ ^ 1 + = tan 1 v ^ β , 1 + v ^ α , 1 +
V ^ 1 + = v ^ α , 1 + 2 + v ^ β , 1 + 2 .
where v ^ α , 1 + and v ^ β , 1 + are outputs of the prefiltering stage. These expressions, however, cannot provide an accurate estimation of phase and amplitude in the presence of frequency drifts, because the FFPS component extracted by the α β CDSC operator undergoes a phase-shift and amplitude scaling in this condition. Fortunately, as an estimation of grid frequency is available, these errors can be corrected by modifying (32) and (33) as
θ ^ 1 , c + = tan 1 v ^ β , 1 + v ^ α , 1 + θ ^ c +
V ^ 1 , c + = v ^ α , 1 + 2 + v ^ β , 1 + 2 V ^ c +
where θ ^ c + and V ^ c + are estimations for the phase and amplitude of the α β CDSC operator at the fundamental frequency of positive-sequence, respectively. In what follows, compact expressions for θ c + and V c + are derived.
As mentioned in the previous section, the prefiltering stage ( α β CDSC operator) may be composed of two or more α β DSC operators with appropriate delay factors. It was also pointed out that a higher filtering capability under off-nominal grid frequencies can be achieved through the series connection of identical α β CDSC operators. Therefore, in general form, the prefiltering stage z-domain transfer function can be expressed as
G ( z ) = α β CDS C n 1 , n 2 , , n m z p = α β DS C n 1 z p × α β DS C n 2 z p × × α β DS C n m z p
where p is the number of identical α β CDSC operators.
Substituting z = e j ω g T s in (36) and performing some mathematical simplifications gives the phase and amplitude of the prefiltering stage at the fundamental frequency as
θ c + = G ( e j ω g T s ) = p T 2 1 n 1 + 1 n 2 + + 1 n m k φ Δ ω g
V c + = G ( e j ω g T s ) 1 p T 2 8 1 n 1 2 + 1 n 2 2 + + 1 n m 2 k v Δ ω g 2
where Δ ω g = ω g ω n , as defined before, is the deviation of the grid frequency from its nominal value.

6. Real-Time Simulation Results

To verify the effectiveness of the proposed estimators, some real-time simulation tests using the dSPACE 1006 platform were conducted, and their results are presented in this section. To provide flexibility in conducting tests, the three-phase input signals are generated internally in dSPACE. Using the dSPACE Control Desk, the obtained results are recorded, and then plotted in the Matlab environment.

6.1. Comparison between Different Versions of the Proposed Estimator

Figure 7, Figure 8 and Figure 9 show all three versions of the proposed estimator. Each of these structures has the same prefiltering stage (i.e., two series-connected α β CDSC 2 , 4 , 8 , 16 operators) and identical phase/amplitude detectors. The only difference between them is their frequency detector, which affects their overall performance. Note that the estimated frequency is a key element in phase/amplitude error compensators. For the sake of brevity, the structure shown in Figure 7, which uses BDF1 for the approximation of derivative functions and considers the first four terms of the Maclaurin series (10) to correct frequency estimation errors, is referred to as Estimator1. The structure depicted in Figure 8, similar to Estimator1, employs BDF1 for the approximation of derivative functions but uses a linear frequency error compensator, and is referred to as Estimator2. The third version, depicted in Figure 9, is called Estimator3. This estimator, as shown, uses BDF6 for the implementation of derivative functions. In the evaluation studies, the sampling frequency is considered to be 800 Hz. The gains of the phase and amplitude error compensators can be easily calculated according to (37) and (38), considering the selected prefiltering stage as k φ = 3 / 160 and k v = 85/2,560,000.
To evaluate the performance of the proposed estimators, four test cases are designed:
  • Test Case 1: A step change of + 40 occurs in the grid voltage phase angle;
  • Test Case 2: A step change of + 2 Hz occurs in the grid voltage frequency;
  • Test Case 3: The grid voltage is harmonically distorted. In this test, the grid voltage components are V 1 + = 1 pu, V 5 = 0.06 pu, and V 7 + = 0.05 pu, resulting in a total harmonic distortion of approximately 7.8 % . The grid frequency is fixed at +47 Hz during this test. This test is conducted under off-nominal grid frequency because the prefiltering stage completely blocks harmonics when the grid frequency is at its nominal value;
  • Test Case 4: An exaggeratedly large (0.5 pu) DC component is added to the “A” phase of the grid voltage. As in the previous test, the grid frequency is +47 Hz during this test.
Figure 10 and Figure 11 show the obtained results for Test Cases 1 and 2, respectively. It can be observed that all estimators, particularly Estimator1, provide good steady-state detection accuracy. From the perspective of dynamic response, all three versions exhibit similar performance and reach steady-state after approximately two cycles of the nominal frequency.
Figure 12 presents the results obtained under Test Case 3. As shown, Estimator1 and Estimator2 demonstrate significantly better performance than Estimator3. The reason is that Estimator3 uses BDF6 for the approximation of derivative functions, and this method, as seen in Figure 13, leads to much higher noise and harmonic amplification compared to BDF1.
Figure 14 displays the results under Test Case 4. Thanks to the action of the prefiltering stage, which completely blocks the DC component, all estimators, particularly Estimator1, demonstrate good performance in this test.

6.2. Comparison with a Standard FLL

In the previous section, it was demonstrated that Estimator1 outperforms its variants. This section will present a performance comparison between Estimator1 and a Reduced-Order Generalized-Integrator-based Frequency-Locked Loop (ROGI-FLL), a standard synchronization tool in three-phase applications [28]. The block diagram implementation of ROGI-FLL is illustrated in Figure 15. The control parameters of the ROGI-FLL are set to k = 190 and λ = 8900 based on the guidelines provided in [29]. Three tests will be conducted:
  • Test Case A: The grid voltage is initially clean and free of noise or disturbances. Then, a 5% DC component is suddenly introduced to Phase A of the grid voltage;
  • Test Case B: The grid voltage is in a balanced condition. Suddenly, a double-line-to-ground fault occurs;
  • Test Case C: The grid voltage is distorted with harmonics of orders −5 and +7;
  • Test Case D: The grid voltage undergoes a ramping change in the grid frequency at 20 Hz/s for a duration of 0.1 s.
The results of the above tests are shown in Figure 16, Figure 17, Figure 18 and Figure 19. Based on these results, the following observations can be made:
  • Estimator1 effectively filters the DC component. However, ROGI-FLL suffers from large fundamental-frequency oscillatory ripples in the presence of a DC component (see Figure 16);
  • Estimator1 effectively handles unbalanced grid scenarios with a fast dynamic response. However, ROGI-FLL suffers from large double-frequency oscillatory errors under this condition (see Figure 17);
  • Estimator1 effectively filters dominant harmonics of orders −5 and +7. In contrast, ROGI-FLL suffers from large harmonics at six times the fundamental frequency in this condition (see Figure 18);
  • Both Estimator1 and ROGI-FLL have a phase offset error during the frequency ramping interval. This error is slightly larger for Estimator1 compared to ROGI-FLL. In contrast, the estimated amplitude of Estimator1, unlike ROGI-FLL, has no offset error during the frequency ramping interval, and the estimated frequency of Estimator1 converges to the final value faster (see Figure 19).

7. Summary and Conclusions

The aim of this paper was to develop a simple estimator for accurately and quickly estimating the fundamental parameters of grid voltage, namely frequency, phase, and amplitude, for applications operating at a low sampling rate. The study began with an analysis of the traditional frequency detection method. It was demonstrated that this method results in considerable estimation error under low sampling frequencies. To rectify this error, three approaches were proposed: The first and second methods involved adding a compensator to the output of the traditional frequency detection method, while the last relied on using a high-order backward difference method for approximating derivative functions. It was then discussed that the traditional frequency estimation approach, which is fundamental to the proposed frequency estimator, is highly sensitive to grid voltage harmonics and noise; therefore, these elements should be removed before the grid voltage is input into the frequency estimator. The use of the α β CDSC operator was proposed for this purpose, and its design aspects for different grid scenarios were discussed in detail. It was subsequently shown that the phase and amplitude of the grid voltage can be effectively extracted using the outputs of the α β CDSC operator and the frequency estimated by the proposed frequency detector. All three versions of the proposed estimator were then evaluated under various test cases. The results showed that, unlike the first and second versions of the proposed estimator, the third version (which uses BDF6 for approximating derivative functions) has poor disturbance rejection capability and therefore may not be suitable for distorted grid conditions. It should be noted that all three versions of the proposed estimator exhibit comparable dynamic behavior.
Additionally, a critical comparison between Estimator1 and the ROGI-FLL was conducted. Estimator1 showed superior performance in filtering out DC components, handling unbalanced grid scenarios, and filtering dominant harmonics. In contrast, ROGI-FLL faced challenges with oscillatory errors under similar conditions. This comparison highlighted the strengths of Estimator1 compared to a traditional estimator.
A limitation of Estimator1 and its variants, Estimator2 and Estimator3, which may not be immediately clear, is the requirement for storing a considerably higher number of samples compared to traditional methods, like the ROGI-FLL. This situation becomes more severe if the delay lengths are not divisible by the sampling period. In such cases, interpolation techniques need to be adopted to approximate fractional delays, which increases the memory requirement. This could pose a challenge in the low-cost implementation of control algorithms using low-cost microprocessors, particularly considering that the phase/frequency/amplitude estimator is just one element within several other control loops required for controlling power converters.

Author Contributions

Conceptualization, A.M.A. and H.S.; methodology, A.M.A. and H.S.; software, H.S.; validation, A.M.A. and H.S.; formal analysis, H.S.; investigation, A.M.A.; resources, A.M.A.; writing—original draft preparation, A.M.A. and H.S.; writing—review and editing, A.M.A. and H.S.; visualization, A.M.A. and H.S.; supervision, A.M.A.; project administration, A.M.A.; funding acquisition, A.M.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research work was funded by Institutional Fund Projects under grant no. (IFPIP: 1202-135-1443). The authors gratefully acknowledge technical and financial support provided by the Ministry of Education and King Abdulaziz University (KAU), DSR, Jeddah, Saudi Arabia.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Smadi, I.A.; Atawi, I.E.; Ibrahim, A.A. An Improved Delayed Signal Cancelation for Three-Phase Grid Synchronization with DC Offset Immunity. Energies 2023, 16, 2873. [Google Scholar] [CrossRef]
  2. Zhao, D.; Wang, F.; Li, S.; Zhao, W.; Chen, L.; Huang, S.; Wang, S.; Li, H. An Optimization of Least-Square Harmonic Phasor Estimators in Presence of Multi-Interference and Harmonic Frequency Variance. Energies 2023, 16, 3397. [Google Scholar] [CrossRef]
  3. Zhang, Q.; Xu, Y.; Wang, X.; Yu, Z.; Deng, T. Real-Time Wind Field Estimation and Pitot Tube Calibration Using an Extended Kalman Filter. Mathematics 2021, 9, 646. [Google Scholar] [CrossRef]
  4. Ullah, F.U.M.; Khan, N.; Hussain, T.; Lee, M.Y.; Baik, S.W. Diving Deep into Short-Term Electricity Load Forecasting: Comparative Analysis and a Novel Framework. Mathematics 2021, 9, 611. [Google Scholar] [CrossRef]
  5. Bizon, N.; Thounthong, P. A Simple and Safe Strategy for Improving the Fuel Economy of a Fuel Cell Vehicle. Mathematics 2021, 9, 604. [Google Scholar] [CrossRef]
  6. Hmad, J.; Houari, A.; Bouzid, A.E.M.; Saim, A.; Trabelsi, H. A Review on Mode Transition Strategies between Grid-Connected and Standalone Operation of Voltage Source Inverters-Based Microgrids. Energies 2023, 16, 5062. [Google Scholar] [CrossRef]
  7. Bindi, M.; Piccirilli, M.C.; Luchetta, A.; Grasso, F. A Comprehensive Review of Fault Diagnosis and Prognosis Techniques in High Voltage and Medium Voltage Electrical Power Lines. Energies 2023, 16, 7317. [Google Scholar] [CrossRef]
  8. Friedman, V. A zero crossing algorithm for the estimation of the frequency of a single sinuosoid in white noise. IEEE Trans. Signal Process. 1994, 42, 1565–1569. [Google Scholar] [CrossRef]
  9. Pauluk, M.; Piątek, P.; Baranowski, J. Efficient Zero-Value-Cross Detection for Single-Phase Mains-Powered Motors: A Comparative Study. Energies 2023, 16, 6298. [Google Scholar] [CrossRef]
  10. Wang, Y.F.; Li, Y.W. An overview of grid fundamental and harmonic components detection techniques. In Proceedings of the IEEE ECCE 2013, Denver, CO, USA, 15–19 September 2013; p. 51855192. [Google Scholar]
  11. Ciobotaru, M. Reliable Grid Condition Detection and Control of Single Phase Distributed Power Generation Systems. Ph.D. Thesis, Aalborg University, Aalborg, Denmark, 2009. [Google Scholar]
  12. Duric, M.B.; Durisic, Z.R. Frequency measurement in power networks in the presence of harmonics using Fourier and zero crossing technique. In Proceedings of the Power Tech 2005, St. Petersburg, Russia, 27–30 June 2005; pp. 1–6. [Google Scholar]
  13. Vainio, O.; Ovaska, S.J.; Polla, M. Adaptive filtering using multiplicative general parameters for zero-crossing detection. IEEE Trans. Ind. Electron. 2003, 50, 1340–1342. [Google Scholar] [CrossRef]
  14. Sozanski, K.; Szczesniak, P. Advanced Control Algorithm for Three-Phase Shunt Active Power Filter Using Sliding DFT. Energies 2023, 16, 1453. [Google Scholar] [CrossRef]
  15. Darwish, H.A.; Fikri, M. Practical considerations for recursive DFT implementation in numerical relays. IEEE Trans. Power Deliv. 2007, 22, 42–49. [Google Scholar] [CrossRef]
  16. Sadinezhad, I.; Agelidis, V.G. Slow sampling online optimization approach to estimate power system frequency. IEEE Trans. Smart Grid 2011, 2, 265–277. [Google Scholar] [CrossRef]
  17. Martin-Martinez, S.; Gomez-Lazaro, E.; Molina-Garcia, A.; Fuentes, J.A.; Vigueras-Rodrguez, A.; Plata, S.A. A new three-phase DPLL frequency estimator based on nonlinear weighted mean for power system disturbances. IEEE Trans. Power Deliv. 2013, 28, 179–187. [Google Scholar] [CrossRef]
  18. Dong, D.; Wen, B.; Boroyevich, D.; Mattavelli, P.; Xue, Y. Analysis of phase-locked loop low-frequency stability in three-phase grid-connected power converters considering impedance interactions. IEEE Trans. Ind. Electron. 2015, 62, 310–321. [Google Scholar] [CrossRef]
  19. Rodriguez, P.; Luna, A.; Etxeberria, I.; Teodorescu, R.; Blaabjerg, F. A stationary reference frame grid synchronization system for three-phase grid-connected power converters under adverse grid conditions. IEEE Trans. Power Electron. 2012, 27, 99–112. [Google Scholar] [CrossRef]
  20. Ghartemani, M.K.; Khajehoddin, S.A.; Jain, P.K.; Bakhshai, A. Problems of startup and phase jumps in PLL systems. IEEE Trans. Power Electron. 2012, 27, 1830–1838. [Google Scholar] [CrossRef]
  21. Yim, J.-S.; Sul, S.-K.; Bae, B.-H.; Patel, N.R.; Hiti, S. Modified current control schemes for high-performance permanent-magnet AC drives with low sampling to operating frequency ratio. IEEE Trans. Ind. Appl. 2009, 45, 763–771. [Google Scholar] [CrossRef]
  22. Freijedo, F.D.; Vidal, A.; Yepes, A.; Guerrero, J.; Lopez, O.; Malvar, J.; Doval-Gandoy, J. Tuning of synchronous-frame PI current controllers in grid-connected converters operating at a low sampling rate by MIMO root locus. IEEE Trans. Ind. Electron. 2015, 62, 5006–5017. [Google Scholar] [CrossRef]
  23. Suli, E.; Mayers, D.F. An Introduction to Numerical Analysis; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
  24. Wang, Y.F.; Li, Y.W. Grid synchronization PLL based on cascaded delayed signal cancellation. IEEE Trans. Power Electron. 2011, 26, 1987–1997. [Google Scholar] [CrossRef]
  25. Wang, Y.F.; Li, Y.W. Analysis and digital implementation of cascaded delayed-signal-cancellation PLL. IEEE Trans. Power Electron. 2011, 26, 1067–1080. [Google Scholar] [CrossRef]
  26. Laakso, T.I.; Valimaki, V.; Karjalainen, M.; Laine, U.K. Splitting the unit delay. IEEE Signal Process. Mag. 1996, 13, 30–60. [Google Scholar] [CrossRef]
  27. Golestan, S.; Freijedo, F.D.; Vidal, A.; Yepes, A.G.; Guerrero, J.M.; Doval-Gandoy, J. An efficient implementation of generalized delayed signal cancellation PLL. IEEE Trans. Power Electron. 2015, 31, 1085–1094. [Google Scholar] [CrossRef]
  28. Golestan, S.; Guerrero, J.M.; Vasquez, J.C.; Abusorrah, A.M.; Al-Turki, Y. Linear Time-Periodic Modeling, Examination, and Performance Enhancement of Grid Synchronization Systems With DC Component Rejection/Estimation Capability. IEEE Trans. Power Electron. 2021, 36, 4237–4253. [Google Scholar] [CrossRef]
  29. Golestan, S.; Guerrero, J.M.; Vasquez, J.C.; Abusorrah, A.M.; Al-Turki, Y. A Study on Three-Phase FLLs. IEEE Trans. Power Electron. 2019, 34, 213–224. [Google Scholar] [CrossRef]
Figure 1. Frequency error correction using the ISF-based method.
Figure 1. Frequency error correction using the ISF-based method.
Mathematics 12 00363 g001
Figure 2. Frequency error compensation using a linear compensator.
Figure 2. Frequency error compensation using a linear compensator.
Mathematics 12 00363 g002
Figure 3. Frequency error correction using a linear compensator.
Figure 3. Frequency error correction using a linear compensator.
Mathematics 12 00363 g003
Figure 4. Frequency error correction using different BDFs.
Figure 4. Frequency error correction using different BDFs.
Mathematics 12 00363 g004
Figure 5. Bode magnitude plot of (a) α β CDSC 4 , 24 operator, (b) α β CDSC 4 , 6 , 24 operator, (c) α β CDSC 4 , 8 , 16 , 32 operator, and (d) α β CDSC 2 , 4 , 8 , 16 , 32 operator.
Figure 5. Bode magnitude plot of (a) α β CDSC 4 , 24 operator, (b) α β CDSC 4 , 6 , 24 operator, (c) α β CDSC 4 , 8 , 16 , 32 operator, and (d) α β CDSC 2 , 4 , 8 , 16 , 32 operator.
Mathematics 12 00363 g005
Figure 6. Bode magnitude plots of a single α β CDSC 2 , 4 , 8 , 16 , 32 operator and two series-connected α β CDSC 2 , 4 , 8 , 16 , 32 operators.
Figure 6. Bode magnitude plots of a single α β CDSC 2 , 4 , 8 , 16 , 32 operator and two series-connected α β CDSC 2 , 4 , 8 , 16 , 32 operators.
Mathematics 12 00363 g006
Figure 7. First version of the proposed estimator, which is referred to as Estimator1.
Figure 7. First version of the proposed estimator, which is referred to as Estimator1.
Mathematics 12 00363 g007
Figure 8. Second version of the proposed estimator, which is referred to as Estimator2.
Figure 8. Second version of the proposed estimator, which is referred to as Estimator2.
Mathematics 12 00363 g008
Figure 9. Third version of the proposed estimator, which is referred to as Estimator3.
Figure 9. Third version of the proposed estimator, which is referred to as Estimator3.
Mathematics 12 00363 g009
Figure 10. Obtained results under test case 1.
Figure 10. Obtained results under test case 1.
Mathematics 12 00363 g010
Figure 11. Obtained results under test case 2.
Figure 11. Obtained results under test case 2.
Mathematics 12 00363 g011
Figure 12. Obtained results under test case 3.
Figure 12. Obtained results under test case 3.
Mathematics 12 00363 g012
Figure 13. Frequency response of the BDF1-based and BDF6-based approximate differentiators and the ideal (continuous) differentiator.
Figure 13. Frequency response of the BDF1-based and BDF6-based approximate differentiators and the ideal (continuous) differentiator.
Mathematics 12 00363 g013
Figure 14. Obtained results under test case 4.
Figure 14. Obtained results under test case 4.
Mathematics 12 00363 g014
Figure 15. ROGI-FLL.
Figure 15. ROGI-FLL.
Mathematics 12 00363 g015
Figure 16. Test Case A Results: Performance analysis of Estimator1 and ROGI-FLL during a sudden addition of 5% DC component to phase A of clean grid voltage.
Figure 16. Test Case A Results: Performance analysis of Estimator1 and ROGI-FLL during a sudden addition of 5% DC component to phase A of clean grid voltage.
Mathematics 12 00363 g016
Figure 17. Test Case B Results: Comparative response of Estimator1 and ROGI-FLL to a double-line-to-ground fault in a balanced grid voltage condition.
Figure 17. Test Case B Results: Comparative response of Estimator1 and ROGI-FLL to a double-line-to-ground fault in a balanced grid voltage condition.
Mathematics 12 00363 g017
Figure 18. Test Case C Results: Comparative response of Estimator1 and ROGI-FLL in handling harmonics of orders −5 and +7 in the grid voltage.
Figure 18. Test Case C Results: Comparative response of Estimator1 and ROGI-FLL in handling harmonics of orders −5 and +7 in the grid voltage.
Mathematics 12 00363 g018
Figure 19. Test Case D Results: Comparative response of Estimator1 and ROGI-FLL in handling a frequency ramping change.
Figure 19. Test Case D Results: Comparative response of Estimator1 and ROGI-FLL in handling a frequency ramping change.
Mathematics 12 00363 g019
Table 1. Different Scenarios for the Grid Harmonic Pattern and Proper Combination of α β DSC Operators to Deal with Them.
Table 1. Different Scenarios for the Grid Harmonic Pattern and Proper Combination of α β DSC Operators to Deal with Them.
Grid Harmonic PatternProper α β CDSC
Knownnon-triplen odd harmonics of order 5 , + 7 , 11 , + 13 , 17 , + 19 α β CDSC 4 , 24
symmetrical α β CDSC 4 , 6 , 24
odd harmonic components α β CDSC 4 , 8 , 16 , 32
asymmetrical α β CDSC 2 , 4 , 8 , 16 , 32
Unknown-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Abusorrah, A.M.; Sepahvand, H. A Frequency/Phase/Amplitude Estimator for Three-Phase Applications Operating at a Low Sampling Rate. Mathematics 2024, 12, 363. https://doi.org/10.3390/math12030363

AMA Style

Abusorrah AM, Sepahvand H. A Frequency/Phase/Amplitude Estimator for Three-Phase Applications Operating at a Low Sampling Rate. Mathematics. 2024; 12(3):363. https://doi.org/10.3390/math12030363

Chicago/Turabian Style

Abusorrah, Abdullah M., and Hamed Sepahvand. 2024. "A Frequency/Phase/Amplitude Estimator for Three-Phase Applications Operating at a Low Sampling Rate" Mathematics 12, no. 3: 363. https://doi.org/10.3390/math12030363

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