Published: 15 May 2025

Enhancing PLL performance in weak grids: a comparative analysis of backward and bilinear ADC with SOGI-PLL

Hyeok Jin Lee1
Hae-In Kim2
Gun Heum Cho3
Jeong Won Kang4
Hag Wone Kim5
1, 2, 3, 4, 5Korea National University of Transportation, Chungju, Republic of Korea
Corresponding Author:
Hag Wone Kim
Views 40
Reads 15
Downloads 196

Abstract

Most rectifiers using AC grid voltage assume that the voltage is ideal and has no distortion. However, in high-power systems such as water electrolysis, the grid voltage can be distorted. This situation is called a weak grid. In weak grids, the switching of rectifiers causes voltage distortion. Distorted voltage causes phase errors during observation, so it is important to measure voltage without distortion. There are two common methods to reduce errors during observation. One is using a hardware Low-Pass Filter (LPF) to reduce high-frequency switching distortion. The other is using a Second-Order Generalized Integrator (SOGI) Phase-Locked Loop (PLL) to separate the distorted component. Both methods are commonly used, but their performance changes depending on how they are applied. This paper compares the distortion reduction of the hardware LPF and the error caused by the digital method of the SOGI-PLL. Simulation results show that the hardware LPF reduces distortion by about 75 %, and the SOGI-PLL can have up to 6.7 % error depending on the digital method. These results are verified through PSIM simulation.

1. Introduction

Recently, research on water electrolysis systems has become active for Carbon Neutral. These systems receive voltage from the grid, creates DC voltage through an AC-DC converter, and creates voltage for the water electrolysis stack through a DC-DC converter. In AC-DC rectifier, Vienna rectifier is used for reasons high power factor and efficiency [1-3]. These systems are generally limited to installation locations near the sea. As a result, as the distance to the power grid from which the power is received increases, the electrical distance grows and the impedance of the system cannot be ignored. The large value of grid impedance negatively impacts the controller and PLL under weak grid conditions. Research on the grid impedance estimation [4-6], PLL methods and stability in weak grids [7-9].

On the other hand, the control system of a Vienna rectifier includes a PLL, DC-link voltage controller, input current controller, and PWM controllers based on DQ transformation. However, in weak grids, the PLL is affected by grid impedance. In addition, the switching distortion at Point of Common Coupling (PCC) voltage is affected by the DC-Link voltage included in the three-phase switching functions, and the voltage measurement at PCC affects the sampling. In this paper, a hardware LPF is applied to minimize the influence of switching functions during PCC voltage sensing. A SOGI-PLL structure is then introduced and proposes a conversion method by comparing the backward and bilinear methods according to the digital conversion method. In addition, the method to mitigate voltage drop issues caused by sampling delays is proposed and effectiveness is verified through PSIM simulation.

In this paper, Chapter 2 describes the configuration and control method of the Vienna rectifier. Chapter 3.1 explains the operating principle of SOGI PLL, Chapter 3.2 analyzes the digital conversion method and Chapter 3.3 explains the influence of switching distortion and hardware LPF. Chapter 4 explains simulation according to digital conversion method and hardware LPF and Chapter 5 contains the conclusion of the paper.

2. Vienna rectifier and control system

Fig. 1 is Vienna rectifier circuit in weak grid. It is a boost-based topology that receives grid AC voltage and increases the output voltage according to the duty. The voltage equation of the Vienna rectifier input voltage is a Eq. (1). The equation can be expressed in terms of the grid voltage (ea), grid impedance voltage vLga, filter impedance voltagevLfa, and terminal voltages AO vAO at both ends of the switch, and voltage vON is the capacitor between the midpoint (O) and the neutral point (N). eb and ec can be obtained in the same way. From the voltage equation in Eq. (1), the expression for vAO and vON can be derived, which are presented in Eq. (2) and (3) [10]. When Eq. (2) and (3) are substituted into Eq. (1), the resulting expression includes switching functions:

1
ea=vLga+vLfa+vAO+vON,
2
vAO,BO,CO=Vdc21-Sa,b,csgnia,b,c,
3
vON= -13vAO+vBO+vCO.

Fig. 2 shows the control block diagram of the Vienna rectifier. The PLL controller is used for measuring the PCC voltage. Create current reference through DC-Link voltage controller. Create duty reference through current controller.

Fig. 1Vienna rectifier circuit in weak grid

