Next Article in Journal
A Three-Step Tapered Bit Period SAR ADC Using Area-Efficient Clock Generation
Next Article in Special Issue
PMU-Based Dynamic Model Calibration of Type 4 Wind Turbine Generators
Previous Article in Journal
DeepLungNet: An Effective DL-Based Approach for Lung Disease Classification Using CRIs
Previous Article in Special Issue
Sequentially Coordinated and Cooperative Volt/Var Control of PV Inverters in Distribution Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Transient Frequency Estimation Methods for the Fast Frequency Response in Converter Control †

Institute of Electrical Power Supply with Integration of Renewable Energy (E5), Department of Electrical Engineering and Information Technology, Technical University of Darmstadt, 64283 Darmstadt, Germany
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper published in 57th International Universities Power Engineering Conference (UPEC) 2022, Istanbul, Turkey, 30 August–2 September 2022.
Electronics 2023, 12(8), 1862; https://doi.org/10.3390/electronics12081862
Submission received: 23 March 2023 / Revised: 11 April 2023 / Accepted: 12 April 2023 / Published: 14 April 2023

Abstract

:
In an interconnected power system, frequency control and stability are of vital importance and indicators of system-wide active power balance. The shutdown of conventional power plants leads to faster frequency changes and a steeper frequency gradient due to reduced system inertia. For this reason, the importance of electrical frequency estimation methods is increasing, among others, as an input for the control of converter-based generation plants. The aim of this work is to implement, compare, and analyze the robustness of the Phase-Locked-Loop and Zero-Crossing, Gauss–Newton, and recursive Gauss–Newton methods in time-domain simulations in Matlab/Simulink. The parameters of these methods are tuned for different scenarios in a medium-voltage testbench. The sensitive parameters of the frequency estimation methods show a linear correlation to the magnitude of the active power imbalance so a simple implementation can be designed for simulations. With the linearized parameter calculation for the frequency estimation methods, the local frequency as an input for converter control is used for the fast frequency response of a full power converter, which counteracts frequency deviations in the power system. Finally, two different implementations of the fast frequency response are compared. The Zero-Crossing Method shows the best robustness and the Phase-Locked Loop achieves the absolute best result.

1. Introduction

In a power system, frequency control is a key factor for maintaining system stability [1]. In the course of energy transition, the share of renewable energy sources (RES) in the power system increases. RES are mainly connected to the grid via power converters and gradually replace conventional power plants connected by synchronous generators. The reduced mechanical inertia in the system has a negative impact on frequency stability [2]. Consequently, disturbances in the system can lead to stronger frequency changes and a steeper frequency gradient [2,3]. Especially in view of a cellular approach with increasingly decentralized structures, the measurement and estimation of the frequency in active distribution grids are becoming more relevant [4,5]. One of the applications is the measurement or estimation of frequency as an input variable for the control of converter-based generation plants [3,6].
In the first instance, after an active power imbalance, e.g., a power plant outage, the rotating masses of synchronous generators release their stored kinetic energy. The rotors slow down and the grid frequency decreases. After this instantaneous inertial response, frequency control injects additional active power, intercepting the frequency drop and bringing the frequency back to the set value in a second step [7]. In this work, the focus is on the instantaneous frequency in the short-term range of a few seconds after the disturbance. In order to counteract frequency deviations, converter-based generation needs to increasingly provide ancillary services. Here, the fast frequency response [8,9], which acts on a faster time frame than the classical primary frequency control of synchronous machines, is investigated. Both the classical frequency control by conventional power plants as well as the fast frequency response provided by converter-based generators rely on a frequency measurement. Unlike the mechanical rotation of electrical machines, the electrical frequency cannot be measured directly [10]. However, the frequency can be derived indirectly by measuring an electrical alternating quantity, such as the three-phase grid voltage. During transients, the AC voltage is not perfectly sinusoidal, so the instantaneous frequency can only be determined by estimation methods [11]. The phase-locked loop (PLL) in its standard parametrization in power system simulations leads to large electrical transients in the estimated frequency curve, which manipulates the fast frequency control of converter-based generators. According to [3], the control works best with a smooth frequency curve from synchronous generators or an average frequency calculated from different frequency measurements in the power system [12]. In contrast, this work implements a local communication-free frequency estimation. This paper is an extended version of the paper presented in [13]. The contributions are as follows:
  • Implementation and parameter derivation for three methods to estimate the electrical frequency during transients online and offline.
  • Sensitivity analysis of the implemented methods and determining the most robust method.
  • Correlation between sensitive parameters in the power system and the parameters of the frequency estimation methods.
  • Implementation and evaluation of the frequency estimation methods for the fast frequency response of a converter-based generator.
The paper is structured as follows: In Section 2, the electrical frequency during transients and its significance in power systems are explained. Section 3 presents the implemented frequency estimation methods, and Section 4 the medium-voltage testbench and detailed component models. Section 5 defines evaluation criteria for the performance of the frequency estimation and the frequency response. Section 6 describes the simulation results for the frequency estimation methods, the sensitivity analysis and linearization of sensitive parameters, and the results of the fast frequency response implementation. Section 7 discusses the results and draws a conclusion from the findings.

2. Electrical Frequency

According to [10], frequency can be divided into the frequency of a repeating pattern of events f, e.g., evaluating the zero crossings of an alternating voltage, and into the angular displacement ω, e.g., the rotor speed of synchronous generators. In the case of a sinusoidal signal, both frequencies can be linked. However, nonperfect sinusoids during power system transients cannot be evaluated that easily. This section describes the theoretical background of electrical frequency and its measurement, respectively, and its estimation in simulations. The term instantaneous frequency is defined, and the relevance of frequency for a stable power system and the fast frequency response of converter-based generators are described.

2.1. Definition of the Instantaneous Frequency

Both in nature and in signal processing, dynamic events occur where the frequency changes over time. In this paper, the changing frequency of the AC voltage in the power system is considered. Thus, the problem of defining an instantaneous frequency arises, which is described in [11] as a generalization of the definition of constant frequency: the rate of change of the phase angle per time unit. The same result is achieved by the procedure where the signal of a harmonic oscillation s t is defined as
s t = A sin 0 t 2 π f i n s t t d t + ϕ = A sin Θ ( t ) + ϕ
with amplitude A, the instantaneous frequency f i n s t ( t ) and the phase ϕ. From the argument of the sine function Θ ( t ) , the instantaneous frequency is defined as
f i n s t t = 1 2 π · d Θ t d t .

2.2. Frequency in Power Systems

In case of a disturbance in the power system, e.g., the failure of a generation unit, there is an imbalance between generated and consumed active power and the grid frequency changes. This paper examines under-frequency scenarios in which, due to a disturbance, more active power is consumed than produced, and the frequency decreases. The typical frequency curve after a disturbance can be divided into different sections and is shown in Figure 1a. In the transient time range, the kinetic energy stored in the rotating masses of the generators, i.e., the initial inertial response, compensates for the imbalance. As a result, the generators are slowed down by the increased electrical momentum and rotate with reduced speed—the grid frequency drops. The extent to which the individual generators are decelerated depends on their inertia and electrical distance to the disturbance. The initial inertial response also determines the rate of change of frequency (RoCoF) [7]. The RoCoF can be calculated by Equation (3) for a power system relying on n synchronous generators with f n , Δ P , H i   and   S i being the nominal frequency, the active power mismatch, the inertial constant, and the rated apparent power of the i-th generator. As the non-synchronous generation increases, the total installed power of synchronous generators S S G is divided by the total active power load P L . Thus, the RoCoF increases with decreasing share of synchronous generators or other sources of instantaneous inertia provision.
R o C o F = d f i n s t ( t ) d t f n Δ P 2 · S S G P L · i = 1 n H i S i
The quasi-stationary frequency deviation Δ f that occurs after the primary control is derived from the average active power frequency droop d p r and the active power mismatch Δ P by Equation (4). The droop control is described in more detail in the next section.
Δ f = Δ P d p r 100 %
As soon as a frequency deviation Δ f > 10   m H z occurs, the primary frequency control in synchronous generators is activated and counteracts the frequency deviation by adjusting the injected active power within a range of ±5% of the rated power [7]. The primary control—usually a proportional control—leads the frequency to a new steady-state value, which differs from the prefault condition. Secondary frequency control compensates for the deficit of generated energy by the power plants of the balancing group and returns the frequency to its nominal value. Tertiary control ensures sufficient control energy is available in the event of another fault [7]. The frequency control works on different time scales, as depicted in Figure 1b. In the transient time frame, voltage-source converter (VSC)-based generation can provide an equivalent primary control faster than a synchronous generator (SG).

