You are on page 1of 5

Comparative Study of the Second-Order and

Third-Order Systems for the Synchronization


System under Distorted Grid Conditions
Tuan Ngo, Member, IEEE, and Tuyen Vu, Member, IEEE,

Abstract—This paper presents our research on the perfor- Many attempts trying to improve the performance of grid
mance of the grid synchronization system in a grid-connected synchronization under unbalanced or distorted grid conditions
inverter under distorted grid conditions. The generalized second- have been proposed [4]–[7]. The most common methods are
order and the third-order synchronization systems which are
widely implemented in the inverter applications are compared in adding another filter such as a compensator [4] or a digital
detail. Note that these synchronization systems are derived based filter [8], [9] to remove harmonics. Another approach involve
on the transfer function approach and are able to generate two increasing the SOGI system to a third-order or higher order
orthogonal outputs which are basically sine and cosine signals system. This work can be simply achieved by adding an inte-
in the steady-state. It is interesting to see that the second-order grator to the conventional SOGI structure. Due to higher atten-
system can give the same performance as the third-order system
in terms of harmonic injection if its poles are designed properly. uation capability, the third-order systems have better behaviors
The simulation and experimental results are presented to confirm to harmonic distortions as reported. For example, in [10], the
that these generalized systems are able to generate two perfectly complex vector is employed to derive the grid synchronization
orthogonal outputs to determine the grid information, i.e. voltage configuration. Since the complex-vector pre-filter is adopted,
magnitude and phase angle. In addition, the performance of the system is able to lock its outputs at the fundamental
the generalized second-order and third-order systems under the
distorted grid conditions are discussed. It is verified later that the frequency with sinusoidal waveforms. Another similar work
second-order system is able to remove harmonics and accurately is presented in [7], [11]. An integrator is employed to the
detect the grid information. In other words, the second-order conventional SOGI to filter a dc-offset or harmonics from
system has similar to the third-order system if it is carefully grid voltages. These third-order configurations can simply
designed. remove offset in comparison to the method proposed in [12],
Index Terms—Grid synchronization, SOGI, third-order syn- [13]. More importantly, this method can filter harmonics in
chronization system, harmonic rejection. unbalanced voltages for grid synchronization. Our motivation
in this paper is to compare in detail the performance of
I. I NTRODUCTION the second-order and the third-order synchronization systems
The grid synchronization system plays an important role under distorted conditions. We believe the second-order system
inside the inverter for the grid-connected applications. This can give similar behaviors as the third-order system if its poles
system helps to identify the grid frequency, the voltage mag- are designed properly. Moreover, the second-order system is
nitude and phase angle for synchronizing. There are many pro- able to response faster to the harmonics in comparison to the
posed configurations for the grid synchronization system in the third-order system.
literature and the second-order generalized-integrator (SOGI)
technique was widely adopted in the grid-connected inverter This paper begins in Section II by reviewing the general-
applications [1], [2]. This technique utilizes two integrators to ized second-order system and the third-order system through
form an oscillator in order to generate two orthogonal output the transfer functions and their Bode plots. Section III
signals. From these output signals, the grid information such then presents the detailed investigation into the behaviors of
as voltage magnitude and phase angle can be obtained. Due the second-order system to the harmonic input through the
to its simplicity and robustness, this technique is preferred in Laplace-domain and the time-domain. Section IV presents the
the grid synchronization system of an inverter. However, one performance of the generalized second-order and third-order
major drawback of this technique according to the literature is systems under different grid conditions. The simulation and
that it cannot operate properly under distorted grid conditions experimental results show that the two systems are able to
due to the low attenuation capability of a second-order system. generate two perfectly orthogonal outputs from the input and
A possible solution is using multiple SOGIs in which many thus accurately identify the grid information. The performance
SOGI blocks are arranged in parallel to detect the fundamental of two generalized systems are also verified with a distorted
voltage waveform and the harmonics [3]. The harmonics are grid input. The third-order system is able to reject the harmon-
then used to cancel the harmonics in the input and thus ics. The second-order system also proves that it can completely
results in sinusoidal outptus. This method, however, requires filter the harmonics and can have better performance compared
the information of all harmonic contents in the input voltage, to the third-order system if it is carefully designed. Finally,
and also needs many SOGI blocks arranged in parallel to Section V delivers remark conclusion for the applications of
eliminate harmonics and compute the fundamental waveform. the second-order and the third-order synchronization systems.

