Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Power quality enhancement in wind energy applications through E2PLL-based DSTATCOM control

  • Ali Sait Özer ,

    Contributed equally to this work with: Ali Sait Özer, Fehmi Sevilmiş, Hulusi Karaca, Hafiz Ahmed

    Roles Conceptualization, Formal analysis, Investigation, Writing – original draft

    Affiliation Department of Control and Automation Technology, Konya Technical University, Konya, Türkiye

  • Fehmi Sevilmiş ,

    Contributed equally to this work with: Ali Sait Özer, Fehmi Sevilmiş, Hulusi Karaca, Hafiz Ahmed

    Roles Conceptualization, Formal analysis, Investigation, Writing – original draft

    Affiliation Department of Electrical and Electronics Engineering, Selçuk University, Konya, Türkiye

  • Hulusi Karaca ,

    Contributed equally to this work with: Ali Sait Özer, Fehmi Sevilmiş, Hulusi Karaca, Hafiz Ahmed

    Roles Conceptualization, Formal analysis, Investigation, Writing – original draft

    Affiliation Department of Electrical and Electronics Engineering, Selçuk University, Konya, Türkiye

  • Hafiz Ahmed

    Contributed equally to this work with: Ali Sait Özer, Fehmi Sevilmiş, Hulusi Karaca, Hafiz Ahmed

    Roles Conceptualization, Formal analysis, Investigation, Writing – original draft

    hafiz.h.ahmed@ieee.org

    Affiliations School of Electrical and Electronic Engineering, The University of Sheffield, Sheffield, United Kingdom, Autonex Systems Limited, Coventry, United Kingdom

Abstract

The distribution static compensator (DSTATCOM) is widely employed to regulate the voltage of self-excited induction generators (SEIGs) in wind energy systems. It supplies the reactive power demanded by both the SEIG and the connected load, drawing on the DC bus voltage for this purpose. Effective operation requires maintaining the DC bus voltage at a constant reference value and accurately determining the reactive power demand. This, in turn, depends on precise estimation of the reference source currents. Under nonlinear and unbalanced loading conditions, inadequate filtering of load currents can lead to errors in separating their active and reactive components, thereby degrading system performance. To address this challenge, this paper proposes an extended enhanced phase-locked loop (E2PLL)-based control algorithm for DSTATCOM-supported SEIGs operating with nonlinear and unbalanced loads. The proposed E²PLL achieves an effective balance between structural complexity and filtering capability, enabling accurate estimation of load current magnitude and frequency. This allows the DSTATCOM to maintain balanced and sinusoidal source currents even under nonlinear and unbalanced loading conditions. The proposed approach is comprehensively validated through real-time hardware-in-the-loop system (OPAL-RT) under these adverse conditions. In addition, robustness evaluations under practical operating disturbances, including wind-speed variations, measurement noise, and DC-link voltage ripple, further demonstrate the reliability of the proposed controller. The results demonstrate its effectiveness in ensuring accurate current estimation and stable system operation.

Introduction

Wind energy has become one of the most affordable and reliable renewable energy options across the world. This has led to a significant research effort in recent years in wind energy integrated energy systems [13]. Large turbines are already helping significantly cut carbon emissions from the main power grid. According to Wind Europe, Europe has seen 16.4 GW of wind turbine installation in 2024, and it is expected that the total installation will be roughly 450 GW by 2030. Despite this progress in large wind turbines, these turbines are not suitable in all scenarios. Small turbines could reshape energy use in remote or off-grid communities where large turbines are not feasible. For these smaller systems, self-excited induction generators (SEIGs) are often seen as a good fit. They’re simple to build, sturdy, and cheaper to maintain. However, these advantages come with the challenge of controlling the system itself in diverse operating conditions. SEIGs struggle to keep voltage and frequency stable under changing conditions, and the problem gets worse when loads introduce harmonics, which drag down performance even further [4].

The voltage regulation challenges of SEIGs originate from their dependence on reactive power to sustain self-excitation. In islanded operation, particularly in remote or off-grid locations, this reactive power is supplied through a variable capacitor bank. While this arrangement enables autonomous operation, it also makes the generator highly sensitive to variations in load conditions. The presence of load-induced harmonics further aggravates the situation, leading to poor voltage and frequency stability and, ultimately, degraded power quality in stand-alone SEIG-based wind energy systems. Passive filtering, typically implemented using networks of resistors, inductors, and capacitors, has been employed to alleviate these issues. Such filters are relatively simple and cost-effective, but they introduce several technical drawbacks. They increase the overall size and weight of the system, reduce efficiency due to inherent losses, and carry the risk of resonance under certain operating conditions. These limitations restrict their suitability for small-scale and remote applications, where compactness, reliability, and efficiency are critical. Consequently, researchers have shifted attention toward active filtering solutions, with the distribution static compensator (DSTATCOM) emerging as a promising alternative [5,6].

In SEIG-based energy conversion systems, the primary sources of anomalies are fluctuations in terminal voltage and distortions in load current harmonics. A DSTATCOM with custom controller addresses these issues by monitoring these two signals and generating the necessary compensation to provide reactive power support for the SEIG while maintaining balanced source currents under distorted load conditions. To detect these anomalies, the phase-locked loop (PLL) is widely employed in the literature. For example, in [7], a conventional synchronous reference frame PLL (SRF-PLL) is combined with a low-pass filter (LPF) to regulate the DSTATCOM. However, the SRF-PLL demonstrates limited resilience to harmonics owing to the dynamic response vs. disturbance rejection trade-off in PLL tuning, and the accompanying LPF is also constrained by its non-ideal behavior in practice. A similar LPF-based approach is reported in [8], which also suffers from the same issue. In [9], an alternative method is presented that utilizes a Kalman filter for SEIG terminal voltage estimation, coupled with a cascaded proportional-integral (PI) and proportional-resonant (PR) control strategy for DSTATCOM operation. While this technique enhances monitoring and control accuracy, it requires extensive parameter tuning, which becomes difficult to manage across a wide range of operating scenarios.

The work in [10] improves upon the limitations of a conventional PI controller by integrating an adaptive neuro-fuzzy inference system (ANFIS). In this scheme, the time derivative of the tracking error is used as an ANFIS input; however, this can degrade system performance under noisy measurement conditions, as differentiation tends to amplify noise. In the literature, a filtering differentiator is often recommended to address this issue, which comes with additional tuning complexity. A generalized integrator observer (GIO) is proposed in [11] to achieve effective band-pass filtering, but its performance deteriorates in the presence of sub- and low-order harmonics or measurement offsets [12]. In low-cost systems such as small-scale SEIG, this imposes additional constraints by requiring expensive instrumentation and data processing systems. This issue is addressed in [13] by proposing a dual third-order generalized integrator (TOGI) approach, which completely eliminates the DC offset in the load current measurement. Despite TOGI’s excellent performance, it cannot fully remove odd-order harmonics; a moving-average filter (MAF) can address this. Additionally, [13] uses a PI-type loop filter, which can slow the PLL’s dynamic response; in contrast, a quasi type‑1 PLL uses only a proportional loop filter while offering type‑2 performance without integral gain. In [14], a modified generalized integrator combined with a frequency-locked loop (FLL) is proposed; it rejects DC offset while achieving good dynamic performance thanks to the FLL. Like [13], this approach cannot fully eliminate odd-order harmonics at the nominal frequency (unlike a moving-average filter), so there is room to improve harmonic robustness and thereby the overall efficiency of the SEIG system.

Similarly, [15] introduces an enhanced PLL (EPLL) for estimating the total peak value of the phase voltage, which is then used to generate DSTATCOM switching pulses. The drawback of this approach lies in the requirement of implementing EPLL separately for each phase, thereby increasing real-time computational complexity, which may necessitate the use of high-performance and expensive embedded system for the control purpose.

To overcome the limitations of conventional integer-order PI controllers, a fractional-order PI controller for SEIG-based isolated power systems was proposed in [16]. To further enhance controller performance, particle swarm optimization (PSO) was employed for parameter tuning. This approach relies on system identification for tuning, which uses the current system parameters. However, as the system ages and parameters change, the optimized settings gradually become suboptimal, leading to performance degradation. A related method using dragonfly optimization was presented in [17], which suffers from the same issue. For a broader comparison of evolutionary algorithm-based optimization techniques for SEIG controller parameter tuning, reference [18] provides a detailed assessment.

In [19], the authors addressed a separate but important challenge in SEIG control: ensuring secure operation when communication links between sensors and the control system are compromised. They proposed a chaos-based encryption strategy to safeguard control signals, thereby enabling secure SEIG operation.

