원시데이터 수집 시스템
선정목록으로

Improved Voltage Unbalance and Harmonics Compensation Control Strategy for an Isolated Microgrid

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Mohammad Jafar Hadidian Moghaddam — College of Engineering and Science, Victoria University, Melbourne 3047, Australia
  2. Akhtar Kalam — College of Engineering and Science, Victoria University, Melbourne 3047, Australia
  3. Mohammad Reza Miveh — Department of Electrical Engineering, Tafresh University, Tafresh 39518-79611, Iran
  4. Amirreza Naderipour — Institute of High Voltage & High Current Faculty of Electrical Engineering Universiti Teknologi Malaysia, Johor 81300, Malaysia
  5. Foad H. Gandoman — Research Group MOBI—Mobility, Logistics, and Automotive Technology Research Center, Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium|||Flanders Make, 3001 Heverlee, Belgium
  6. Ali Asghar Ghadimi — Electrical Engineering Department, Faculty of Engineering, Arak University, Arak 3815688349, Iran
  7. Zulkurnain Abdul‐Malek — Institute of High Voltage & High Current Faculty of Electrical Engineering Universiti Teknologi Malaysia, Johor 81300, Malaysia
DOI
10.3390/en11102688
저널
Energies
발행년도
2018
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
19
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/en11102688
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W2897271094

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This paper suggests an enhanced control scheme for a four-leg battery energy storage systems (BESS) under unbalanced and nonlinear load conditions operating in the isolated microgrid. Simplicity, tiny steady-state error, fast transient response, and low total harmonic distortion (THD) are the main advantages of the method. Firstly, a new decoupled per-phase model for the three-phase four-leg inverter is presented. It can eliminate the effect of power stage coupling on control design; thus, the three-phase four-leg power inverter can be viewed as three single input single output (SISO) control systems. Then, using an improved orthogonal signal generation method, the per-phase model of the four-leg inverter in the stationary and synchronous frame is derived. As the second step, a per-phase multi-loop control scheme for the four-leg inverter under unbalanced load conditions is suggested. The proposed control strategy has the ability to provide balanced output voltages under unbalanced load conditions by avoiding the need to deal with the symmetrical components. Finally, a multi-resonant harmonic compensator is used to actively prevent low-order harmonic currents to distort the output voltages of the three-phase four-leg grid-forming power converter. Simulations results are also presented to verify the performance of the suggested control strategy.

본문 63,563자