2.3. Fast Frequency Response

In addition to the ancillary services of conventional power plants with synchronous generators and relatively slow time constants, converter-based generators can adapt the active power infeed according to the grid frequency on a much faster time scale [3]. Fast frequency control, also referred to as fast frequency response (FFR), can be defined as fast active power support, which responds to frequency deviations and contributes to arresting or slowing down the frequency change [15,16,17]. In general, the disconnection of loads can also provide FFR. However, this study focuses on the provision of FFR only by generation plants. Different countries include FFR in the national grid codes [15]; thereby, two different implementations emerge. The active power provision or withdrawal can be realized as a proportional change according to the change in the system frequency with or without a deadband, as depicted in Figure 2a. The availability of additional active power from generation plants is highly dependent on the prefault feed-in, and the dimensioning of the converter or, in the case of storage, depends on the state of charge. Therefore, the additional active power infeed might be limited, whereas reducing the active power infeed usually is less critical. The second implementation according to Figure 2b sets a defined additional active power PT that must be maintained constant for a defined time duration Tdur and uses the frequency as a trigger to start providing the predefined amount of active power. The time delay Tdelay until the additional active power starts adapting and the slope of the active power change Kp are predefined by the system operator. Different levels or tariffs of FFR take into account different time constants for the additional active power Tdelay, different frequency deviations as triggers, or different durations Tdur [16].

3. Frequency Estimation Methods

Due to the increasing share of converter-based RES in the grid, the relevance of frequency measurement and estimation increases as the frequency is an input for the control [2] and synchronization. As shown in the previous section, frequency is a derived quantity that can only be measured indirectly. This is done by measuring the voltage because, unlike the electric current, it is the more significant and steadier unit in power systems. This section presents four frequency estimation methods to determine the frequency of the power system from a measured AC voltage either online, i.e., in real time during the simulation, or offline, i.e., evaluation of the signals after the simulation is terminated.

3.1. Phase-Locked Loop

A Phase-Locked Loop (PLL) is a closed loop whose output signal ϕ is synchronized with the input voltage signal v a b c in phase and frequency. Due to the increasing share of RES, PLLs are increasingly used in the power system. Their main task is to synchronize the converters with the grid frequency. A byproduct of this control loop is that it can also be used to estimate the frequency change [6]. The basic structure of a PLL consists of three blocks: the phase detector, the loop filter, and the voltage-controlled oscillator (VCO). The input signal is the three-phase voltage, and the output signal is the estimated phase angle ϕ , see Figure 3. An interim result of the control loop, the output of the loop filter ω ^ L F , is the estimated value for the frequency at this location in the power system [18]. Frequency estimation can be improved by using a rate limiter and a low-pass filter.
The rate limiter limits the first derivative of the estimated frequency, i.e., the RoCoF of frequency, to a defined value. In Matlab/Simulink, the derivative between two consecutive time steps is evaluated. The limiter compares the RoCoF of each time step with the rate limit. If the rate is larger than the rate limit RL, the output of the block is calculated as
ω ^ i = Δ t · R L + ω ^ i 1
with ω ^ i and Δ t being the frequency of the i-th time step and the time between two time steps, respectively. The rate limiter does not affect the frequency if the rate is lower than the rate limit. The low-pass filter is implemented as a second-order filter with the cut-off frequency f g .

3.2. Zero-Crossing Method

The Zero-Crossing (ZC) method is based on the principle that the zero crossings of the input signal are counted, and from these, the value for the frequency is derived [19]. The sinusoidal voltage waveform is used as the input signal. With the constant sampling frequency f s and the distance between two zero crossings, the frequency f ^ is calculated with Equation (6).
f ^ = f s 2 · ( k n 0 k n 1 0 )
Here, k n 0 and k n 1 0 are the discrete time positions of the n-th, respectively (n − 1)-th zero crossing and f ^ is the estimated frequency. The sampling frequency is chosen to correspond to the simulation’s fundamental sample time f s = 1 T s = 200   k H z . The zero crossing is determined by a sign change of two successive samples. The disadvantage of the method is the quantization error, which can be minimized by modifying the method. When determining the sign change, two successive sample values are compared with each other. As soon as the sign changes, the zero crossing is determined at the time of the second sample. The error arises because the exact time lies arbitrarily between the two samples, as depicted in Figure 4. To minimize the quantization error, interpolation is performed between the samples with different signs, and a straight line is assumed in Equation (7).
y ( x ) = y 2 y 1 x 2 x 1 · x + x 2 y 1 x 1 y 2 x 2 x 1
The improved time x 0 of the zero crossing of the input signal is determined by setting y x = 0 and resulting in Equation (8). With the successive sample values x 1 = k 1 and x 2 = k follows Equation (9).
x 0 = x 1 y 2 x 2 y 1 y 2 y 1
x 0 = k y 2 y 2 y 1
The implementation of the offline ZC method is shown in Figure 5. The vectors s and t for the signal and time values, respectively, are defined. The initial values K1 = 0 for the sample number of the first zero crossing and j = 1 for the index for the continuous storage of the frequency estimation values are defined. The loop runs from i = 2 over all N time values. The starting value i = 2 is chosen in this method, as two consecutive values are compared at a time. Within the loop, the inequality s ( i ) · s ( i     1 ) 0 is used to check whether a zero crossing is present. If this is the case, the interpolated sample value of the zero crossing is determined according to Equation (7).
The value for the estimated frequency at position j  f ^ j is determined with Equation (6). A rate limit corrects the estimated frequency value to realistic values. The value of the last zero crossing K1 is updated with the calculated value. After the loop runs through all time values, the time course of the frequency estimation values f ^ R L is filtered. Finally, the filtered vector f ^ of the frequency values is output. The online ZC method removes the outer loop in Figure 5 and passes the estimated frequency of each zero crossing directly to the low-pass filter.
To perform the ZC method, it is necessary to define only a few variables. Thereby, no parameter of the method itself influences the quality of the estimation result, which is why an adjustment of the algorithm for optimal results is not necessary. However, as previously for the PLL, the ZC method results depend on the rate limit and the low-pass filter. The procedure runs in a loop with few arithmetic operations and without computationally intensive matrix inversions. Therefore, the advantage of this method is its low complexity and short computation time. The disadvantage, however, is the small number of parameters with which the estimation results can be optimized. The optimization can only be achieved by increasing the sampling frequency f s or changing the filter and rate limit parameters.

3.3. Gauss–Newton Method