To mitigate load harmonics, [20] introduced a delayed signal generation technique combined with a low-pass filter (LPF) to achieve harmonic-resilient signal extraction in STATCOM-based SEIG control. While this fixed-delay method performs well under nominal conditions, deviations from nominal frequency introduce steady-state errors that reduce system performance, thereby making the system operation sub-optimal. In recent years, disturbance observers (DOs) have gained attention for renewable energy systems, including SEIG applications. In [21], a DO-based controller designed using Lyapunov’s method was implemented for a STATCOM-based SEIG system. Although DOs offer strong performance benefits, they are more complex than conventional methods and lack extensive validation under conditions of highly unbalanced and nonlinear loads, where voltage and frequency regulation remain difficult. A related Lyapunov function-based approach is also reported in [22]. More recently, [23] proposed a Lyapunov-based method using an Andronov–Hopf oscillator for load-current harmonic mitigation. Despite its technical strengths, [23] validates the approach only for balanced load current. In SEIG-based local energy systems, unbalanced loads are common and cannot be ignored. Therefore, the method could be improved by incorporating an orthogonal-signal generation technique. Note that although the Lyapunov-function-based approaches [2123] offer a stronger stability guarantee than the local-linearization-based approach, in practice – due to measurement noise and other unmodeled disturbances - input-to-state stability is more appropriate in the context of power electronic system control.

In [24], the authors applied a leaky minimal disturbance theory (LMDT) neural network for load-current filtering, enabling high-performance SEIG operation under severely distorted loads. This technique adapts neural network weights in real time through an update law, but validation under measurement offsets and fault conditions remains limited. Comparable approaches include least mean square-based update laws [25] and Lorentzian norm-based update laws [26], mixed-step size normalized least means fourth update laws [27], adaptive normalized least mean absolute third [28], adaptive quantum normalized least-mean fourth [29], to name a few. A key limitation of these adaptive laws [2429] is that they are nonlinear, and no explicit tuning laws are available for their gains. Therefore, trial-and-error methods are often used, which are sensitive to operating conditions. Additionally, the use of the signum function in [28] may cause chattering (high-frequency switching), as in classical first-order sliding-mode control where the signum term induces rapid switching.

To address the shortcomings of existing approaches – including limited harmonic robustness (inability to eliminate odd-order harmonics), lack of gain‑tuning formulas (leading to trial‑and‑error tuning), and reliance on offline optimization that fails to adapt to current operating conditions – this work introduces an extended enhanced phase-locked loop (E2PLL)-based control strategy for DSTATCOM operation. The main contribution of this study lies in the development of a control scheme that achieves a trade-off between structural complexity and filtering capability, thereby enabling precise estimation of load current magnitude and frequency. This allows the DSTATCOM to maintain balanced and sinusoidal source currents even under nonlinear and unbalanced loading conditions. The effectiveness of the proposed method is validated through comprehensive experimental studies, which demonstrate its practicality and robustness. The results confirm that the E2PLL-based control strategy provides a significant improvement in ensuring stable and reliable operation of wind energy systems.

Note that this article is an extended version of our preliminary work published in [30]. In this substantially expanded version, we provide full details of the control system, including modeling and tuning. In our study in [30], while regulating the voltage amplitude of the SEIG at the reference value under load changes, in this study we additionally ensure both the voltage amplitude and the frequency at their reference values. A comprehensive experimental comparison of the proposed PLL is realized. Besides, a real-time simulator-based comparative study of the DSTATCOM-supported SEIG system is presented.

In addition to the comparative evaluation with advanced PLL algorithms, this paper further includes several comparisons with recent DSTATCOM control strategies, highlighting the characteristics of the proposed controller in terms of harmonic rejection capability, dynamic response, computational complexity, parameter tuning, and experimental validation. Furthermore, additional robustness studies are carried out under practical operating disturbances, including wind-speed variations, measurement noise, and DC-link voltage ripple, to demonstrate the reliability of the proposed controller under realistic operating conditions.

The remainder of this article is organized as follows. First, an overview of the system architecture under consideration is presented. The proposed control strategy is then described in detail, including the development of the proposed PLL and a comparative analysis with related methods from the literature. This is followed by a real-time comparative study based on the considered system architecture. Finally, the main findings are summarized in the conclusions.

DSTATCOM-based SEIG system

DSTATCOM-based SEIG system, which supplies the nonlinear and unbalanced loads frequently encountered in industry, is presented in Fig 1. SEIG is typically mechanically driven by a horizontal-axis wind turbine. A SEIG requires reactive power to generate voltage at the moment of initial operation [15]. At the start, this requirement is met by a group of capacitors connected to the generator terminals instead of the DSTATCOM. These capacitors contribute to the voltage formation process by providing the initial excitation [31].

thumbnail
Fig 1. Block diagram of DSTATCOM-based SEIG system.

https://doi.org/10.1371/journal.pone.0355943.g001

The DSTATCOM connected in parallel to the point of common coupling (PCC) meets the additional reactive power demand required by both the load and the generator during load changes, while also compensating for unbalanced and harmonic distorting currents. The DSTATCOM structure consists of a voltage-source converter (VSC), a three-phase interconnection inductance () and a DC bus capacitor (). The IGBT-based switches in the VSC operate at a high switching frequency, providing fast dynamic compensation.

A battery energy storage system (BESS) integrated into the system supports the DC bus, contributing to stable operation. It also enhances the dynamic performance of the DSTATCOM by balancing power during sudden load changes and enables the SEIG to generate voltage at a nominal frequency of 50 Hz. The basic parameters of SEIG and DSTATCOM used in the system are given in Table 1. These parameters are used as a basis for mathematical modelling and simulation studies. Furthermore, the proposed structure is tested and validated on an Opal-RT-based hardware-in-the-loop (HIL) platform.

Proposed E2PLL-based control method for DSTATCOM

Fig 2 shows the block structure of the proposed control algorithm for DSTATCOM. The proposed methodology employs the E2PLL technique to facilitate the precise estimation of the amplitude () and frequency () of load currents. The utilization of E2PLL with high disturbance cancellation capability ensures the accurate extraction of the fundamental active and reactive components of the load currents ( and), even in circumstances where unbalanced and nonlinear loads are connected to the PCC. Thus, in order to control the VSC of the DSTATCOM, the reference currents (, , and) are determined appropriately.

thumbnail
Fig 2. Proposed E2PLL-based control method for DSTATCOM.

https://doi.org/10.1371/journal.pone.0355943.g002

The proposed E2PLL method for DSTATCOM control will be described in detail in the next subsection.

Description of proposed E2PLL

The block diagram of the proposed E2PLL is depicted in Fig 2. The E2PLL proposed by Sevilmiş and Karaca in [32] is an improved version of the standard three-phase EPLL. In the standard three-phase EPLL [33], as shown in Fig 3(a), four single-phase EPLL structures are required to estimate the amplitude, phase, and frequency of the input signals. Fig 3(b) depicts the block diagram of single-phase EPLL. Although the standard three-phase EPLL has good filtering capabilities, particularly under unbalanced conditions, it is structurally complex and involves a high computational load, which makes its real-time implementation difficult. The proposed E2PLL architecture, however, has been optimized to include only two modified EPLL (MEPLL) units in order to overcome this limitation of the standard EPLL method. The block structure of a MEPLL is shown in Fig 4. Each MEPLL comprises an adaptive band-pass filter (ABPF) and a PLL. It also has a moving average filter (MAF) in the ABPF. The employment of the MAF situated along the error signal path serves to enhance the filtering capability of the MEPLL. Consequently, decreasing the quantity of single-phase EPLLs from four to two contributes to a reduction in the structural complexity of the system while providing significantly stronger harmonic filtering capabilities thanks to the ABPF and MAF integrated into the MEPLL. This makes it possible to estimate the amplitude, phase, and frequency of the load currents much more accurately under nonlinear and unbalanced load conditions.

thumbnail
Fig 3. (a) Block diagram of the standard three-phase EPLL; (b) Single-phase EPLL structure, where (a) is top and (b) is bottom.

https://doi.org/10.1371/journal.pone.0355943.g003

As illustrated in Fig 4, the load currents in -frame ( and ) are passed through the ABPF structure, and their filtered forms ( and ) and quadrature forms ( and) are obtained. These currents can be expressed as

(1)

where and denote the amplitude and phase angle of the load currents, respectively. and represent the amplitude and phase angle of the filtered load currents, respectively. It is assumed that and in a quasi-locked condition.