978-1-7281-1981-6/19/$31.00 ©2019 IEEE 1


Authorized licensed use limited to: UNIVERSIDAD DE SANTIAGO DE CHILE. Downloaded on August 25,2022 at 23:07:10 UTC from IEEE Xplore. Restrictions apply.
II. T HE G ENERALIZED F ORMS OF THE G RID Equations from (3) and (4) present the generalized forms
S YNCHRONIZATION C ONFIGURATIONS BASED ON T HE of the second-order grid synchronization system. Fig. 2 shows
T RANSFER F UNCTION A PPROACH √ of these two transfer functions with a0 = 0.5
the Bode plots
This section presents the summary of the generalized forms and a1 = 2ω. As can be seen from that figure, the two
for the second-order and the third-order systems based on the outputs are only equal in magnitude at the central frequency,
transfer function approach. The Bode plots of each system i.e. ω. The phases of these outputs, however, are always 90◦
are presented and then several special configurations of the difference. In other words, the outputs of the generalized
synchronization system are listed. second-order system are sine and cosine at the steady-state.
The second-order generalized-integrator (SOGI) method
was introduced for the grid-connected inverter applications
to synchronize with the power grid [1], [14]. This method
Bode plots of generalized second-order system
utilizes two integrators to form a second-order oscillator as 20
GV' (s)
shown in Fig. 1. The SOGI generates two outputs, v 0 and
GQV' (s)
qv 0 , which are purely sine and cosine signals to calculate the

Magnitude (dB)
0
rms value and the phase angle of the sinusoidal input vin .
The operating principles of SOGI can be explained from the -20
transfer functions of two outputs and from their Bode plots [1].
The following subsections present in detail the second-order -40
and the third-order system. 90

Phase (deg)
0

vin εv R v0
+
- ks + X -90
-
-180
qv 0 R 10
0
10
1
10
2
10
3
X Frequency (Hz)

ω0 Fig. 2. Bode plots of the generalized second-order synchronization system.

Fig. 1. A typical SOGI configuration for the grid synchronization.


It is interesting to see that if a0 = 0 and a1 = ks ω, then
(3) and (4) becomes

A. The transfer function approach for the second-order system ks ωs


GV 0 (s) = (5)
Assuming GV 0 (s) and GQV 0 (s) are the transfer functions s2 + ks ωs + ω 2
of outputs V 0 (s) and QV 0 (s) corresponding the input Vin (s), ks ω 2
GQV 0 (s) = (6)
respectively. Note that the relation GQV 0 (s) = (ω/s)×GV 0 (s) s2 + ks ωs + ω 2
is always held in order to generate a sine and a cosine functions
which are nothing but the transfer functions of the SOGI in
at the steady-state [15]. The generalized second-order forms
the literature and were presented in Fig. 1.
for GV 0 (s) and GQV 0 (s) can be given by

a0 s2 + a1 s + a2 B. The transfer function approach for the third-order system


GV 0 (s) = (1)
s2 + b1 s + b2
The third-order systems have benefits over the second-order
ω a0 s2 + a1 s + a2 ω(a0 s2 + a1 s + a2 )
GQV 0 (s) = × 2 = ones in terms of harmonic blocking as reported in [10], [11].
s s + b1 s + b2 s(s2 + b1 s + b2 ) Similar to the previous subsection, the generalized form for
Evaluating GV 0 (s) at the central frequency, i.e. s = jω, and the third-order system is given by
set it to 1. Then,
N (s) b0 s3 + b1 s2 + b2 s + b3
a0 s2 + a1 s −a0 ω 2 + a1 jω GV 0 (s) = = (7)
GV 0 (s = jω) = 2 = = 1 (2) D(s) s3 + a1 s2 + a2 s + a3
s + b1 s + b2 −ω 2 + b1 jω + b2
By grouping real and imaginary parts from (2), the co- In order to find the form of GV 0 (s), the denominator of (7)
efficients relation is: b1 = a1 and b2 = (1 − a0 )ω 2 . The is first evaluated at the central frequency, ω. Denoting ki =
generalized transfer functions are then (a2 − ω 2 ), kr = (a1 − a3 /ω 2 ), and j 2 = −1, then at s = jω