본문 펼치기
### _Improved voltage unbalance and harmonics_ _compensation control strategy for an isolated_ _microgrid_ This is the Published version of the following publication Moghaddam, Mohammad Jafar Hadidian, Kalam, Akhtar, Miveh, MR, Naderipour, A, Gandoman, FH, Ghadimi, AA and Abdul-Malek, Z (2018) Improved voltage unbalance and harmonics compensation control strategy for an isolated microgrid. Energies, 11 (10). ISSN 1996-1073 The publisher’s official version can be found at https://www.mdpi.com/1996-1073/11/10/2688 Note that access to this version may require subscription. Downloaded from VU Research Repository https://vuir.vu.edu.au/38094/ # _energies_ _Article_ #### Improved Voltage Unbalance and Harmonics Compensation Control Strategy for an Isolated Microgrid Mohammad Jafar Hadidian Moghaddam <sup>1</sup> , Akhtar Kalam <sup>1,</sup> * , Mohammad Reza Miveh <sup>2,</sup> *, Amirreza Naderipour <sup>3</sup> , Foad H. Gandoman <sup>4,5</sup> , Ali Asghar Ghadimi <sup>6</sup> and Zulkurnain Abdul-Malek <sup>3</sup> 1 College of Engineering and Science, Victoria University, Melbourne 3047, Australia; mohammad.hadidianmoghaddam@live.vu.edu.au 2 Department of Electrical Engineering, Tafresh University, Tafresh 39518-79611, Iran 3 Institute of High Voltage & High Current Faculty of Electrical Engineering Universiti Teknologi Malaysia, Johor 81300, Malaysia; namirreza@utm.my (A.N.); zulkurnain@utm.my (Z.A.-M.) 4 Research Group MOBI—Mobility, Logistics, and Automotive Technology Research Center, Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium; Foad.Heidari.Gandoman@vub.be 5 Flanders Make, 3001 Heverlee, Belgium 6 Electrical Engineering Department, Faculty of Engineering, Arak University, Arak 3815688349, Iran; a-ghadimi@araku.ac.ir * Correspondence: akhtar.kalam@vu.edu.au (A.K.); miveh@tafresh.ac.ir (M.R.M.) Received: 9 September 2018; Accepted: 7 October 2018; Published: 9 October 2018 [���������](http://www.mdpi.com/1996-1073/11/10/2688?type=check_update&version=2) [�������](http://www.mdpi.com/1996-1073/11/10/2688?type=check_update&version=2) Abstract: This paper suggests an enhanced control scheme for a four-leg battery energy storage systems (BESS) under unbalanced and nonlinear load conditions operating in the isolated microgrid. Simplicity, tiny steady-state error, fast transient response, and low total harmonic distortion (THD) are the main advantages of the method. Firstly, a new decoupled per-phase model for the three-phase four-leg inverter is presented. It can eliminate the effect of power stage coupling on control design; thus, the three-phase four-leg power inverter can be viewed as three single input single output (SISO) control systems. Then, using an improved orthogonal signal generation method, the per-phase model of the four-leg inverter in the stationary and synchronous frame is derived. As the second step, a per-phase multi-loop control scheme for the four-leg inverter under unbalanced load conditions is suggested. The proposed control strategy has the ability to provide balanced output voltages under unbalanced load conditions by avoiding the need to deal with the symmetrical components. Finally, a multi-resonant harmonic compensator is used to actively prevent low-order harmonic currents to distort the output voltages of the three-phase four-leg grid-forming power converter. Simulations results are also presented to verify the performance of the suggested control strategy. Keywords: voltage unbalance; harmonics compensation; control strategy; battery energy storage systems 1. Introduction The isolated microgrids can be defined as a group of dispersed generators, communication systems, protection devices, sensitive loads, distributed energy storage systems (DESSs) and power electronic interfaces connected through a relatively small grid and isolated from the main grid [1–4]. The distributed generations (DGs) and DESSs such as batteries and wind turbines must be equipped with power electronic interfaces to provide the required flexibility for isolated microgrids [5–7]. Depending on the characteristics of the primary energy source and the role assigned to the DGs/DESSs, the inverter-based distributed energy resource (DER) can be operated either as grid-forming or grid-feeding units. _Energies_ 2018, _11_ [, 2688; doi:10.3390/en11102688](http://dx.doi.org/10.3390/en11102688) [www.mdpi.com/journal/energies](http://www.mdpi.com/journal/energies) _Energies_ 2018, _11_, 2688 2 of 26 In grid-forming control mode, the inverter is responsible for regulating the output voltage and frequency of DER in the isolated mode [8]. In this strategy, the DER acts as a voltage source converters (VSCs). This DER is called the grid-forming unit, because it is responsible for forming the microgrid bus voltage in the isolated mode. In contrast, the main aim of the primary controller, in grid-feeding mode, is to adjust the active and reactive power of DERs at certain references [9]. This strategy assumes that the microgrid is formed by another grid-forming unit or units, and the grid-feeding unit is designed to deliver the desired active and reactive power to this energized grid. Nowadays, electrical and energy engineers face a new scenario in which inverter-based DERs are integrated into three-phase 4-wire isolated microgrids to supply electrical loads to small communities, such as a housing estate or an industrial site [10]. A three-phase 4-wire isolated microgrid may naturally be subjected to major degrees of imbalance because of the presence of single-phase loads and/or distributed generations (DGs) units. Voltage unbalance has negative effects on equipment like malfunction of protection devices and losses in machines [11]. According to the IEEE Standard 1159–2009 and ANSI/IEEE Standard 141, 1993, the phase voltage unbalanced rate (PVUR) must be maintained below 2% for sensitive loads [12,13]. Additionally, nonlinear loads often result in numerous power quality challenges for three-phase four-wire microgrids. According to the IEEE Standard 519–1992, the voltage total harmonic distortion (THD) must be maintained below 5% for sensitive loads [14]. A considerable amount of literature has been published to deal with unbalanced and nonlinear load circumstances in isolated microgrids [5,15–17]. A conventional solution would be to use power conditioning equipment, such as active power filters (APFs). However, it is uneconomical to install extra power conditioning equipment with a complex control algorithm for each of the DGs in the isolated mode. Another solution is to use grid-forming power converters. This means that along with transferring power and controlling the islanding mode, the grid-forming unit provides unbalanced suppression. The issue of providing balanced output voltages under unbalanced load conditions in a 4-wire network using grid-forming power converters is first investigated for uninterruptible power supply (UPS) and hybrid power system (HPS) applications [18,19]. Several control methods including the hysteresis control [20], repetitive feedback controller [21], the finite control set model predictive control [22–24], sliding mode control (SMC) [25], proportional resonant (PR) controllers [26], proportional integral (PI) controller based on symmetrical components calculators (SCCs) [27–29], have been suggested in the literature to improve the power quality of three-phase 4-wire isolated microgrids, UPSs, and HPSs under unbalanced and nonlinear load conditions. A repetitive controller was used as a harmonic compensator and voltage controller. It shows a robust performance for periodic disturbances and ensures a zero steady-state error at all harmonic frequencies. For the repetitive controller; however, it is not easy to stabilize for all unknown load disturbances and cannot obtain a very fast response for the fluctuating load. Hence, it can cause a slow dynamic response and is applied only in static mode. The hysteresis controller is very simple, robust and its implementation does not require complex circuits. The major drawback of hysteresis controller is the frequency of switching variable with changes in parameters loads and operating conditions, which can cause resonance problems. Moreover, the switching losses restrict the application of hysteresis control to lower power levels. PR controllers ensure a zero steady-state error by having significant gains, but sensitivity to phase shift of voltage and current sensors and sensitivity to frequency variation are the major disadvantages of this regulator. The predictive control needs a precise model of the filter to reach the desired performance. This method also needs a lot of calculations. The problem of the chattering phenomenon in discrete implementation is the major drawback of the sliding mode controller. Moreover, it has a slow transient response (>3 line cycles) and needs a lot of calculations. Overall, the above-mentioned control techniques often suffer from slow transient response, coupling between phases, complex control algorithm, and unsatisfactory steady-state voltage tracking error. Therefore, it is important to propose an improved control scheme for a grid-forming power converter operating in an isolated microgrids to provide balanced output _Energies_ 2018, _11_, 2688 3 of 26 voltages under unbalanced load conditions with a fast transient response, zero steady-state error without any sensitivity to frequency variations and low THD under nonlinear load conditions. An enhanced control strategy for a four-leg battery energy storage systems (BESS) operating in 4-wire isolated microgrid is suggested in this study. The average large signal model of the four-leg inverter in the _abc_ reference frame is derived at first. Next, in order to independently control each phase of the four-leg grid-forming unit, a new decoupled per-phase model is presented. The proposed model can eliminate the effect of power stage coupling on control design. The next part focuses on proposing a multi-loop control scheme for grid-forming BESS operating in an isolated microgrid under unbalanced load conditions. This control strategy is proposed using the per-phase modeling of the four-leg VSC in the stationary and rotating reference frames. A multi-resonant harmonic controller is also used to actively prevent low-order harmonic currents to distort the output voltages. The paper is organized as follows: describes the modeling of a four-leg inverter. Per-phase voltage control strategy is presented in Section 3. The harmonic compensator is presented in Section 4. The results and discussion are presented in Section 5. Section 6 provides the conclusions. 2. Modeling of the Four-Leg Inverter The four-leg inverter can be obtained by adding an additional fourth leg to the conventional three-legged switching network. The power stage of a three-phase four-leg VSC with a neutral inductor ( _Ln_ ) is shown in Figure 1. The LC filter parameter design and related calculations are given in [30]. The modeling of the four-leg inverter has been discussed widely in the literature [31]. However, most studies in this field have modeled the four-leg inverter by neglecting the coupling of the power stage on control design, which results in an unsatisfactory dynamic response. In this study, the average large signal model of a four-leg inverter in the _abc_ reference frame is derived at first, and then the state-space model of the system is realized. Subsequently, a new decoupled per-phase model for the four-leg inverter is presented. It can be eliminated by the effect of power stage coupling on control design; consequently, the four-leg power inverter can be viewed as three single input single output (SISO) control systems. Figure 1. Power stage of a three-phase four-leg voltage source inverter. _2.1._ _Average Large Signal Model of the Four-Leg Inverter_ The need for long-time simulation and several switches can result in the non-linear behavior of the four-leg inverter. Since the switching study is out of the scope of this research, the average large _Energies_ 2018, _11_, 2688 4 of 26 signal model of the four-leg inverter is derived as depicted in Figure 2. To describe the operation of the four-leg inverter, a switching function can be defined as: 1 _I f_ _Sjp_ and _S_ _f n_ are closed 0 _I f_ _Sjp_ and _S_ _f p_ _or Sjn_ and _S_ _f n_ are closed, _j_ = _{a_, _b_, _c}_ _−_ 1 _I f_ _Sjn_ and _S_ _f p_ are closed _Sj f_ =   (1) Figure 2. Average large-signal model of the four-leg inverter. Using the AC voltage terminals and by neglecting the inherent resistance of the capacitors, the voltage and current equations of the average model in the _abc_ reference frame can be written as:   _in_ _in_ _in_   _in_ _in_ _in_   <u></u> _−_ _Ln_ _dtd_     _vAG_ _vBG_ _vCG_  <u></u>  _ila_ _ilb_ _ilc_ _va f_ _vb f_ _vc f_   _ila_ _ilb_ _ilc_         =    _−_ _rn_   (2)   + _rL_   + _L_ _dtd_ _vCA_ _vCB_ _vCC_  = _ila_ _ilb_ _ilc_  _−_ _iload−a_ _iload−b_ _iload−c_ _C_ _dt_ <sup>_<u>d</u>_</sup>     where _ila_, _ilb_ and _ilc_ are the output currents, _iload−a_, _iload−b_ and _iload−c_ are the load currents, _vAG_, _vBG_ and _vCG_ are the output voltages, and _in_ is the neutral current. The four-leg system is a six-order multi-input-multi-output (MIMO) system, including a total of six state variables (inductor currents and capacitor voltages of the LC filter), three line-to-duty ratios as inputs and three output AC voltages. Thus, it is difficult to control such complex six-order system. To cope with this problem, three channels in four-leg power converter should be completely decoupled to be viewed as three SISO control systems. The power stage of the four-leg inverter can be modelled according to the principles of the per-phase basis so that only a single-phase representation of the inverter is used for the analysis and design. However, due to the presence of an unlike coupling among three channels, the control of this type of inverter is very complicated. In the following, a new decoupled per-phase model for the four-leg power converter using an output voltage feedback path in each phase is presented. _2.2._ _Decoupled Per-Phase Model of the Four-Leg Inverter_ In this subsection, a new decoupled per-phase model for the four-leg inverter is presented. The four-leg system has six state variables, including three inductor currents and three output voltage _Energies_ 2018, _11_, 2688 5 of 26 capacitors. It also contains three line-to-duty ratios as inputs and three output voltages. By considering the load currents as disturbances, the state-space equation of the system can be obtained as follows: - . _X_ = _AX_ + _BU_ + _EW_ (3) _Y_ = _CX_ + _DU_ + _FW_ where _X_ = [ _ila VCA ilb VCB ilc VCC_ ] <sup>_T_</sup> is the state variable vector, _U_ = _Vaf_ _Vbf_ _Vcf_ - _T_ is the control input variable vector, _W_ = [ _iload−a iload−b iload−c_ ] <sup>_T_</sup> is load currents as the disturbance, and _Y_ = [ _VAG_ _VBG_ _VCG_ ] <sup>_T_</sup> is the output of the system. Assume that _Ln_ = <sup>_L_</sup> /2 and _rn_ = _rC_ = _rL_ = _R_, other matrixes in the state-space equations can be written as: _−_ 2 _R_ / _L_ _−_ 4/5 _L_ 0 1/5 _L_ 0 1/5 _L_ 1/ _C_ 0 0 0 0 0 0 1/5 _L_ _−_ 2 _R_ / _L_ _−_ 4/5 _L_ 0 1/5 _L_ 0 0 1/ _C_ 0 0 0 0 1/5 _L_ 0 1/5 _L_ _−_ 2 _R_ / _L_ _−_ 4/5 _L_ 0 0 0 0 1/ _C_ 0   _A_ =    _B_ =   _E_ =  4/5 _L_ _−_ 1/5 _L_ _−_ 1/5 _L_ 0 0 0 _−_ 1/5 _L_ 4/5 _L_ _−_ 1/5 _L_ 0 0 0 _−_ 1/5 _L_ _−_ 1/5 _L_ 4/5 _L_ 0 0 0 4 _R_ /5 _L_ _−_ _R_ /5 _L_ _−_ _R_ /5 _L_ _−_ 1/ _C_ 0 0 _−_ _R_ /5 _L_ 4 _R_ /5 _L_ _−_ _R_ /5 _L_ 0 _−_ 1/ _C_ 0 _−_ _R_ /5 _L_ _−_ _R_ /5 _L_ 4 _R_ /5 _L_ 0 0 _−_ 1/ _C_     _R_ 1 0 0 0 0 0 0 _R_ 1 0 0 1 1 1 1 _R_ 1   _C_ =   _−R_ 0 0 0 _−R_ 0 0 0 _−R_   _F_ =   The state-space equation for phase ‘a’ can be rewritten as: _ila_ _VCA_ _ilb_ _VCB_ _ilc_ _VCC_   _Va f_ _Vb f_ _Vc f_ - . _iL_ . _VC_  + (4)   - <sup></sup>  = _−_ 2 _R_ / _L_ _−_ 4/5 _L_ 0 1/5 _L_ 0 1/5 _L_ 1/ _C_ 0 0 0 0 0 + 4/5 _L_ _−_ 1/5 _L_ _−_ 1/5 _L_ 0 0 0 _iload−a_ _iload−b_ _iload−c_   4 _R_ /5 _L_ _−_ _R_ /5 _L_ _−_ _R_ /5 _L_ _−_ 1/ _C_ 0 0 - <sup></sup>  _Energies_ 2018, _11_, 2688 6 of 26 As can be seen, in order to decouple the phase ‘a’ from the other channels, the coefficients of _VCB_ and _VCC_ must be zero. Assuming the input variables are:   _Va f_ _Vb f_ _Vc f_   _Va f_ <sup>_∗_</sup> _Vb f_ <sup>_∗_</sup> <sup>+</sup> <sup>_k_</sup> <sup>3</sup> <sup>_× VCA_</sup> <sup>+</sup> <sup>_k_</sup> <sup>4</sup> <sup>_× VCC_</sup> _Vc f_ <sup>_∗_</sup> <sup>+</sup> <sup>_k_</sup> <sup>5</sup> <sup>_× VCA_</sup> <sup>+</sup> <sup>_k_</sup> <sup>6</sup> <sup>_× VCB_</sup> _c f_ <sup>_∗_</sup> <sup>+</sup> <sup>_k_</sup> <sup>5</sup> <sup>_× VCA_</sup> <sup>+</sup> <sup>_k_</sup> <sup>6</sup> <sup>_× VCB_</sup>   = _Va f_ <sup>_∗_</sup> <sup>+</sup> <sup>_k_</sup> <sup>1</sup> <sup>_× VCB_</sup> <sup>+</sup> <sup>_k_</sup> <sup>2</sup> <sup>_×_</sup> <sup>_VCC_</sup> _Vb f_ <sup>_∗_</sup> <sup>+</sup> <sup>_k_</sup> <sup>3</sup> <sup>_× VCA_</sup> <sup>+</sup> <sup>_k_</sup> <sup>4</sup> <sup>_× VCC_</sup>   (5) where _VCA_, _VCB_ and _VCC_ are the output voltage feedback paths, which can be added to the control scheme. _Ki_ ( _i_ = 1, 2, 3, . . . 6) is an unknown variable, which must be determined for decoupling purpose. _Va f_ <sup>_∗_</sup> <sup>,</sup> <sup>_V_</sup> _b f_ <sup>_∗_</sup> <sup>and</sup> <sup>_V_</sup> _c f_ <sup>_∗_</sup> <sup>are also the control input variables.</sup> By rewriting the state-space equations for the other phases and substituting (5) into the state-space equations for three subsystems, six equations with six unknown components can be obtained as: _a f_ <sup>_∗_</sup> <sup>,</sup> <sup>_V_</sup> _b f_ <sup>_∗_</sup> _b f_ <sup>_∗_</sup> <sup>and</sup> <sup>_V_</sup> _c f_ <sup>_∗_</sup>    4 _k_ 1 _−_ _k_ 6 + 1 = 0 4 _k_ 2 _−_ _k_ 4 + 1 = 0 4 _k_ 3 _−_ _k_ 5 + 1 = 0 4 _k_ 4 _−_ _k_ 2 + 1 = 0 4 _k_ 5 _−_ _k_ 3 + 1 = 0 4 _k_ 6 _−_ _k_ 1 + 1 = 0 (6) This equation has a unique solution as follow: _k_ 1 = _k_ 2 = _k_ 3 = _k_ 4 = _k_ 5 = _k_ 6 = <sup>_−_</sup> <sup>1</sup> /3 _k_ 1 = _k_ 2 = _k_ 3 = _k_ 4 = _k_ 5 = _k_ 6 = <sup>_−_</sup> <sup>1</sup> /3. By considering the input variables as: _U_ = - _Va f_ <sup>_∗_</sup> _Vb f_ <sup>_∗_</sup> _Vc f_ <sup>_∗_</sup> �, the matrixes in the state-space equation can be rewritten as: _b f_ <sup>_∗_</sup> _Vc f_ <sup>_∗_</sup> _c f_ By considering the input variables as: _U_ = - _V_ <sup>_∗_</sup> _a f_ <sup>_∗_</sup> _Vb f_ <sup>_∗_</sup> _−_ 2 _R_ / _L_ _−_ 2/3 _L_ 0 0 0 0 1/ _C_ 0 0 0 0 0 0 0 _−_ 2 _R_ / _L_ _−_ 2/3 _L_ 0 0 0 0 1/ _C_ 0 0 0 0 0 0 0 _−_ 2 _R_ / _L_ _−_ 2/3 _L_ 0 0 0 0 1/ _C_ 0   _A_ =   4/5 _L_ _−_ 1/5 _L_ _−_ 1/5 _L_ 0 0 0 _−_ 1/5 _L_ 4/5 _L_ _−_ 1/5 _L_ 0 0 0 _−_ 1/5 _L_ _−_ 1/5 _L_ 4/5 _L_ 0 0 0 4 _R_ /5 _L_ _−_ _R_ /5 _L_ _−_ _R_ /5 _L_ _−_ 1/ _C_ 0 0 _−_ _R_ /5 _L_ 4 _R_ /5 _L_ _−_ _R_ /5 _L_ 0 _−_ 1/ _C_ 0 _−_ _R_ /5 _L_ _−_ _R_ /5 _L_ 4 _R_ /5 _L_ 0 0 _−_ 1/ _C_     _B_ = _E_ =     _Energies_ 2018, _11_, 2688 7 of 26 As can be observed, the four-leg inverter is partitioned into three single-phase subsystems. By neglecting the inherent resistance of capacitors, the state-space equation of each subsystem can be described as: _<u>−</u>_ <u>(3</u> _<u>R</u>_ <u>)</u> _<u>−</u>_ <u>1</u> 3 _L_ /2 3 _L_ /2 1/ _C_ 0  _il_  _×_ _VC_   .. _iL_ . _VC_   =   + <u>1</u> 3 _L_ /2 _× Vi_ + 0 0 _−_ 1/ _C_ _× iload_ (7) where _il_ and _VC_ are the inductance current and capacitor voltage in each phase, respectively. _Vi_ and _iload_ are the input voltage and load current of each phase, respectively. The state-space equation of each subsystem describes the model of a single-phase inverter with the filter parameters as depicted in Figure 3. Therefore, the four-leg power inverter can be viewed as three SISO control systems. The voltage decoupling feedback path can be added to the control strategy in each phase to simplify the system modeling and design. The decoupled model of the four-leg inverter using the voltage decoupling feedback paths is depicted in Figure 4. It can be seen, each subsystem can be controlled independently using various controllers in different reference frames. In the following subsection, the per-phase control of the four-leg inverter in the rotating frame is presented. 3 _R_ 3 _L_ /2 Inverter Figure 3. Per-phase representation of the four-leg inverter. PWM ## ~~Inverter phase a~~ PWM ## ~~Inverter phase b~~ PWM ## ~~Inverter phase c~~ Figure 4. Decoupled model of the four-leg pulse width modulation inverter. _Energies_ 2018, _11_, 2688 8 of 26 3. Suggested Per-Phase Voltage Control Strategy in the Rotating Frame In the current research progress for the area of electrical power engineering, the control of four-leg power converters using symmetrical components in the rotating frame under unbalanced load conditions is a well-developed research topic. Despite the maturity, little attention has been given to the per-phase control of the four-leg inverter under unbalanced load circumstances. The main reason lies in the fact that the per-phase control of the four-leg inverter in the _dq_ frame needs to create a virtual two-phase system in each subsystem to deal with the transformation from the stationary to the rotating frame. The Park transformation is a 2-2 transform that requires at least two independent phases in the stationary reference frame to convert components to the _dq_ frame. However, the per-phase control of the four-leg inverter is not directly applicable in the _dq_ frame due to the existence of only one phase in each subsystem. Indeed, the per-phase _dq_ control of a four-leg power converter requires at least two independent phases in each subsystem to cope with the transformation between stationary and rotating frames. This challenge can be handled using an orthogonal imaginary component in each phase, which provides the second phase essential in each subsystem for the Park transformation. Since there exists only one available phase in each subsystem of the four-leg power converter, the transformation from the stationary to the rotating frame cannot be used easily for per-phase _dq_ control, unless a second orthogonal phase is created for each subsystem. Several orthogonal signal generation methods have been proposed in the literature [32]. However, complexity, inaccurate dynamic performance, sensitivity to parameter changes and inability to operate with variable grid frequencies are the main drawbacks of these techniques. To cope with these disadvantages, the orthogonal signal is generated based on the reference values of voltages in the _d_ and _q_ -axes. It can be implemented easily and provides high dynamic response. The structure of the employed orthogonal signal generation technique is demonstrated in Figure 5. As seen, the orthogonal components can be obtained as: _Vβ_ = _−B_ cos( _ψ_ + _γ_ ) (8) _<u>d</u>_ 2 + _Vq∗_ 2, _γ_ = tan _−_ 1( _V_ <sup>_<u>V</u>_</sup> _q_ <sup>_~~∗~~_</sup> <sup>_∗_</sup> <sup>),</sup> where _Vd_ <sup>_∗_</sup> _<u>d</u>_ <sup>_∗_</sup> <sup>and</sup> <sup>_V_</sup> _q_ <sup>_∗_</sup> _q_ <sup>_∗_</sup> <sup>are the refrence values of voltages in the</sup> <sup>_dq_</sup> <sup>frame,</sup> <sup>_B_</sup> <sup>=</sup> - _V_ <sup>_∗_</sup> _d_ _θ_ is the phase angle of the grid and _ψ_ is the angle of the _αβ_ / _dq_ transformation, which is equal to _θ_ in the steady-state. ###### X #### + Figure 5. Structure of the employed orthogonal signal generator. The control scheme for the four-leg grid-forming unit is implemented using a double feedback loop control scheme in each phase. The structure of the suggested per-phase control scheme in three independent channels is presented in Figure 6. The control system block diagram shows: _•_ The four-leg inverter is partitioned into three single-phase subsystems using the proposed decoupled per-phase model. There exists an independent cascaded current-voltage controller in each subsystem that provides relevant phase control signals. _•_ The inner current control loop uses the filter capacitor current as a feedback signal. _Energies_ 2018, _11_, 2688 9 of 26 _•_ The inner current control loop is implemented in the stationary reference frame using a proportional controller. _•_ The outer voltage control loop uses the load voltage as a feedback signal. _•_ The outer voltage loop is implemented in the rotating frame using the PI controller. <mark>ra</mark> La <u><mark>i</mark></u> load-a <mark>+</mark> <mark>Phase a</mark> <mark>dV</mark> dc(a) <mark>Phase b</mark> <mark>Phase c</mark> PWMPWM <mark>abc</mark>  <mark>i</mark> Ca <mark>i</mark> La <mark>+</mark> <mark>Ca</mark> <mark>v</mark> ca voa <mark>dV</mark> dc(b) <mark>rb</mark> Lb iLb + Cb <u>vcb</u> <u><mark>i</mark></u> load-b <mark>-</mark> iCb iCc + vob <mark>r</mark> c Lc + voa _a_ _Vaq_ - _Vad_ -  <mark>dV</mark> dc(c) iLc + Cc vcc  _Vaq_ - _Vad_ -  <u>iload-c</u> voc _Va_  _Va_   _dq_ cos  sin  vob _b_  _<u>Vbq</u>_ _Vbd_ -  Vaq - Vad cos  sin  _Vbq_ _Vbd_ + + _c_ _Vc_  _Vc_   _dq_ Vcq - Vcd _Vb_  _Vb_   _dq_ Vbq - Vbd  voc _Vcq_ - _Vcd_ -  <u>cos</u>  sin  _Vcq_ _Vcd_ <sup>_i_</sup> _cc_,  + _Vcf_ _Vbf_ _V_ _af_ _<u>Vaq</u>_ _<u>Vad</u>_ _ica_,  <mark>i</mark> Cb + + + <mark>i</mark> Cc PI PI  dq <u>+</u> _ica_ , = _ica_ - + <mark>i</mark> Ca <u>-</u> + <mark>P</mark> <mark>Inner current loop</mark> - + <u>-</u> PI PI  dq _icb_ <u></u>, = _icb_ <sup>_i_</sup> _cb_,  <u>+</u> + Feedforward path <mark>P</mark> _v_ - = _v_  - = _vd_ - cos( _wf_ _t_ ) - _vq_ - sin( _wf_ _t_ ) <mark>P</mark> <mark>Inner current loop</mark> - + _v_ - = _v_  - = _vd_ - cos( _wf_ _t_ ) - _vq_ - sin( _wf_ _t_ ) <mark>Inner current loop</mark> <u>-</u> PI PI  dq _icc_ <u></u>, = _icc_ <u>+</u> + _v_ - = _v_  - = _vd_ - cos( _wf_ _t_ ) - _vq_ - sin( _wf_ _t_ ) <mark>Inner current loop</mark> Figure 6. Proposed multi-loop voltage and current control strategy. As seen in Figure 6, the output voltage in each phase ( _Voa_, _Vob_, _Voc_ ) is sampled and converted into the stationary reference frame using the orthogonal signal generation technique. Later, the load voltage quantities in the stationary reference frame ( _Va_, _b_, _c_ ( _α_ ), _Va_, _b_, _c_ ( _β_ )) are converted into the _dq_ rotating frame ( _Va_, _b_, _c_ ( _d_ ), _Va_, _b_, _c_ ( _q_ )) using the Park transformation. The sin _θ_ and cos _θ_ terms required for the Park transformation are obtained from the output reference voltage with a second-order generalized integrator frequency-locked loop. The load voltage quantities are compared with the reference voltage values ( _Vq_ <sup>_∗_</sup> <sup>,</sup> <sup>_V_</sup> _d_ <sup>_∗_</sup> <sup>) in the synchronous reference frame to compensate using PI controllers in the rotating</sup> frame. In this regard, _Vd_ <sup>_∗_</sup> <sup>is set at the peak value of the reference phase voltage, while</sup> <sup>_V_</sup> _q_ <sup>_∗_</sup> <sup>is set at 0 V.</sup> The outputs of the external voltage loop can be used as the reference signals for the current controller in each subsystem. The generated references for the inner current loops ( _icq_ <sup>_∗_</sup> <sup>,</sup> <sup>_i_</sup> _cd_ <sup>_∗_</sup> <sup>) via the outer voltage</sup> loop are then converted from the synchronous reference frame into the stationary reference frame. It should be noted here that the phase and amplitude characteristics of the PI controller in the _dq_ frame are equivalent to the PR controller in the stationary reference frame due to the application of the Park transformation and the inverse Park transformation. In spite of the voltage controller, which is designed in the synchronous reference frame, the inner current control loop is implemented in the stationary reference frame. As can be seen, only α-axis _q_ <sup>_∗_</sup> <sup>,</sup> <sup>_V_</sup> _d_ <sup>_∗_</sup> _d_ <sup>_∗_</sup> <sup>is set at the peak value of the reference phase voltage, while</sup> <sup>_V_</sup> _q_ <sup>_∗_</sup> _cq_ <sup>_∗_</sup> <sup>,</sup> <sup>_i_</sup> _cd_ <sup>_∗_</sup> _Energies_ 2018, _11_, 2688 10 of 26 quantities belong to the real system in the current controller. Therefore, only the real reference current ( _ic_ <sup>_∗_</sup> _α_ <sup>) is fed to the current controller.</sup> <sup>In this control loop, the capacitor current is sampled, and then</sup> compared with the reference currents generated by the outer voltage controller. In the stationary reference frame, the reference signals are sinusoidal; hence, a simple proportional controller can be used to ensure the excellent reference tracking and to achieve a zero steady-state error. In addition, a voltage feedforward path is added to the multi-loop controller in each phase to enhance the system robustness. Moreover, it has the ability to simplify the system modeling and controller design. The decoupling voltage feedback path is also added to the control scheme in each phase to eliminate the effect of power stage coupling on control design. Lastly, the output of the inner current loop is transformed into the natural reference frame and then divided by DC-link voltage. Note that the feedforward loop is included to consider the DC-link voltage value for the generation of the gate signals. Furthermore, the carrier-based pulse width modulator (PWM) method is used in this thesis to generate the inverter output voltage owing to its proper performance and ease of implementation. In this modulation method, the concept of offset voltage is implemented using a single carrier. The method has a strong performance and can be implemented easily. Therefore, it is used in this study to generate the inverter output voltage. In the proposed per-phase control strategy, the PI controller regulates the instantaneous output voltages in the rotating frame, whereas the simple proportional controller regulates the currents in the stationary reference frame. According to the basic principles of the control theory of cascaded control, the inner current and the outer voltage controllers can be designed separately as long as the dynamics of the voltage loop are designed to be slower than the current loop. 4. Multi-Resonant Harmonic Compensator The simplified model of the three-phase four-leg inverter suppling nonlinear loads is depicted in Figure 7. In this Figure, _Zo_ refers to the output impedance of the inverter, _i_ is the output current, _vo_ is the output voltage and _vr_ is the reference voltage. Assuming that there are harmonics in the output current ( _i_ ). Hence, the output current can be written as: ∞ <u>2</u> ~~∑~~ _h_ =1 <sup>_Ih_</sup> <sup>sin(</sup> <sup>_hωt_</sup> <sup>+ ∅</sup> <sup>_h_</sup> <sup>)</sup> (9) _i_ = _√_ where _ω_ is the system frequency, _h_ is the harmonic order and ∅ _h_ is the phase angle. Moreover, the _h_ -th harmonic voltage dropped on the output impedance is ~~2~~ _~~I~~_ _h|Zo_ ( _jωh_ ) _|_ . Additionally, it is assumed that the inverter injects clean current and there is no harmonic voltage generated by reference voltage. Hence, _vr_ can be written as: Moreover, the _h_ -th harmonic voltage dropped on the output impedance is _√_ 2 _E_ sin( _ωt_ + _δ_ ) (10) _vr_ = _√_ Figure 7. Simplified model of the three-phase four-leg inverter. _Energies_ 2018, _11_, 2688 11 of 26 Hence, the fundamental component of the output voltage can be also obtained as: _√_ _√_ 2 _E_ sin( _ωt_ + _δ_ ) _−_ 2 _I_ 1 _|Zo_ ( _jωh_ ) _|_ sin( _ωt_ + ∅1 + _θ_ ) = 2 _V_ 1 sin( _ωt_ + _β_ ) (11) _v_ 1 = _√_ where _V_ 1 = _E_ <sup>2</sup> + _I_ 1 <sup>2</sup> <sup>_|Zo_</sup> <sup>(</sup> <sup>_jω_</sup> <sup>)</sup> <sup>_|_</sup> <sup>2</sup> <sup>_−_</sup> <sup>2</sup> <sup>_EI_</sup> <sup>1</sup> <sup>_|Zo_</sup> <sup>(</sup> <sup>_jω_</sup> <sup>)</sup> <sup>_|_</sup> <sup>cos(∅1 +</sup> <sup>_θ −_</sup> <sup>_δ_</sup> <sup>)</sup> - _<u>I</u>_ <u>1</u> _<u>|Zo</u>_ <u>(</u> _<u>jω</u>_ <u>)</u> _<u>|</u>_ <u>sin(∅1 +</u> _<u>θ −</u>_ _<u>δ</u>_ <u>)</u> _β_ = arctan _I_ 1 _|Zo_ ( _jω_ ) _|_ cos(∅1 + _θ −_ _δ_ ) _−_ _E_ The harmonic components in the output voltage can also be obtained using the harmonic current components and the output impedance at the harmonic frequencies as: ∞ 2 ∑ _h_ =2 <sup>_Ih|Zo_</sup> <sup>(</sup> <sup>_jωh_</sup> <sup>)</sup> <sup>_|_</sup> <sup>sin(</sup> <sup>_hωt_</sup> <sup>+ ∅</sup> <sup>_h_</sup> <sup>+ ∠</sup> <sup>_Zo_</sup> <sup>(</sup> <sup>_jωh_</sup> <sup>))</sup> (12) _vH_ = _√_ In this regard, the THD of the output voltage of the inverter can be obtained as [33]: _<u>h</u>_ <sup>2</sup> <sup>_|Zo_</sup> <sup>(</sup> <sup>_jωh_</sup> <sup>)</sup> <sup>_|_</sup> <sup>2</sup> _×_ 100% (13) _THD_ = �∑ <sup>∞</sup> _<u>h</u>_ <sup>∞</sup> _<u>h</u>_ =2 <sup>_I_</sup> _<u>h</u>_ <sup>2</sup> _V_ 1 As seen, the _THD_ is mainly affected by the output impedance at the harmonic frequencies. Therefore, it is feasible to optimize the design of the output impedance at high frequencies to minimize the _THD_ of the output voltage. It can be achieved without affecting the impedance at the fundamental frequency. To obtain low _THD_ for output voltage under highly distorted load conditions, a harmonic compensator is added to each subsystem as depicted in Figure 8. The transfer function of the harmonic compensator can be explained as: _HC_ ( _s_ ) = ∑ _n_ =3,5,..., _h_ _s_ <sup>2</sup> + _<u>kns</u>_ <u>�</u> _nω f_ (14) <u>�2</u> where _kn_ is the gain of integrator for _n_ th harmonic component and _h_ is the highest harmonic order. _Energies_ 2018, _11_, 2688 12 of 26 _PI_ _PI_ _dq_ _PI_ _PI_ ##### - P x + Harmonic Compensator in Phase ‘a’ _dq_ ##### - P x + Harmonic Compensator in Phase ‘b’ _PI_ _PI_ _dq_ ##### - P x + Harmonic Compensator in Phase ‘c’ Figure 8. Proposed harmonic compensator. The developed controller minimizes the output impedance of the inverter over the frequency range of the main harmonic current components. The suggested harmonic compensator in each phase provides notches in frequency response at the related frequency, thereby reducing the inverter output harmonic distortion. As the four-leg power converter operates in the three-phase four-wire microgrids, the number of harmonic integrator must be selected so that the controller can be handled both zero and negative sequence harmonics. Therefore, a harmonic compensator tuned at the 3rd, 5th, 7th, 9th, 11th, and 13th harmonic frequencies is used in each phase of the four-leg power converter. 5. Simulation Results To confirm the performance of the suggested per-phase multi-loop control strategy, the four-leg power converter operating in isolated mode is simulated using the DIgSILENT PowerFactory software. It is equipped with the proposed per-phase multi-loop control strategy. The desired voltage is 155.56 V line-to-neutral peak at 60 Hz. All the electrical and controller parameters are given in Table 1. The performance of the suggested per-phase scheme is compared with the conventional SCC-based control strategy [27–29]. _Energies_ 2018, _11_, 2688 13 of 26 Table 1. Electrical and controller parameters of three-phase four-leg inverter. Parameter Description Value _fs_ Switching frequency 5 kHz _w f_ Fundamental frequency 2π60 rad/s _L_ and _Ln_ Filter inductance 0.1 mH _C_ Filter capacitance 300 µF _rl_ _rn_ and _rc_ Resistors of the filter 10 mΩ _Vdc_ DC-link voltage 300 V _K_ Current controller parameter 1 _kP_ Proportional gain 0.15 _kI_ Integral gain 42 _V_ Load voltage 155.56 V v/phase (peak) Balanced Balanced load _RA_ = _RB_ = _Rc_ = 8 Ω Unb.#1 Unbalanced load _Ra_ = 10 Ω, _Rb_ = 7 Ω, _Rc_ = 8 Ω Unb.#2 Unbalanced load _Ra_ = _Rb_ = 8 Ω, _Rc_ = ∞ Unb.#3 Unbalanced load _Rb_ = 8 Ω, _Ra_ = _Rc_ = ∞ _5.1._ _Transient Performance_ In this simulation, while the four-leg unit is initially supplying a three-phase resistive load (8 Ω/ph), a single-phase inductive-resistive load ( _R_ = 20 Ω and _L_ = 2 mH) is added between phase ‘a’ and ‘c’ at 0.3 s. After 0.2 s, the connected load between phase ‘c’ and the neutral line is changed from 8 to 5.7 Ω. Lastly, the nominal load between phase ‘a’ and the neutral line is disconnected at 0.7 s. The three-phase output voltages and currents of the four-leg inverter under varying unbalanced load changes, with the conventional control strategy, is depicted in Figure 9. This figure also shows the transient load voltages as zoomed figures. As can be observed from this figure, the load voltages and currents are initially balanced. Then, the load currents in phase ‘a’ and ‘c’ are increased by at least 3 line cycles transient due to the inclusion of the line-to-line load between phase ‘a’ and ‘c’ at 0.3 s. A large voltage sag is observed in the output voltages with this control strategy; however, it is restored with a slow transient response. Afterward, the connected load between phase ‘c’ and the neutral line is changed from 8 to 5.7 Ω at 0.5 s. Consequently, the currents in phase ‘c’ and the neutral current are gradually increased. Similarly, a large voltage sag emerges in the load voltages, and is restored slowly because of the sudden load change. Finally, the nominal load between phase ‘a’ and the neutral line is disconnected at 0.7 s; hence, the load current in phase ‘a’ and the neutral current are increased again with a slow transient response. As can be seen from the zoomed figure, the load disconnection leads to unequal voltage values on three-phases. Nevertheless, the output voltage values are restored with a slow transient response. It is apparent that the conventional control scheme can keep the load voltages balanced in the steady-state at all load unbalances considered in this simulation. However, at least 3 line cycles transient responses exist with this control scheme. This is because of the fact that the conventional SCC-based control scheme is implemented using multiple _dq_ control loops. Moreover, the symmetrical components are calculated based on all-pass filters, thereby introducing significant delays, and slowing down the dynamic response of the multiple _dq_ control loops. The three-phase output voltages and currents of the four-leg inverter under the situation of sudden load changes with the proposed per-phase multi-loop control strategy is depicted in Figure 10. For performance comparison, the transient load voltages are shown as zoomed figures. As seen in this figure, the load currents in phase ‘a’ and ‘c’ are sharply increased with 1 line cycle transient response after the connection of the line-to-line load between phases ‘a’ and ‘c’ at 0.3 s. Nevertheless, the neutral current does not exist for this unbalance condition. It is interesting to point out in this figure that the output voltages remain balanced without any voltage dip after the sudden load change. Subsequently, the currents in phase ‘c’ and the neutral current are sharply increased due to the connection of the load between phase ‘c’ and the neutral line at 0.5 s. Similarly, the output voltages remain balanced under _Energies_ 2018, _11_, 2688 14 of 26 this load changes. Lastly, the nominal load between phase ‘a’ and the neutral line is disconnected at 0.7 s. As can be observed, the load current in phase ‘a’ and the neutral current rapidly increases, while the load voltages can remain balanced. The results in demonstrate that the suggested per-phase multi-loop control strategy has the ability to balance the load voltages without any voltage variations under various combinations of unbalanced loads and the situation of sudden load changes. As shown from Figures 11–13, the actual voltages ( _Vd_, _Vq_ ) are capable of tracking the reference voltages ( _Vdre f_, _Vqre f_ ) precisely in three phases (“a”, “b” and “c”), when the current reference signal rapidly reacts to the voltage variations in the proposed control strategy. As can be observed from Figure 10, the suggested per-phase multi-loop control scheme shows an improved dynamic performance in comparison with the conventional control strategy. This is because it is implemented independently in each phase to compensate for the symmetrical components. As seen in Figure 10, the dynamic response of the suggested control scheme is very fast with 1 line cycle transient. The proposed per-phase multi-loop control strategy does not require computations for the symmetrical components of currents and voltages for unbalanced voltage compensation. Indeed, it is implemented without using low-pass or all-pass filters; thus, it is able to achieve a rapid transient response. Moreover, the current controller is implemented using the capacitor current feedback signal instead of the higher ampere inductor current. The inner current control loop in each phase uses the filter capacitor current as the direct feedback signal. Therefore, variations in the inner current loop for unbalanced compensation and sudden load changes occur faster. Table 2 compares the results obtained from this simulation, between the conventional control strategy, and the suggested multi-loop control strategy under unbalanced load conditions. As can be seen, there exist 3 line cycles transient with the conventional control scheme, while the dynamic response of the suggested control scheme is very fast, with only 1 line cycle transient. As shown in this table, the superiority of the suggested control scheme over the conventional SCC-based is confirmed by the 2 line cycles decrease in the transient response. In summary, these simulation results show that quick dynamic responses and fast regulation time with no overshoot are the main advantages of the proposed multi-loop control strategy. _Energies_ 2018, _11_, 2688 15 of 26 Figure 9. Output voltages and currents with the conventional control strategy under suddenly load changes. _Energies_ 2018, _11_, 2688 16 of 26 Figure 10. Output voltages and currents with the proposed control strategy under suddenly load changes. _Energies_ 2018, _11_, 2688 17 of 26 Figure 11. Reference and actual voltages of the four-leg grid-forming unit in phase ‘a’ in the rotating frame with the proposed control strategy. Figure 12. Reference and actual voltages of the four-leg grid-forming unit in phase ‘b’ in the rotating frame with the proposed control strategy. _Energies_ 2018, _11_, 2688 18 of 26 Figure 13. Reference and actual voltages of the four-leg grid-forming unit in phase ‘c’ in the rotating frame with the proposed control strategy. Table 2. Transient performance of two control strategies. ~~Control Method~~ ~~Transient Response to Load Changes~~ ~~Conventional control scheme~~ ~~3 line cycles~~ The proposed multi-loop control scheme 1 line cycle _5.2._ _Steady-State Performance_ The evaluation of the steady-state behavior of the suggested multi-loop control strategy is made for a balanced load ( _RA_ = _RB_ = _Rc_ = 8 Ω), and three various unbalanced load cases, which include Unb.#1: ( _Ra_ = 10 Ω, _Rb_ = 7 Ω, _Rc_ = 8 Ω), Unb.#2: ( _Ra_ = _Rb_ = 8 Ω, _Rc_ = ∞), and Unb.#3: ( _Rb_ = 8 Ω, _Ra_ = _Rc_ = ∞). The steady-state behavior of the four-leg power converter, equipped with the suggested multi-loop control strategy for the balanced load, is depicted in Figure 14. As seen, the output voltages and currents are balanced in the steady-state for this case because of the equal value of loading on each phase. Moreover, the neutral current does not exist for this balanced load. Figure 15 also demonstrates the load current and voltage waveforms for the three-phase Unb.#1 in the steady-state. It is observed that the load currents have unequal values. Moreover, the neutral current is not zero because of the connection to the three-phase unbalanced load. However, the proposed per-phase multi-loop control strategy has the ability to provide balanced output voltages in the steady-state under the unbalanced load. In case of an event in one of the phases in this three-phase 4-wire system, the other two phases can be used independently, after clearing the fault. Figure 16 illustrates the steady-state load current and voltage waveforms for the Unb.#2, in which only two phases are loaded. As seen in this figure, the output voltages remain balanced irrespective of the load in one of the phases that is different from the others. It is observed that the load currents are unbalanced, and there is a significant neutral current in the 4-wire system. Figure 17 depicts the load current and voltage waveforms for the Unb.#3. It is the worst case, in which only phase ‘b’ is loaded. As seen here, the load currents of phase ‘a’ and ‘b’ are zero, as only phase ‘b’ is loaded. It can be seen from the voltage waveform that the proposed per-phase _Energies_ 2018, _11_, 2688 19 of 26 multi-loop control strategy is capable of providing balanced output voltages under unbalanced load conditions, even when a single-phase load is connected to the microgrid. Figure 14. Output three-phase voltages and currents for the balanced load. Figure 15. Output three-phase voltages and currents for Unb.#1. It is interesting to note that the load voltages can be remained balanced in three various unbalanced load cases. For performance comparisons, the magnitudes of the fundamental components, and the PVUR of all various loads, for the conventional control strategy and the suggested control scheme are _Energies_ 2018, _11_, 2688 20 of 26 presented in Table 3. According to the IEEE standards, the PVUR needs to be maintained at lower than 2% for sensitive loads [17]. According to IEEE, PVUR is defined as: % _PVUR_ <u>=</u> <sup>_<u>maximum voltage deviation</u>_</sup> <sup>_<u>from the average</u>_</sup> <sup>_<u>phase voltage</u>_</sup> _<u>×</u>_ 100 (15) _~~average~~_ _~~phase voltage~~_ As can be observed from Table 3, the load voltages remain balanced in the steady-state for both the conventional and the proposed per-phase control schemes at all tested conditions. Additionally, the value of the PVUR is maintained below 2% at all tested conditions for both control schemes. However, the value of the PVUR is reduced with the proposed control scheme for the various load unbalance cases considered in this study. It can be seen from the table that the value of PVUR is reduced from 0.128 to 0.062% for the Unb.#1 with the proposed control strategy. This value is also reduced from 0.184 to 0.173% for the Unb.#2, with the proposed control strategy. Similarly, it is also reduced from 0.192 to 0.188% for the worst case, where the three-phase four-leg grid-forming unit has to supply a single-phase load. According to Table 3, the superiority of the proposed control strategy over the conventional control scheme is confirmed by the significant decreases in the value of PVUR for the various load unbalance cases considered in this study. As mentioned in the literature review, the tiny steady-state error can be ensured using a PI controller in the rotating frame. However, it is difficult to achieve zero steady-state error with the conventional SCC-based control strategy because of the presence of the line frequency and the double line frequency components at the output of the PI controller. The presence of the double line and line frequency components, which are the result of the negative and zero sequence components at the output of the PI controllers, can lead to non-zero steady-state error. In contrast, the proposed per-phase multi-loop control strategy is able to compensate voltage unbalance in each phase independently, thus avoiding the need to deal with the double line and line frequency components at the output of the PI controllers. Moreover, the stationary reference frame equivalent of the PI voltage controllers in the rotating frame can ensure a tiny steady-state error for the proposed multi-loop control strategy. Figure 16. Output three-phase voltages and currents for Unb.#2. _Energies_ 2018, _11_, 2688 21 of 26 Figure 17. Output three-phase voltages and currents for Unb.#3. <u>Table 3.</u> <u>Comparison between two control strategies in the steady-state.</u> <u>Conventional Control Scheme</u> <u>Proposed Control Strategy</u> ~~PVUR (%)~~ Load Type ~~PVUR (%)~~ ~~PVUR (%~~ ) Phase a Phase b Phase c Phase a Phase b Phase c Load Peak Voltages (V) Load Peak Voltages (V) Balanced 155.49 155.54 155.57 0.025 155.50 155.54 155.56 0.021 Unb.#1 155.25 155.52 155.58 0.128 155.38 155.49 155.56 0.062 Unb.#2 155.15 155.56 155.60 0.184 155.23 155.52 155.75 0.173 ~~Unb.#3~~ ~~155.55~~ ~~155.65~~ ~~155.15~~ ~~0.192~~ ~~155.79~~ ~~155.25~~ ~~155.45~~ ~~0.188~~ _5.3._ _Under Nonlinear Load Conditions_ To confirm the performance of the control strategy under nonlinear load conditions, the four-leg power converter is simulated using the DIgSILENT PowerFactory software. To validate the effectiveness of the suggested primary control strategy under nonlinear load conditions, a single-phase nonlinear load that consists of a diode rectifier bridge that feeds a 500 µF capacitor in parallel with a 30 Ω resistor, is connected between phase ‘a’ and the neutral line at the PCC. The four-leg power converter is equipped with the proposed multi-resonant harmonic voltage compensator. Figure 18 illustrates the nonlinear load current waveform and the associated harmonic spectra. The waveforms of the three-phase output currents and the neutral currents of the four-leg power converter under nonlinear load conditions are depicted in Figure 19. As can be observed, the output currents of the four-leg power converter is highly distorted with sharp spikes. The output voltages of phase ‘a’ in the four-leg power converter and their harmonic spectra, before compensation, is depicted in Figure 20. As seen, the output voltage of phase ‘a’ in four-leg power converter is distorted due to the connection of the single-phase nonlinear load. As observed, both negative and zero sequence harmonics can cause power quality difficulties in the output of the inverter. The output voltage of phase ‘a’ in the four-leg power converter and their harmonic spectra, with the suggested harmonic controller, are shown in Figure 21. When comparing the output voltage waveforms in phase ‘a’, it is remarkable to see that by employing the multi-resonant harmonic _Energies_ 2018, _11_, 2688 22 of 26 compensator, the harmonics for voltages in the 3rd, 5th, 7th, 9th, 11th, and 13th harmonics are obviously suppressed. Figure 18. The waveform of load current and the associated current harmonic spectrum. THD: total harmonic distortion. Figure 19. Three-phase output currents and the neutral current of the four-leg inverter. _Energies_ 2018, _11_, 2688 23 of 26 Figure 20. Output voltage of phase ‘a’ and the associated voltage harmonic spectrum, without using the harmonic compensation loop. Figure 21. The output voltage of phase ‘a’ with the proposed harmonic compensation loop. The quality of the sinusoidal voltage waveforms in terms of THD is compared in Table 4. As can be observed in this table, the output voltage of the four-leg power converter remains sinusoidal after compensation, and the THD is reduced from 5.9 to 2.68%. Overall, the results of this part show that the _Energies_ 2018, _11_, 2688 24 of 26 per-phase multi-loop control strategy that consists of the cascaded voltage-current controller, and the multi-resonant harmonic compensator, has the ability to keep the output voltages of the DG balanced with low THD under the situation of unbalanced and nonlinear load. Table 4. Comparison of the output voltage THDs, with and without using the harmonic controller. Test Case Voltage THD (%) Without harmonic control 5.9 With the proposed harmonic control 2.68 6. Conclusions In this paper, an enhanced controller for a four-leg power converter under unbalanced and nonlinear load conditions has been presented. It is proposed using the per-phase average modeling of the four-leg inverter in the stationary and rotating reference frames. Initially, a novel decoupled model for the four-leg inverter is presented. Next, using an improved orthogonal signal generation method, the per-phase model of the four-leg inverter in the stationary and synchronous frame is derived. Then, a per-phase multi-loop control scheme for the four-leg inverter under unbalanced load conditions is suggested. Lastly, a multi-resonant harmonic compensator is used to actively prevent low-order harmonic currents. The proposed per-phase multi-loop control strategy has the ability to provide balanced output voltages under unbalanced load conditions by avoiding the need to deal with the symmetrical components. The proposed control strategy has presented outstanding voltage control performance, such as fast transient response, and short regulation time with no overshot under sudden load changes as well as tiny steady-state error under unbalanced load conditions. The superiority of the suggested control strategy over the conventional SCC-based control scheme is confirmed by the two line cycles decrease in the transient response, and the significant reduction in the value of the PVUR in the steady-state under various types of operation conditions. The multi-resonant harmonic compensator has also the ability to actively prevent low-order harmonic currents to distort the output voltages of the three-phase four-leg power converter. The compensation of both negative and zero sequence harmonics, simple control structure and insensitivity to frequency variations have given this control algorithm an edge over the conventional control strategies. The voltage THD of the grid-forming power converters were reduced from above 5.9% to lower than 2.68% with the proposed control strategy under nonlinear load conditions. Author Contributions: The authors have contributed equally to this work. The authors of this manuscript jointly have conceived the theoretical analysis, modeling, and obtained the simulation. Funding: This research was funded by the Ministry of Education (MOE) and Universiti Teknologi Malaysia under the Post-Doctoral Fellowship Schem grant number 4F828, 04E54, and 18H10. Conflicts of Interest: The authors declare no conflict of interest. References 1. Vasquez, L.O.P.; Meneses, C.A.C.; Martínez, A.P.; Redondo, J.L.; García, M.P.; Hervás, J.D.Á. Optimal Energy Management within a Microgrid: A Comparative Study. _Energies_ 2018, _11_, 2167. [[CrossRef]](http://dx.doi.org/10.3390/en11082167) 2. Miveh, M.R.; Rahmat, M.F.; Ghadimi, A.A.; Mustafa, M.W. Power quality improvement in autonomous microgrids using multi-functional voltage source inverters: A comprehensive review. _J. Power Electron._ 2015, _15_, 1054–1065. [[CrossRef]](http://dx.doi.org/10.6113/JPE.2015.15.4.1054) 3. Meng, X.; Wang, Q.; Zhou, N.; Xiao, S.; Chi, Y. Multi-Time Scale Model Order Reduction and Stability Consistency Certification of Inverter-Interfaced DG System in AC Microgrid. _Energies_ 2018, _11_ [, 254. [CrossRef]](http://dx.doi.org/10.3390/en11010254) 4. Rahmani-Andebili, M. Distributed generation placement planning modeling feeder’s failure rate and customer’s load type. _IEEE Trans._ _Ind._ _Electron._ 2016, _63_, 1598–1606. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2015.2498902) 5. Miveh, M.R.; Rahmat, M.F.; Ghadimi, A.A.; Mustafa, M.W. Control techniques for three-phase four-leg voltage source inverters in autonomous microgrids: A review. _Renew. Sustain. Energy Rev._ 2016, _54_ [, 1592–1610. [CrossRef]](http://dx.doi.org/10.1016/j.rser.2015.10.079) _Energies_ 2018, _11_, 2688 25 of 26 6. Asuhaimi Mohd Zin, A.; Naderipour, A.; Habibuddin, M.H.; Guerrero, J.M. Harmonic currents Compensator Grid-Connected Inverter at the Microgrid. _Electron._ _Lett._ 2016, _52_, 1714–1715. [[CrossRef]](http://dx.doi.org/10.1049/el.2016.1890) 7. Rahmani-Andebili, M. Stochastic, adaptive, and dynamic control of energy storage systems integrated with renewable energy sources for power loss minimization. _Renew._ _Energy_ 2017, _113_, 1462–1471. [[CrossRef]](http://dx.doi.org/10.1016/j.renene.2017.07.005) 8. Buduma, P.; Panda, G. Robust Nested Loop Control Scheme for LCL-Filtered Inverter-Based DG Unit in Grid-Connected and Islanded Microgrid Modes. _IET Renew._ _Power Gener._ 2018, _12_, 1269–1285. [[CrossRef]](http://dx.doi.org/10.1049/iet-rpg.2017.0803) 9. Chebabhi, A.; Fellah, M.K.; Kessal, A.; Benkhoris, M.F. Four leg dstatcom based on synchronous reference frame theory with enhanced phase locked loop for compensating a four wire distribution network under unbalanced pcc voltages and loads. _J. Power Technol._ 2016, _96_, 15–26. 10. Saroha, J.; Singh, M.; Jain, D.K. ANFIS Based Add-on Controller for Unbalance Voltage Compensation in Low Voltage Microgrid. _IEEE Trans._ _Ind._ _Inform._ 2018, _12_, 1269–1285. [[CrossRef]](http://dx.doi.org/10.1109/TII.2018.2803748) 11. Zarei, S.F.; Mokhtari, H.; Ghasemi, M.A. Enhanced control of grid forming VSCs in a micro-grid system under unbalanced conditions. In Proceedings of the 2018 9th Annual Power Electronics, Drives Systems and Technologies Conference (PEDSTC), Tehran, Iran, 13–15 February 2018; pp. 380–385. 12. _IEEE Recommended Practice for Monitoring Electric Power Quality_ ; IEEE Std. 1159; IEEE: Piscataway, NJ, USA, 2009. 13. _IEEE_ _Recommended_ _Practice_ _for_ _Electric_ _Power_ _Distribution_ _for_ _Industrial_ _Plants_ ; ANSI/IEEE Std. 141; IEEE: Piscataway, NJ, USA, 1993. 14. _IEEE Recommended Practices and Requirements for Harmonic Control in Electrical Power Systems_ ; IEEE Standard 519; IEEE: Piscataway, NJ, USA, 1992. 15. Safa, A.; Berkouk, E.M.; Messlem, Y.; Gouichiche, A. A robust control algorithm for a multifunctional grid tied inverter to enhance the power quality of a microgrid under unbalanced conditions. _Int._ _J. Electr._ _Power_ _Energy Syst._ 2018, _100_, 253–264. [[CrossRef]](http://dx.doi.org/10.1016/j.ijepes.2018.02.042) 16. Naderipour A, Zin AA, Habibuddin MH, Miveh MR, Guerrero JM. An improved synchronous reference frame current control strategy for a photovoltaic grid-connected inverter under unbalanced and nonlinear load conditions. _PLoS ONE_ 2017, _12_, e0164856. 17. Shuai, Z.; Peng, Y.; Guerrero, J.M.; Li, Y.; Shen, J.Z. Transient Response Analysis of Inverter-based Microgrids under Unbalanced Conditions using Dynamic Phasor Model. _IEEE Trans._ _Ind._ _Electr._ 2018 . [[CrossRef]](http://dx.doi.org/10.1109/TIE.2018.2844828) 18. Akinyele, D.; Belikov, J.; Levron, Y. Challenges of Microgrids in Remote Communities: A STEEP Model Application. _Energies_ 2018, _11_, 432. [[CrossRef]](http://dx.doi.org/10.3390/en11020432) 19. Bartolucci, L.; Cordiner, S.; Mulone, V.; Rocco, V.; Rossi, J.L. Hybrid renewable energy systems for renewable integration in microgrids: Influence of sizing on performance. _Energy_ 2018, _152_, 744–758. [[CrossRef]](http://dx.doi.org/10.1016/j.energy.2018.03.165) 20. Zhang, X.; Wang, J.; Li, C. Three-phase four-leg inverter based on voltage hysteresis control. In Proceedings of the 2010 International Conference on Electrical and Control Engineering (ICECE), Wuhan, China, 25–27 June 2010; pp. 4482–4485. 21. Chen, D.; Zhang, J.; Qian, Z. Research on fast transient and 6 _n ±_ 1 harmonics suppressing repetitive control scheme for three-phase grid-connected inverters. _IET Power Electr._ 2013, _6_, 601–610. [[CrossRef]](http://dx.doi.org/10.1049/iet-pel.2012.0348) 22. Yaramasu, V.; Rivera, M.; Narimani, M.; Wu, B.; Rodriguez, J. High performance operation for a four-leg NPC inverter with two-sample-ahead predictive control strategy. _Electr._ _Power Syst._ _Res._ 2015, _123_, 31–39. [[CrossRef]](http://dx.doi.org/10.1016/j.epsr.2015.01.017) 23. Naderipour, A.; Zin, A.M.; Habibuddin, M.H.; Guerrero, J.M. A control scheme to improve the power quality with the absence of dedicated compensation devices in microgrid. In Proceedings of the 2015 IEEE Student Conference on Research and Development (SCOReD), Kuala Lumpur, Malaysia, 13–14 December 2015; pp. 239–244. 24. Rahmani-Andebili, M. Cooperative Distributed Energy Scheduling in Microgrids. In _Electric Distribution_ _Network Management and Control_ ; Springer: Berlin, Germany, 2018; pp. 235–254. 25. Mi, Y.; Zhang, H.; Fu, Y.; Wang, C.; Loh, P.C.; Wang, P. Intelligent Power Sharing of DC Isolated Microgrid Based on Fuzzy Sliding Mode Droop Control. _IEEE Trans._ _Smart Grid_ 2018 . [[CrossRef]](http://dx.doi.org/10.1109/TSG.2018.2797127) 26. Nirmal, S.; Sivarajan, K.; Jasmin, E.; Nandakumar, M.; Jayanand, B. Steady state error elimination and harmonic compensation using proportional resonant current controller in grid-tied DC microgrids. In Proceedings of the 2018 International Conference on Power, Instrumentation, Control and Computing (PICC), Thrissur, India, 18–20 January 2018; pp. 1–5. _Energies_ 2018, _11_, 2688 26 of 26 27. Vechiu, I.; Etxeberria, A.; Tabart, Q. Power quality improvement using an advanced control of a four-leg multilevel converter. In Proceedings of the 2015 IEEE 16th Workshop on Control and Modeling for Power Electronics (COMPEL), Vancouver, BC, Canada, 12–15 July 2015; pp. 1–6. 28. Vechiu, I.; Curea, O.; Camblong, H. Transient operation of a four-leg inverter for autonomous applications with unbalanced load. _IEEE Trans._ _Power Electr._ 2010, _25_, 399–407. [[CrossRef]](http://dx.doi.org/10.1109/TPEL.2009.2025275) 29. Vechiu, I.; Camblong, H.; Tapia, G.; Dakyo, B.; Curea, O. Control of four leg inverter for hybrid power system applications with unbalanced load. _Energy Conver._ _Manag._ 2007, _48_, 2119–2128. [[CrossRef]](http://dx.doi.org/10.1016/j.enconman.2006.12.019) 30. Zhang, R.S. _High Performance Power Converter Systems for Nonlinear and Unbalanced Load/Source_ ; Virginia Tech: Blacksburg, VA, USA, 1998. 31. Gannett, R.; Sozio, J.; Boroyevich, D. Application of synchronous and stationary frame controllers for unbalanced and nonlinear load compensation in 4-leg inverters. In Proceedings of the Seventeenth Annual IEEE Applied Power Electronics Conference and Exposition, APEC 2002, Dallas, TX, USA, 10–14 March 2002; pp. 1038–1043. 32. Bahrani, B.; Rufer, A.; Kenzelmann, S.; Lopes, L.A. Vector control of single-phase voltage-source converters based on fictive-axis emulation. _IEEE Trans._ _Ind._ _Appl._ 2011, _47_, 831–840. [[CrossRef]](http://dx.doi.org/10.1109/TIA.2010.2101992) 33. Zhong, Q.-C.; Hornik, T. _Control of Power Inverters in Renewable Energy and Smart Grid Integration_ ; John Wiley & Sons: Hoboken, NJ, USA, 2012; Volume 97. © 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 147문단 · 59,578자