In ABPF, the error signal () from the MAF is fed into a PLL as an input, and the PLL estimates the frequency and phase of the load currents. The window-length of MAF is designated as T/8 (in which T denotes the fundamental grid period) with the objective of enhancing the system’s stability [32]. It should be noted that the MEPLL has its own frequency estimation mechanism thanks to the PLL in its structure. In this way, it maintains high filtering performance even during frequency changes.

The MEPLL includes three gains to control its dynamics. in ABPF controls the convergence speed of . A larger reduces the convergence time of ; however, it causes oscillations. and in the PLL control loop are the PI parameters that adjust the PLL dynamics.

The differential equations of the MEPLL are determined based on the cost function [32] expressed as follows:

(2)

Based on the gradient descent method, the equations are obtained as

(3)

where and are the fundamental frequency and the deviation from the fundamental frequency, respectively.

Based on the linear analysis of the MEPLL, the characteristic equations of amplitude and frequency/phase estimation loops can be derived as [32]

(4)

It can be seen from (4) that the characteristic equation of the frequency/phase estimation loop is similar to that of a standard PLL and is identical to it when MAF(s) = 1. In other words, both MEPLL and standard PLL are based on the same linear model.

As illustrated in Fig 2, the filtered load currents at MEPLL outputs (i.e., ,,, and) are transferred to the positive sequence calculator (PSC) unit expressed in (5) to detect the positive sequence components of load currents ( and).

(5)

The positive components of the load currents and are then given as inputs to a quasi-type-1 PLL (QT1-PLL) [34] to obtain the amplitude () and frequency () of load currents. In contrast to the PI controller employed in typical control loops, the QT1-PLL uses a proportional gain () within its control loop. It appears to be a type-1 system, but it is a type-2 system actually due to forward path to the phase angle output. Thus, the E2PLL follows the phase and frequency jumps without steady-state error.

A moving average filter (MAF) in the control loop of QT1-PLL enhances the filtering capability of the E2PLL. The MAF can behave as an ideal low-pass filter under specific conditions. Its continuous-time and discrete-time transfer functions can be obtained as in (6) and (7), respectively [35].

(6)(7)

where is window-length of MAF and MAF’s order is equal to , where denotes the sampling frequency. It is possible to obtain the block diagram of MAF using (7), as demonstrated in Fig 5. As can be seen, the MAF structure is uncomplicated and easy to incorporate into digital applications by determining the value of [36]. In this study, is calculated as 33 by taking and , where is fundamental period of load currents.

The amplitude of load currents () is computed from the amplitude detection mechanism (ADM) unit, as can be seen in Fig 2. In this way, accurate detection of the amplitude in frequency drifts is ensured. The ADM is given by:

(8)

Parameter design procedure of proposed E2PLL

We presented the detailed information about the parameter design of the E2PLL in [32]. However, the key tuning procedures and design guidelines are summarized here to improve reproducibility. In order to configure the control parameters of E2PLL, its linear model is considered, as depicted in Fig 6. It has previously been determined that the value of the MEPLL is and the value of the MAF in the QT1-PLL is ; this indicates that only one parameter (i.e., ) remains to be designed. Note that the control parameters of the MEPLL (, , and ) are set to the same values as those of the standard single-phase EPLL shown in Fig 3(b). That is, and [33].

Based on the linear model in Fig 6, the open-loop transfer function in s-domain can be obtained as:

(9)

Using (9) and Fig 6, the transfer function of phase-tracking-error can be expressed as:

(10)

From (10), the change of the 2% settling-time of the E2PLL as a function of under a phase jump condition is obtained, as illustrated in Fig 7. It is determined that the of the E2PLL is set to 72 in order to achieve the minimum settling-time.

thumbnail
Fig 7. 2% settling-time of E2PLL under phase jump as a function of .

https://doi.org/10.1371/journal.pone.0355943.g007

Stability analysis of proposed E2PLL

To evaluate the stability of proposed E2PLL, its open-loop transfer function in (10) is used [32]. The open-loop bode diagram of the E2PLL is derived using (10), as illustrated in Fig 8. As shown, its phase margin (PM) is 57°, which is within the recommended range of 30° – 60° [37]. Consequently, this figure verifies that the E2PLL ensures the stability of the system.

Performance comparison of advanced PLLs

In this section, the performance of the proposed E2PLL is demonstrated through various experimental studies. Besides, its performance is compared with two advanced and well-known PLL methods. These are DSOGI-PLL [38] and MAF-PLL [35]. Their block diagrams are shown in Figs 9 and 10, respectively. To improve the readability of the article, the details of these two PLL methods are not provided.

In experiments using a TMS320F28335 DSP, the sampling frequency is 5 kHz, and the amplitudes of the load currents are assumed to be 1 p.u. The control parameters used in PLLs are summarized in Table 2.

Three tests are considered as follows:

Test-1: Imbalances occur in load currents. The amplitudes of phase-A, phase-B, and phase-C are 1 p.u., 1.2 p.u., and 0.8 p.u., respectively. Most PLLs in the literature that overcome imbalances incorrectly estimate the amplitude, phase, and frequency of the input signal when there is both imbalances and frequency jump. Therefore, in this test, the frequency jumps from 50 to 52 Hz under unbalanced conditions.

Test-2: The fifth and seventh odd-order harmonics in load currents are created, where and , in accordance with IEEE Std. 1547–2018 [39]. The frequency also changes from 50 Hz to 47 Hz in this test. Also, to provide a more dynamic harmonic profile, inter-harmonics at 4.1 (192.7 Hz) and 5.8 (272.6 Hz) are added into the load currents, where is 47 Hz. The total harmonic distortion (THD) of the load currents in this test is about 6.74%.

Test-3: Single-phase open-circuit fault occurs. That is, the current drawn from one of the phases is zero. The frequency is set to 50 Hz.

Fig 11 demonstrates the experimental results of Test-1 under unbalanced conditions with frequency deviation. As shown, the proposed E2PLL presents a faster transient response than the DSOGI-PLL and MAF-PLL. The settling-time of proposed method is 26 ms, while this time is 42.6 ms in DSOGI-PLL. Note that the MAF-PLL cannot settle according to the settling time of 2%. Additionally, the E2PLL provides lower amplitude and frequency overshoots than the DSOGI-PLL and MAF-PLL. Detailed numerical results are also given in Table 3. As can be seen in Fig 11, neither the DSOGI-PLL nor the E2PLL show any steady-state errors in amplitude, frequency and phase due to their frequency adaptation mechanisms. However, the MAF-PLL encounters double frequency oscillation errors when estimating the input signal information due to the frequency variations, and this can negatively affect the overall performance of the system. As a result, the proposed E2PLL provides perfect imbalance rejection capability and superior dynamic performance under unbalanced conditions, even in the presence of frequency drifts.

thumbnail
Table 3. Experimental results of PLL methods.

https://doi.org/10.1371/journal.pone.0355943.t003

thumbnail
Fig 11. Test-1: Unbalanced load condition with frequency jumps.

(a) Load currents; (b) Estimated amplitude; (c) Estimated frequency; (d) Phase error, where (a) is top-left, (b) is top-right, (c) is bottom-left, and (d) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g011

Fig 12 shows the experimental results of Test-2 under harmonic conditions with frequency deviation. As observed, the proposed PLL is superior to the other two methods in terms of dynamic response, accuracy, and overshoot. The DSOGI-PLL causes significant errors, particularly in amplitude and frequency estimation, which makes it difficult to use in the DSTATCOM applications. On the other hand, the MAF-PLL provides moderate performance in terms of steady-state accuracy; moreover, it offers a slower dynamic performance than the E2PLL. It cannot settle according to the settling time of 2%, while the settling-time of E2PLL is about 23 ms. The numerical results of Test-2 are presented in detail in Table 3. Consequently, this test confirms that the proposed E2PLL method performs better than DSOGI-PLL and MAF-PLL methods under harmonic conditions.

thumbnail
Fig 12. Test-2: Nonlinear load condition with frequency jumps.

(a) Load currents; (b) Estimated amplitude; (c) Estimated frequency; (d) Phase error, where (a) is top-left, (b) is top-right, (c) is bottom-left, and (d) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g012

Fig 13 illustrates the experimental results of Test-3 in case of single-phase open-circuit fault. As can be seen, all PLLs accurately detect the amplitude, frequency, and phase of the input signal in steady-state. However, as shown in Fig 13 and Table 3, the DSOGI-PLL exhibits the slowest transient response and causes the largest overshoots compared to the MAF-PLL and E2PLL. Its settling time is about 100 ms, while the settling-times of MAF-PLL and E2PLL are about 40 ms and 30 ms, respectively. As shown in Table 3, the E2PLL provides lower overshoots than the MAF-PLL, except for phase overshoot. As a result, the proposed E2PLL provides a suitable solution for DSTATCOM control by offering both superior dynamic performance and precise steady-state response.