D(s = jω) = (jω)3 + a1 (jω)2 + a2 (jω) + a3


a0 s2 + a1 s
GV 0 (s) = (3) = (a3 − a1 ω 2 ) + jω(a2 − ω 2 )
s2 + a1 s + (1 − a0 )ω 2
ω(a0 s + a1 ) = kr (−ω 2 ) + ki (jω) = kr (jω)2 + ki (jω)
GQV 0 (s) = (4) , kr (s)2 + ki (s) f or (s = jω) (8)
s2 + a1 s + (1 − a0 )ω 2

2
Authorized licensed use limited to: UNIVERSIDAD DE SANTIAGO DE CHILE. Downloaded on August 25,2022 at 23:07:10 UTC from IEEE Xplore. Restrictions apply.
From (8), the numerator of GV 0 (s) can be simply selected system is carefully designed it can have same performance as
as: N (s) = kr s2 + ki s. The transfer functions of the third- a third-order system in terms of harmonic rejection. This is
order synchronization system is thus given by due to the effects of two poles of a second-order system and
kr s2 + ki s three poles of a third-order system are almost similar. This
GV 0 (s) = section is thus dedicated to investigate the performance of a
s3 + a1 s2 + (ω 2 + ki )s + (a1 − kr )ω 2
second-order system under harmonic conditions.
(kr s + ki )ω Assuming the input voltage signal has voltage magnitude V
GQV 0 (s) = (9)
s + a1 s + (ω 2 + ki )s + (a1 − kr )ω 2
3 2
at the fundamental frequency ω, and has the harmonic voltage
Fig. 3 shows the Bode plots of two transfer functions in Vh at the harmonic frequency ωh ,
(9) with kr = 20, ki = 22214.41, a1 = 444.29. The system
vin (t) = V sin(ωt) + Vh sin(ωh t) (12)
is stable at pole locations s1 = −402.42, s2,3 = −20.94 ±
j321.90 and is able to synchronize at the central frequency ω. Note that the transfer function of a sinusoidal signal,
The output signals are always orthogonal because the phase i.e. u(t) = A sin(ω0 t), in the Laplace-domain is: U (s) =
difference is 90◦ or the outputs are sine and cosine at the Aω0 /(s2 + ω02 ). The output signal v 0 (t) of the SOGI corre-
steady-state. sponding to the input signal vin (t) from (12) can be supper-
imposed from the fundamental and harmonic frequencies.
At the fundamental frequency ω, the output component is
Bode plots of generalized third-order system given by
50
GV' (s)
ks ωs Vω
GQV' (s) V1 (s) = × 2 (13)
Magnitude (dB)

0 s2 + ks ωs + ω 2 s + ω2
The output voltage in (13) can be expressed in the time
-50 domain,
1
√ 2 ks ω

-100
e(− 2 ks −4ω− 2 )t
180 v1 (t) = V sin(ωt) + V p
ks2 − 4
1
√ ks ω
Phase (deg)