(제목 없음)

1This paper suggests an enhanced control scheme for a four-leg battery energy storage systems (BESS) under unbalanced and nonlinear load conditions operating in the isolated microgrid.Simplicity, tiny steady-state error, fast transient response, and low total harmonic distortion (THD) are the main advantages of the method.Firstly, a new decoupled per-phase model for the three-phase four-leg inverter is presented.It can eliminate the effect of power stage coupling on control design; thus, the three-phase four-leg power inverter can be viewed as three single input single output (SISO) control systems.Then, using an improved orthogonal signal generation method, the per-phase model of the four-leg inverter in the stationary and synchronous frame is derived.As the second step, a per-phase multi-loop control scheme for the four-leg inverter under unbalanced load conditions is suggested.The proposed control strategy has the ability to provide balanced output voltages under unbalanced load conditions by avoiding the need to deal with the symmetrical components.Finally, a multi-resonant harmonic compensator is used to actively prevent low-order harmonic currents to distort the output voltages of the three-phase four-leg grid-forming power converter.Simulations results are also presented to verify the performance of the suggested control strategy.

Introduction

2The isolated microgrids can be defined as a group of dispersed generators, communication systems, protection devices, sensitive loads, distributed energy storage systems (DESSs) and power electronic interfaces connected through a relatively small grid and isolated from the main grid [1][2][3][4].The distributed generations (DGs) and DESSs such as batteries and wind turbines must be equipped with power electronic interfaces to provide the required flexibility for isolated microgrids [5][6][7].Depending on the characteristics of the primary energy source and the role assigned to the DGs/DESSs, the inverter-based distributed energy resource (DER) can be operated either as grid-forming or grid-feeding units.