thumbnail
Fig 13. Test-3: Single-phase open-circuit fault.

(a) Load currents; (b) Estimated amplitude; (c) Estimated frequency; (d) Phase error, where (a) is top-left, (b) is top-right, (c) is bottom-left, and (d) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g013

The comparative results presented in Table 3 are quite useful for evaluating the advantages and limitations of the DSOGI-PLL, MAF-PLL, and proposed E2PLL methods. It is important to note that no PLL method can be considered optimal under all operating conditions. The results obtained under three different challenging test conditions can be summarized as follows.

Firstly, the DSOGI-PLL provides effective positive and negative sequence separation capability under unbalanced conditions; however, as observed in Fig 12 and Table 3, significant errors occur in amplitude and frequency estimation under harmonic conditions. This limitation mainly arises from the restricted filtering capability of the DSOGI-PLL structure. Furthermore, as shown in Fig 13, its dynamic response deteriorates significantly in case of single-phase open-circuit fault.

On the other hand, the MAF-PLL demonstrates strong harmonic suppression performance thanks to the filtering capability of the MAF in its structure. As indicated by the results in Table 3, MAF-PLL provides acceptable accuracy under steady-state. Nevertheless, as shown in Fig 11, when the frequency deviates from the fundamental value of 50 Hz, the MAF-PLL causes fluctuations, particularly in amplitude and frequency estimation. Moreover, its dynamic response becomes considerably slower due to the inherent delay introduced by its filtering mechanism, and it causes large overshoots in phase estimation.

In contrast, the proposed E2PLL combines adaptive filtering and frequency tracking capabilities, providing superior performance under both harmonic and unbalanced conditions. As clearly demonstrated in Table 3, the proposed method achieves lower settling time, reduced overshoot, and higher estimation accuracy. However, the use of multiple filtering stages slightly increases computational complexity compared to two other PLL structures.

In conclusion, the proposed E2PLL method offers a well-balanced solution in terms of dynamic performance, filtering capability, and robustness against disturbances, and presents a strong alternative to existing methods in the literature.

Comparative analysis of proposed E2PLL with existing methods

Table 4 presents a comparative evaluation of the proposed E²PLL and five PLL algorithms reported in the literature. These benchmark algorithms consist of the EPLL [33], DSOGI-PLL [38], MAF-PLL [35], TPSF-EPLL [40], I- -EPLL [41]. This comparison takes into account the number of mathematical operators, the number of trigonometric functions, the number of integrators, memory usage, execution time, and filtering capability. As can be seen, while the proposed E²PLL requires nearly the same number of mathematical operators as the standard three-phase EPLL, it reduces the number of trigonometric functions from eight to three and requires only seven integrators. Furthermore, the memory requirement is limited to 96 samples, which is lower than that of the MAF-PLL and I- -EPLL methods. Note that the memory requirements are calculated by considering the unit delay () and the delay adjusted according to the MAF’s window-length () in the MAF structure, as shown in Fig 5 [36]. The measured execution time of the proposed E²PLL is approximately 14.85 μs, which is significantly lower than that of I-αβ-EPLL [41] (51.93 μs), even though both demonstrate the highest filtering capability among the evaluated methods. These results indicate that the proposed E²PLL achieves an effective balance between computational complexity, memory requirement, execution speed, and filtering capability. Consequently, the proposed algorithm is well suited for real-time implementation in DSP-based DSTATCOM applications, where fast dynamic response and strong disturbance rejection are simultaneously required.

thumbnail
Table 4. Comparative evaluation of the computational complexity and implementation requirements of PLLs.

https://doi.org/10.1371/journal.pone.0355943.t004

Computation of PCC voltage magnitude and unit voltage templates

In the DSTATCOM control algorithm shown in Fig 2, the PCC voltage magnitude and unit voltage templates (UVTs) are required to determine the reference source currents (, , and). Additionally, in-phase UVTs and their quadrature templates are generated to synchronize the DSTATCOM output voltages with the SEIG terminals. For this purpose, the line-to-line voltages are measured, and the amplitude of PCC voltages is computed as:

(11)

It should be noted that (11) is derived under the assumption of voltage balance conditions. However, under unbalanced conditions, the DSTATCOM actively compensates for voltage imbalances at the PCC. Therefore, there is no issue with using the amplitude value calculated from (11) for reference current generation.

Using (11), the in-phase UVTs are calculated as:

(12)

The quadrature UVTs are then obtained as:

(13)

As illustrated in Fig 2, the amplitude of load currents (), in-phase and quadrature UVTs, zero crossing detectors (ZCDs), and sample-and-hold (S&H) circuits are used to determine the fundamental active components (, , and ) and the fundamental reactive components (, , and ) of the load currents.

Fundamental active current components estimation

It is essential to determine the active current components to maintain the frequency of SEIG voltages at the reference value (50 Hz). Therefore, this frequency estimated by the proposed E2PLL is compared with its reference value, and the frequency error is processed through a PI controller. The output of the PI controller () is the active current component to be compensated. The fundamental average active current component () is calculated as in (14). The magnitude of the active component of the reference current () is then obtained by subtracting the from the as in (15).

(14)(15)

As shown in the reference current calculation (RCC) unit in Fig 2, the reference active current component for each phase (, , and ) is obtained by multiplying the by in-phase UVTs as follows:

(16)

Fundamental reactive current components estimation

To keep the peak value of SEIG voltages at the desired level, it is required to obtain the reactive current components. For this purpose, the difference between the amplitude of the PCC voltage () and its reference value () is applied as input to the PI controller. The output of this controller provides the reactive current component to be compensated (). The fundamental average reactive current component () is computed as in (17). The magnitude of the reactive component of the reference current () is then calculated by subtracting the from the as in (18).

(17)(18)

As a result, as illustrated in Fig 2, the reference reactive current component for each phase (, , and ) is determined by multiplying the by quadrature UVTs as:

(19)

Reference current estimation

Based on (16) and (19), the reference source currents (, , and) at the output of the RCC unit, as shown in Fig 2, are obtained as:

(20)

The reference source currents in (20) are compared with the measured SEIG currents in switching signal generation (SSG) unit, and the current error is processed using a carrier-based PWM technique. At the output of SSG, the switching signals (S1, S2, …, S6) are generated as shown in Fig 2. The generated switching signals are applied to the IGBTs on VSC in Fig 1.

Experimental results and discussion

This section evaluates the performance of the proposed E2PLL-based control method for DSTATCOM through an OPAL-RT system. The OPAL-RT is a digital simulator proven to accurately represent physical systems and capable of performing real-time hardware-in-the-loop (HiL) tests [4244]. Using the OPAL-RT, complex power systems, microgrids, motor drives, and renewable energy applications can be run in real-time. Besides, the developed control algorithms can be safely tested on the OPAL-RT platform before being tested on actual hardware. Fig 14 shows the experimental setup based on the OPAL-RT system. In this study, the power stage (SEIG, STATCOM, etc.) and the proposed control algorithm are performed in real-time on the OP5707XG simulator, which has a sampling frequency of 20 kHz. The load current signals, DSTATCOM current signals, SEIG voltage and current signals are transformed into analog signals via the OP5330−3 digital-to-analog converter (DAC) module. The analog signals are subsequently sampled via the OP5342 analog-to-digital converter (ADC) module for utilization within the proposed controller. The experimental results are displayed on a digital storage oscilloscope.

thumbnail
Fig 14. Real-time experimental setup based on OPAL-RT system.

https://doi.org/10.1371/journal.pone.0355943.g014

The proposed E2PLL-based control method for DSTATCOM is tested under various challenging operating conditions, including nonlinear load, unbalanced and nonlinear load, and single-phase open-circuit fault scenarios. In addition, dynamic load variations are introduced during the tests to evaluate the transient performance of the system. These test scenarios comprehensively represent practical operating conditions such as harmonic distortions, load imbalances, fault conditions, and dynamic disturbances commonly encountered in real-world applications. Details of the tests conducted to demonstrate the effectiveness of the proposed method are provided below.

Test-1: To create a nonlinear load condition, a three-phase diode-rectified DC load is connected to the SEIG’s common connection point (PCC). During the test, the load is increased, so that the system is tested not only under load conditions containing harmonic distortion but also under increasing load demand.