2
0 e( 2 ks −4ω− 2 )t
− V p (14)
ks2 − 4
-180
At the harmonic frequency ωh , the output component is
-360 given by
100 101 102 103
Frequency (Hz) ks ωs Vh ωh
Vh (s) = × 2 (15)
s2 + ks ωs + ω 2 s + ωh2
Fig. 3. Bode plots of third-order synchronization system.
The output voltage in (15) can be expressed in the time
The transfer functions in (9) can be simplified for some domain after some manipulations
interesting cases: 1) kr = 0 and 2) ki = 0. These two cases   p
can lead to the third-order SOGI-based configurations which vh (t) = Vh ks ωωh 2 ks2 − 4ω 2 cos ωh t
are studied in the literature [10], [11]. 1
√ 2 ks ω 1
√ 2 ks ω
+ ks ω 2 [e(− 2 ks −4ω− 2 )t − e( 2 ks −4ω− 2 )t ]
Case 1: kr = 0 and the output transfer functions GV 0 (s) p √ ks ω
√ ks ω
1 2 1 2
and GQV 0 (s) are simplified as − ks2 − 4ω 2 [e(− 2 ks −4ω− 2 )t + e( 2 ks −4ω− 2 )t ]
1
√ 2 ks ω 1
√ 2 ks ω
ki s + ks ωh2 [e(− 2 ks −4ω− 2 )t − e( 2 ks −4ω− 2 )t ]
GV 0 (s) = p √ √
s3 + a1 + (ω 2 + ki )s + a1 ω 2
s2 −
1 2 ks ω 1 2 ks ω
ks2 − 4ωh2 [e(− 2 ks −4ω− 2 )t + e( 2 ks −4ω− 2 )t ]
ki ω p p 
GQV 0 (s) = (10) + 2ks ks2 − 4ωωh sin(ωh t)2 ks2 − 4ωh2 sin(ωh t)
s3 + a1 s2 + (ω 2 + ki )s + a1 ω 2
 p 
Case 2: ki = 0 and the output transfer functions GV 0 (s) / 2 ks2 − 4(ω 4 + (ks2 − 2)ω 2 ωh2 + ωh4 ) (16)
and GQV 0 (s) become
The output signal v 0 (t) of the SOGI is the summation of
kr s2 v1 (t) from (14) and vh (t) from (16): v 0 (t) = v1 (t) + vh (t).
GV 0 (s) =
s3 + a1 s2 + ω 2 s + (a1 − kr )ω 2 It is worthwhile to mention that the two exponential terms
kr ωs in (14) will die out quickly and thus the output v1 (t) can
GQV 0 (s) = (11)
s3 + a1 s2 + ω 2 s + (a1 − kr )ω 2 reach the fundamental signal V sin(ωt) after a short duration.
The output vh (t) corresponding to the harmonic signal, as
III. T HE SOGI FOR H ARMONIC ATTENUATION expressed in (16), is depending on the value of gain ks , and
It has been shown in the literature that the third-order syn- this dependency is investigated by numerical method.
chronization system has excellent performance to identify the Note pthat the SOGI system in (5) has two poles at p1,2 =
grid information when the grid is polluted or unbalanced [10]– ω(ks ± ks2 − 4)/2. These two poles determines the response
[12]. However, to our belief if a second-order synchronization time ts for the system to accurately detect the input signal. If

3
Authorized licensed use limited to: UNIVERSIDAD DE SANTIAGO DE CHILE. Downloaded on August 25,2022 at 23:07:10 UTC from IEEE Xplore. Restrictions apply.
200
these two poles are close to the origin, the response time is
long. If the poles are far from the origin, the response time 150

is short but the system will experience high overshoots. The 100

response time is depending on ks and is calculated as: ts = 50

3.0/(ωks /2) for 5% steady-state error [16]. The dependence 0


of the response time and the harmonic rms value, normalized -50
in terms of Vh in (16), on the value of gain ks is plot in Fig. 4.
-100
This figure shows an interesting impact of ks . As ks increases,
-150
the response time reduces significantly or the SOGI system
-200
response faster. However, the output harmonic rms increases 0 0.05 0.1 0.15 0.2 0.25
Time (sec)
toward 1.0 per unit in this case. This means there is a trade-off
(a)
between the response time and the harmonic attenuation in the 200
SOGI system. The bottom plot in Fig. 4 shows a zoom-in of
150
the response time and harmonic rms value when ks is in range
100
of 0.1 and 0.4. The value of ks in this range can justify the
50
requirements from both the response time and the harmonic
attenuation. The simulation results below will show the impact 0

of ks on the SOGI performance. -50

-100
Time (s) and rms (pu)

1.5
1.25 Response time -150
Harmonic rms
1
-200
0.75 0 0.05 0.1 0.15 0.2 0.25
0.5 Time (sec)
0.25
0 (b)
0 10 20 30 40 50
ks Fig. 5. a) The second-order system performance and b) the third-order system
Time (s) and rms (pu)