Both the nonrecursive Gauss–Newton (GN) and the recursive Gauss–Newton (RGN) method rely on the estimation of a parameter vector x = A ω ϕ T , with the amplitude A, the angular frequency ω = 2 π f i n s t , and the phase angle ϕ of a sinusoidal signal s as shown in Equation (1). The GN method requires storing past measured values and a computationally intensive matrix inversion. In contrast, these disadvantages do not occur with the recursive method [20]. The RGN method can be derived from the GN method, just as the recursive least squares algorithm can be derived from the least squares algorithm [20]. The derivation will not be the subject of this elaboration; therefore, the reader is referred to [20].
The GN method estimates the local frequency by minimizing the error | e x | between the estimated and measured signal s over a moving window of width m. This is done by changing the parameter vector x in such a way that the sum of the error squares E ( x ) in Equation (10) reaches its minimum.
E x = 1 2 i = 1 m e i x 2 = 1 2 e x T e ( x )
The implementation of the GN method is described in Figure 6. The vectors s and t for the signal and time values, respectively, are defined. The initial values are set as follows: x 0 = 12 π · 500 T for the initial values of the parameter vector x, m = 40 for the window width, ε = 1 × 10 30 for the accuracy to be achieved, and m a x I t = 50 for the maximum number of iterations before the loop is terminated. The first loop runs from l = 1 over all time values to the final value N m . The next loop checks whether the number of iterations starting at k = 1 is smaller than the maximum permissible value m a x I t . At the beginning of each iteration, the sum of the error squares E x is set to zero. The following loop considers all signals starting at i = 1 within the window width m . Within this loop, the rows of the Jacobian matrix J x , the error e x and the sum of the error squares E x are calculated. The calculation of the updated step Δ x of the parameter vector is done by Equation (11) with the Jacobian matrix according to (12) with n = 3 elements of the parameter vector x .
Δ x = J T J 1 J T e x
J x = δ e 1 δ A δ e 1 δ ω δ e 1 δ ϕ δ e n δ A δ e n δ ω δ e n δ ϕ
The parameter vector x is updated by x = x + Δ x . If the sum of the error squares E ( x ) is smaller than the required accuracy, the loop is terminated. If E ( x ) > 1 2 ε 2 , the initial value x 0 is overwritten with the parameter vector x and a new loop iteration is started. The frequency value estimated by the parameter vector is stored for the l-th time step. The loop runs from h = 1 over the N 1 values of the signal and time vector. By assigning s i = s i + 1 and t ( i ) = t ( i + 1 ) , the next pair of values of the input signal is used for the execution of the parameter estimation procedure. After running the procedure over all N m input values, the frequency values stored are corrected by a rate limit. The frequency values are filtered using the moving average method.
For the nonrecursive GN method, the window width m and the accuracy ε to be achieved must be set for the optimum performance of the process. The values of the other variables must be set less precisely since, for example, the required accuracy is achieved after only a few iterations. Through the iterative optimization of the parameter vector x and the associated matrix inversion, this method has a high computational cost. Due to the resulting computing time and the need for m subsequent signal values, the method is not suitable for real-time applications.

3.4. Recursive Gauss–Newton Method

The RGN method calculates the estimated parameter vector only with a single parameter vector from the precedent step x k 1 and the input voltage signal y m e a s . The equation for the iteration is given in Equation (13) and the covariance matrix P k is shown in (14).
x k = x k 1 + P k j k y m e a s y e s t
P k = 1 λ k ( P k 1 P k 1 · j k · j k T · P k 1 λ k + j k T · P k 1 · j k )
The covariance matrix has a dimension of n × n with n = 3 , where n is the number of lines of the parameter vector x , whereby j k T is the k-th row of the Jacobian matrix. The estimated signal value y e s t is calculated with values of the parameter vector x .
y e s t = x 1 · sin x 2 · t + x 3
If the covariance matrix P k has a memory factor of λ k = 1 , all measured values are weighted equally. For time-variant processes, such as frequency changes due to disturbances with an active power deficit, λ k < 1 should be chosen. This leads to a faster convergence, but also to a lower accuracy [20].
The implementation of the RGN method is presented in Figure 7. The vectors s and t of the signal and time values, as well as the parameter vector x and its initial value x 0 are identical to the ones in the GN method. Additionally, the initial values of P 0 = E × 10 4 for the covariance matrix and λ k = 0.86 for the correction factor are set. The procedure consists of a loop over all time values, starting at k = 1 to the final value N . Analogous to the GN procedure, one row of the Jacobian matrix is calculated. The covariance matrix is calculated using Equation (14). An estimated signal value according to Equation (15) is determined, and the frequency value x(2) is stored. The parameter vector x is updated using Equation (13). Finally, the stored frequency values are corrected with the rate limit and filtered using a moving average method.
For the RGN method, the optimal correction factor λk for the model must be determined. The choice of the initial values x 0 and P 0 has less influence on the quality of the estimation. This procedure is used compared to the nonrecursive GN method with only one loop and without matrix inversion. As a result, significantly reduced computation time is required for execution, so online frequency estimation is possible with this method.

4. Modelling

The different frequency estimation methods are implemented in a reduced medium-voltage testbench in Matlab/Simulink for electromagnetic transient (EMT) simulation. A grid-supporting converter control, which relies on a local frequency measurement, is presented, and the external grid model for frequency studies in the time domain is shown in this section. The simulations run with a sample time T s = 5   μ s .

4.1. Medium-Voltage Testbench

The medium-voltage testbench for this case study is modeled for EMT simulation and presented in Figure 8. The model consists of a RES connected through a full-size power converter and a transformer to the point of common coupling (PCC), a static load L, as well as an SG with an onsite power load Lonsite that takes into account the overlying interconnected power system. An additional line with the impedance Z _ l i n e models the electrical distance between the external grid and the PCC. A disturbance in the form of a load step in the static load L is applied to the system, resulting in an active power mismatch and a dynamic frequency course, which is evaluated in the next chapter. The frequency estimation is done with a voltage measurement at the PCC for testing purposes and at the low-voltage side of the RES transformer to evaluate the local frequency to be used in the converter control. The two loads are modeled as constant power loads in order to focus solely on the dynamic behavior of the RES and SG. The line is modeled as a π-section equivalent circuit and the transformer as a T equivalent circuit. The installed power of the testbench components is given in Table 1.

4.2. Converter Model

The RES is based on a full-size power VSC and modeled as an average value model with cascaded vector control and grid-supporting characteristics. It fulfills the German grid code requirements for voltage and frequency support. The electrical model is reduced to a controlled three-phase voltage source that is adjusted by the grid-supporting control. Only the grid-side converter and control are modeled under the assumption of a constant power infeed during the time interval of interest of a few seconds. The cascaded vector control of the VSC is implemented in a synchronous reference frame or direct and quadrature (dq) coordinates, as shown in Figure 9. The upper part of the figure shows the electrical model consisting of the VSC, the DC-side which is modeled as a constant voltage source and DC-link capacitor, the RES transformer and an RL-filter with the filter resistance RF and the filter inductance LF. The voltage and current measurements are implemented on the low-voltage side of the transformer. The control of the VSC relies on this local measurement. Since the grid-supporting control is implemented in dq coordinates, the frequency and angle estimation play major roles. Here, the PLL is depicted. However, in the context of this study, different frequency estimation methods are applied. The estimated angle derived from the voltage measurement is passed to the coordinate transformation blocks at the start and the end of the cascaded control.
The three main blocks of the control are the frequency support, the outer control, and the inner control. The frequency support control implements the FFR with an active power-frequency droop P(f), as depicted in Figure 2a. Again, this serves as a placeholder and can also be implemented as the constant additional active power, as presented in Figure 2b. The high-level control or outer control is based on two proportional-integral (PI) controllers that compare the measured active and reactive power with the reference values. The output of the outer control is the reference values of direct and quadrature current id and iq, which are passed to the inner control. The low-level control or inner control repeats a similar control for the current, leading to the reference values for direct and quadrature voltage. Additionally, the cross coupling in the inner current control takes into account that due to the filter inductance, the current lags the voltage, which must be considered in dq coordinates. Further details about cross-coupling control can be found, e.g., in [21]. Limiting the reference current output of the outer control includes the maximum overcurrent capacity of real converters to the model. Finally, the pulse width modulation (PWM) controls the individual switches of the converter. Since the average value model does not include a detailed converter model, the PWM is assumed to be ideal, and the controlled voltage output of the inner control is directly fed to the three-phase voltage source that represents the electrical model.