3voltages under unbalanced load conditions with a fast transient response, zero steady-state error without any sensitivity to frequency variations and low THD under nonlinear load conditions.

4An enhanced control strategy for a four-leg battery energy storage systems (BESS) operating in 4-wire isolated microgrid is suggested in this study.The average large signal model of the four-leg inverter in the abc reference frame is derived at first.Next, in order to independently control each phase of the four-leg grid-forming unit, a new decoupled per-phase model is presented.The proposed model can eliminate the effect of power stage coupling on control design.The next part focuses on proposing a multi-loop control scheme for grid-forming BESS operating in an isolated microgrid under unbalanced load conditions.This control strategy is proposed using the per-phase modeling of the four-leg VSC in the stationary and rotating reference frames.A multi-resonant harmonic controller is also used to actively prevent low-order harmonic currents to distort the output voltages.The paper is organized as follows: describes the modeling of a four-leg inverter.Per-phase voltage control strategy is presented in Section 3. The harmonic compensator is presented in Section 4. The results and discussion are presented in Section 5. Section 6 provides the conclusions.

Modeling of the Four-Leg Inverter

5The four-leg inverter can be obtained by adding an additional fourth leg to the conventional three-legged switching network.The power stage of a three-phase four-leg VSC with a neutral inductor (L n ) is shown in Figure 1.The LC filter parameter design and related calculations are given in [30].The modeling of the four-leg inverter has been discussed widely in the literature [31].However, most studies in this field have modeled the four-leg inverter by neglecting the coupling of the power stage on control design, which results in an unsatisfactory dynamic response.In this study, the average large signal model of a four-leg inverter in the abc reference frame is derived at first, and then the state-space model of the system is realized.Subsequently, a new decoupled per-phase model for the four-leg inverter is presented.It can be eliminated by the effect of power stage coupling on control design; consequently, the four-leg power inverter can be viewed as three single input single output (SISO) control systems.