0.2 performance.
Response time
0.15 Harmonic rms

0.1

0.05
B. The experimental results
0
0.1 0.15 0.2 0.25 0.3 0.35 0.4
ks
This section presents the experimental results to verify the
theoretical analysis. The experiment setup is shown in Fig. 6.
Fig. 4. Response time and harmonic rms value versus ks . In this setup, the grid voltage vin (t) is simulated in a Real-
time Digital Simulator (RTDS). We assume that vin (t) has the
maximum level of ±250V . In order to have the measurement
IV. S IMULATION AND E XPERIMENTAL R ESULTS signal compatible with the ADC input of the microcontroller
The generalized second-order and third-order systems are (0-3V), we shifted the measurement by +250V and scaled
modeled and simulated in MATLAB/SIMULINK to verify it down inside RTDS with the ratio of 3/500 to the voltage
their synchronization capability. The detailed comparisons for level of 0-3V. The final measurement was finally sent to
these two systems under different grid conditions can be found the Texas Instruments launchpad F28377S, which performs
in [15]. In this paper, only the performance under distorted grid the grid synchronization techniques. The calculated v 0 (t) and
is presented to prove that the second-order system can give qv 0 (t) are fed through the Digital to Analog (DAC) processing
similar performance as the third-order system if the poles are of the launchpad for the acquired data in the Oscilloscope. In
carefully designed. this experiment setup, the T rigger signal is used to start the
synchronization in the controller and the Oscilloscope.
A. SOGI design with harmonic attenuation capability The experiments are set up similar to the case in the previ-
In this case, the input signal has third-order and fifth-order ous simulation section. The results in Fig. 7 are corresponding
harmonics as in (17) with zero phase angles. those in Fig. 5. The experimental results match perfectly
√ √ with the simulation results in terms of transient and steady-
vin (t) = 120 2 sin(2π × 60 × t) + 20 2 sin(2π × 180 × t) state performance, and thus confirm the performance of the

+ 5 2 sin(2π × 300 × t) (17) proposed generalized second-order and third-order systems. It
is also clear that the second-order system is able to completely
The gain ks for the second-order system is set to 0.274 as remove the harmonics if it is carefully designed.
the intersection between two curves in Fig. 4. As can be
seen from Fig. 5a and Fig. 5b, the two outputs are clean
and sinusoidal. More importantly, the second-order system V. C ONCLUSION
can reject harmonics and thus identify the grid information In summary, this paper presents the research on the perfor-
properly as the third-order system. It is worthwhile to mention mance of the second-order and the third-order grid synchro-
that the second-order system has faster response compared to nization systems. The generalized forms of the second-order
the third-order system. and third-order systems that are based on the transfer function

4
Authorized licensed use limited to: UNIVERSIDAD DE SANTIAGO DE CHILE. Downloaded on August 25,2022 at 23:07:10 UTC from IEEE Xplore. Restrictions apply.
approach are compared in terms of harmonic injection. The
Oscilloscope Real-time Simulator results confirm that the proposed second-order and third-order
systems can be used for synchronization under normal and
distorted grid conditions. It is worthwhile to reiterate that the
second-order system can have similar performance as the third-
order system if it is designed properly. More importantly, the
second-order system has faster response in terms of harmonic
injection compared to the third-order system.

v' qv' R EFERENCES