4.3. External Grid Model

The external grid for dynamic frequency investigations is modeled as a sixth-order SG with a simplified governor, power system stabilizer (PSS), and excitation system. An overview of the synchronous generator control is given in Figure 10 and can be divided into the power-frequency control, which regulates the steam supply via valves, and the voltage and excitation control, which adjusts the field current. The machine and control parameters are adapted in order to replicate a frequency behavior of a low-inertia power system. The SG model is based on the synchronous machine’s subtransient and transient electromotive forces (emf), the corresponding time constants, and reactances.
The sixth-order SG model consists of four electrical and two mechanical states. The electrical states described in Equations (16)–(19) take into account the armature flux that gradually enters the rotor during a fault and, for this reason, affects the emf. The mechanical states given in Equations (20) and (21) describe the generator rotor swing. A detailed derivation of the equivalent circuit and the differential equations is given in [22]. The six differential equations describing the generator in a synchronous reference frame (SRF) are given in Equations (16)–(21).
T d o E ˙ q = E q E q + I d ( X d X d )
T q o E ˙ d = E d E d + I q ( X q X q )
T d o E ˙ q = E f E q + I d X d X d
T q o E ˙ d = E d + I q X q X q
M · ω ˙ = P m , T P e       with       M = 2 · H · S r ω r
δ ˙ = ω = ω g ω r
X d , X q , X d , X q , X d , X q are the synchronous, transient, and subtransient reactances in the d-axis and q-axis, E f , E d , E q , E d , E q are the excitation emf, and the transient and subtransient emf in the d-axis and q-axis, respectively. T d o , T q o , T d o , T q o are the d-axis and q-axis open-circuit transient and subtransient time constants and I d , I q are the d-axis and q-axis component of the armature current. M , H, ω , ω ˙ , ω g , ω r , P m , T , P e and δ ˙ are the angular momentum, the inertia constant, the rotor speed deviation and its derivation, the angular velocity of the generator, the rated synchronous angular velocity, the mechanical power of the turbine, the electromagnetic air-gap power, and the derivative of the rotor angle, respectively. The derivative quantities are derived with respect to time.
The SG, turbine, and automatic voltage control models are standard models of the Matlab/Simulink library with the parameters given in Appendix A. The focus of this study is on the governor since it mainly determines the frequency behavior of the generator. The governor control block is shown in Figure 11 and is based on [22]. Pref, Pm,T, ωr, and ωg are the reference active power, the mechanical output power of the turbine, the rated frequency, and the measured grid frequency, respectively. KGov is the proportional gain of the frequency control and the inverse of the governor droop dGov. The turbine is considered as a time delay with the time constant TT.
The parametrization of the SG and its control is based on a simple aggregation of multiple generation plants providing an inertial response to the system. The dynamics of the external grid are mainly defined by the installed power Sr of these plants, the inertia constant H, and the governor droop dGov. According to the coherency method, the SG of the overlying high-voltage grid is assumed to be coherent. Therefore, the aggregate model parameters can be derived from Equations (22)–(24). Assuming that in future scenarios, not all of the power plants can provide an inertial response, the aggregate parameters are related to the total system load PL.
The aggregate governor droop dGov,agg and the aggregate inertia constant Hagg are both calculated by the sum of the weighted values for each generator and referred to the total load of the system as shown in Equations (22) and (23). The installed power of the aggregate generator Sr,agg is calculated using Equation (24). It takes into account the aggregate short-circuit power SSC and the R to X ratio of the corresponding system. The subtransient d-axis reactance x d is given in p.u. and the maximum voltage factor is assumed to be c m a x = 1.1 .
d G o v , a g g = P L i = 1 N G K G o v , i · P r G , i
H a g g = i = 1 N G H i · S r G , i P L
S r , a g g = x d 1 + R X 2 S S C c m a x
The total load active power PL is used for the calculation to take into account that not all generating plants provide inertial behavior. N G , H i , K G o v , i , P r G , i , S r G , i are the number of SGs in the overlying grid as well as the inertia constant, the governor gain, the installed active, and the apparent power of the i-th generator. For the parameter derivation, typical machine parameters and power system characteristics are used based on [1,5,22,23]. The aggregate parameters are given in Table 2. The detailed model parameters are given in Appendix A. The onsite load of the aggregated SG is assumed to be 10% of the installed power. In the following sections, the index agg is replaced by SG in order to name the components according to Figure 8.

5. Evaluation Criteria

Uniform criteria must be defined for a qualitative evaluation and comparison of the frequency estimation results. As described in Section 2.2, the primary control is activated if the frequency in the power system deviates from the nominal frequency by more than ±10 mHz. For deviations of more than ±200 mHz, additional safety mechanisms are triggered. To avoid false triggering of these mechanisms, it is important that the signal is estimated as accurately as possible and that the maximum deviation remains small. The German Grid Code VDE-AR-N-4110 [24] specifies a maximum frequency deviation in the steady state of ±10 mHz. In the case of rapid frequency changes, the minimum accuracy should be ±50 mHz. Starting from this motivation, three criteria are defined according to which the results of the estimation methods are evaluated. One main criterion is defined, which is the aim of tuning from the parameters. The secondary and tertiary criteria are used to evaluate and describe the estimation result. The criteria are:
  • Main criterion: A large deviation of the estimated value from the real measured frequency can have far-reaching consequences for the power system. For this reason, the aim of the estimation methods is to achieve the lowest possible maximum deviation according to Equation (25).
Δ m a x = max f ^ t f S G ( t )
Here, f ^ t is the estimated frequency and f S G ( t ) is the frequency of the synchronous generator as the reference value.
2.
Secondary criterion: The frequency curves of two estimation methods with the same maximum deviation can turn out very differently. For this reason, the error area according to Equation (26), is evaluated over the period of simulation.
Δ A = 0 1.5 s f ^ t f S G ( t ) d t
3.
Tertiary criterion: Since the frequency curve serves as the input parameter for the inverter control, it makes sense that it has a smooth curve. As a criterion, it qualitatively evaluates how smooth the estimated frequency curve is.
For evaluation of the FFR control, the active power infeed of the RES, according to Figure 2, is evaluated. Additionally, Equations (27) and (28) determine the RoCoF as defined in Section 2.2 as well as the frequency nadir. The RoCoF is calculated over a time window of 500 ms in accordance with [25,26]. The frequency nadir indicates the absolute minimum of the frequency curve.
R o C o F = d f ( t ) d t = f t = 500   m s f t = 0   s 500   m s
f n a d i r = m i n f t

6. Results