Vienna rectifier circuit in weak grid

Fig. 2Control block diagram of the Vienna rectifier

Control block diagram of the Vienna rectifier

3. SOGI-PLL fundamentals and robust digital realization under switching distortion

3.1. Operating principles of SOGI-PLL

The SOGI-PLL transforms the input three-phase voltages into αβ voltage components using the Clarke transformation. The αβ voltages are processed through the SOGI to extract the Positive-Sequence Component (PSC), which are then converted into DQ voltages and used to obtain the phase angle θ through a Synchronous Reference Frame based PLL. The block diagram of SOGI-PLL is shown in Fig. 3, and each block is explained. The SOGI block generates vα', qvα', vβ' and qvβ' from the input vα and vβ.

Fig. 3SOGI-PLL block diagram

SOGI-PLL block diagram

The transfer function is arranged from the input vαβ and the output vαβ', resulting in a Band-Pass Filter (BPF) shown in Eq. (4). This filter allows a specific frequency band to pass without causing phase delay. Similarly, when the transfer function is arranged from the input vαβ and the output qvβ', it results in a LPF, as shown in Eq. (5). This filter passes a frequency lower than a specific frequency and the phase is shifted by 90 degrees:

4
Ds=vα,β'vα,β=ksogi ω2ss2+kωs+ ω2,
5
Qs=qvα,β'vα,β=ksogi ω2s2+kωs+ ω2.

Fig. 4 is a graph of Eq. (4) and (5) in MATLAB of bode plot. In the bode plot, we can see that the Ds graph passes through a frequency of 60 Hz and there is no phase delay. Qs passes frequencies lower than 60 Hz, but has a 90-degree phase delay.

Fig. 4D(s) and Q(s) bode plots of SOGI

D(s) and Q(s) bode plots of SOGI

The PSC block is explained in Fig. 3. Using their SOGI outputs the PSC vαβ+. The voltage vector can be organized as in Eq. (6) below. Eq. (7) is defined as follows:

6
vabc+=va+vb+vc+, vabc-=va-vb-vc-,
7
T+=131aa2a21aaa21, T-=131a2aa1a2a2a1, a=ej23π,
8
vαβ+=Tαβvabc, Tαβ=231-12-12132-32,
9
vαβ+=T+vabc+=TαβT+vabc=TαβT+TαβTvabc=121-qq1vαvβ.

Eq. (8) can be obtained using Clarke transform. For PSC αβ voltage, it can be obtained through each αβ combination. The organized equation is shown in Eq. (9). To extract the 60 Hz component of the grid voltage from the PSC, the SOGI-PLL is designed to have corner frequency at 60 Hz. The PSC voltage vαβ+, obtained from Eq. (9), is transformed into the DQ domain using the Park transformation. The Q-axis voltage component derived from this transformation is used for the PLL operation. After PI control, the fundamental frequency compensation ωn is added and integrated to estimate θ. It is used to apply DQ transformation.

3.2. Comparison of digital conversion methods for SOGI-PLL

This section compares two digital implementation methods for the SOGI transfer function: the backward and bilinear transforms. Accordingly, transformation is performed from the s-domain to the z-domain. SOGI transfer function is organized in Eq. (10) using the backward method, and in Eq. (11) using the bilinear method. In each equation, Ts is the sampling period, and ω represents the angular frequency:

10
Dbackwardz=ksogiωTs-ksogiωTs z-11+Ts2ω2+ksogiωTs-ksogiωTs+2z-1+z-2,
Qbackwardz=ksogiω2Ts21+Ts2ω2+ksogiωTs-kωTs+2z-1+z-2,
11
Dbilinearz=2ksogiωTs-2ksogiωTsz-24+2Tskω+ω2Ts2+2ω2Ts2-8z-1+4-2Tskω+ω2Ts2z-2,
Qbilinearz= ksogiω2Ts2+2kω2Ts2z-1+ksogiω2Ts2z-24+2Tsksogiω+ω2Ts2+2ω2Ts2-8z-1+4-2Tsksogiω+ω2Ts2z-2.

The backward method requires less computation, while the bilinear method is more computation. Fig. 5 shows the graphs of two methods of analog to digital conversion using bode plots in MATLAB. While overall responses are similar, a clear difference appears near 60 Hz. The backward method has an error of 0.6 dB, but the bilinear method has no error.