vin [1] R. Teodorescu, M. Liserre, and P. Rodriguez, Grid Converter for
Photovoltaic and Wind Power Systems. Willey, 2011.
[2] P. Rodriguez, A. Luna, M. Ciobotaru, R. Teodorescu, and F. Blaabjerg,
“Advanced grid synchronization system for power converters under
unbalanced and distorted operating conditions,” in 32nd IEEE Industrial
Electronics Conference,2006. IECON 2006, 2006, pp. 5173–5178.
Trigger
Controller [3] P. Rodriguez, A. Luna, I. Candela, R. Mujal, R. Teodorescu, and
F. Blaabjerg, “Multiresonant frequency-locked loop for grid synchro-
nization of power converters under distorted grid conditions,” IEEE
Transactions on Industrial Electronics, vol. 58, no. 1, pp. 127–138, Jan
Fig. 6. Control hardware-in-the-loop experiment. 2011.
[4] F. Freijedo, A. Yepes, O. Lpez, A. Vidal, and J. Doval-Gandoy, “Three-
phase plls with fast postfault retracking and steady-state rejection of
voltage unbalance and harmonics by means of lead compensation,”
Power Electronics, IEEE Transactions on, vol. 26, no. 1, pp. 85–97,
Jan 2011.
[5] M. S. Reza, M. Ciobotaru, and V. G. Agelidis, “Accurate estimation of
single-phase grid voltage parameters under distorted conditions,” IEEE
Transactions on Power Delivery, vol. 29, no. 3, pp. 1138–1146, June
2014.
[6] P. Rodriguez, R. Teodorescu, I. Candela, A. Timbus, M. Liserre, and
F. Blaabjerg, “New positive-sequence voltage detector for grid synchro-
nization of power converters under faulty grid conditions,” in 37th IEEE
PESC ’06., 2006, pp. 1–7.
[7] T. Ngo, Q. Nguyen, and S. Santoso, “Detecting positive-sequence
component in active power filter under distorted grid voltage,” in 2015
IEEE Power Energy Society General Meeting, July 2015, pp. 1–5.
[8] F. Neves, H. de Souza, M. Cavalcanti, F. Bradaschia, and E. Bueno,
“Digital filters for fast harmonic sequence component separation of
unbalanced and distorted three-phase signals,” Industrial Electronics,
IEEE Transactions on, vol. 59, no. 10, pp. 3847–3859, Oct 2012.
[9] X. Guo, W. Wu, and Z. Chen, “Multiple-complex coefficient-filter-
based phase-locked loop and synchronization technique for three-phase
grid-interfaced converters in distributed utility networks,” Industrial
Electronics, IEEE Transactions on, vol. 58, no. 4, pp. 1194–1204, April
(a) 2011.
[10] W. Li, X. Ruan, C. Bao, D. Pan, and X. Wang, “Grid synchronization
systems of three-phase grid-connected power converters: A complex-
vector-filter perspective,” Industrial Electronics, IEEE Transactions on,
vol. 61, no. 4, pp. 1855–1870, April 2014.
[11] J. Li, J. Zhao, J. Wu, and P. ping Xu, “Improved dual second-order
generalized integrator pll for grid synchronization under non-ideal grid
voltages including dc offset,” in Energy Conversion Congress and
Exposition (ECCE), 2014 IEEE, Sept 2014, pp. 136–141.
[12] T. Ngo, Q. Nguyen, and S. Santoso, “Improving performance of single-
phase sogi-fll under dc-offset voltage condition,” in Industrial Electron-
ics Society, IECON 2014 - 40th Annual Conference of the IEEE, Oct
2014, pp. 1537–1541.
[13] S. H. Hwang, L. Liu, H. Li, and J. M. Kim, “Dc offset error compensa-
tion for synchronous reference frame pll in single-phase grid-connected
converters,” IEEE Transactions on Power Electronics, vol. 27, no. 8, pp.
3467–3471, Aug 2012.
[14] N. Hoffmann, R. Lohde, M. Fischer, F. W. Fuchs, L. Asiminoaei, and
P. B. Thgersen, “A review on fundamental grid-voltage detection meth-
ods under highly distorted conditions in distributed power-generation
networks,” in 2011 IEEE Energy Conversion Congress and Exposition,
Sept 2011, pp. 3045–3052.
[15] T. Ngo and T. Vu, “Generalized configurations for the synchronization
(b) system based on transfer function approach,” in 2018 IEEE Power
Fig. 7. a) The second-order system performance and b) the third-order system Energy Society General Meeting, August 2018, pp. 1–5.
performance.Color code note: vin (green), T rigger (orange), qv 0 (yellow), [16] F. Golnaraghi and B. Kuo, Automatic Control Systems. Wiley, 2009.
and v 0 (blue).

5
Authorized licensed use limited to: UNIVERSIDAD DE SANTIAGO DE CHILE. Downloaded on August 25,2022 at 23:07:10 UTC from IEEE Xplore. Restrictions apply.

You might also like