This section presents the simulation results for the frequency estimation methods, the sensitivity analysis, and the linearization of sensitive parameters. Finally, the linearized parametrization for the frequency estimation methods is applied as an input to the converter control. Figure 12 compares the frequency curve measured at the PCC of the medium-voltage testbench with the PLL standard parametrization to the rotational speed of the SG. The limits of the standard PLL become clearly visible. While the steady states before and shortly after the load step are well met, the transient time range shows large oscillations reflecting the electrical transients occurring in EMT simulations. These transient oscillations are mainly defined by the rate limiter, whereas in the SG model, the rotational speed is a state variable and therefore less susceptible to transients.

6.1. Comparison of Frequency Estimation Methods

In this section, simulations are carried out with the model and the reference case described in Section 4. The parameters of the frequency estimation methods are tuned. For this purpose, the influencing factors of the individual methods are identified and adjusted in such a way that optimal estimation results are achieved with regard to the defined evaluation criteria.
The results of the offline frequency estimation methods Gauss–Newton, Zero-Crossing, and recursive Gauss–Newton are presented in Figure 13. Here, the temporal course of the deviation from the SG frequency is shown for the methods. With the GN method, a smooth course with few fluctuations is achieved, but with the largest maximum deviation compared to the other methods (blue curve). For the RGN method, the deviation fluctuates up to a time of approximately t = 1 s so a smooth course of the frequency estimation is only achieved afterward (yellow curve). Additionally, high-frequency oscillations with small amplitude occur for the RGN method, which cannot be seen in Figure 13. The small oscillations can be eliminated by stronger filtering, but this leads to a larger maximum deviation. The ZC method achieves the smallest maximum deviation at the time t 0.6   s and a smooth curve from t 0.25   s onwards (red curve). The transient response to the new stationary frequency is also faster here than with the other methods. Due to these findings, the ZC method is considered the best result in offline estimation.
Figure 14 shows the results of the frequency estimation using online or real-time methods. The RGN method achieves a frequency response with a small maximum deviation, but a high-frequency oscillation occurs starting at time t = 0.25   s . This can be reduced by stronger filtering, which, however, also reduces the quality of the estimate. The ZC method has the largest deviations but with a very smooth course (red curve). The frequency estimation using a PLL achieves results with the smallest maximum deviation and a smooth course (blue curve). The transient response of the PLL to the new stationary frequency is faster than with the other methods. Table 3 presents the tuned parameters for all methods. Sensitive parameters, i.e., parameters that have an impact on the quality of the frequency estimation, are underlined in Table 3.
By comparing all methods, the online frequency estimation using a PLL achieves the best results, but tuning the parameters is the most time-consuming for this method as it has the largest number of sensitive parameters, cf. Table 3. The results of the RGN method show oscillations. By stronger filtering, the resulting absolute deviation increases and the results of this method turn out even worse. The largest deviations are achieved by the ZC method, but in turn, this method has a smooth frequency curve and a simple setting of the parameters. With only two sensitive parameters for the tuning of the method, sufficiently small deviations during transients and a smooth curve, the ZC method is considered the most promising here.
Table 4 shows the results for the tuning of the frequency estimation methods according to the three evaluation criteria defined in Section 5. Overall, all methods estimate the frequency of the SG well, not exceeding a maximum deviation with the online ZC method of Δ m a x = 13.360   m H z . The PLL achieves the best results for the maximum deviation as well as for the area error. By all methods, an accuracy of Δ m a x < 50   m H z is achieved, as required in [13] for the transient range.

6.2. Linearization of Relevant Parameters

In the following, the robustness of the estimation methods to the change of input variables is investigated. For this purpose, the testbench shown in Figure 8 is subjected to a variable load step of Δ P L = 2 5   M W , and the estimation of how the algorithms behave is tested. Figure 15 shows the frequency estimation using a PLL with the tuned parameters according to Table 3 for different load steps. Here, the PLL provides optimal results for a load step of Δ P L = 3   M W as the parameters are tuned for this case. The results show that by changing the magnitude of the load step and keeping the parameters constant, the quality of the results of the estimation procedure decreases drastically during the transients. This can be explained by the settings of the rate limiter that prevent the frequency estimation from matching the steeper curves.
For the three online methods PLL, RGN, and ZC, the parameters are now set in such a way that for each load step, individually, the deviation of the estimated frequency from the generator frequency as well as the error area of the two frequency curves are minimized. These tuned parameters are shown in Figure 15. The number of sensitive parameters that have an influence on the quality of the frequency estimation is three for the PLL and two for the ZC and RGN methods each. These parameters are the rate limit (RL) of the rate limiter and the cut-off frequency of the low-pass filter fg for the ZC and the RGN method, and additionally, the proportional factor k p of the PID controller of the PLL. Figure 16 shows that the sensitive parameters of the methods show a linear relationship with the magnitude of the load step. The ZC method shows the best robustness to changes in the size of the load step, in particular, simulations show that the quality of the estimate is largely independent of the parameters of the method. However, there are only a few degrees of freedom in the tuning for this method, so the PLL provides better results in the tuning for a special design case.
From the tuned parameters, according to Figure 16, the following dependencies are calculated and implemented in the simulations:
R L = 0.12   H z / s + 0.22   H z / s · Δ P L / M V A   f o r   P L L 0.12   H z / s + 0.22   H z / s · Δ P L / M V A   f o r   Z C 0.12   H z / s + 0.22   H z / s · Δ P L / M V A   f o r   R G N
f g = 0.74   H z + 10.0   H z · Δ P L / M V A     f o r   P L L 9.20   H z + 5.15   H z · Δ P L / M V A     f o r   Z C 14   H z · Δ P L / M V A       f o r   R G N
k p = 6.26 + 7.24 · Δ P L / M V A       f o r   P L L
The rate limit RL, as well as the low-pass filter cut-off frequency f g are quantities that modify the estimated frequency following the individual methods and have the main impact on the quality of the results. Here, the electrical transients in the system are tried to be eliminated. It is noticeable that the rate limit in Equation (29) is identical for the three methods. The interpolated dependency of the filter cut-off frequency fg for the RGN method is corrected from the interpolation result in such a way that a negative offset is eliminated in order to cope with the physical limits.
Figure 17 shows the frequency estimation results with linearized parameters according to Equations (29)–(31) at the PCC of the medium-voltage testbench. For all three online methods, the results show a good estimation of the SG frequency, elimination of the transient oscillations, and a good fit of the RoCoF.

6.3. Fast-Frequency Response with Optimized Local Frequency Estimation

This section implements the linearized parametrization of the online frequency estimation methods to the input of the FFR control of the VSC-based RES. The frequency estimation is applied to the FFR control block only; the phase angle estimation is still done by means of a PLL with standard parametrization. For comparison, the SG speed and the PLL with standard parametrization are presented in order to classify the results.
Table 5 shows the RoCoF and nadir evaluation for different load steps and compares the results for the linear FFR and the constant power output FFR. The RoCoF and nadir of the frequency curves for each estimation method and load step are calculated according to Equations (3) and (4). The results in Table 5 show that the PLL leads to the largest RoCoF deviations from the SG values, while the ZC achieves the overall best fit. The frequency nadir f m i n is well met by all methods. This is because the transient differences are only relevant in the first 100 ms after the disturbances, cf. Figure 12. The difference between the two implementations of FFR, according to Figure 2, show that the linear FFR has a stronger impact on the frequency than the constant FFR. Due to the deadband of only 50 mHz, the linear FFR starts adapting the output power earlier so that the constant FFR is triggered at a frequency deviation of 200 mHz.
Figure 18 shows the active power response of the VSC-based RES after a load step using different frequency estimation inputs for the linear FFR according to Figure 2a. The curves of different frequency estimation methods are similar and show the increase in the active power output proportional to the estimated frequency deviation after the deadband of 50 mHz is reached at t = 0.125   s . When using the SG speed as input for the FFR control, the curve is smoothest, while the standard PLL parametrization according to Appendix B leads to oscillations in the active power infeed, as can be seen in the enlarged area between 0.1 s and 0.18 s shown within Figure 18. The linearized frequency estimation methods PLL, ZC, and RGN do not show significant oscillations but lead to a small time delay of the active power infeed, which is largest for the linearized PLL method. In conclusion, the linearized parametrization of the frequency estimation methods improves the FFR by smoothening the active power output and reducing transient oscillations.