3.3. Improved PSC under switching distortion using LPF-assisted SOGI-PLL

When Eq. (1) and Eq. (3) are expressed in terms of the PCC voltage, it can be represented as shown in Eq. (12). It shows that in PCC voltage of the weak gird, the voltage can be combined with the grid voltage (ea) and the grid impedance voltage (vLga) as vPcca. Additionally, the PCC voltage is expressed of the filter impedance voltage (vLf) and the three-phase switch function as a DC voltage multiplication. When measuring PCC voltage, it is difficult to measure PSC of PCC voltage even if sampling at the same or twice the switching frequency. This problem causes switching distortion problems. To mitigate the influence of switching distortion, an LPF is implemented in hardware. By applying the hardware LPF, the switching distortion in the measure PCC voltage is significantly reduced, enabling more accurate voltage detection:

12
vpcca=vLfa+vAO-13vAO+vBO+vCO.

Fig. 6 shows the PSIM diagram when hardware LPF is applied. As shown in Fig. 6, a hardware LPF is applied to reduce the switching distortion when measuring the PCC voltage. Therefore, after the switching distortion is reduced through the LPF, the PCC voltage is measured.

Fig. 5BPF and LPF bode plots according to digital conversion method

BPF and LPF bode plots according to digital conversion method

a) Bode plot of BPF

BPF and LPF bode plots according to digital conversion method

b) Magnified view around 60 Hz of BPF

BPF and LPF bode plots according to digital conversion method

c) Bode plot of LPF

BPF and LPF bode plots according to digital conversion method

d) Magnified view around 60 Hz of LPF

Fig. 6PSIM diagram with hardware LPF

PSIM diagram with hardware LPF

4. Simulations

The PSC was extracted using SOGI-PLL following the application of a hardware LPF, and the proposed digital conversion method was verified through PSIM simulation. Table 1 summarizes the simulation parameters.

Fig. 7(a) shows the voltage waveform using the backward method. The second waveform is the α axis voltage through SOGI. Each is an analog voltage and a voltage in backward method. The analog voltage peak is 311 V, and the voltage in the backward method is 288 V. The difference between the two is 23 V. This has a 6.7 % error between the backward method voltage and analog voltages. It can be confirmed that an error occurs in the D-axis as well by performing DQ transformation through PSC. Fig. 7(b) presents the result using the bilinear method. The second waveform is the α axis voltage through SOGI. Each is an analog voltage and a voltage in bilinear method. The analog voltage is 311V, and the voltage in the backward method is 311 V. In this case, there was almost no error between the bilinear method voltage and analog voltages, and the D-axis voltage also showed accurate tracking. Fig. 7(c) the waveform in a weak grid without hardware LPF applied. Orange color and blue color are the PCC voltages for DQ transformation. Orange color is the analog voltage of 311 V and blue is the PCC D-axis voltage without hardware LPF of 278 V. Due to switching distortion, the PSC voltage includes distortion, resulting in voltage error. On the other hand, Fig. 7(d) shows the waveform when the hardware LPF is applied. Orange color and blue color are the PCC voltages for DQ transformation. Orange color is the analog voltage of 311 V and blue color is the PCC D-axis voltage with hardware LPF of 301 V. The difference between the two is 10 V. In this case, the effect of switching is minimized, allowing accurate PSC extraction and small error voltage measurement.

Table 1Simulation parameter of Vienna rectifier under weak grid conditions

Parameter
Value
Unit
Grid voltage (RMS)
220
V
Grid frequency
60
Hz
Switching frequency
5
kHz
Grid inductance
148
μH
Filter inductance
148
μH
Capacitor
6.8
mF

Fig. 7Voltage waveform according to digital conversion method and hardware LPF application

Voltage waveform according to digital conversion method and hardware LPF application

a) Waveform with backward method

Voltage waveform according to digital conversion method and hardware LPF application

b) Waveform with bilinear method

Voltage waveform according to digital conversion method and hardware LPF application

c) Waveform without hardware LPF

Voltage waveform according to digital conversion method and hardware LPF application

d) Waveform with hardware LPF

5. Conclusions