6Energies 2018, 11, 2688 3 of 26 control scheme for a grid-forming power converter operating in an isolated microgrids to provide balanced output voltages under unbalanced load conditions with a fast transient response, zero steady-state error without any sensitivity to frequency variations and low THD under nonlinear load conditions.An enhanced control strategy for a four-leg battery energy storage systems (BESS) operating in 4-wire isolated microgrid is suggested in this study.The average large signal model of the four-leg inverter in the abc reference frame is derived at first.Next, in order to independently control each phase of the four-leg grid-forming unit, a new decoupled per-phase model is presented.The proposed model can eliminate the effect of power stage coupling on control design.The next part focuses on proposing a multi-loop control scheme for grid-forming BESS operating in an isolated microgrid under unbalanced load conditions.This control strategy is proposed using the per-phase modeling of the four-leg VSC in the stationary and rotating reference frames.A multi-resonant harmonic controller is also used to actively prevent low-order harmonic currents to distort the output voltages.The paper is organized as follows: Section 2 describes the modeling of a four-leg inverter.Per-phase voltage control strategy is presented in Section 3. The harmonic compensator is presented in Section 4. The results and discussion are presented in Section 5. Section 6 provides the conclusions.

7The four-leg inverter can be obtained by adding an additional fourth leg to the conventional three-legged switching network.The power stage of a three-phase four-leg VSC with a neutral inductor ( ) is shown in Figure 1.The LC filter parameter design and related calculations are given in [30].The modeling of the four-leg inverter has been discussed widely in the literature [31].However, most studies in this field have modeled the four-leg inverter by neglecting the coupling of the power stage on control design, which results in an unsatisfactory dynamic response.In this study, the average large signal model of a four-leg inverter in the abc reference frame is derived at first, and then the state-space model of the system is realized.Subsequently, a new decoupled per-phase model for the four-leg inverter is presented.It can be eliminated by the effect of power stage coupling on control design; consequently, the four-leg power inverter can be viewed as three single input single output (SISO) control systems.

Average Large Signal Model of the Four-Leg Inverter

8The need for long-time simulation and several switches can result in the non-linear behavior of the four-leg inverter.Since the switching study is out of the scope of this research, the average large signal model of the four-leg inverter is derived as depicted in Figure 2. To describe the operation of the four-leg inverter, a switching function can be defined as:

9The need for long-time simulation and several switches can result in the non-linear behavior of the four-leg inverter.Since the switching study is out of the scope of this research, the average large signal model of the four-leg inverter is derived as depicted in Figure 2. To describe the operation of the four-leg inverter, a switching function can be defined as: Using the AC voltage terminals and by neglecting the inherent resistance of the capacitors, the voltage and current equations of the average model in the abc reference frame can be written as:

10where , and are the output currents, − , − and − are the load currents, , and are the output voltages, and is the neutral current.The four-leg system is a six-order multi-input-multi-output (MIMO) system, including a total of six state variables (inductor currents and capacitor voltages of the LC filter), three line-to-duty ratios as inputs and three output AC voltages.Thus, it is difficult to control such complex six-order system.To cope with this problem, three channels in four-leg power converter should be completely decoupled to be viewed as three SISO control systems.The power stage of the four-leg inverter can be modelled according to the principles of the per-phase basis so that only a single-phase representation of the inverter is used for the analysis and design.However, due to the presence of an unlike coupling among three channels, the control of this type of inverter is very complicated.In the following, a new decoupled per-phase model for the four-leg power converter using an output voltage feedback path in each phase is presented.

Decoupled Per-Phase Model of the Four-Leg Inverter

11In this subsection, a new decoupled per-phase model for the four-leg inverter is presented.The four-leg system has six state variables, including three inductor currents and three output voltage capacitors.It also contains three line-to-duty ratios as inputs and three output voltages.By considering the load currents as disturbances, the state-space equation of the system can be obtained as follows:

12where Using the AC voltage terminals and by neglecting the inherent resistance of the capacitors, the voltage and current equations of the average model in the abc reference frame can be written as:

13where i la , i lb and i lc are the output currents, i load−a , i load−b and i load−c are the load currents, v AG , v BG and v CG are the output voltages, and i n is the neutral current.