7. Conclusions

Frequency estimation in the power system requires the use of real-time capable or online methods, where the measurement and evaluation of the frequency are done in real time. After a disturbance in the system, transient compensation processes are caused. The transient frequency, i.e., the frequency in the short-term range after a disturbance before a new quasi-stationary state is reached, can be estimated indirectly from a voltage measurement by various methods. The already widely used solution of Phase-Locked-Loops provides satisfactory results after tuning the relevant parameters. The two additional methods Zero-Crossing and recursive Gauss–Newton can also fulfill the accuracies specified by the German Grid Code. However, deviations remain between the estimated frequencies and the mechanical frequency or rotational speed of a synchronous generator, which is used for comparison. In particular, the filters and limiters used can be tuned for individual reference cases.
In the first step, different methods for online and offline estimation of the grid frequency are implemented and compared. The offline methods, namely the Zero-Crossing, Gauss–Newton, and recursive Gauss–Newton methods, are evaluated after finishing the simulation. The online methods Phase-Locked Loop, Zero-Crossing, and recursive Gauss–Newton method are implemented in the simulation. All methods reach a maximum deviation of 14 mHz compared to the rotor speed of the synchronous generator and are thus very well within the required tolerance band of ±50 mHz during transients. Regarding the maximum deviation and the error area, the tuned Phase-Locked Loop provides the best frequency estimate. The investigations of the robustness of the methods show that there is a linear relationship between the sensitive parameters and the magnitude of the load step. With only two sensitive parameters, the Zero-Crossing method is the most robust.
Based on the tuned parameters, a linear correlation is found between the sensitive parameters of the frequency estimation methods and the size of the load step applied to the system. These linearized parameters can be applied in simulations and lead to improved results of the frequency estimation. In the final step, these real-time frequency estimates are passed to the fast frequency control of a converter-based renewable energy source. The active power output of the converter as a response to the frequency drop is improved and approaches the response that can be achieved by using the synchronous generator speed as an input to the control.
For the simulation of power systems, the results offer the possibility of robust, accurate, and communication-free estimation of the frequency during transients. Thus, even in simulations without rotating resources, the frequency can be reliably evaluated. In the real system, on the other hand, the event or disturbance is not known, so the results show a theoretical approach for application in power system simulations or a real-time dynamic state estimation is required. Future research can be conducted by adapting the sensitive parameters for other sensitivities, e.g., the power system inertia, and by testing the theoretical results in an experimental setup for application in real power systems. Further investigations with the presented parameters can be conducted in power systems with a larger share of converter-based generation plants.

Author Contributions

Conceptualization, A.P. and R.S.; data curation, A.P. and R.S.; Formal analysis, A.P. and R.S.; funding acquisition, J.H.; investigation, A.P. and R.S.; methodology, A.P. and R.S.; project administration, J.H.; Resources, A.P. and R.S.; software, A.P. and R.S.; Supervision, J.H.; Validation, A.P. and R.S.; visualization, A.P. and R.S.; writing—original draft, A.P. and R.S.; writing—review & editing, A.P., R.S., and J.H. All authors have read and agreed to the published version of the manuscript.

Funding

The APC was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) and the Open Access Publishing Fund of Technical University of Darmstadt.

Data Availability Statement

Data is contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

EMTElectro-Magnetic Transients
FFRFast Frequency Response
GNGauss–Newton (Method)
PCCPoint of Common Coupling
PIProportional Integral (Controller)
PLLPhase-Locked Loop
PSSPower System Stabilizer
PWMPulse Width Modulation
RESRenewable Energy Source
RGNRecursive Gauss–Newton
RLRate Limit
RoCoFRate of Change of Frequency
SGSynchronous Generator
SRFSynchronous Reference Frame
VCOVoltage-Controlled Oscillator
VSCVoltage-Source Converter
ZCZero-Crossing (Method)

Appendix A. Medium-Voltage Testbench

Table A1. Parameters of SG model.
Table A1. Parameters of SG model.
ParameterSymbolValue
Nominal active power P n 30.8 MW
Nominal voltage V n 20 kV
Nominal frequency f n 50 Hz
Synchronous reactance in d-axis X d 1.8 p.u.
Transient reactance in d-axis X d 0.3 p.u.
Subtransient reactance in d-axis X d 0.25 p.u.
Synchronous reactance in q-axis X q 1.7 p.u.
Transient reactance in q-axis X q 0.55 p.u.
Subtransient reactance in q-axis X q 0.25 p.u.
Transient time constant in d-axis T d 8 s
Subtransient time constant in d-axis T d 0.03 s
Transient time constant in q-axis T q 0.4 s
Subtransient time constant in q-axis T q 0.05 s
stator resistance R s 0.0379 p.u.
inertia constant H 0.2–10 s
Friction coefficient F 0

Appendix B. Frequency Estimation Methods

Table A2. Standard PLL parameters.
Table A2. Standard PLL parameters.
MethodParameterValue
PLLRate limit12 Hz·s−1
Filter frequency fg25 Hz
PID controller kp, ki, kd180, 3200 s, 1 s−1