Test-2: In this test, an unbalanced and nonlinear load bank consisting of 10 Ω, 25 Ω, and 15 Ω resistors is connected in parallel with the nonlinear load in the first test. This provides both unbalanced and nonlinear load conditions. Furthermore, the load is increased, and the test is continued.

Test-3: In this test, the proposed control method is evaluated in the case of a single-phase open-circuit fault. A resistive load of 8 Ω is connected to phases a and c, while no load is connected to phase b.

Figs 15, 18, and 21 demonstrate the load currents, DSTATCOM currents, SEIG currents, and SEIG voltages of the proposed E2PLL-based control method for three test conditions, respectively. Figs 16, 19, and 22 show the amplitude and frequency of the SEIG voltages for the same test conditions, respectively.

thumbnail
Fig 15. Performance of proposed E2PLL-based DSTATCOM control method under nonlinear load (a) Load currents; (b) DSTATCOM currents; (c) SEIG currents; (d) SEIG voltages, where (a) is top-left, (b) is top-right, (c) is bottom-left, and (d) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g015

thumbnail
Fig 16. Performance of proposed E2PLL-based DSTATCOM control method under nonlinear load (a) Amplitude of SEIG voltages; (b) SEIG frequency, where (a) is left and (b) is right.

https://doi.org/10.1371/journal.pone.0355943.g016

In Test-1, as shown in Fig 15a, harmonic components occur in the load currents due to nonlinear loads. As seen in this figure, as the load is increased during the test, the currents drawn by the load are approximately doubled. Fig 15b shows the compensation currents produced by the DSTATCOM to suppress harmonics in the system. The load increase has also increased the currents injected into the system by the DSTATCOM, as it increases the amount of active and reactive power demanded. These DSTATCOM currents are correctly generated thanks to the amplitude and frequency information of the load currents obtained by the proposed E2PLL-based control algorithm. Figs 15c and 15d show the currents and voltages of the SEIG, respectively. As can be seen from the figures, despite the significant increase in the nonlinear load, the current and voltage values remain balanced and sinusoidal. The results obtained clearly demonstrate that, thanks to the E2PLL algorithm, the DSTATCOM effectively eliminates harmonic distortion by generating accurate compensation currents and adapts to the load increase.

Fig 16 shows the peak voltage and frequency of the DSTATCOM-based SEIG system operating under nonlinear load. As seen in Fig 16a, despite the sudden increase in the load, thanks to the proposed control method, there is only a temporary 2 V drop in the amplitude of the SEIG voltages, and after a few periods, it accurately follows the reference value (565 V). Fig 16b shows the frequency response of the SEIG voltages. In the face of a challenging situation such as a load increase, there is a short-term drop of up to 1 Hz in frequency, but this deviation is also quickly corrected thanks to the control algorithm, and the SEIG frequency returned to the reference value (50 Hz). In conclusion, Test-1 demonstrates that the E2PLL-based DSTATCOM control algorithm regulates the SEIG’s voltage and frequency with high accuracy and stability, despite load increases under nonlinear load conditions.

The harmonic spectrums under nonlinear load condition are presented in Fig 17, while the corresponding quantitative performance indices are summarized in Table 5. Before compensation, the nonlinear load produces significant low-order current harmonics, resulting in SEIG current and voltage THD values of 22.36% and 18.01%, respectively. After compensation, the dominant harmonic components are strongly suppressed, reducing these values to 1.95% and 1.03%. In parallel, the power factor increases from 0.88 to 0.99, and the terminal voltage regulation error decreases from 36.67% to 0.17%, as shown in Fig 16a.

thumbnail
Table 5. Power quality and voltage regulation performance of the proposed E²PLL-based DSTATCOM controller under different operating conditions.

https://doi.org/10.1371/journal.pone.0355943.t005

thumbnail
Fig 17. Harmonic spectrum before and after compensation by the proposed E2PLL-based DSTATCOM controller under nonlinear load.

(a) Harmonic spectrum of load current before compensation; (b) Harmonic spectrum of load current after compensation; (c) Harmonic spectrum of SEIG current before compensation; (d) Harmonic spectrum of SEIG current after compensation; (e) Harmonic spectrum of SEIG voltage before compensation; (f) Harmonic spectrum of SEIG voltage after compensation, where (a) is top-left, (b) is top-right, (c) is middle-left, (d) is middle-right, (e) is bottom-left, and (f) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g017

Fig 18a shows the unbalanced and nonlinear load currents in Test-2. Due to the nature of the load, both harmonics and imbalances occur in these currents. In addition to the complex load profile, the load level is also increased during the test. This significantly complicates the voltage and frequency regulation of the SEIG. Fig 18b shows the currents injected into the system by the DSTATCOM. As observed in Figs 18c and 18d, thanks to the proposed E2PLL-based control method, the SEIG currents and voltages remain balanced and maintain their sinusoidal form even with the load increase. Consequently, Test-2 confirms that the proposed control method demonstrates effective performance even under extreme load conditions.

thumbnail
Fig 18. Performance of proposed E2PLL-based DSTATCOM control method under unbalanced and nonlinear load (a) Load currents; (b) DSTATCOM currents; (c) SEIG currents; (d) SEIG voltages, where (a) is top-left, (b) is top-right, (c) is bottom-left, and (d) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g018

Fig 19 shows the variations in peak voltage and frequency of the DSTATCOM-based SEIG system under unbalanced and nonlinear loads. As seen in Fig 19a, during load changes, the amplitude of the SEIG voltages momentarily drops below the reference value for a very short period. However, the sudden decrease in voltage level is quickly compensated for thanks to the fast-dynamic performance of the E2PLL control algorithm. Fig 19b shows the change in the frequency of the SEIG voltages in response to changing conditions. As observed, although there is an overshoot of approximately 1.25 Hz in frequency during the transient state, the frequency settles to the reference value after a few periods. This test proves that the E2PLL algorithm successfully controls the DSTATCOM even under complex load conditions involving simultaneous imbalance and harmonic distortion, maintaining both the SEIG voltage and frequency stably at their reference values.

thumbnail
Fig 19. Performance of proposed E2PLL-based DSTATCOM control method under unbalanced and nonlinear load (a) Amplitude of SEIG voltages; (b) SEIG frequency, where (a) is left and (b) is right.

https://doi.org/10.1371/journal.pone.0355943.g019

The harmonic spectrums corresponding to unbalanced and nonlinear load conditions are presented in Fig 20, whereas the associated quantitative results are provided in Table 5. As shown, the combined unbalanced and nonlinear loading introduces both harmonic distortion and phase imbalance. Before compensation, the SEIG current and voltage THD values are 11.99% and 11.17%, respectively. After compensation, these values are reduced to 1.47% and 0.53%. Furthermore, the power factor improves from 0.96 to 0.99, while the terminal voltage regulation error decreases from 12.87% to 0.12% (see Fig 19a), demonstrating effective compensation under simultaneous unbalanced and nonlinear load conditions.

thumbnail
Fig 20. Harmonic spectrum before and after compensation by the proposed E2PLL-based DSTATCOM controller under unbalanced and nonlinear load.

(a) Harmonic spectrum of load current before compensation; (b) Harmonic spectrum of load current after compensation; (c) Harmonic spectrum of SEIG current before compensation; (d) Harmonic spectrum of SEIG current after compensation; (e) Harmonic spectrum of SEIG voltage before compensation; (f) Harmonic spectrum of SEIG voltage after compensation, where (a) is top-left, (b) is top-right, (c) is middle-left, (d) is middle-right, (e) is bottom-left, and (f) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g020

In Test-3, the performance of the proposed method is evaluated under single-phase open-circuit condition. As clearly shown in Fig 21a, no load is connected to phase b during the test, thereby reducing the current drawn from this phase to zero. Consequently, the power drawn by the load naturally decreases, causing the peak value of the current drawn from phases a and c to drop by approximately 5 A. Fig 21b shows the change in the compensation currents generated by the DSTATCOM during load variation. As seen, the DSTATCOM generates current signals with an asymmetric waveform in response to the severe imbalance condition that occurs. Figs 21c and 21d show the currents and voltages of the SEIG, respectively. As can be seen from these figures, despite the open-circuit in phase b, the SEIG currents and voltages maintain their three-phase balanced and sinusoidal form in steady-state thanks to the proposed control method. This situation demonstrates that the SEIG continues its efficient power production even under serious imbalance conditions such as a single-phase open circuit fault. Furthermore, this test demonstrates the effectiveness of the proposed E2PLL-based control method in DSTATCOM control.