In this paper, a digital conversion method for the SOGI-PLL and the application of a hardware LPF are proposed to ensure stable PLL operation under weak grid conditions. It was analyzed according to the digital conversion method. The backward method has an error of 7.4 % compared to the analog voltage. On the other hand, the error of the bilinear method is close to 0 and it was confirmed that there is an improvement effect of 7.4 %. The bilinear method is proposed for digital conversion. To reduce switch distortion for stable SOGI-PLL operation, hardware LPF was used. When hardware LPF was not used, the error of vpccd was confirmed to be about 10 % of vpccd occurred. However, when hardware LPF was used, it was confirmed that the error was reduced to 2.5 %. The error was reduced by 7.5 %, from 10 % to 2.5 %. This paper analyzed the performance of SOGI-PLL according to its digital conversion method and confirmed the impact of hardware LPF. In addition, the use of a hardware LPF and SOGI-PLL was proposed to enhance the operational stability of the PLL under weak grid conditions.

References

  • J. W. Kolar and T. Friedli, “The essence of three-phase PFC rectifier systems,” in INTELEC 2011 – 2011 33rd International Telecommunications Energy Conference, pp. 1–27, Oct. 2011, https://doi.org/10.1109/intlec.2011.6099838
  • S. J. Choi, “Comparative analysis of efficiency and loss in three high-power PWM rectifier types,” (in Korea), in Power Electronics Conference, 2022.
  • I. Aretxabaleta, I. M. de Alegria, J. Andreu, I. Kortabarria, and E. Robles, “High-voltage stations for electric vehicle fast-charging: trends, standards, charging modes and comparison of unity power-factor rectifiers,” IEEE Access, Vol. 9, No. 9, pp. 102177–102194, Jan. 2021, https://doi.org/10.1109/access.2021.3093696
  • S.-H. Joo et al., “Comparison of APF-PLL and SOGI-PLL operational stability in parallel single-phase inverters under weak grid conditions,” Journal of Power Electronics, Vol. 25, No. 2, pp. 301–311, Jan. 2025, https://doi.org/10.1007/s43236-024-00978-z
  • D. Yang, X. Wang, F. Liu, K. Xin, Y. Liu, and F. Blaabjerg, “Symmetrical PLL for SISO impedance modeling and enhanced stability in weak grids,” IEEE Transactions on Power Electronics, Vol. 35, No. 2, pp. 1473–1483, Feb. 2020, https://doi.org/10.1109/tpel.2019.2917945
  • K.-H. Kim, S. Cui, and J.-J. Jung, “Current-oriented phase-locked loop method for robust control of grid-connected converter in extremely weak grid,” IEEE Transactions on Power Electronics, Vol. 39, No. 10, pp. 11963–11968, Oct. 2024, https://doi.org/10.1109/tpel.2024.3419445
  • H. Alenius, R. Luhtala, T. Messo, and T. Roinila, “Autonomous reactive power support for smart photovoltaic inverter based on real-time grid-impedance measurements of a weak grid,” Electric Power Systems Research, Vol. 182, p. 106207, May 2020, https://doi.org/10.1016/j.epsr.2020.106207
  • N. Hoffmann and F. W. Fuchs, “Minimal invasive equivalent grid impedance estimation in inductive-resistive power networks using extended Kalman filter,” IEEE Transactions on Power Electronics, Vol. 29, No. 2, pp. 631–641, Feb. 2014, https://doi.org/10.1109/tpel.2013.2259507
  • M. Cespedes and J. Sun, “Adaptive control of grid-connected inverters based on online grid impedance measurements,” IEEE Transactions on Sustainable Energy, Vol. 5, No. 2, pp. 516–523, Apr. 2014, https://doi.org/10.1109/tste.2013.2295201
  • A. Sunbul and V. K. Sood, “Simplified SVPWM method for the Vienna rectifier,” in 20th Workshop on Control and Modeling for Power Electronics (COMPEL), pp. 1–8, Jun. 2019, https://doi.org/10.1109/compel.2019.8769689

About this article

Received
14 April 2025
Accepted
29 April 2025
Published
15 May 2025
SUBJECTS
Dynamics and oscillations in electrical and electronics engineering
Keywords
three phase Vienna rectifier
SOGI-PLL
weak grid
bilinear method
backward method
Acknowledgements

This research was supported by the Korea Evaluation Institute of Industrial Technology (KEIT) grant funded by the Ministry of Trade, Industry & Energy (MOTIE, Korea) (Project No. 20026413).

Data Availability

The datasets generated during and/or analyzed during the current study are available from the corresponding author on reasonable request.

Conflict of interest

The authors declare that they have no conflict of interest.