References

  1. Balu, N.J.; Lauby, M.G.; Kundur, P. (Eds.) Power System Stability and Control; McGraw-Hill Inc.: New York, NY, USA, 1994. [Google Scholar]
  2. Fang, J.; Li, H.; Tang, Y.; Blaabjerg, F. On the Inertia of Future More-Electronics Power Systems. IEEE J. Emerg. Sel. Top. Power Electron. 2019, 7, 2130–2146. [Google Scholar] [CrossRef]
  3. Milano, F.; Dorfler, F.; Hug, G.; Hill, D.J.; Verbic, G. Foundations and Challenges of Low-Inertia Systems (Invited Paper). In Proceedings of the 20th Power Systems Computation Conference: PSCC2018 Dublin, Dublin, Ireland, 11–15 June 2018; University College Dublin: Dublin, Ireland, 2018; pp. 1–25. [Google Scholar]
  4. 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]
  5. Rocabert, J.; Luna, A.; Blaabjerg, F.; Rodríguez, P. Control of Power Converters in AC Microgrids. IEEE Trans. Power Electron. 2012, 27, 4734–4749. [Google Scholar] [CrossRef]
  6. Ortega, A.; Milano, F. Comparison of different PLL implementations for frequency estimation and control. In Proceedings of the ICHQP 2018: 18th International Conference on Harmonics and Quality of Power, Ljubljana, Slovenia, 13–16 May 2018; pp. 1–6. [Google Scholar]
  7. Machowski, J.; Lubosny, Z.; Bialek, J.; Bumby, J.R. Power System Dynamics: Stability and Control; John Wiley: Hoboken, NJ, USA, 2020. [Google Scholar]
  8. Eriksson, R.; Modig, N.; Elkington, K. Synthetic inertia versus fast frequency response: A definition. IET Renew. Power Gener. 2018, 12, 507–514. [Google Scholar] [CrossRef]
  9. Poolla, B.K.; Gros, D.; Dorfler, F. Placement and Implementation of Grid-Forming and Grid-Following Virtual Inertia and Fast Frequency Response. IEEE Trans. Power Syst. 2019, 34, 3035–3046. [Google Scholar] [CrossRef] [Green Version]
  10. Riepnieks, A.; Strickland, D.; White, D.R.; Kirkham, H. “Frequency” and the PMU standard. In Proceedings of the To Measure Is to Know: I2MTC 2021: IEEE International Instrumentation and Measurement Technology Conference, Virtual Conference: 2021 Conference Proceedings, Glasgow, UK, 17–21 May 2021; pp. 1–6. [Google Scholar]
  11. Boashash, B. Estimating and interpreting the instantaneous frequency of a signal. I. Fundamentals. Proc. IEEE 1992, 80, 520–538. [Google Scholar] [CrossRef]
  12. Milano, F. Rotor Speed-Free Estimation of the Frequency of the Center of Inertia. IEEE Trans. Power Syst. 2018, 33, 1153–1155. [Google Scholar] [CrossRef] [Green Version]
  13. Pfendler, A.; Steppan, R.; Hanson, J. Comparison of Transient Frequency Estimation Methods for Evaluating the Frequency Gradient in Active Distribution Grids: Accepted for publication. In Proceedings of the 57th International Universities Power Engineering Conference (UPEC), Istanbul, Turkey, 30 August–2 September 2022. [Google Scholar]
  14. Hatziargyriou, N.; Milanovic, J.; Rahmann, C.; Ajjarapu, V.; Canizares, C.; Erlich, I.; Hill, D.; Hiskens, I.; Kamwa, I.; Pal, B.; et al. Definition and Classification of Power System Stability–Revisited & Extended. IEEE Trans. Power Syst. 2021, 36, 3271–3281. [Google Scholar] [CrossRef]
  15. Fernandez-Munoz, D.; Guisandez, I.; Perez-Diaz, J.I.; Chazarra, M.A. Femandez-Espina, and F. Burke Fast Frequency Control Services in Europe. In Proceedings of the 2018 15th International Conference on the European Energy Market (EEM), Lodz, Poland, 27–29 June 2018; pp. 1–5. [Google Scholar]
  16. Paul, D.; Mai, T.; Kenyon, R.W.; Kroposki, B.; O’Malley, M. Inertia and the Power Grid: A Guide Without the Spin. Golden, 2020. Available online: https://www.nrel.gov/docs/fy20osti/73856.pdf (accessed on 18 January 2023).
  17. ENTSO-E. Technical Requirements for Fast Frequency Reserve Provision in the Nordic Synchronous Area–External Document; ENTSO-E: Brussels, Belgium, 2021. [Google Scholar]
  18. Martin-Martinez, S.; Gomez-Lazaro, E.; Molina-Garcia, A.; Fuentes, J.A.; Vigueras-Rodriguez, 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]
  19. Carcelen-Flores, A.; Fuentes, J.A.; Molina-Garcia, A.; Gomez-Lazaro, E.; Vigueras-Rodriguez, A. Comparison of Instantaneous Frequency Estimation Algorithms under Power System Disturbances. In Proceedings of the IEEE Power and Energy Society General Meeting, San Diego, CA, USA, 22–26 July 2012. [Google Scholar] [CrossRef]
  20. Terzija, V.V. Improved recursive newton-type algorithm for frequency and spectra estimation in power systems. IEEE Trans. Instrum. Meas. 2003, 52, 1654–1659. [Google Scholar] [CrossRef] [Green Version]
  21. Zhou, S.; Liu, J.; Zhou, L.; She, H. Cross-coupling and decoupling techniques in the current control of grid-connected voltage source converter. In Proceedings of the IEEE Applied Power Electronics Conference and Exposition (APEC), Charlotte, NC, USA, 15–19 March 2015; Charlotte Convention Center: Charlotte, NC, USA, 2015; pp. 2821–2827. [Google Scholar]
  22. Tayyebi, A.; Dörfler, F.; Kupzog, F.; Miletic, Z.; Hribernik, W. Grid-Forming Converters–Inevitability, Control Strategies and Challenges in Future Grids Application; AIM: Montréal, QC, Canada, 2018. [Google Scholar]
  23. Korunović, L.M.; Stojanović, D.P.; Milanović, J.V. Identification of static load characteristics based on measurements in medium-voltage distribution network. IEEE Trans. Power Syst. 2008, 2, 227. [Google Scholar] [CrossRef]
  24. Technische Regeln für den Anschluss von Kundenanlagen an das Mittelspannungsnetz und Deren Betrieb: Technical Regulation for the Connection of Customer Installations to the Medium-Voltage Grid and Their Operation; VDE-AR-N 4110; VDE: Frankfurt am Main, Germany, 2018.
  25. NERC Inverter-Based Resource Performance Task Force (IRPTF), Fast Frequency Response Concepts and Bulk Power System Reliability Needs: White Paper. 2020. Available online: www.nrel.gov/grid/ieee-standard-1547/bulk-power-reliability-needs.html (accessed on 19 January 2023).
  26. Fradley, J. Frequency Containment Using Voltage Source Converters in Future Power Systems. Ph.D. Thesis, The University of Manchester, Manchester, UK, 2020. [Google Scholar]