thumbnail
Fig 21. Performance of proposed E2PLL-based DSTATCOM control method under single-phase open-circuit fault (a) Load currents; (b) DSTATCOM currents; (c) SEIG currents; (d) SEIG voltages, where (a) is top-left, (b) is top-right, (c) is bottom-left, and (d) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g021

Fig 22 shows the variations in the peak value and frequency of the SEIG voltages in a single-phase open-circuit condition. As seen in Fig 22a, an overshoot of approximately 1.8 V in amplitude occurs in the transient state. Thanks to the superior performance of the proposed E2PLL method, it follows its reference value after a few periods. Fig 22b shows that there is a 1 Hz drop in the frequency of the SEIG voltages in the fault condition, but shortly afterwards, the frequency accurately follows its reference value. The results obtained, particularly in Test-3, highlight the success of the E2PLL-based control algorithm. Even under severe imbalance conditions, the proposed E2PLL-based DSTATCOM algorithm ensures that SEIG currents and voltages are obtained in a symmetrical and balanced manner. Furthermore, transient deviations in the peak value and frequency of the SEIG voltages are quickly and successfully eliminated by the superior characteristics of the E2PLL structure.

thumbnail
Fig 22. Performance of proposed E2PLL-based DSTATCOM control method under single-phase open-circuit fault (a) Amplitude of SEIG voltages; (b) SEIG frequency, where (a) is left and (b) is right.

https://doi.org/10.1371/journal.pone.0355943.g022

The harmonic spectrums under the single-phase open-circuit fault are demonstrated in Fig 23, and the corresponding quantitative performance metrics are given in Table 5. Before compensation, the fault condition causes severe current imbalance and harmonic distortion, resulting in SEIG current and voltage THD values of 11.78%. After compensation, these values decrease to 1.65% and 0.65%. Moreover, the power factor improves from 0.76 to 0.99, while the terminal voltage regulation error is reduced from 7.26% to 0.14% (see Fig 22a), confirming the effectiveness of the proposed controller even under severe fault conditions.

thumbnail
Fig 23. Harmonic spectrum before and after compensation by the proposed E2PLL-based DSTATCOM controller under single-phase open-circuit fault.

(a) Harmonic spectrum of load current before compensation; (b) Harmonic spectrum of load current after compensation; (c) Harmonic spectrum of SEIG current before compensation; (d) Harmonic spectrum of SEIG current after compensation; (e) Harmonic spectrum of SEIG voltage before compensation; (f) Harmonic spectrum of SEIG voltage after compensation, where (a) is top-left, (b) is top-right, (c) is middle-left, (d) is middle-right, (e) is bottom-left, and (f) is bottom-right.

https://doi.org/10.1371/journal.pone.0355943.g023

Robustness evaluation of proposed control method under practical operating disturbances

To further evaluate the robustness of the proposed E²PLL-based DSTATCOM controller under practical operating conditions, additional studies are carried out considering measurement noise, DC-link voltage fluctuations, and wind-speed variations under nonlinear load condition. These disturbances represent common challenges encountered in stand-alone wind energy conversion systems.

Firstly, in order to investigate the robustness of the proposed E²PLL-based DSTATCOM controller against measurement noise, band-limited white Gaussian noise is intentionally injected into the measured three-phase voltages and load currents at t = 4.2 s. The corresponding results are presented in Fig 24. As expected, the injected noise significantly distorts the measured voltage and current waveforms after the disturbance is applied. However, the proposed controller continues to accurately extract the fundamental components, maintaining balanced SEIG currents and nearly sinusoidal SEIG terminal voltages throughout the test. Despite the severe degradation in the measured signals, the terminal voltage amplitude remains tightly regulated around its reference value of 565 V, while the estimated system frequency stays very close to the nominal value of 50 Hz with only negligible variations. Furthermore, the noisy measured load current THD reaches 10.56%, whereas the THD values of the SEIG terminal voltage and SEIG current remain limited to only 2.32% and 2.38%, respectively. These results indicate that the proposed E²PLL-based controller effectively suppresses the influence of measurement noise and preserves accurate synchronization, voltage regulation, and frequency regulation under noisy sensing conditions.

thumbnail
Fig 24. Robustness evaluation of the proposed E²PLL-based DSTATCOM before and after measurement noise injection under nonlinear load condition.

https://doi.org/10.1371/journal.pone.0355943.g024

To examine the robustness of the proposed E²PLL-based DSTATCOM controller against DC-link voltage fluctuations, an intentional disturbance is introduced into the DC-link voltage at t = 4.2 s. As illustrated in Fig 25, the applied disturbance produces significant oscillations around the nominal DC-link voltage of 700 V. Despite these fluctuations, the proposed controller successfully maintains the system frequency at its nominal value of 50 Hz and preserves the SEIG terminal voltage close to its reference value of 565 V. The results show that even under pronounced DC-link voltage ripple, the proposed controller maintains stable operation and accurate voltage-frequency regulation, confirming its robustness to DC-link voltage fluctuations.

thumbnail
Fig 25. Robustness evaluation of the proposed E²PLL-based DSTATCOM controller under DC-link voltage fluctuations under nonlinear load condition.

https://doi.org/10.1371/journal.pone.0355943.g025

Lastly, to evaluate the robustness of the proposed E²PLL-based DSTATCOM controller against wind-speed variations, the rotor speed is intentionally varied to emulate realistic changes in the available wind power. As depicted in Fig 26, the rotor speed is initially maintained at 1535 rpm and then reduced to 1515 rpm at t = 4.2 s, representing a sudden decrease in wind speed. Subsequently, at t = 4.8 s, the rotor speed is increased to 1560 rpm to emulate a sudden increase in wind speed. The reduction in rotor speed causes only a slight transient decrease in both the terminal voltage and system frequency. Nevertheless, the proposed controller rapidly compensates for the disturbance, restoring both variables close to their reference values without sustained oscillations. Likewise, the subsequent increase in rotor speed results in a limited overshoot in the voltage and frequency responses, which is effectively damped within a short settling period. Despite the larger positive speed variation, the proposed controller maintains stable operation and quickly re-establishes the nominal operating conditions. Unlike a single operating-point evaluation, the proposed controller is validated under both sudden decreases and increases in rotor speed, thereby demonstrating robust performance under realistic wind-speed variations. Overall, the results confirm that the proposed E²PLL-based DSTATCOM controller effectively preserves terminal-voltage and frequency regulation under varying mechanical input conditions, highlighting its suitability for standalone SEIG-based wind energy conversion systems.

thumbnail
Fig 26. Dynamic responses of the proposed E²PLL-based DSTATCOM controller under sudden wind-speed variations under nonlinear load condition.

https://doi.org/10.1371/journal.pone.0355943.g026

Comparative analysis of proposed approach with existing methods

Table 6 presents the numerical results of comparative analysis of the proposed E2PLL-based control method with four existing DSTATCOM control approaches, namely MAF-based method [45], SOGI-based method [46], EPLL-based method [15], and FH-PLL-based method [47]. THD values of the load current, SEIG current, and SEIG voltage are evaluated under three operating scenarios such as nonlinear load, unbalanced and nonlinear load, and single-phase open-circuit fault. It should be noted that although all control methods are tested under identical load conditions, THD values of the load currents seem slightly different in Table 6. The observed differences arise due to the interaction between the control strategies and the SEIG voltage regulation, which indirectly affects the harmonic content of the load currents.

thumbnail
Table 6. Numerical results of comparative analysis.

https://doi.org/10.1371/journal.pone.0355943.t006

Under nonlinear load condition, THD value of the SEIG current for the proposed E2PLL-based method is 1.95%, which is lower than the values obtained using MAF-based method (3.27%), SOGI-based method (3.45%), EPLL-based method (3.24%), and FH-PLL-based method (2.56%). Similarly, THD of the SEIG voltage is reduced to 1.03% with the proposed method, while these values are 2.29%, 1.96%, 1.60%, and 1.51%, respectively, for the MAF-based, SOGI-based, EPLL-based, and FH-PLL-based methods. THD values of all methods are within the limits of IEEE 519–2022 standard (<5%) [48]. As can be understood, the proposed method provides improved harmonic suppression capability under nonlinear load condition.

Under unbalanced and nonlinear load condition, the proposed method achieves a SEIG current THD of 1.47%, which is significantly lower than those of MAF-based method (2.20%), SOGI-based method (3.51%), EPLL-based method (2.70%), and FH-PLL-based method (2.42%). Moreover, in terms of SEIG voltage THD, the proposed method provides the best performance with a value of 0.53%, outperforming all existing methods (1.11%, 2.09%, 1.22%, and 1.74%). Consequently, the proposed E2PLL-based control method exhibits strong imbalance and harmonic rejection capability.

