Energy Management and Power Quality Improvement of
Energy Management and Power Quality Improvement of
Energy Management and Power Quality Improvement of
This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.
Digital Object Identifier 10.1109/ACCESS.2022.Doi Number
ABSTRACT Nowadays, renewable energy sources such as solar Photovoltaic (PV) and wind power systems
play a significant part in the process of generating electricity. These systems are tremendously reliant on the
present and forecasted weather conditions. The inconsistent behavior of the system has an impact on the
production as well as the variances in the output. As a result, the requirement for energy transmission and
distribution systems to compensate promptly is becoming crucial. This paper proposes a new smart grid
application for power system operation. A Static Compensator (STATCOM) device is utilized to improve the
power quality and power flow in the distribution system, reduce unwanted harmonics and compensate for
reactive power in the power sources. A quasi-Z-Source Inverter (qZSI) based STATCOM is constructed in
connection with a Three-Phase Four-Wire (3P4W) distribution system. The combination of a q Z-source and
a Photovoltaic (PV) system makes up the suggested compensator circuit that is employed here for switching.
To control the suggested compensator, an Adaptive Frequency Fixed (AFF) - Second Order Generalized
Integrator (SOGI) has been implemented. The Fuzzy Logic Controller (FLC) is used to optimize the
parameters of the Proportional Integral (PI) controller, such as Kp and Ki. The performance is evaluated using
a variety of characteristics, including power, current, and voltage, generated reactive power and active power,
analysis in non-linear load, and other similar metrics.
INDEX TERMS Fuzzy logic controller, Harmonic distortion, Power quality, quasi-Z-source inverter,
Renewable energy sources.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
dependable distributed power generation system will be qZSI-STATCOM. These are the key objectives of this study.
ensured by the interface power converter's effective power In the presence of distorted and unbalanced voltages as well
control [4]. as DC offset in the load currents, the power quality in the
distribution system may be enhanced by controlling the
As a result, the emphasis of this study is on the
qZSI-STATCOM using an AFF-SOGI-based control
development of an off-grid quasi-Z-source inverter, a new
algorithm.
type of interfacing inverter [5]. PV systems use a variety of
power converter topologies, each with its own set of II. SYSTEM DESCRIPTION
advantages and disadvantages, such as the use of a
transformer or not, and the use of a two-level or multilevel Because of their low cost and flexible operation, power
inverter. Single-stage inverters are replacing more traditional generators such as wind turbines and PV are employed to
two-stage models because of their small size, low price, and serve the load more effectively than any other power source.
high reliability [6]. The usual inverter, on the other hand, has Because of this, the wind turbine is relied upon to provide
to be larger to cope with the huge swings in PV array voltage both linear and non-linear loads. Compensation circuits are
that are brought on by the low output voltage of the PV used to improve the power quality in the distribution
panels as well as the wide range of variation that is based on network. To solve the power quality issues at the source, a
irradiance and temperature, often at a ratio of 1: 2. Large STATCOM compensator based on a qZSI is built parallel
low-frequency transformers are needed to link an inverter's with the distribution network. The qZSI and PV system have
low voltage output to the grid, however, these transformers been combined into one in the planned compensator circuit,
come with several drawbacks, including larger size, lower which uses STATCOM for switching. The qZSI-based
efficiencies, greater acoustic noise, and higher overall costs. STATCOM model that has been presented may be seen in
The two-stage inverter eliminates the need for a transformer Fig.1. The AFF-SOGI control technique directs the
by using a boost DC/DC converter to increase the input compensator to keep the wind energy system's voltage and
voltage from a wide range to the desired constant value [7]. frequency within acceptable ranges. This also helps to
Due to a malfunctioning switch, the DC/DC converter ends attenuate the harmonics that are present in the 3P4W
up being both the system's most expensive and most efficient distribution system. The fuzzy-tuned PI controller is used to
component. For greater safety, some solar-powered optimize the parameters of the frequency controller. This
electricity generation systems include galvanic isolation, approach controls the flow of power to the load by
which may be installed either in the DC/DC boost converter eliminating harmonics and compensating for the reactive
that makes use of a high-frequency transformer or on the AC power that is present in the power sources.
output side of a line frequency transformer [8]. Additional This PV-assisted qZSI-STATCOM is comprised of four
galvanic isolations like this raise the total system cost and different modes using coordinated control. Mode 1
size, as well as reduce its overall effectiveness. Because of (Production of PV power), Mode 2 (Battery backup), Mode
their superior efficiency, smaller size, and lower cost for the 3 (Continuous supply), and Mode 4 (Flywheel energy
PV system, transformerless topologies deserve further storage) depict the closed or open state of the power
investigation [9]. electronic switches (S1–S7). The control system enters mode:
The qZSI has been used in PV systems because of its 1 when the amount of power produced by the PV power-
single-stage power converter to step-up and step-down producing system is more than the amount of power that is
functions [10], [11]. Additionally, the inverter does not need connected to the load (PLoad). In this mode, the switches are
to be overpowered to manage a broad range of PV DC in the following positions: (S1, S2, S3 = On, S4 = On (If State
voltage variations. This reduces the overall cost of the system of Charge (SOC) of battery ≤ 50%), S5 = Off, S6, S7 = On).
and reduces component count and costs while also increasing When the PV power produced by the PV system drops to PPV
dependability and stability. PV systems may benefit from < 10%, the control system switches to mode:2. When Vsabc
several unique and interesting benefits offered by qZSIs. The equals zero, the mode:3 setting is activated, and the switch
qZSI minimizes switching ripples and simplifies the PV positions are set as follows: (S1, S2, S3 = On, S4 = On (If PPV
system by drawing a steady current from the PV panel and < 10%), S5 = Off, S6, S7 = On). The control system will enter
eliminating the need for additional filtering capacitors. It also mode 4 after it has determined that the power produced by
has a lower component (capacitor) rating and simplifies the the wind energy system Pwind is more than the power
PV system. For the isolated load scenario, this study used generated by the load PLoad. Fig. 2 shows the transition
qZSI to interface the PV-generating system. To improve the condition from one mode to another.
power quality of the distribution system, the authors of this
paper describe the implementation of an AFF-SOGI control
scheme in connection with a PV array and WECS-supported
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
Figure 1. STATCOM-aided qZSI is integrated with the wind energy conversion system.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
1
𝑣𝑠𝑏 = 3
(− 𝑣𝑠𝑎𝑏𝑝 + 𝑣𝑠𝑏𝑐𝑝 ) (7)
1
𝑣𝑠𝑐 = (−𝑣𝑠𝑎𝑏𝑝 - 2𝑣𝑠𝑏𝑐𝑝 ) (8)
3
Let, vsabp, vsbcp and vscap are the positive sequence line
voltages of the grid, vsa, vsb and vsc are the grid phase
voltages and the grid line voltages are denoted by vsab, vsbc,
and vsca.
The amplitudes of PCC voltages, VT, and unit templates in-
phase and quadrature-phase are computed as follows:
2 22 2
𝑉𝑇 = √3 (𝑣𝑠𝑎 + 𝑣𝑠𝑏 + 𝑣𝑠𝑐 ) (9)
.
𝑣𝑠𝑎 𝑣𝑠𝑏 𝑣𝑠𝑐
Figure 4. Internal structure of AFF-SOGI. 𝑈𝑎 = 𝑉𝑇
, 𝑈𝑏 = 𝑉𝑇
, 𝑈𝑐 = 𝑉𝑇
(10)
The in-quadrature fundamental-frequency signals are
𝑈𝑎 𝑈𝑐
denoted by v' and q'. m' and n' represent the fractional order 𝑞𝑎 = + (11)
√3 √3
damping factor and resonant frequency, respectively. The
signals at the fundamental frequency are represented by v' √3 𝑈𝑎 (𝑈𝑏−𝑈𝑐 )
𝑞𝑏 = 2
+ 2√3 (12)
and q' notation, respectively. The fractional order damping
factor may be represented by m', while the resonant √3 𝑈𝑎 (𝑈𝑏 −𝑈𝑐 )
frequency can be represented by n'. 𝑞𝑐 = − 2
+ 2√3 (13)
𝜇 Let, Ua, Ub and Uc are the in-phase unit templates and qa,
𝑚 ′ = -2 𝑐𝑜𝑠 (𝑥 ) (3)
qb and qc are the quadrature-phase unit templates. When
1 there are three phases of active currents being employed,
𝜔𝑛′ = 𝜔𝑛𝑥 (4) the following equations is used to obtain the average active
current:
Overshoot and settling time during the AFF-SOGI
transient, as well as the value of ωn = 2πf rad/s, are used to 𝐼𝑝𝑎 +𝐼𝑝𝑏 +𝐼𝑝𝑐
𝐼𝑝 𝑎𝑣𝑔 = (14)
calculate m. Refer to (5), the ratio μ/ x can be defined as: 3
2
−1 √4−𝑚 A. FREQUENCY CONTROL
𝜇
= {𝜋 − 𝑡𝑎𝑛 𝑚
0 < 𝑚 < 2 (5)
𝑥 The frequency of the system is determined by utilizing a
𝜋 𝑚 ≥ 2 Phase Locked Loop (PLL) using three-phase terminal
Although the frequency fixed (FF)-SOGI is used as a voltages as input [20]. A fuzzy-tuned PI controller is used
base for the AFF-SOGI, the latter is optimized concerning to compare the estimated frequency to the reference
the parameters m and n. However, if m' and n' are adjusted frequency and to control the frequency error. The active
with x, AFF-SOGI may become adaptable enough to current that is drawn by the compensator circuitry
handle fluctuations in grid frequency. However, the constitutes the output of the frequency PI controller.
process may also be used to calculate basic load currents.
𝐼𝑑(𝑛) = 𝐼𝑑(𝑛−1) + 𝐾𝑝𝑑 {𝑓𝑒𝑟 (𝑛) − 𝑓𝑒𝑟 (𝑛−1) } +
The active current is calculated by holding a sample of the
approximated fundamental currents at each zero crossing 𝐾𝑖𝑑 𝑓𝑒𝑟 (𝑛) (15)
of the quadrature unit vectors. For each sampling moment, 𝑓𝑒𝑟 (𝑛) = 𝑓 ∗ − 𝑓(𝑛) denotes
A ZCD is used to determine whether a signal has crossed the difference in frequency between the reference
zero. Grid voltage phase and frequency are carried in unit frequency of the terminal voltage (f *) and the measured
vectors enabling synchronization via these vectors. Since frequency of the terminal voltage (fer(n)). For the frequency
distortion and imbalanced voltages may deform vectors, PI controller, Kpd and Kid represent the proportional and
they should be pure sinusoids of unit amplitude [18], [19]. integral gains, respectively. The fuzzy-tuned PI controller
The unit vectors are generated using positive sequence is utilized for tuning the PI controller gain parameters. The
voltages for this purpose. The following is a list of the fuzzy-tuned PI frequency controller is shown in Fig.5.
phase voltages of the grid, according to the most recent Refer to eq.(16) and (17) state that the PI controller
estimations available: parameters (KP and KI) should be adjusted at every time
step k.
1
𝑣𝑠𝑎 = 3
(2 𝑣𝑠𝑎𝑏𝑝 + 𝑣𝑠𝑎𝑏𝑝 ) (6) 𝐾𝑝 (𝑘+1)= 𝐾𝑝 (𝑘) + 𝛥𝐾𝑝 (𝑘) (16)
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
∑7
𝑘=1 𝛥𝐾𝑝 𝑢𝑐 (𝛥𝐾𝑝 )
Fig.6 shows the DC-link voltage controller of qZSI-
𝛥𝐾𝑝 (𝑒, 𝑑𝑒 )= ∑7
(19) STATCOM. The DC bus voltage error, Vdcer(n), at the nth
𝑘=1 𝑢𝑐 (𝛥𝐾𝑝 )
sampling instant is computed as follows to keep the qZSI-
KP and KI are parameters that may be obtained after STATCOM's DC bus voltage constant [21], [22]:
defuzzification.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
∗
𝑉𝑑𝑐 𝑒𝑟(𝑛) = 𝑉𝑑𝑐(𝑛) − 𝑉𝑑𝑐 (𝑛) (27) A. CASE 1: BALANCED NON-LINEAR LOADS AT
CONSTANT WIND SPEED
When the wind speed is held constant and the non-linear
loads are balanced, PV-STATCOM is evaluated. As may
be seen in Fig.7, the present compensation experimental
findings for Case 1 compensation are shown. Whereas the
non-linear balanced load has an effect, the compensator
circuit may be utilized to maintain a constant voltage and
current.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
(b)
(a)
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
Figure 10. The harmonic spectrum corresponds to the Figure 11. Harmonic spectrum with the incorporation of the
uncompensated source current. qZSI-STATCOM.
(a)
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
(b)
(a)
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
(a)
(b)
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
been developed for use in the management of power and Exposition (APEC), Fort Worth, TX, USA, 2011, pp. 401-406, doi:
systems to regulate the flow of power, boost capacities, 10.1109/APEC.2011.5744628.
decrease harmonics in the distribution system, and [8] N. C. Shirazi, A. Jannesari and P. Torkzadeh, “Self-start-up fully
compensate for voltage interruptions that are induced by integrated DC-DC step-up converter using body biasing technique for
power sources. When the fuzzy-tuned PI controller is used energy harvesting applications,” AEU Int. J. Electron. Commun., vol. 95,
to make adjustments, the performance of the qZSI- pp. 24-35, 2018. doi:10.1016/j.aeue.2018.07.033.
STATCOM is able to be enhanced due to the technique [9] S. Parthiban and V. Madhaiyan, “Experimental validation of solar PV
that is presented. The voltage fluctuation that was brought sustained ZSI based unified active power filter for enrichment of power
on by the change in reactive power has been eliminated, quality,” Automatika, vol. 62, no. 1, pp. 137-153, 2021.
harmonics have been mitigated, and the ideal dynamic doi:10.1080/00051144.2021.1908013.
response has been accomplished as a result of finding the [10] M. Vijayakumar and S. Vijayan, “PV based Three-Level NPC shunt
optimal values for the PI controller gains. In subsequent active power filter with extended reference current generation method,”
research, several different FACTS devices and Int. J. Elect. Energy, vol. 2, no. 4, pp. 258-267, 2014.
optimization strategies may be compared to one another, doi:10.12720/ijoee.2.4.258-267.
to identify the one that is the most successful. [11] M. Vijayakumar and S. Vijayan, “A Novel Reference Current
Generation Method of PV based Three Level NPC Shunt Active Power
ACKNOWLEDGMENT Filter,” UPB Sci. Bull. C, vol. 77, no. 3, pp. 235-250, 2015.
The authors extend their appreciation to the Deputyship for [12 A. K. K. Giri, S. R. Arya, R. Maurya and B. C. Babu, "Power Quality
Research & Innovation, Ministry of Education in Saudi Improvement in Stand-Alone SEIG-Based Distributed Generation
Arabia for funding this research work through the project System Using Lorentzian Norm Adaptive Filter," in IEEE Transactions
number: IF2-PSAU/2022/ 01/22797. on Industry Applications, vol. 54, no. 5, pp. 5256-5266, Sept.-Oct. 2018,
doi: 10.1109/TIA.2018.2812867.
REFERENCES [13] M. Ahmed et al., “Selective harmonic elimination method for
unequal DC sources of multilevel inverters,” Automatika, vol. 60, no. 4,
[1] L. de Oliveira-Assis et al., “Optimal energy management system using
pp. 378-384, 2019. doi:10.1080/00051144.2019.1621048.
biogeography based optimization for grid-connected MVDC microgrid
[14] K. Patil and H. H. Patel, “Modified SOGI based shunt active power
with photovoltaic, hydrogen system, electric vehicles, and Z-source
filter to tackle various grid voltage abnormalities,” Engineering Science
converters,” Energy Convers. Manag., vol. 248, 2021.
and Technology an International Journal, vol. 20, no. 5, pp.1466-1474,
doi:10.1016/j.enconman.2021.114808.
2017. doi:10.1016/j.jestch.2017.10.004.
[2] S. Ouchen, A. Betka, S. Abdeddaim and A. Menadi, “Fuzzy-
[15] B. Singh, S. Kumar and C. Jain, "Damped-SOGI-Based Control
predictive direct power control implementation of a grid connected
Algorithm for Solar PV Power Generating System," in IEEE Transactions
photovoltaic system, associated with an active power filter,” Energy
on Industry Applications, vol. 53, no. 3, pp. 1780-1788, May-June 2017,
Convers. Manag., vol. 122, pp. 515-525, 2016.
doi: 10.1109/TIA.2017.2677358.
doi:10.1016/j.enconman.2016.06.018.
[16] J. A. Barrado, R. Grino and H. Valderrama-Blavi, "Power-Quality
[3] P. Aree, "Dynamic performance of self-excited induction generator
Improvement of a Stand-Alone Induction Generator Using a STATCOM
with electronic load controller under starting of induction motor load,"
With Battery Energy Storage System," in IEEE Transactions on Power
2017 5th International Conference on Electrical, Electronics and
Delivery, vol. 25, no. 4, pp. 2734-2741, Oct. 2010, doi:
Information Engineering (ICEEIE), Malang, Indonesia, 2017, pp. 21-24,
10.1109/TPWRD.2010.2051565.
doi: 10.1109/ICEEIE.2017.8328756.
[17] F. U. Nazir, N. Kumar, B. C. Pal, B. Singh and B. K. Panigrahi,
[4] A. B. Shitole et al., "Grid Interfaced Distributed Generation System
"Enhanced SOGI Controller for Weak Grid Integrated Solar PV System,"
With Modified Current Control Loop Using Adaptive Synchronization
in IEEE Transactions on Energy Conversion, vol. 35, no. 3, pp. 1208-
Technique," in IEEE Transactions on Industrial Informatics, vol. 13, no.
1217, Sept. 2020, doi: 10.1109/TEC.2020.2990866.
5, pp. 2634-2644, Oct. 2017, doi: 10.1109/TII.2017.2665477.
[18] S. Senguttuvan and M. Vijayakumar, “Solar photovoltaic system
[5] H. Abu-Rub, A. Iqbal, S. Moin Ahmed, F. Z. Peng, Y. Li and G.
interfaced shunt active power filter for enhancement of power quality in
Baoming, "Quasi-Z-Source Inverter-Based Photovoltaic Generation
the three-phase distribution system, J Circuit Syst Comp,” j. Circuit syst
System With Maximum Power Tracking Control Using ANFIS," in IEEE
comp, vol. 27, no. 11, pp. 1850166, 2018.
Transactions on Sustainable Energy, vol. 4, no. 1, pp. 11-20, Jan. 2013,
doi:10.1142/S0218126618501669.
doi: 10.1109/TSTE.2012.2196059.
[19] T. Jayakumar and A. A. Alexander Stonier, “Implementation of solar
[6] J. Zhang, “Unified control of Z-source grid-connected photovoltaic
PV system unified ZSI-based dynamic voltage restorer with U-SOGI
system with reactive power compensation and harmonics restraint:
control scheme for power quality improvement,” Automatika, vol. 61, no.
Design and application,” IET Renew. Power Gener., vol. 12, no. 4, pp.
3, pp. 371-387, 2020, doi:10.1080/00051144.2020.1760591.
422-429, 2018. doi:10.1049/iet-rpg.2016.0478.
[20] M. Ghanaatian and S. Lotfifard, "Control of Flywheel Energy
[7] J. G. Cintron-Rivera, Y. Li, S. Jiang and F. Z. Peng, "Quasi-Z-Source
Storage Systems in the Presence of Uncertainties," in IEEE Transactions
inverter with energy storage for Photovoltaic power generation systems,"
on Sustainable Energy, vol. 10, no. 1, pp. 36-45, Jan. 2019, doi:
2011 Twenty-Sixth Annual IEEE Applied Power Electronics Conference
10.1109/TSTE.2018.2822281.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3299035
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/