Figure 1. (a) Typical frequency response after the outage of a generating unit, based on [14] and (b) frequency control time frames based on [3].
Figure 1. (a) Typical frequency response after the outage of a generating unit, based on [14] and (b) frequency control time frames based on [3].
Electronics 12 01862 g001
Figure 2. Implementation of the fast frequency response (FFR) as (a) linear dependency on the grid frequency and (b) constant additional power infeed according to [16].
Figure 2. Implementation of the fast frequency response (FFR) as (a) linear dependency on the grid frequency and (b) constant additional power infeed according to [16].
Electronics 12 01862 g002
Figure 3. Basic structure of a phase-locked loop with rate limiter and low-pass filter, based on [14].
Figure 3. Basic structure of a phase-locked loop with rate limiter and low-pass filter, based on [14].
Electronics 12 01862 g003
Figure 4. Interpolation to minimize the quantization error of the ZC method.
Figure 4. Interpolation to minimize the quantization error of the ZC method.
Electronics 12 01862 g004
Figure 5. Implementation of the offline Zero-Crossing method.
Figure 5. Implementation of the offline Zero-Crossing method.
Electronics 12 01862 g005
Figure 6. Implementation of the Gauss–Newton method.
Figure 6. Implementation of the Gauss–Newton method.
Electronics 12 01862 g006
Figure 7. Implementation of the recursive Gauss–Newton method.
Figure 7. Implementation of the recursive Gauss–Newton method.
Electronics 12 01862 g007
Figure 8. Overview on the medium-voltage testbench in Matlab/Simulink.
Figure 8. Overview on the medium-voltage testbench in Matlab/Simulink.
Electronics 12 01862 g008
Figure 9. Overview of the cascaded grid-supporting control concept.
Figure 9. Overview of the cascaded grid-supporting control concept.
Electronics 12 01862 g009
Figure 10. Overview of the synchronous generator control, based on [10].
Figure 10. Overview of the synchronous generator control, based on [10].
Electronics 12 01862 g010
Figure 11. Governor droop control and turbine representation of the synchronous generator.
Figure 11. Governor droop control and turbine representation of the synchronous generator.
Electronics 12 01862 g011
Figure 12. Frequency curve obtained by the Phase-Locked-Loop with standard parameters according to Table A2 (standard PLL) at the PCC and rotational speed of the synchronous generator (SG).
Figure 12. Frequency curve obtained by the Phase-Locked-Loop with standard parameters according to Table A2 (standard PLL) at the PCC and rotational speed of the synchronous generator (SG).
Electronics 12 01862 g012
Figure 13. Frequency deviation obtained by offline estimation with Gauss–Newton (GN), Zero-Crossing (ZC), and recursive Gauss–Newton (RGN) method at the PCC and a load step Δ P L = 3   M W .
Figure 13. Frequency deviation obtained by offline estimation with Gauss–Newton (GN), Zero-Crossing (ZC), and recursive Gauss–Newton (RGN) method at the PCC and a load step Δ P L = 3   M W .
Electronics 12 01862 g013
Figure 14. Frequency deviation obtained by Phase-Locked-Loop (PLL), Zero-Crossing (ZC), and recursive Gauss–Newton (RGN) online estimation at the PCC and a load step Δ P L = 3   M W .
Figure 14. Frequency deviation obtained by Phase-Locked-Loop (PLL), Zero-Crossing (ZC), and recursive Gauss–Newton (RGN) online estimation at the PCC and a load step Δ P L = 3   M W .
Electronics 12 01862 g014
Figure 15. Frequency course of the Phase-Locked Loop estimation with parametrization according to Table 3 and the corresponding synchronous generator (SG) speed for different load steps.
Figure 15. Frequency course of the Phase-Locked Loop estimation with parametrization according to Table 3 and the corresponding synchronous generator (SG) speed for different load steps.
Electronics 12 01862 g015
Figure 16. Tuned parameters for (a) Phase-Locked Loop (PLL), (b) Zero-Crossing (ZC), and (c) Recursive Gauss–Newton (RGN) method for different load steps Δ P L = 2 5   M W .
Figure 16. Tuned parameters for (a) Phase-Locked Loop (PLL), (b) Zero-Crossing (ZC), and (c) Recursive Gauss–Newton (RGN) method for different load steps Δ P L = 2 5   M W .
Electronics 12 01862 g016
Figure 17. Online frequency estimation results for different load steps Δ P L = 2 5   M W using (a) Phased-Locked-Loop (PLL), (b) Zero-Crossing (ZC), and (c) recursive Gauss–Newton (RGN) method.
Figure 17. Online frequency estimation results for different load steps Δ P L = 2 5   M W using (a) Phased-Locked-Loop (PLL), (b) Zero-Crossing (ZC), and (c) recursive Gauss–Newton (RGN) method.
Electronics 12 01862 g017
Figure 18. Active power output results of the linear fast frequency response (FFR) result using the linearized Phased-Locked-Loop (lin. PLL), the linearized Zero-Crossing (lin. ZC) method, the linearized recursive Gauss–Newton (lin. RGN) method, the Phase-Locked Loop in standard parametrization (standard PLL), and the synchronous generator (SG) speed for a load step of Δ P L = 2   M W .
Figure 18. Active power output results of the linear fast frequency response (FFR) result using the linearized Phased-Locked-Loop (lin. PLL), the linearized Zero-Crossing (lin. ZC) method, the linearized recursive Gauss–Newton (lin. RGN) method, the Phase-Locked Loop in standard parametrization (standard PLL), and the synchronous generator (SG) speed for a load step of Δ P L = 2   M W .
Electronics 12 01862 g018
Table 1. Testbench parameters of a synchronous generator (SG), renewable energy source (RES), and load L.
Table 1. Testbench parameters of a synchronous generator (SG), renewable energy source (RES), and load L.
ParameterSymbolValue
Rated power SG S r , S G 30.8 MVA
Rated power load L S r , L 15 MVA
Load step of load L P L 5 MW
Rated power RES S r , R E S 2.5 MVA
Table 2. Aggregated parameters for the overlying grid.
Table 2. Aggregated parameters for the overlying grid.
ParameterSymbolValue
Governor droop d G o v , a g g 5%
Inertia constant H a g g 5 s
Rated power S r , a g g 30.8 MVA
Turbine time constant T T 0.3 s
Onsite power load S r , o n s i t e 3.08 MVA
Table 3. Tuned parameters for best frequency estimation when applying a load step of Δ P L o a d = 3   M V A . Underlined parameters are sensitive to tuning.
Table 3. Tuned parameters for best frequency estimation when applying a load step of Δ P L o a d = 3   M V A . Underlined parameters are sensitive to tuning.
MethodParameterValue
onlinePLLRate limit0.85 Hz·s−1
Filter frequency fg25 Hz
PID controller kp, ki, kd30, 1 s, 0.04 s−1
ZCRate limit0.75 Hz·s−1
Filter frequency fg25 Hz
RGNInitial covariance matrix P0104 E
Memory factor λ k 0.9
Rate limit0.8 Hz·s−1
Filter frequency fg20 Hz
offlineGNMaximum iteration maxit50
Accuracy ε 10−30
Window width m40 samples
Rate limit0.75 Hz·s−1
Moving average filter120 samples
ZCRate limit1.9 Hz·s−1
Moving average filter8 samples
RGNInitial covariance matrix P0104 E
Memory factor λ k 0.86
Rate limit0.72 Hz·s−1
Moving average filter20 samples
Table 4. Comparison of best frequency estimation results according to evaluation criteria.
Table 4. Comparison of best frequency estimation results according to evaluation criteria.
MethodΔmax in mHz 1ΔA in mHz·s 2Smooth Curve
OnlinePLL8.3846.163Yes
ZC13.3609.540Yes
RGN11.5607.516No
OfflineGN12.2208.940Yes
ZC10.6907.160Yes
RGN11.7208.363No
1 Maximum deviation from synchronous generator frequency. 2 Area error between estimated frequency and synchronous generator frequency curve.
Table 5. Comparison of Rate of Change of Frequency (RoCoF) and frequency nadir f m i n for the different scenarios with linearized parametrization as input for the fast frequency response (FFR).
Table 5. Comparison of Rate of Change of Frequency (RoCoF) and frequency nadir f m i n for the different scenarios with linearized parametrization as input for the fast frequency response (FFR).
Linear FFRConstant FFR
Load StepMethodRoCoF in Hz/sfmin in HzRoCoF in Hz/sfmin in Hz
Δ P L = 2   M W PLL0.443449.47900.462849.4569
ZC0.473849.47960.490049.4576
RGN0.467349.47970.479149.4577
SG0.477049.47970.489449.4579
Δ P L = 3   M W PLL0.667949.21950.697949.1928
ZC0.695249.21990.715949.1933
RGN0.687649.22010.718949.1935
SG0.702349.22000.728349.1935
Δ P L = 4   M W PLL0.877148.96920.911348.9391
ZC0.900348.96950.916248.9394
RGN0.890848.96970.925548.9396
SG0.912748.96950.944348.9395
Δ P L = 5   M W PLL1.068048.72861.094348.6968
ZC1.086448.72891.079548.6970
RGN1.075048.72911.095248.6973
SG1.104148.72881.135748.6970
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

Pfendler, A.; Steppan, R.; Hanson, J. Transient Frequency Estimation Methods for the Fast Frequency Response in Converter Control. Electronics 2023, 12, 1862. https://doi.org/10.3390/electronics12081862

AMA Style

Pfendler A, Steppan R, Hanson J. Transient Frequency Estimation Methods for the Fast Frequency Response in Converter Control. Electronics. 2023; 12(8):1862. https://doi.org/10.3390/electronics12081862

Chicago/Turabian Style

Pfendler, Anna, Rafael Steppan, and Jutta Hanson. 2023. "Transient Frequency Estimation Methods for the Fast Frequency Response in Converter Control" Electronics 12, no. 8: 1862. https://doi.org/10.3390/electronics12081862

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