In single-phase open-circuit condition, the proposed method continues to demonstrate robust performance. The SEIG current THD is limited to 1.65%, which is considerably lower than those of MAF-based method (2.65%), SOGI-based method (4.53%), EPLL-based method (4.20%), and FH-PLL-based method (2.70%). Similarly, the SEIG voltage THD is maintained at 0.65%, compared to 1.01%, 1.53%, 1.02%, and 1.06% for the existing methods.

Overall, the results demonstrate that THD values achieved using the proposed E2PLL-based method are consistently lower than those of the existing methods and meet the limits specified by the IEEE 519–2022 standard [48]. These findings confirm that the proposed method provides superior harmonic and imbalances mitigation capability and robust performance under various challenging operating conditions.

In addition to the THD analysis, the performances of the DSTATCOM algorithms are analyzed under both transient and steady-state conditions in order to provide a comprehensive quantitative evaluation. Fig 27 shows the estimated fundamental current responses of the methods under a sudden load change. As observed, the proposed E²PLL-based method exhibits the fastest transient response with the shortest settling time, the lowest overshoot, and the smallest steady-state oscillation among all compared methods. These observations are quantitatively summarized in Table 7, where the proposed control method achieves a settling time of 16.95 ms, an overshoot of 0.209%, a steady-state error of 0.0067 A, and the lowest current RMS error of 0.0079 A.

thumbnail
Table 7. Comprehensive performance comparison of DSTATCOM control methods under transient load conditions.

https://doi.org/10.1371/journal.pone.0355943.t007

thumbnail
Fig 27. Dynamic comparison of the estimated fundamental current responses of different DSTATCOM control methods under a sudden load increase.

https://doi.org/10.1371/journal.pone.0355943.g027

Additionally, Fig 28 illustrates the corresponding terminal voltage responses of the DSTATCOM control method employing different PLL algorithms during the same transient event. Compared with the other control methods, the proposed E²PLL-based method significantly reduces the terminal-voltage dip and maintains the voltage within the ± 1% tolerance band throughout the transient period. As summarized in Table 7, the proposed method limits the voltage dip to 0.535%, while achieving the lowest voltage steady-state error (0.071 V) and voltage RMS error (0.088 V).

thumbnail
Fig 28. Dynamic comparison of the terminal voltage responses of different DSTATCOM control methods under a sudden load increase.

https://doi.org/10.1371/journal.pone.0355943.g028

The comparison presented in Tables 6 and 7 demonstrates the superior performance of the proposed E²PLL-based DSTATCOM controller under the considered test conditions. Furthermore, recent DSTATCOM control strategies – such as DSOGI-PLL-based methods [49], SOGI-FLL-based approaches [50], adaptive filtering methods [2429], disturbance observer (DO)-based controllers [21], and artificial intelligence (AI)-based solutions [10] – are compared. Since these strategies differ not only in synchronization performance but also in harmonic rejection capability, dynamic response, computational burden, adaptability, and implementation complexity, a more comprehensive qualitative comparison is beneficial. Therefore, Table 8 summarizes the main characteristics, advantages, and limitations of representative DSTATCOM control strategies reported in the recent literature, providing a clearer positioning of the proposed controller with respect to existing approaches.

thumbnail
Table 8. Comparison of the proposed E²PLL-based DSTATCOM controller with recent DSTATCOM control strategies.

https://doi.org/10.1371/journal.pone.0355943.t008

As can be understood in Table 8, conventional PLL- and adaptive filter-based approaches generally provide satisfactory harmonic mitigation and synchronization performance; however, their dynamic response is often limited by filter tuning, convergence speed, or computational complexity. Disturbance observer- and ANN-based methods improve robustness under uncertain operating conditions but require more complex implementations and, in the case of ANN-based controllers, offline training and larger computational resources. In contrast, the proposed E²PLL-based controller achieves fast dynamic response, excellent harmonic rejection capability, and accurate synchronization while maintaining a relatively low computational burden and without requiring observer design or offline training.

Conclusion

In this study, the performance of the proposed E2PLL-based DSTATCOM control algorithm for voltage and frequency regulation of islanded SEIG systems is evaluated. The effectiveness of the proposed algorithm is tested in detail using OPAL-RT-based experimental setup under nonlinear load, unbalanced and nonlinear load, and single-phase open-circuit fault conditions. The experimental results for three different test conditions are summarized as follows:

  • In the first test, although the nonlinear load draws harmonic currents from the SEIG system, thanks to the proposed E2PLL-based control method, the compensation currents of the DSTATCOM ensure that the SEIG output currents and voltages are balanced and sinusoidal. Moreover, even if the load is increased during the test, the amplitude and frequency of the SEIG voltages follow the steady-state reference value with great accuracy.
  • In the second test, although the unbalanced load connected in parallel to the nonlinear load causes both harmonic distortion and imbalance in the load currents, the voltage and frequency regulation of the SEIG is guaranteed thanks to the superior performance of the proposed control algorithm.
  • In the third test, the single-phase open-circuit fault causes the load currents to become asymmetrical, but the proposed control method ensures that the SEIG output currents and voltages become balanced and symmetrical after a few periods. Additionally, the transient deviations in the amplitude and frequency of the SEIG voltages during the fault are quickly cancelled.

In addition to the comparative evaluation with MAF-based, SOGI-based, EPLL-based and FH-PLL-based control methods, comparisons with recent DSTATCOM control strategies have been presented, demonstrating that the proposed E²PLL-based controller offers an effective balance between harmonic rejection capability, dynamic response, computational complexity, and implementation simplicity. Furthermore, additional robustness studies under practical operating conditions, including wind-speed variations, measurement noise, and DC-link voltage ripple, confirm that the proposed controller maintains stable voltage regulation, accurate frequency estimation, and satisfactory power-quality performance. These results demonstrate the suitability of the proposed E²PLL-based DSTATCOM controller for real-time implementation in stand-alone SEIG-based wind energy systems.

In future studies, integration with renewable energy sources and implementation of maximum power point tracking (MPPT)-based control strategies will be addressed to further enhance the energy efficiency of the system.