14The four-leg system is a six-order multi-input-multi-output (MIMO) system, including a total of six state variables (inductor currents and capacitor voltages of the LC filter), three line-to-duty ratios as inputs and three output AC voltages.Thus, it is difficult to control such complex six-order system.To cope with this problem, three channels in four-leg power converter should be completely decoupled to be viewed as three SISO control systems.The power stage of the four-leg inverter can be modelled according to the principles of the per-phase basis so that only a single-phase representation of the inverter is used for the analysis and design.However, due to the presence of an unlike coupling among three channels, the control of this type of inverter is very complicated.In the following, a new decoupled per-phase model for the four-leg power converter using an output voltage feedback path in each phase is presented.

15In this subsection, a new decoupled per-phase model for the four-leg inverter is presented.The four-leg system has six state variables, including three inductor currents and three output voltage capacitors.It also contains three line-to-duty ratios as inputs and three output voltages.By considering the load currents as disturbances, the state-space equation of the system can be obtained as follows:

16.

17where

18T is load currents as the disturbance, and Y = [V AG V BG V CG ] T is the output of the system.Assume that L n = L /2 and r n = r C = r L = R, other matrixes in the state-space equations can be written as:

19The state-space equation for phase 'a' can be rewritten as:

20Energies 2018, 11, 2688 6 of 26

21As can be seen, in order to decouple the phase 'a' from the other channels, the coefficients of V CB and V CC must be zero.Assuming the input variables are:

22where V CA , V CB and V CC are the output voltage feedback paths, which can be added to the control scheme.K i (i = 1, 2, 3, . . .6) is an unknown variable, which must be determined for decoupling purpose.V * a f , V * b f and V * c f are also the control input variables.By rewriting the state-space equations for the other phases and substituting (5) into the state-space equations for three subsystems, six equations with six unknown components can be obtained as:

23This equation has a unique solution as follow:

24By considering the input variables as:

25, the matrixes in the state-space equation can be rewritten as:

26As can be observed, the four-leg inverter is partitioned into three single-phase subsystems.By neglecting the inherent resistance of capacitors, the state-space equation of each subsystem can be described as:

27where i l and V C are the inductance current and capacitor voltage in each phase, respectively.V i and i load are the input voltage and load current of each phase, respectively.The state-space equation of each subsystem describes the model of a single-phase inverter with the filter parameters as depicted in Figure 3. Therefore, the four-leg power inverter can be viewed as three SISO control systems.The voltage decoupling feedback path can be added to the control strategy in each phase to simplify the system modeling and design.The decoupled model of the four-leg inverter using the voltage decoupling feedback paths is depicted in Figure 4.It can be seen, each subsystem can be controlled independently using various controllers in different reference frames.In the following subsection, the per-phase control of the four-leg inverter in the rotating frame is presented.strategy in each phase to simplify the system modeling and design.The decoupled model of the four-leg inverter using the voltage decoupling feedback paths is depicted in Figure 4.It can be seen, each subsystem can be controlled independently using various controllers in different reference frames.In the following subsection, the per-phase control of the four-leg inverter in the rotating frame is presented.

Suggested Per-Phase Voltage Control Strategy in the Rotating Frame

28In the current research progress for the area of electrical power engineering, the control of four-leg power converters using symmetrical components in the rotating frame under unbalanced strategy in each phase to simplify the system modeling and design.The decoupled model of the four-leg inverter using the voltage decoupling feedback paths is depicted in Figure 4.It can be seen, each subsystem can be controlled independently using various controllers in different reference frames.In the following subsection, the per-phase control of the four-leg inverter in the rotating frame is presented.

29In the current research progress for the area of electrical power engineering, the control of four-leg power converters using symmetrical components in the rotating frame under unbalanced

30In the current research progress for the area of electrical power engineering, the control of four-leg power converters using symmetrical components in the rotating frame under unbalanced load conditions is a well-developed research topic.Despite the maturity, little attention has been given to the per-phase control of the four-leg inverter under unbalanced load circumstances.The main reason lies in the fact that the per-phase control of the four-leg inverter in the dq frame needs to create a virtual two-phase system in each subsystem to deal with the transformation from the stationary to the rotating frame.

31The Park transformation is a 2-2 transform that requires at least two independent phases in the stationary reference frame to convert components to the dq frame.However, the per-phase control of the four-leg inverter is not directly applicable in the dq frame due to the existence of only one phase in each subsystem.Indeed, the per-phase dq control of a four-leg power converter requires at least two independent phases in each subsystem to cope with the transformation between stationary and rotating frames.This challenge can be handled using an orthogonal imaginary component in each phase, which provides the second phase essential in each subsystem for the Park transformation.

32Since there exists only one available phase in each subsystem of the four-leg power converter, the transformation from the stationary to the rotating frame cannot be used easily for per-phase dq control, unless a second orthogonal phase is created for each subsystem.Several orthogonal signal generation methods have been proposed in the literature [32].However, complexity, inaccurate dynamic performance, sensitivity to parameter changes and inability to operate with variable grid frequencies are the main drawbacks of these techniques.To cope with these disadvantages, the orthogonal signal is generated based on the reference values of voltages in the d and q-axes.It can be implemented easily and provides high dynamic response.The structure of the employed orthogonal signal generation technique is demonstrated in Figure 5.As seen, the orthogonal components can be obtained as:

33where V * d and V * q are the refrence values of voltages in the dq frame,

34q ), θ is the phase angle of the grid and ψ is the angle of the αβ/dq transformation, which is equal to θ in the steady-state.

35Energies 2018, 11, 2688 8 of 26 the four-leg inverter is not directly applicable in the dq frame due to the existence of only one phase in each subsystem.Indeed, the per-phase dq control of a four-leg power converter requires at least two independent phases in each subsystem to cope with the transformation between stationary and rotating frames.This challenge can be handled using an orthogonal imaginary component in each phase, which provides the second phase essential in each subsystem for the Park transformation.

36Since there exists only one available phase in each subsystem of the four-leg power converter, the transformation from the stationary to the rotating frame cannot be used easily for per-phase dq control, unless a second orthogonal phase is created for each subsystem.Several orthogonal signal generation methods have been proposed in the literature [32].However, complexity, inaccurate dynamic performance, sensitivity to parameter changes and inability to operate with variable grid frequencies are the main drawbacks of these techniques.To cope with these disadvantages, the orthogonal signal is generated based on the reference values of voltages in the d and q-axes.It can be implemented easily and provides high dynamic response.The structure of the employed orthogonal signal generation technique is demonstrated in Figure 5.As seen, the orthogonal components can be obtained as:

37where The control scheme for the four-leg grid-forming unit is implemented using a double feedback loop control scheme in each phase.The structure of the suggested per-phase control scheme in three independent channels is presented in Figure 6.The control system block diagram shows:

•

38The four-leg inverter is partitioned into three single-phase subsystems using the proposed decoupled per-phase model.There exists an independent cascaded current-voltage controller in each subsystem that provides relevant phase control signals.

39The inner current control loop uses the filter capacitor current as a feedback signal.

40The inner current control loop is implemented in the stationary reference frame using a proportional controller.

41The outer voltage control loop uses the load voltage as a feedback signal.

42The outer voltage loop is implemented in the rotating frame using the PI controller.The control scheme for the four-leg grid-forming unit is implemented using a double feedback loop control scheme in each phase.The structure of the suggested per-phase control scheme in three independent channels is presented in Figure 6.The control system block diagram shows:

43The four-leg inverter is partitioned into three single-phase subsystems using the proposed decoupled per-phase model.There exists an independent cascaded current-voltage controller in each subsystem that provides relevant phase control signals.

44The inner current control loop uses the filter capacitor current as a feedback signal.

45The inner current control loop is implemented in the stationary reference frame using a proportional controller.

46The outer voltage control loop uses the load voltage as a feedback signal.

47The outer voltage loop is implemented in the rotating frame using the PI controller.As seen in Figure 6, the output voltage in each phase (, , ) is sampled and converted into the stationary reference frame using the orthogonal signal generation technique.Later, the load voltage quantities in the stationary reference frame ( ,,() , ,,() ) are converted into the dq rotating frame ( ,,() , ,,() ) using the Park transformation.The sin and cos terms required for the Park transformation are obtained from the output reference voltage with a second-order generalized integrator frequency-locked loop.The load voltage quantities are compared with the reference voltage values ( * , * ) in the synchronous reference frame to compensate using PI controllers in the rotating frame.In this regard, * is set at the peak value of the reference phase voltage, while * is set at 0 V.The outputs of the external voltage loop can be used as the reference signals for the current controller in each subsystem.The generated references for the inner current loops ( * , * ) via the outer voltage loop are then converted from the synchronous reference frame into the stationary reference frame.It should be noted here that the phase and amplitude characteristics of the PI controller in the dq frame are equivalent to the PR controller in the stationary reference frame due to the application of the Park transformation and the inverse Park transformation.

48In spite of the voltage controller, which is designed in the synchronous reference frame, the inner current control loop is implemented in the stationary reference frame.As can be seen, only α-axis quantities belong to the real system in the current controller.Therefore, only the real reference current ( * ) is fed to the current controller.In this control loop, the capacitor current is sampled, and then compared with the reference currents generated by the outer voltage controller.In the As seen in Figure 6, the output voltage in each phase (Voa, Vob, Voc) is sampled and converted into the stationary reference frame using the orthogonal signal generation technique.Later, the load voltage quantities in the stationary reference frame (V a,b,c(α) , V a,b,c(β) ) are converted into the dq rotating frame (V a,b,c(d) , V a,b,c(q) ) using the Park transformation.The sin θ and cos θ terms required for the Park transformation are obtained from the output reference voltage with a second-order generalized integrator frequency-locked loop.The load voltage quantities are compared with the reference voltage values (V * q , V * d ) in the synchronous reference frame to compensate using PI controllers in the rotating frame.In this regard, V * d is set at the peak value of the reference phase voltage, while V * q is set at 0 V.The outputs of the external voltage loop can be used as the reference signals for the current controller in each subsystem.The generated references for the inner current loops (i * cq , i * cd ) via the outer voltage loop are then converted from the synchronous reference frame into the stationary reference frame.It should be noted here that the phase and amplitude characteristics of the PI controller in the dq frame are equivalent to the PR controller in the stationary reference frame due to the application of the Park transformation and the inverse Park transformation.

49In spite of the voltage controller, which is designed in the synchronous reference frame, the inner current control loop is implemented in the stationary reference frame.As can be seen, only α-axis quantities belong to the real system in the current controller.Therefore, only the real reference current (i * cα ) is fed to the current controller.In this control loop, the capacitor current is sampled, and then compared with the reference currents generated by the outer voltage controller.In the stationary reference frame, the reference signals are sinusoidal; hence, a simple proportional controller can be used to ensure the excellent reference tracking and to achieve a zero steady-state error.

50In addition, a voltage feedforward path is added to the multi-loop controller in each phase to enhance the system robustness.Moreover, it has the ability to simplify the system modeling and controller design.The decoupling voltage feedback path is also added to the control scheme in each phase to eliminate the effect of power stage coupling on control design.Lastly, the output of the inner current loop is transformed into the natural reference frame and then divided by DC-link voltage.Note that the feedforward loop is included to consider the DC-link voltage value for the generation of the gate signals.Furthermore, the carrier-based pulse width modulator (PWM) method is used in this thesis to generate the inverter output voltage owing to its proper performance and ease of implementation.In this modulation method, the concept of offset voltage is implemented using a single carrier.The method has a strong performance and can be implemented easily.Therefore, it is used in this study to generate the inverter output voltage.

51In the proposed per-phase control strategy, the PI controller regulates the instantaneous output voltages in the rotating frame, whereas the simple proportional controller regulates the currents in the stationary reference frame.According to the basic principles of the control theory of cascaded control, the inner current and the outer voltage controllers can be designed separately as long as the dynamics of the voltage loop are designed to be slower than the current loop.

Multi-Resonant Harmonic Compensator

52The simplified model of the three-phase four-leg inverter suppling nonlinear loads is depicted in Figure 7.In this Figure , Z o refers to the output impedance of the inverter, i is the output current, v o is the output voltage and v r is the reference voltage.Assuming that there are harmonics in the output current (i).Hence, the output current can be written as:

53where ω is the system frequency, h is the harmonic order and ∅ h is the phase angle.Moreover, the h-th harmonic voltage dropped on the output impedance is

54Additionally, it is assumed that the inverter injects clean current and there is no harmonic voltage generated by reference voltage.Hence, v r can be written as:

55Energies 2018, 11, 2688 10 of 26 controller can be used to ensure the excellent reference tracking and to achieve a zero steady-state error.

56In addition, a voltage feedforward path is added to the multi-loop controller in each phase to enhance the system robustness.Moreover, it has the ability to simplify the system modeling and controller design.The decoupling voltage feedback path is also added to the control scheme in each phase to eliminate the effect of power stage coupling on control design.Lastly, the output of the inner current loop is transformed into the natural reference frame and then divided by DC-link voltage.Note that the feedforward loop is included to consider the DC-link voltage value for the generation of the gate signals.Furthermore, the carrier-based pulse width modulator (PWM) method is used in this thesis to generate the inverter output voltage owing to its proper performance and ease of implementation.In this modulation method, the concept of offset voltage is implemented using a single carrier.The method has a strong performance and can be implemented easily.Therefore, it is used in this study to generate the inverter output voltage.

57In the proposed per-phase control strategy, the PI controller regulates the instantaneous output voltages in the rotating frame, whereas the simple proportional controller regulates the currents in the stationary reference frame.According to the basic principles of the control theory of cascaded control, the inner current and the outer voltage controllers can be designed separately as long as the dynamics of the voltage loop are designed to be slower than the current loop.

58The simplified model of the three-phase four-leg inverter suppling nonlinear loads is depicted in Figure 7.In this Figure, o refers to the output impedance of the inverter, is the output current, o is the output voltage and is the reference voltage.Assuming that there are harmonics in the output current ().Hence, the output current can be written as:

59where is the system frequency, ℎ is the harmonic order and ∅ ℎ is the phase angle.

60Moreover, the ℎ-th harmonic voltage dropped on the output impedance is √2 ℎ | (ℎ)|.Additionally, it is assumed that the inverter injects clean current and there is no harmonic voltage generated by reference voltage.Hence, can be written as: Hence, the fundamental component of the output voltage can be also obtained as:

61where Hence, the fundamental component of the output voltage can be also obtained as:

62where

63The harmonic components in the output voltage can also be obtained using the harmonic current components and the output impedance at the harmonic frequencies as:

64In this regard, the THD of the output voltage of the inverter can be obtained as [33]:

65As seen, the THD is mainly affected by the output impedance at the harmonic frequencies.Therefore, it is feasible to optimize the design of the output impedance at high frequencies to minimize the THD of the output voltage.It can be achieved without affecting the impedance at the fundamental frequency.To obtain low THD for output voltage under highly distorted load conditions, a harmonic compensator is added to each subsystem as depicted in Figure 8.The transfer function of the harmonic compensator can be explained as:

66where k n is the gain of integrator for nth harmonic component and h is the highest harmonic order.The developed controller minimizes the output impedance of the inverter over the frequency range of the main harmonic current components.The suggested harmonic compensator in each phase provides notches in frequency response at the related frequency, thereby reducing the inverter output harmonic distortion.As the four-leg power converter operates in the three-phase four-wire microgrids, the number of harmonic integrator must be selected so that the controller can be handled both zero and negative sequence harmonics.Therefore, a harmonic compensator tuned at the 3rd, 5th, 7th, 9th, 11th, and 13th harmonic frequencies is used in each phase of the four-leg power converter.

Simulation Results

67To confirm the performance of the suggested per-phase multi-loop control strategy, the four-leg power converter operating in isolated mode is simulated using the DIgSILENT PowerFactory software.It is equipped with the proposed per-phase multi-loop control strategy.The desired voltage is 155.56V line-to-neutral peak at 60 Hz.All the electrical and controller parameters are given in Table 1.The performance of the suggested per-phase scheme is compared with the conventional SCC-based control strategy [27][28][29].The developed controller minimizes the output impedance of the inverter over the frequency range of the main harmonic current components.The suggested harmonic compensator in each phase provides notches in frequency response at the related frequency, thereby reducing the inverter output harmonic distortion.As the four-leg power converter operates in the three-phase four-wire microgrids, the number of harmonic integrator must be selected so that the controller can be handled both zero and negative sequence harmonics.Therefore, a harmonic compensator tuned at the 3rd, 5th, 7th, 9th, 11th, and 13th harmonic frequencies is used in each phase of the four-leg power converter.

68To confirm the performance of the suggested per-phase multi-loop control strategy, the four-leg power converter operating in isolated mode is simulated using the DIgSILENT PowerFactory software.It is equipped with the proposed per-phase multi-loop control strategy.The desired voltage is 155.56V line-to-neutral peak at 60 Hz.All the electrical and controller parameters are given in Table 1.The performance of the suggested per-phase scheme is compared with the conventional SCC-based control strategy [27][28][29].

Transient Performance

69In this simulation, while the four-leg unit is initially supplying a three-phase resistive load (8 Ω/ph), a single-phase inductive-resistive load (R = 20 Ω and L = 2 mH) is added between phase 'a' and 'c' at 0.3 s.After 0.2 s, the connected load between phase 'c' and the neutral line is changed from 8 to 5.7 Ω. Lastly, the nominal load between phase and the neutral line is disconnected at 0.7 s.

70The three-phase output voltages and currents of the four-leg inverter under varying unbalanced load changes, with the conventional control strategy, is depicted in Figure 9.This figure also shows the transient load voltages as zoomed figures.As can be observed from this figure, the load voltages and currents are initially balanced.Then, the load currents in phase 'a' and 'c' are increased by at least 3 line cycles transient due to the inclusion of the line-to-line load between phase 'a' and 'c' at 0.3 s.A large voltage sag is observed in the output voltages with this control strategy; however, it is restored with a slow transient response.Afterward, the connected load between phase 'c' and the neutral line is changed from 8 to 5.7 Ω at 0.5 s.Consequently, the currents in phase 'c' and the neutral current are gradually increased.Similarly, a large voltage sag emerges in the load voltages, and is restored slowly because of the sudden load change.

71Finally, the nominal load between phase 'a' and the neutral line is disconnected at 0.7 s; hence, the load current in phase 'a' and the neutral current are increased again with a slow transient response.As can be seen from the zoomed figure, the load disconnection leads to unequal voltage values on three-phases.Nevertheless, the output voltage values are restored with a slow transient response.It is apparent that the conventional control scheme can keep the load voltages balanced in the steady-state at all load unbalances considered in this simulation.However, at least 3 line cycles transient responses exist with this control scheme.This is because of the fact that the conventional SCC-based control scheme is implemented using multiple dq control loops.Moreover, the symmetrical components are calculated based on all-pass filters, thereby introducing significant delays, and slowing down the dynamic response of the multiple dq control loops.

72The three-phase output voltages and currents of the four-leg inverter under the situation of sudden load changes with the proposed per-phase multi-loop control strategy is depicted in Figure 10.For performance comparison, the transient load voltages are shown as zoomed figures.As seen in this figure, the load currents in phase 'a' and 'c' are sharply increased with 1 line cycle transient response after the connection of the line-to-line load between phases 'a' and 'c' at 0.3 s.Nevertheless, the neutral current does not exist for this unbalance condition.It is interesting to point out in this figure that the output voltages remain balanced without any voltage dip after the sudden load change.Subsequently, the currents in phase 'c' and the neutral current are sharply increased due to the connection of the load between phase 'c' and the neutral line at 0.5 s.Similarly, the output voltages remain balanced under this load changes.Lastly, the nominal load between phase 'a' and the neutral line is disconnected at 0.7 s.As can be observed, the load current in phase 'a' and the neutral current rapidly increases, while the load voltages can remain balanced.

73The results in demonstrate that the suggested per-phase multi-loop control strategy has the ability to balance the load voltages without any voltage variations under various combinations of unbalanced loads and the situation of sudden load changes.As shown from Figures 11-13, actual voltages (V d , V q ) are capable of tracking the reference voltages (V dre f , V qre f ) precisely in three phases ("a", "b" and "c"), when the current reference signal rapidly reacts to the voltage variations in the proposed control strategy.As can be observed from Figure 10, the suggested per-phase multi-loop control scheme shows an improved dynamic performance in comparison with the conventional control strategy.This is because it is implemented independently in each phase to compensate for the symmetrical components.As seen in Figure 10, the dynamic response of the suggested control scheme is very fast with 1 line cycle transient.

74The proposed per-phase multi-loop control strategy does not require computations for the symmetrical components of currents and voltages for unbalanced voltage compensation.Indeed, it is implemented without using low-pass or all-pass filters; thus, it is able to achieve a rapid transient response.Moreover, the current controller is implemented using the capacitor current feedback signal instead of the higher ampere inductor current.The inner current control loop in each phase uses the filter capacitor current as the direct feedback signal.Therefore, variations in the inner current loop for unbalanced compensation and sudden load changes occur faster.

75Table 2 compares the results obtained from this simulation, between the conventional control strategy, and the suggested multi-loop control strategy under unbalanced load conditions.As can be seen, there exist 3 line cycles transient with the conventional control scheme, while the dynamic response of the suggested control scheme is very fast, with only 1 line cycle transient.As shown in this table, the superiority of the suggested control scheme over the conventional SCC-based is confirmed by the 2 line cycles decrease in the transient response.In summary, these simulation results show that quick dynamic responses and fast regulation time with no overshoot are the main advantages of the proposed multi-loop control strategy.Table 2. Transient performance of two control strategies.

Control Method

76Transient Response to Load Changes Conventional control scheme 3 line cycles The proposed multi-loop control scheme 1 line cycle

Steady-State Performance

77The evaluation of the steady-state behavior of the suggested multi-loop control strategy is made for a balanced load ( = = = 8 Ω), and three various unbalanced load cases, which include Unb.#1: ( = 10 Ω, = 7 Ω, = 8 Ω), Unb.#2: ( = = 8 Ω, = ∞), and Unb.#3: ( = 8 Ω, = = ∞).

78The steady-state behavior of the four-leg power converter, equipped with the suggested multi-loop control strategy for the balanced load, is depicted in Figure 14.As seen, the output voltages and currents are balanced in the steady-state for this case because of the equal value of loading on each phase.Moreover, the neutral current does not exist for this balanced load.Figure 15 also demonstrates the load current and voltage waveforms for the three-phase Unb.#1 in the steady-state.It is observed that the load currents have unequal values.Moreover, the neutral current is not zero because of the connection to the three-phase unbalanced load.However, the proposed per-phase multi-loop control strategy has the ability to provide balanced output voltages in the steady-state under the unbalanced load.

79In case of an event in one of the phases in this three-phase 4-wire system, the other two phases can be used independently, after clearing the fault.Figure 16 illustrates the steady-state load current and voltage waveforms for the Unb.#2, in which only two phases are loaded.As seen in this figure, the output voltages remain balanced irrespective of the load in one of the phases that is different from the others.It is observed that the load currents are unbalanced, and there is a significant neutral current in the 4-wire system.Figure 17 depicts the load current and voltage waveforms for the Unb.#3.It is the worst case, in which only phase 'b' is loaded.As seen here, the load currents of phase 'a' and 'b' are zero, as only phase 'b' is loaded.It can be seen from the voltage waveform that

Control Method Transient Response to Load Changes

80Conventional control scheme 3 line cycles The proposed multi-loop control scheme 1 line cycle

Steady-State Performance

81The evaluation of the steady-state behavior of the suggested multi-loop control strategy is made for a balanced load (R A = R B = R c = 8 Ω), and three various unbalanced load cases, which include Unb.#

82The steady-state behavior of the four-leg power converter, equipped with the suggested multi-loop control strategy for the balanced load, is depicted in Figure 14.As seen, the output voltages and currents are balanced in the steady-state for this case because of the equal value of loading on each phase.Moreover, the neutral current does not exist for this balanced load.Figure 15 also demonstrates the load current and voltage waveforms for the three-phase Unb.#1 in the steady-state.It is observed that the load currents have unequal values.Moreover, the neutral current is not zero because of the connection to the three-phase unbalanced load.However, the proposed per-phase multi-loop control strategy has the ability to provide balanced output voltages in the steady-state under the unbalanced load.

83In case of an event in one of the phases in this three-phase 4-wire system, the other two phases can be used independently, after clearing the fault.Figure 16 illustrates the steady-state load current and voltage waveforms for the Unb.#2, in which only two phases are loaded.As seen in this figure, the output voltages remain balanced irrespective of the load in one of the phases that is different from the others.It is observed that the load currents are unbalanced, and there is a significant neutral current in the 4-wire system.Figure 17 depicts the load current and voltage waveforms for the Unb.#3.It is the worst case, in which only phase 'b' is loaded.As seen here, the load currents of phase 'a' and 'b' are zero, as only phase 'b' is loaded.It can be seen from the voltage waveform that the proposed per-phase multi-loop control strategy is capable of providing balanced output voltages under unbalanced load conditions, even when a single-phase load is connected to the microgrid.the proposed per-phase multi-loop control strategy is capable of providing balanced output voltages under unbalanced load conditions, even when a single-phase load is connected to the microgrid.It is interesting to note that the load voltages can be remained balanced in three various unbalanced load cases.For performance comparisons, the magnitudes of the fundamental components, and the PVUR of all various loads, for the conventional control strategy and the suggested control scheme are presented in Table 3.According to the IEEE standards, the PVUR the proposed per-phase multi-loop control strategy is capable of providing balanced output voltages under unbalanced load conditions, even when a single-phase load is connected to the microgrid.It is interesting to note that the load voltages can be remained balanced in three various unbalanced load cases.For performance comparisons, the magnitudes of the fundamental components, and the PVUR of all various loads, for the conventional control strategy and the suggested control scheme are presented in Table 3.According to the IEEE standards, the PVUR It is interesting to note that the load voltages can be remained balanced in three various unbalanced load cases.For performance comparisons, the magnitudes of the fundamental components, and the PVUR of all various loads, for the conventional control strategy and the suggested control scheme are presented in Table 3.According to the IEEE standards, the PVUR needs to be maintained at lower than 2% for sensitive loads [17].According to IEEE, PVUR is defined as: %PVUR = maximum voltage deviation f rom the average phase voltage average phase voltage × 100 (15) As can be observed from Table 3, the load voltages remain balanced in the steady-state for both the conventional and the proposed per-phase control schemes at all tested conditions.Additionally, the value of the PVUR is maintained below 2% at all tested conditions for both control schemes.However, the value of the PVUR is reduced with the proposed control scheme for the various load unbalance cases considered in this study.It can be seen from the table that the value of PVUR is reduced from 0.128 to 0.062% for the Unb.#1 with the proposed control strategy.This value is also reduced from 0.184 to 0.173% for the Unb.#2, with the proposed control strategy.Similarly, it is also reduced from 0.192 to 0.188% for the worst case, where the three-phase four-leg grid-forming unit has to supply a single-phase load.

84According to Table 3, the superiority of the proposed control strategy over the conventional control scheme is confirmed by the significant decreases in the value of PVUR for the various load unbalance cases considered in this study.As mentioned in the literature review, the tiny steady-state error can be ensured using a PI controller in the rotating frame.However, it is difficult to achieve zero steady-state error with the conventional SCC-based control strategy because of the presence of the line frequency and the double line frequency components at the output of the PI controller.The presence of the double line and line frequency components, which are the result of the negative and zero sequence components at the output of the PI controllers, can lead to non-zero steady-state error.In contrast, the proposed per-phase multi-loop control strategy is able to compensate voltage unbalance in each phase independently, thus avoiding the need to deal with the double line and line frequency components at the output of the PI controllers.Moreover, the stationary reference frame equivalent of the PI voltage controllers in the rotating frame can ensure a tiny steady-state error for the proposed multi-loop control strategy.As can be observed from Table 3, the load voltages remain balanced in the steady-state for both the conventional and the proposed per-phase control schemes at all tested conditions.Additionally, the value of the PVUR is maintained below 2% at all tested conditions for both control schemes.However, the value of the PVUR is reduced with the proposed control scheme for the various load unbalance cases considered in this study.It can be seen from the table that the value of PVUR is reduced from 0.128 to 0.062% for the Unb.#1 with the proposed control strategy.This value is also reduced from 0.184 to 0.173% for the Unb.#2, with the proposed control strategy.Similarly, it is also reduced from 0.192 to 0.188% for the worst case, where the three-phase four-leg grid-forming unit has to supply a single-phase load.

85According to Table 3, the superiority of the proposed control strategy over the conventional control scheme is confirmed by the significant decreases in the value of PVUR for the various load unbalance cases considered in this study.As mentioned in the literature review, the tiny steady-state error can be ensured using a PI controller in the rotating frame.However, it is difficult to achieve zero steady-state error with the conventional SCC-based control strategy because of the presence of the line frequency and the double line frequency components at the output of the PI controller.The presence of the double line and line frequency components, which are the result of the negative and zero sequence components at the output of the PI controllers, can lead to non-zero steady-state error.In contrast, the proposed per-phase multi-loop control strategy is able to compensate voltage unbalance in each phase independently, thus avoiding the need to deal with the double line and line frequency components at the output of the PI controllers.Moreover, the stationary reference frame equivalent of the PI voltage controllers in the rotating frame can ensure a tiny steady-state error for the proposed multi-loop control strategy.

Under Nonlinear Load Conditions

86To confirm the performance of the control strategy under nonlinear load conditions, the four-leg power converter is simulated using the DIgSILENT PowerFactory software.To validate the effectiveness of the suggested primary control strategy under nonlinear load conditions, a single-phase nonlinear load that consists of a diode rectifier bridge that feeds a 500 μF capacitor in parallel with a 30 Ω resistor, is connected between phase 'a' and the neutral line at the PCC.The four-leg power converter is equipped with the proposed multi-resonant harmonic voltage compensator.Figure 18 illustrates the nonlinear load current waveform and the associated harmonic spectra.The waveforms of the three-phase output currents and the neutral currents of the four-leg power converter under nonlinear load conditions are depicted in Figure 19.As can be observed, the output currents of the four-leg power converter is highly distorted with sharp spikes.

87The output voltages of phase 'a' in the four-leg power converter and their harmonic spectra, before compensation, is depicted in Figure 20.As seen, the output voltage of phase 'a' in four-leg power converter is distorted due to the connection of the single-phase nonlinear load.As observed, both negative and zero sequence harmonics can cause power quality difficulties in the output of the inverter.

88The output voltage of phase 'a' in the four-leg power converter and their harmonic spectra, with the suggested harmonic controller, are shown in Figure 21.When comparing the output voltage waveforms in phase 'a', it is remarkable to see that by employing the multi-resonant harmonic compensator, the harmonics for voltages in the 3rd, 5th, 7th, 9th, 11th, and 13th harmonics are obviously suppressed.

89To confirm the performance of the control strategy under nonlinear load conditions, the four-leg power converter is simulated using the DIgSILENT PowerFactory software.To validate the effectiveness of the suggested primary control strategy under nonlinear load conditions, a single-phase nonlinear load that consists of a diode rectifier bridge that feeds a 500 µF capacitor in parallel with a 30 Ω resistor, is connected between phase 'a' and the neutral line at the PCC.The four-leg power converter is equipped with the proposed multi-resonant harmonic voltage compensator.Figure 18 illustrates the nonlinear load current waveform and the associated harmonic spectra.The waveforms of the three-phase output currents and the neutral currents of the four-leg power converter under nonlinear load conditions are depicted in Figure 19.As can be observed, the output currents of the four-leg power converter is highly distorted with sharp spikes.

90The output voltages of phase 'a' in the four-leg power converter and their harmonic spectra, before compensation, is depicted in Figure 20.As seen, the output voltage of phase 'a' in four-leg power converter is distorted due to the connection of the single-phase nonlinear load.As observed, both negative and zero sequence harmonics can cause power quality difficulties in the output of the inverter.

91The output voltage of phase 'a' in the four-leg power converter and their harmonic spectra, with the suggested harmonic controller, are shown in Figure 21.When comparing the output voltage waveforms in phase 'a', it is remarkable to see that by employing the multi-resonant harmonic compensator, the harmonics for voltages in the 3rd, 5th, 7th, 9th, 11th, and 13th harmonics are obviously suppressed.The quality of the sinusoidal voltage waveforms in terms of THD is compared in Table 4.As can be observed in this table, the output voltage of the four-leg power converter remains sinusoidal after compensation, and the THD is reduced from 5.9 to 2.68%.Overall, the results of this part show that the per-phase multi-loop control strategy that consists of the cascaded voltage-current controller, The quality of the sinusoidal voltage waveforms in terms of THD is compared in Table 4.As can be observed in this table, the output voltage of the four-leg power converter remains sinusoidal after compensation, and the THD is reduced from 5.9 to 2.68%.Overall, the results of this part show that the per-phase multi-loop control strategy that consists of the cascaded voltage-current controller, The quality of the sinusoidal voltage waveforms in terms of THD is compared in Table 4.As can be observed in this table, the output voltage of the four-leg power converter remains sinusoidal after compensation, and the THD is reduced from 5.9 to 2.68%.Overall, the results of this part show that the per-phase multi-loop control strategy that consists of the cascaded voltage-current controller, and the multi-resonant harmonic compensator, has the ability to keep the output voltages of the DG balanced with low THD under the situation of unbalanced and nonlinear load.Table 4. Comparison of the output voltage THDs, with and without using the harmonic controller.

Test Case

92Voltage THD (%)

93Without harmonic control 5.9 With the proposed harmonic control 2.68

Conclusions

94In this paper, an enhanced controller for a four-leg power converter under unbalanced and nonlinear load conditions has been presented.It is proposed using the per-phase average modeling of the four-leg inverter in the stationary and rotating reference frames.Initially, a novel decoupled model for the four-leg inverter is presented.Next, using an improved orthogonal signal generation method, the per-phase model of the four-leg inverter in the stationary and synchronous frame is derived.Then, a per-phase multi-loop control scheme for the four-leg inverter under unbalanced load conditions is suggested.Lastly, a multi-resonant harmonic compensator is used to actively prevent low-order harmonic currents.The proposed per-phase multi-loop control strategy has the ability to provide balanced output voltages under unbalanced load conditions by avoiding the need to deal with the symmetrical components.The proposed control strategy has presented outstanding voltage control performance, such as fast transient response, and short regulation time with no overshot under sudden load changes as well as tiny steady-state error under unbalanced load conditions.The superiority of the suggested control strategy over the conventional SCC-based control scheme is confirmed by the two line cycles decrease in the transient response, and the significant reduction in the value of the PVUR in the steady-state under various types of operation conditions.The multi-resonant harmonic compensator has also the ability to actively prevent low-order harmonic currents to distort the output voltages of the three-phase four-leg power converter.The compensation of both negative and zero sequence harmonics, simple control structure and insensitivity to frequency variations have given this control algorithm an edge over the conventional control strategies.The voltage THD of the grid-forming power converters were reduced from above 5.9% to lower than 2.68% with the proposed control strategy under nonlinear load conditions.

Figure 1 .

95Figure 1.Power stage of a three-phase four-leg voltage source inverter.

96Figure 1.Power stage of a three-phase four-leg voltage source inverter.

1 ) 1 )Figure 2 .

97Figure 2. Average large-signal model of the four-leg inverter.

Figure 2 .

98Figure 2. Average large-signal model of the four-leg inverter.

Figure 3 .

99Figure 3. Per-phase representation of the four-leg inverter.

Figure 4 .

100Figure 4. Decoupled model of the four-leg pulse width modulation inverter.

Figure 3 .

101Figure 3. Per-phase representation of the four-leg inverter.

102Figure 3. Per-phase representation of the four-leg inverter.

Figure 4 .

103Figure 4. Decoupled model of the four-leg pulse width modulation inverter.

104Figure 4. Decoupled model of the four-leg pulse width modulation inverter.

105* and * are the refrence values of voltages in the dq frame, = √ * 2 + * 2 , = tan −1 ( * * ), is the phase angle of the grid and is the angle of the / transformation, which is equal to in the steady-state.

Figure 5 .

106Figure 5. Structure of the employed orthogonal signal generator.

107Figure 5. Structure of the employed orthogonal signal generator.

Energies 2018, 11 , 2688 9 of 26 Figure 6 .

108Figure 6.Proposed multi-loop voltage and current control strategy.

Figure 6 .

109Figure 6.Proposed multi-loop voltage and current control strategy.

Figure 7 .

110Figure 7. Simplified model of the three-phase four-leg inverter.

111Figure 7. Simplified model of the three-phase four-leg inverter.

Figure 8 .

112Figure 8. Proposed harmonic compensator.

113Figure 8. Proposed harmonic compensator.

Figure 9 .

114Figure 9. Output voltages and currents with the conventional control strategy under suddenly load changes.

Figure 9 . 26 Figure 10 .

115Figure 9. Output voltages and currents with the conventional strategy under suddenly load changes.

Figure 10 .

116Figure 10.Output voltages and currents with the proposed control strategy under suddenly load changes.

Figure 11 .

117Figure 11.Reference and actual voltages of the four-leg grid-forming unit in phase 'a' in the rotating frame with the proposed control strategy.

Figure 12 .

118Figure 12.Reference and actual voltages of the four-leg grid-forming unit in phase 'b' in the rotating frame with the proposed control strategy.

Figure 11 . 26 Figure 11 .

119Figure 11.Reference and actual voltages of the four-leg grid-forming unit in phase 'a' in the rotating frame with the proposed control strategy.

Figure 12 .

120Figure 12.Reference and actual voltages of the four-leg grid-forming unit in phase 'b' in the rotating frame with the proposed control strategy.

121Figure 12.Reference and actual voltages of the four-leg grid-forming unit in phase 'b' in the rotating frame with the proposed control strategy.

Figure 13 .

122Figure 13.Reference and actual voltages of the four-leg grid-forming unit in phase 'c' in the rotating frame with the proposed control strategy.

123Figure 13.Reference and actual voltages of the four-leg grid-forming unit in phase 'c' in the rotating frame with the proposed control strategy.

Figure 14 .

124Figure 14.Output three-phase voltages and currents for the balanced load.

Figure 15 .

125Figure 15.Output three-phase voltages and currents for Unb.#1.

Figure 14 .

126Figure 14.Output three-phase voltages and currents for the balanced load.

127Figure 14.Output three-phase voltages and currents for the balanced load.

Figure 15 .

128Figure 15.Output three-phase voltages and currents for Unb.#1.

129Figure 15.Output three-phase voltages and currents for Unb.#1.

Figure 16 .

130Figure 16.Output three-phase voltages and currents for Unb.#2.Figure 16.Output three-phase voltages and currents for Unb.#2.

131Figure 16.Output three-phase voltages and currents for Unb.#2.Figure 16.Output three-phase voltages and currents for Unb.#2.

Figure 17 .

132Figure 17.Output three-phase voltages and currents for Unb.#3.

133Figure 17.Output three-phase voltages and currents for Unb.#3.

Energies 2018, 11 , 2688 22 of 26 Figure 18 .

134Figure 18.The waveform of load current and the associated current harmonic spectrum.THD: total harmonic distortion.

Figure 19 .

135Figure 19.Three-phase output currents and the neutral current of the four-leg inverter.

Figure 18 . 26 Figure 18 .

136Figure 18.The waveform of load current and the associated current harmonic spectrum.THD: total harmonic distortion.

Figure 19 .

137Figure 19.Three-phase output currents and the neutral current of the four-leg inverter.Figure 19.Three-phase output currents and the neutral current of the four-leg inverter.

138Figure 19.Three-phase output currents and the neutral current of the four-leg inverter.Figure 19.Three-phase output currents and the neutral current of the four-leg inverter.

Figure 20 .

139Figure 20.Output voltage of phase 'a' and the associated voltage harmonic spectrum, without using the harmonic compensation loop.

Figure 21 .

140Figure 21.The output voltage of phase 'a' with the proposed harmonic compensation loop.

Figure 20 . 26 Figure 20 .

141Figure 20.Output voltage of phase 'a' and the associated voltage harmonic spectrum, without using the harmonic compensation loop.

Figure 21 .

142Figure 21.The output voltage of phase 'a' with the proposed harmonic compensation loop.

143Figure 21.The output voltage of phase 'a' with the proposed harmonic compensation loop.

Table 1 .

144Electrical and controller parameters of three-phase four-leg inverter.

Table 2 .

145Transient performance of two control strategies.

Table 3 .

146Comparison between two control strategies in the steady-state.

147Comparison between two control strategies in the steady-state.

참고문헌 28건

  1. Power quality improvement using an advanced control of a four-leg multilevel converter 2015 10.1109/compel.2015.7236486
  2. Control of four leg inverter for hybrid power system applications with unbalanced load Energy Conversion and Management · Elsevier BV · 2007 10.1016/j.enconman.2006.12.019
  3. High performance operation for a four-leg NPC inverter with two-sample-ahead predictive control strategy Electric Power Systems Research · Elsevier BV · 2015 10.1016/j.epsr.2015.01.017
  4. Three-Phase Four-Leg Inverter Based on Voltage Hysteresis Control International Conference on Electrical and Control Engineering · 2010 10.1109/icece.2010.1091
  5. Research on fast transient and 6 <i>n</i> ±1 harmonics suppressing repetitive control scheme for three‐phase grid‐connected inverters IET Power Electronics · Institution of Engineering and Technology · 2013 10.1049/iet-pel.2012.0348
  6. Vector Control of Single-Phase Voltage-Source Converters Based on Fictive-Axis Emulation IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2010 10.1109/tia.2010.2101992
  7. Transient Operation of a Four-Leg Inverter for Autonomous Applications With Unbalanced Load IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2009 10.1109/tpel.2009.2025275
  8. Control techniques for three-phase four-leg voltage source inverters in autonomous microgrids: A review Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.10.079
  9. Power Quality Improvement in Autonomous Microgrids Using Multi-functional Voltage Source Inverters: A Comprehensive Review Journal of Power Electronics · Springer Science+Business Media · 2015 10.6113/jpe.2015.15.4.1054
  10. Distributed Generation Placement Planning Modeling Feeder’s Failure Rate and Customer’s Load Type IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tie.2015.2498902
  11. A control scheme to improve the power quality with the absence of dedicated compensation devices in microgrid 2015 10.1109/scored.2015.7449332
  12. Four Leg DSTATCOM based on Synchronous Reference Frame Theory with Enhanced Phase Locked Loop for Compensating a Four Wire Distribution Network under Unbalanced PCC Voltages and Loads 2016
  13. Control of Power Inverters in Renewable Energy and Smart Grid Integration 2012 10.1002/9781118481806
  14. Harmonic currents compensator GCI at the microgrid Electronics Letters · Institution of Engineering and Technology · 2016 10.1049/el.2016.1890
  15. An improved synchronous reference frame current control strategy for a photovoltaic grid-connected inverter under unbalanced and nonlinear load conditions PLoS ONE · Public Library of Science · 2017 10.1371/journal.pone.0164856
  16. Stochastic, adaptive, and dynamic control of energy storage systems integrated with renewable energy sources for power loss minimization Renewable Energy · Elsevier BV · 2017 10.1016/j.renene.2017.07.005
  17. Multi-Time Scale Model Order Reduction and Stability Consistency Certification of Inverter-Interfaced DG System in AC Microgrid Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11010254
  18. Intelligent Power Sharing of DC Isolated Microgrid Based on Fuzzy Sliding Mode Droop Control IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2018 10.1109/tsg.2018.2797127
  19. Challenges of Microgrids in Remote Communities: A STEEP Model Application Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11020432
  20. ANFIS-Based Add-On Controller for Unbalance Voltage Compensation in a Low-Voltage Microgrid IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tii.2018.2803748
  21. A robust control algorithm for a multifunctional grid tied inverter to enhance the power quality of a microgrid under unbalanced conditions International Journal of Electrical Power & Energy Systems · Elsevier BV · 2018 10.1016/j.ijepes.2018.02.042
  22. Hybrid renewable energy systems for renewable integration in microgrids: Influence of sizing on performance Energy · Elsevier BV · 2018 10.1016/j.energy.2018.03.165
  23. Cooperative Distributed Energy Scheduling in Microgrids Power systems · Springer Nature · 2018 10.1007/978-981-10-7001-3_9
  24. Enhanced control of grid forming VSCs in a micro-grid system under unbalanced conditions 2018 10.1109/pedstc.2018.8343827
  25. Robust nested loop control scheme for LCL‐filtered inverter‐based DG unit in grid‐connected and islanded modes IET Renewable Power Generation · Institution of Engineering and Technology · 2018 10.1049/iet-rpg.2017.0803
  26. Transient Response Analysis of Inverter-Based Microgrids Under Unbalanced Conditions Using a Dynamic Phasor Model IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2844828
  27. Steady state error elimination and harmonic compensation using proportional resonant current controller in grid-tied DC microgrids 2020 International Conference on Power, Instrumentation, Control and Computing (PICC) · 2018 10.1109/picc.2018.8384750
  28. Optimal Energy Management within a Microgrid: A Comparative Study Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11082167