References

  1. 1. Dani A, Mekrini Z, Mrabet ME, Boulaala M, Chojaa H, Al-Sumaiti AS, et al. Performance enhancement of a wind driven PMSG using an artificial neural network based nonlinear backstepping controller. PLoS One. 2025;20(9):e0331976. pmid:40929132
  2. 2. Lv Y, Zhao X, Mou Z. Optimization of rotor-side controller parameters in doubly fed induction generators based on an improved NSGA-II. PLoS One. 2025;20(6):e0326077. pmid:40549686
  3. 3. Salama HS, Magdy G, Bakeer A, Alghamdi TAH, Alenezi M, Rihan M. An adaptive coordination control solution to boost frequency stability for a hybrid distributed generation system. PLoS One. 2025;20(5):e0321657. pmid:40359197
  4. 4. Choudhary R, Saket RK. A critical review on the self-excitation process and steady state analysis of an SEIG driven by wind turbine. Renew Sust Energ Rev. 2015;47:344–53.
  5. 5. Nayanar V, Kumaresan N, Gounden NGA. Wind-driven SEIG supplying DC microgrid through a single-stage power converter. Eng Sci Technol. 2016;19(3):1600–7.
  6. 6. Sekhar VC, Kant K, Singh B. DSTATCOM supported induction generator for improving power quality. IET Renewable Power Gen. 2016;10(4):495–503.
  7. 7. Scherer LG, Tischer CB, de Camargo RF. Voltage regulation of stand-alone micro-generation SEIG based system under nonlinear and unbalanced load. In: 2015 IEEE 24th International Symposium on Industrial Electronics (ISIE), 2015. 428–33. https://doi.org/10.1109/isie.2015.7281506
  8. 8. Chilipi RR, Singh B, Murthy SS. Performance of a self-excited induction generator With DSTATCOM-DTC drive-based voltage and frequency controller. IEEE Trans Energy Convers. 2014;29(3):545–57.
  9. 9. Tischer CB, Tibola JR, Scherer LG, de Camargo RF. Proportional‐resonant control applied on voltage regulation of standalone SEIG for micro‐hydro power generation. IET Renewable Power Gen. 2017;11(5):593–602.
  10. 10. Suryadi AH, Pakaya I. Voltage and frequency control of self-excited induction generator utilizing PI-ANFIS controller. In: AIP Conference Proceedings, 2022. 020066. https://doi.org/10.1063/5.0094647
  11. 11. Sanjenbam CD, Singh B. Modified GIO-FLL for UPQC Based SEIG with Double Stage Solar PV Battery System. In: 2022 IEEE 2nd International Conference on Sustainable Energy and Future Electric Transportation (SeFeT), 2022. 1–6. https://doi.org/10.1109/sefet55524.2022.9908622
  12. 12. Ahmed H. Low-order measurement offset rejection methods in single-phase SOGI-PLL. IEEE Sens Lett. 2024;8(1):1–4.
  13. 13. Kundu S, Singh M, Giri AK. Adaptive control approach-based isolated microgrid system with alleviating power quality problems. Electric Power Components and Systems. 2023;52(7):1219–34.
  14. 14. Kundu S, Giri AK, Kadiyan S, Singh S, Mittal S. Renewable-based hybrid charging infrastructure for isolated microgrids: enhancing power quality and supporting EV integration. Renewable Energy Focus. 2026;56:100783.
  15. 15. Özer AS, Sevilmiş F, Karaca H, Arabacı H. Enhanced control method for voltage regulation of DSTATCOM based SEIG. Energy Reports. 2022;8:839–47.
  16. 16. Ilten E. Conformable fractional order controller design and implementation for per-phase voltage regulation of three-phase SEIG under unbalanced load. Electric Power Components and Systems. 2022;50(11–12):636–48.
  17. 17. Singh G, Singh VR. SEIG-based transient- and steady-state analysis using dragon fly approach. Soft Comput. 2022;27(6):2993–3005.
  18. 18. Ahmed MM, Hassanein WS, Enany MA. Proposing and evaluation of SC techniques for variable speed high-power operation of SEIG. IEEE Access. 2020;8:20666–75.
  19. 19. Demirtas M, Sharkh SM, Gokyildirim A, Calgan H. Secure operation of a stand-alone wind energy system based on an incommensurate fractional-order chaotic system. Applied Energy. 2025;384:125477.
  20. 20. Singh B, Murthy SS, Chilipi RSR. STATCOM-based controller for a three-phase SEIG feeding single-phase loads. IEEE Transactions on Energy Conversion. 2014;29(2):320–31.
  21. 21. Zhang Z, Gong P, Lu Z, Li G. Voltage regulation of SEIG based on disturbance observer‐lyapunov direct method. IEEJ Transactions Elec Engng. 2024;20(5):812–22.
  22. 22. Zhang Z, Gong P, Lu Z. A Lyapunov theory-based SEIG–STATCOM voltage regulation control strategy. Energies. 2024;17(19):4992.
  23. 23. Kundu S. Improved dynamic performance of SEIG-based wind energy systems for off-grid applications. Electric Power Systems Research. 2026;251:112198.
  24. 24. Kalla UK, Singh B, Murthy SS. Enhanced power generation from two-winding single-phase SEIG Using LMDT-based decoupled voltage and frequency control. IEEE Trans Ind Electron. 2015;62(11):6934–43.
  25. 25. Qureshi A, Giri AK, Arya SR, Padmanaban S. Power conditioning using DSTATCOM in a single-phase SEIG-based isolated system. Electr Eng. 2021;104(1):111–27.
  26. 26. Giri AKK, Arya SR, Maurya R, Babu BC. Power quality improvement in stand-alone SEIG-based distributed generation system using lorentzian norm adaptive filter. IEEE Trans on Ind Applicat. 2018;54(5):5256–66.
  27. 27. Kundu S, Giri AK, Kadiyan S. An adaptive mixed-step size normalized least means fourth control approach for stand-alone power generation system considering dynamic conditions. IEEE J Emerg Sel Topics Power Electron. 2025;13(2):2422–9.
  28. 28. Kundu S, Giri AK, Kadiyan S, Singh S. Power management and adaptive control method for a standalone distributed generation system under fault, DC-offset, and dynamic environments. International Journal of Ambient Energy. 2025;46(1).
  29. 29. Kundu S, Giri AK, Deb D, Singh RK. Adaptive quantum-based least mean fourth control for multisource isolated three-phase microgrids: experimental analysis and performance evaluation. IEEE Trans Ind Electron. 2026;73(9):13166–75.
  30. 30. Özer AS, Sevilmiş F, Karaca H, Ahmed H. Power Quality Enhancement of DSTATCOM Using E2PLL-Based Control Method for Wind Energy Applications. In: 2024 XV International Symposium on Industrial Electronics and Applications (INDEL), 2024. 1–6. https://doi.org/10.1109/indel62640.2024.10772673
  31. 31. Özer AS, Sevilmiş F, Karaca H. Enhanced method for power quality improvement in DSTATCOM-based SEIG applications. KONJES. 2026;14(1):137–61.
  32. 32. Sevilmiş F, Karaca H. Efficient implementation and performance improvement of three‐phase EPLL under non‐ideal grid conditions. IET Power Electronics. 2020;13(12):2492–9.
  33. 33. Karimi-Ghartemani M. Enhanced phase-locked loop structures for power and energy applications. Hoboken, NJ, USA: Wiley, 2014.
  34. 34. Golestan S, Freijedo FD, Vidal A, Guerrero JM, Doval-Gandoy J. A Quasi-Type-1 Phase-Locked Loop Structure. IEEE Trans Power Electron. 2014;29(12):6264–70.
  35. 35. Golestan S, Ramezani M, Guerrero JM, Freijedo FD, Monfared M. Moving average filter based phase-locked loops: performance analysis and design guidelines. IEEE Trans Power Electron. 2014;29(6):2750–63.
  36. 36. Sevilmiş F, Karaca H, Ahmed H. High-order delayed signal cancellation-based PLL under harmonically distorted grid voltages. IEEE Trans Instrum Meas. 2023;72:1–9.
  37. 37. Wang Y, Ahmed H, Zhang H, Hua W. Feedforward PLLs for motor position estimation using embedded magnetic encoder. IEEE Sensors J. 2024;24(7):10307–15.
  38. 38. Golestan S, Monfared M, Freijedo FD. Design-oriented study of advanced synchronous reference frame phase-locked loops. IEEE Trans Power Electron. 2013;28(2):765–78.
  39. 39. IEEE Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces. IEEE. 2018.
  40. 40. Wu F, Zhang L, Duan J. A new two-phase stationary-frame-based enhanced PLL for three-phase grid synchronization. IEEE Trans Circuits Syst II. 2015;62(3):251–5.
  41. 41. Luo S, Wu F. Improved two-phase stationary frame EPLL to eliminate the effect of input harmonics, unbalance, and DC offsets. IEEE Trans Ind Inf. 2017;13(6):2855–63.
  42. 42. Herrera L, Li C, Yao X, Wang J. FPGA-based detailed real-time simulation of power converters and electric machines for EV HIL applications. IEEE Transactions on Industry Applications. 2015;51(2):1702–12.
  43. 43. Bastos RF, Fuzato GH, Aguiar CR, Neves RVA, Machado RQ. Model, design and implementation of a low‐cost HIL for power converter and microgrid emulation using DSP. IET Power Electronics. 2019;12(14):3833–41.
  44. 44. Vardhan H, Akin B, Jin H. A low-cost, high-fidelity processor-in-the loop platform: for rapid prototyping of power electronics circuits and motor drives. IEEE Power Electron Mag. 2016;3(2):18–28.
  45. 45. Devassy S, Singh B. Design and performance analysis of three-phase solar PV integrated UPQC. IEEE Trans Ind Appl. 2018;54(1):73–81.
  46. 46. Singh B, Murthy SS, Reddy RS, Arora P. Implementation of modified current synchronous detection method for voltage control of self‐excited induction generator. IET Power Electronics. 2015;8(7):1146–55.
  47. 47. Özer AS, Sevilmiş F, Karaca H, Ahmed H. Power quality improvement of DSTATCOM using fast hybrid-PLL-based control method for wind energy applications. Prot Control Mod Power Syst. 2026;11(2):16–34.
  48. 48. IEEE Standard for Harmonic Control in Electric Power Systems - Redline. IEEE. 2022. https://ieeexplore.ieee.org/document/9926021
  49. 49. Ozer AS, Karaca H. Enhanced DSOGI-PLL Based Control Strategy for DSTATCOM. In: 2025 10th International Youth Conference on Energy (IYCE), 2025. 1–6. https://doi.org/10.1109/iyce66046.2025.11155055
  50. 50. Puranik V, Arya SR. SOGI–FLL based adaptive filter for DSTATCOM under variable supply frequency. J Inst Eng India Ser B. 2016;98(4):423–31.