# A Five-Level H-Bridge STATCOM for an Off-Grid PV Solar Farm under Two Controllers PI and PIλ-MPC Hybrid

Authors: Onur Ozdal Mengi
Journal: International Journal of Photoenergy
 (2018)

---

## Abstract

Investigations were presented in order to eliminate the reactive power on microgrid loads fed by an off-grid and mid-power photovoltaic solar energy system (PVSES) with a static synchronous compensator (STATCOM) device. The electric network is specifically characterized by P-Q loads, ambient temperature, and widely variable solar radiation levels. Two main innovations are developed. Firstly, the STATCOM apparatus is a 5-level H-bridge inverter with capacitances as load and must totally compensates the reactive power in the network load. Secondly, this compensation is controlled by a set of fractional PI (PIλ) and model predictive control (MPC) hybrid. The efficiencies of these controllers were compared with classical PI controllers. Large simulations, without and with reactive power compensation, in steady and transient states, are carried out to underline the merits of the presented works, by performing in the MATLAB-Simulink environment.


---

## Body

## 1. Introduction

The sun warms our planet with the resulting energy released from nuclear explosions taken place within itself and makes our planet a place to live for people, animals, and plants. The sun, which is our source of life along with the rapid progress of technology, now also serves as an energy source. Photovoltaic solar cells are systems that convert solar energy from sunlight into electricity and thus produce electricity. Solar cells come together to form panels, and the panels come together to form PVSESs [1]. The solar panels generate DC voltage at the output. The DC voltage and power obtained from the solar panels are used to feed either DC loads or AC loads by converting it to AC voltage via an inverter. Various solar cell production techniques and materials have been developed. There are many solar panels made of numerous materials such as amorphous silicon, copper indium gallium selenide, and cadmium telluride [2]. The costs and efficiencies of these panels are quite different. Nowadays, solar cells yielding 35% of efficiency have been produced [3].Large scale applications have become more economical with the development of solar panel production techniques, the increase in production, and also the increase in panel power values and yields [4]. As a result of these, large power plants have been begun to build from large scale photovoltaic solar panels [5]. These power plants are on-grid or off-grid [6]. In off-grid PVSESs, compensation must be applied to the system for reducing harmonics caused by the loads having reactive power and preventing injecting of the reactive power from the source [7, 8]. There are many different compensation techniques. Among them, voltage source converter- (VSC-) based compensators are the Static VAR Compensator (SVC), STATCOM, Thyristor Controlled Series Compensator (TCSC), Static Synchronous Series Compensator (SSSC), and Unified Power Flow Controller (UPFC) [9]. STATCOMs are one of the dynamic systems capable of doing this [10, 11]. STATCOMs are able to do compensation by appropriately switching the reactive power generated by capacitors. In general, IGBT, thyristor, and transistor are used for switching. These components are switched by techniques such as Pulse Width Modulation (PWM) and Sinusoidal Pulse Width Modulation (SPWM) [12]. There are different topologies in the inner structure of the STATCOM. These systems, which are usually multilevel inverters, are switched by appropriate control techniques. Current source, voltage source, impedance source, quasi impedance source inverters, and multilevel inverters are commonly used [13]. These inverters are controlled by using classical and advanced control methods such as a PID controller [14], fuzzy logic controllers [15], fractional PID [16], artificial neural networks [17], vector control methods [18], model predictive control [19], and genetic algorithms [20].The innovation carried out by this study is the implementation of a five-level H inverter for the STATCOM converter (including 24 IGBT-s transistors). In addition, this device allows eliminating the load reactive powers, to regulate the network voltage by increasing its efficiency and reducing harmonics contained in the electric network. The plant is fed by an off-grid photovoltaic solar power generation system, and the STATCOM converter is controlled by PIλ and MPC. The efficiency of the obtained advanced control structure was compared using classical PI controllers. The voltages on loads were tried to keep constant at a value of 380 V/50 Hz with a classical 2-level three-phase voltage. It has been tried to create challenging conditions by continuously changing the loads, ambient temperature, and the solar irradiation level. In this environment, the performances of the controllers were tested and the contribution of the advanced control techniques was addressed by comparing the results obtained. All of the simulation was performed in the MATLAB/Simulink environment.This paper is organized in four sections. Section1 contains the introduction. The STATCOM device and controllers are described in Section 2. Section 3 presents simulation results. The last section gives some remarks and conclusion.


## 2. Materials and Methods

The overall scheme of the proposed PVSES and STATCOM system was given in Figure1. The system consisted of solar panels, filters, inverters, loads, measuring components, and a STATCOM device.Figure 1
PVSES with a STATCOM device.The solar panels contained 25 parallel branches and 40 panels in each branch. The PV solar panels’ output filter has a 6.5μF capacitor. The voltage obtained from these panels was converted to 380 V/50 Hz AC voltage through a 2-level inverter before passing from a filter. The two-level inverter output filter consisted of a 22 μF capacitor and 2 mH inductance. This inverter is switched using PI controllers, and carrier frequency is 2 kHz.The STATCOM device consisted of 5-level H-bridge IGBTs, capacitors, and a control unit. These controllers here were used to control the capacitor voltages and IGBTs. Capacitor voltage was controlled by PIλ, and IGBTs were controlled by MPC. The STATCOM device was connected to point of common coupling (PCC) via a coupling inductance. Different resistive and motor loads were used as loads.


### 2.1. PV System

Photovoltaic solar cells are semiconductor components that turn solar light to electrical energy. There are different equivalent circuit models. The equivalent circuit model with one diode of a solar panel is seen in Figure2 [21, 22].Figure 2
Equivalent circuit model of a PV solar cell.The output voltage of the PV cell is as in (1) [23].
(1)VPV=NλlnISC−IPV+MI0MI0−NMRsIPV.Descriptions of the variables used here are seen in Table1.Table 1
The descriptions for the PV cell.
Expression
Definition
Unit
VPV
Cell output voltage
V
IPH
Photocurrent, function of irradiation level, and junction of temperature
A
IPV
Cell output current
A
ISC
Cell short-circuit current
A
I0
Reverse saturation current
A
RS
Series resistance of the cell
Ω
N
Series cells per string
λ
Constant coefficient and depends upon the cell material
M
Parallel strings


### 2.2. STATCOM Device

A STATCOM is a parallel-connected static synchronous compensator. The STATCOM is a FACTS device that continuously supplies reactive power to or injects reactive power from the system that it is connected. STATCOM has important features such as having a fast response time and fewer space requirements and showing very good dynamic characteristic under different operating conditions [24].The active and reactive power exchanges between the STATCOM and the system are given by (2).
(2)Pst=VstVsXstsinδ,Qst=VsXstVs−Vstcosδ.Vs is system voltage, Vst is STATCOM voltage, and δ is the phase angle between Vst and Vs. Xst is reactance between the STATCOM and the system. Lst is an inductive part of the Xst.The basic structure of the STATCOM device is shown in Figure3.Figure 3
Basic structure of the STATCOM device.The values of the passive elements of the STATCOM are calculated in (3) and (4).
(3)Cdc=2·IRMSω·∆Vpp1−sinarccosMmaxπ4.IRMS is the RMS value of the system current, ΔVpp is peak to peak variation of the three-phase system voltage, Mmax is the maximum value of the modulation index.
(4)VDC8fsnLevel−1∆Ir≤L≤Vst−VsIload_fωIst.VDC is DC voltage of the STATCOM, fs is PWM frequency, ∆Ir is current ripple, Vst is VSI voltage, Vs is system voltage, Iload_f is the fundamental harmonic component of the load current, ω is angular velocity, Ist is the RMS value of VSI output current, and nLevel is the number of the inverter level [25, 26].In this study, the five-level H-bridge STATCOM device is used. The reason of this, 3-level inverters give lower quality results and 7-level inverters have much more complicated results because of using too much IGBTs.


### 2.3. STATCOM Device Control Structure with a Classical PI Controller

Various structures for the STATCOM device control are used in literature. One of them is the indirect current control method [26]. In this method, generally, classical PI controllers are used. This control structure is shown in Figure 4.Figure 4
General block diagram of an indirect current controller.In Figure4, Iload_q is defined as the reactive component of load current.


### 2.4. Fractional PID Controller (PIλDμ)

PIλDμ controllers are advanced controllers that can give better results than classical PI controllers. They are widely used because they are able to adjust more precisely than PID controllers. The best knowns are the descriptions of Caputo, Grunwald-Letkinov, and Reimann-Liouville [27, 28]. The PIλDμ controller general block diagram is shown in Figure 5.Figure 5
General block diagram of a PIλDμ controller.System output,C(s), is as seen in (5).
(5)Cs=UsEs=KP+KIsλ+KDsμ.Here,λ and μ≥0. λ is the order of integration, and μ is the order of the differentiator. KP, KI, and KD are the PID controller gains. U(s) and E(s) are the control and error signals, respectively. In this study, PIλDμ controller software was performed by FOMCON toolbox [29].


### 2.5. Model Predictive Controller (MPC)

MPC is a control technique designed on the basis of the prediction of behavior of the systems in the next step. It is aimed at estimating the next possible switching states and providing the selection of switching that minimizes the error over the existing states. To achieve this, a correct model of the system has to be revealed. At each sampling time, the control of a particular topology defines a cost function that is minimized as an optimization problem. The general application of MPC in the STATCOM device is as shown in Figure6.Figure 6
Block diagram of MPC for the STATCOM device.MPC generally consists of two groups: finite control set MPC and continuous control set MPC. They are divided into two groups among themselves. Finite control set MPC is divided into optimal switching vector MPC and optimal switching sequence MPC, and continuous control set MPC is divided into generalized predictive control and explicit MPC. In the simulation, an optimal switching vector MPC technique was used because it does not need a modulator and fixed switching frequency, it is intuitive, and it can perform online optimization [30]. The predictive control technique can be used easily in multilevel STATCOM applications.For multilevel STATCOMs, the AC side equality is as in (6).
(6)Vsabc=Lstddtistabc+Rstistabc+Vstabc.Ifistabc is extracted and discretized from (6), its next value can be computed from (7).
(7)istabck+1=1−TsRstLstistabck+TsLstVsabck−Vstabck.Here,Ts is the sampling time. k expresses the current states of the variables. k + 1 is used to predict the future behavior of the system. Rst is a coupling resistor, Lst is a coupling inductance, istabc is 3-phase STATCOM current, Vsabc is 3-phase grid voltage, and Vstabc is 3-phase STATCOM voltage.A cost function should then be used. This cost function should evaluate the all possible switching combinations, choose the option minimizing cost function, and apply it in the next step. The cost function used to minimize the current error is as in (8) [31].
(8)g=istabc,refk+1−istabck+1.


## 2.1. PV System

Photovoltaic solar cells are semiconductor components that turn solar light to electrical energy. There are different equivalent circuit models. The equivalent circuit model with one diode of a solar panel is seen in Figure2 [21, 22].Figure 2
Equivalent circuit model of a PV solar cell.The output voltage of the PV cell is as in (1) [23].
(1)VPV=NλlnISC−IPV+MI0MI0−NMRsIPV.Descriptions of the variables used here are seen in Table1.Table 1
The descriptions for the PV cell.
Expression
Definition
Unit
VPV
Cell output voltage
V
IPH
Photocurrent, function of irradiation level, and junction of temperature
A
IPV
Cell output current
A
ISC
Cell short-circuit current
A
I0
Reverse saturation current
A
RS
Series resistance of the cell
Ω
N
Series cells per string
λ
Constant coefficient and depends upon the cell material
M
Parallel strings


## 2.2. STATCOM Device

A STATCOM is a parallel-connected static synchronous compensator. The STATCOM is a FACTS device that continuously supplies reactive power to or injects reactive power from the system that it is connected. STATCOM has important features such as having a fast response time and fewer space requirements and showing very good dynamic characteristic under different operating conditions [24].The active and reactive power exchanges between the STATCOM and the system are given by (2).
(2)Pst=VstVsXstsinδ,Qst=VsXstVs−Vstcosδ.Vs is system voltage, Vst is STATCOM voltage, and δ is the phase angle between Vst and Vs. Xst is reactance between the STATCOM and the system. Lst is an inductive part of the Xst.The basic structure of the STATCOM device is shown in Figure3.Figure 3
Basic structure of the STATCOM device.The values of the passive elements of the STATCOM are calculated in (3) and (4).
(3)Cdc=2·IRMSω·∆Vpp1−sinarccosMmaxπ4.IRMS is the RMS value of the system current, ΔVpp is peak to peak variation of the three-phase system voltage, Mmax is the maximum value of the modulation index.
(4)VDC8fsnLevel−1∆Ir≤L≤Vst−VsIload_fωIst.VDC is DC voltage of the STATCOM, fs is PWM frequency, ∆Ir is current ripple, Vst is VSI voltage, Vs is system voltage, Iload_f is the fundamental harmonic component of the load current, ω is angular velocity, Ist is the RMS value of VSI output current, and nLevel is the number of the inverter level [25, 26].In this study, the five-level H-bridge STATCOM device is used. The reason of this, 3-level inverters give lower quality results and 7-level inverters have much more complicated results because of using too much IGBTs.


## 2.3. STATCOM Device Control Structure with a Classical PI Controller

Various structures for the STATCOM device control are used in literature. One of them is the indirect current control method [26]. In this method, generally, classical PI controllers are used. This control structure is shown in Figure 4.Figure 4
General block diagram of an indirect current controller.In Figure4, Iload_q is defined as the reactive component of load current.


## 2.4. Fractional PID Controller (PIλDμ)

PIλDμ controllers are advanced controllers that can give better results than classical PI controllers. They are widely used because they are able to adjust more precisely than PID controllers. The best knowns are the descriptions of Caputo, Grunwald-Letkinov, and Reimann-Liouville [27, 28]. The PIλDμ controller general block diagram is shown in Figure 5.Figure 5
General block diagram of a PIλDμ controller.System output,C(s), is as seen in (5).
(5)Cs=UsEs=KP+KIsλ+KDsμ.Here,λ and μ≥0. λ is the order of integration, and μ is the order of the differentiator. KP, KI, and KD are the PID controller gains. U(s) and E(s) are the control and error signals, respectively. In this study, PIλDμ controller software was performed by FOMCON toolbox [29].


## 2.5. Model Predictive Controller (MPC)

MPC is a control technique designed on the basis of the prediction of behavior of the systems in the next step. It is aimed at estimating the next possible switching states and providing the selection of switching that minimizes the error over the existing states. To achieve this, a correct model of the system has to be revealed. At each sampling time, the control of a particular topology defines a cost function that is minimized as an optimization problem. The general application of MPC in the STATCOM device is as shown in Figure6.Figure 6
Block diagram of MPC for the STATCOM device.MPC generally consists of two groups: finite control set MPC and continuous control set MPC. They are divided into two groups among themselves. Finite control set MPC is divided into optimal switching vector MPC and optimal switching sequence MPC, and continuous control set MPC is divided into generalized predictive control and explicit MPC. In the simulation, an optimal switching vector MPC technique was used because it does not need a modulator and fixed switching frequency, it is intuitive, and it can perform online optimization [30]. The predictive control technique can be used easily in multilevel STATCOM applications.For multilevel STATCOMs, the AC side equality is as in (6).
(6)Vsabc=Lstddtistabc+Rstistabc+Vstabc.Ifistabc is extracted and discretized from (6), its next value can be computed from (7).
(7)istabck+1=1−TsRstLstistabck+TsLstVsabck−Vstabck.Here,Ts is the sampling time. k expresses the current states of the variables. k + 1 is used to predict the future behavior of the system. Rst is a coupling resistor, Lst is a coupling inductance, istabc is 3-phase STATCOM current, Vsabc is 3-phase grid voltage, and Vstabc is 3-phase STATCOM voltage.A cost function should then be used. This cost function should evaluate the all possible switching combinations, choose the option minimizing cost function, and apply it in the next step. The cost function used to minimize the current error is as in (8) [31].
(8)g=istabc,refk+1−istabck+1.


## 3. Results and Discussion

Firstly, the installed system was run without the STATCOM device. What happened in this case was investigated. Then, the STATCOM device with a PI controller and finally the PIλ-MPC hybrid controller were used, and their results were shown. In all the simulations, the total power of the photovoltaic solar panels and the system used in PVSES were kept same.


### 3.1. Data of PV Panels

The solar panels are commercially available and have the characteristics as defined in Table2. The passive elements of the STATCOM device consist of 4700 μF capacitors and of coupling inductance with 56 mΩ and 12 mH [32]. In Figure 7 are shown the exploitation curves of each panel and the set of panels (40 in series and 25 in parallel).Table 2
Photovoltaic solar panel parameters.
Value
Unit
Open-circuit voltage
36.3 V
Short-circuit current
7.84 A
Maximum power
213.15 W
Voltage at maximum power point
29 V
Current at maximum power point
7.35 Α
Temperature coefficient of short-circuit current
0.102%/deg.C
Temperature coefficient of open-circuit voltage
−0.36%/deg.C
Serial resistance
0.39 ohm
Diode saturation current
2.92e-10 A
Diode ideality factor
0.98Figure 7
(a) Total PVSES output V-I diagram, (b) total PVSES output V-P diagram, (c) a photovoltaic solar panel V-I diagram, (d) a photovoltaic solar panel V-P diagram.
(a)
(b)
(c)
(d)Figure7 and Table 2 define the data used in commercial PV panels.Also, in all the simulations, the ambient temperature level and solar irradiation level were changed according to Figure8.Figure 8
Ambient solar irradiation level and temperature changes.


### 3.2. Simulation Results and Discussion

Here, the PV filter has a 6.5μF capacitor. The voltage obtained from these panels was converted to RMS phase-to-phase voltage 380 V under 50 Hz AC voltage through a 2-level inverter before passing from a filter. This filter consists of a 22 μF capacitor and 2 mH inductance. The system sampling time is 5 μs. PV panel output voltage changes between 1200 V and 1350 V, and output current changes up to 150A.The installed system was tested using variable loads, according to Table3 for their connection and disconnection times.Table 3
Loads used in the system and times that they entered the circuit.
Load type
Value
Commutation times (s)
R
+50 kW
t1 = 0: connection
RL
+10 kW/+10 kVAr
t2 = 0.3: connection
RL
−10 kW/−10kVAr
t3 = 0.45: disconnection
R
+5 kW
t4 = 0.6: connection
L
+5 kVAr
t5 = 0.8: connectionIn addition, during the time simulation (between 0 and 1 s), ambient solar irradiation and temperature change as shown in Figure8.


#### 3.2.1. Case 1: Installation without the STATCOM Device (Mechanical Switch Open)

The two-level inverter is switched using PI controllers, and carrier frequency is 2 kHz, involving a pulse width modulation principle. In the absence of the STATCOM device, the compensation of reactive power cannot not be performed. The graphs obtained in this case are shown in Figure9.Figure 9
Active, reactive power, and load voltage states on the system.Figure9 shows that the reactive power taken by the load cannot be compensated when there is no STATCOM device in the system. The same reactive power was present on the load and the grid side.In Figure9, change in the voltage amplitude on the loads is shown. PI controllers kept the load voltage constant at 380 V. Here, 2-level IGBTs inverters were used. PI controllers that set the load voltage were also set to KP = 0.5, KI = 100. These values were found by different simulations work on this system. The controller could hold magnificently the RMS phase-to-phase load voltage constant at 380 V. The change was around ±5 V.As shown in this figure, the dispersion of RMS phase-to-phase voltage is very negligible: around 1 V/380 V and after sudden changes of load, we notice: for Δ2 = −5 V; for Δ3 = +5.8 V; Δ5 = −1 V. And the disturbance duration are lesser 25 ms.


#### 3.2.2. Case 2: STATCOM with a PI Controller

The results obtained when an indirect current control method with PI controllers were used to control both theVDC voltage and the switching signals are shown in Figures 10 and 11. The ambient conditions and also the constant change in loads forced the system. PI controllers used in an indirect current control method were set to KP = 5 and KI = 40. For PI controllers that adjust the load voltage, KP = 0.5 and KI = 100 were also taken. This value is the same as the values used in the case without the STATCOM device.Figure 10
Switchings belonging to a phase when the STATCOM device with a PI controller is enabled.Figure 11
FFT analysis of phase to neutral voltage and line current on the electric network of the system.
(a)
Voltage FFT analysis
(b)
Current FFT analysisFigure10 shows the switching states belonging to a phase when the STATCOM with a PI controller is enabled. The first two graphs show the switchings of IGBTs on the first H-bridge (triggers of T11 and T12) and the other two on the second H-bridge (triggers of T15 and T16). While two IGBTs on each bridge were switched, the opposite way of the switchings was sent to the other two.Figure12 shows the efficiency of the STATCOM device. The reactive power compensation was performed successfully. The reactive power take from the grid was zero.Figure 12
Reactive power compensation when the STATCOM device with a PI controller is enabled and voltage change on loads.Also, Figure12 shows change in the tension on loads. Although PI controllers had a high overshoot value, they kept the load voltage at 380 quite well. The PI controller constants were KP = 0.5 and KI = 100. These values are deduced by trial and error.As shown in this figure, overshoot is too bad. This value reach 465 V. So, ΔVO is +85 V. Nevertheless, ΔV2 and ΔV3 are negligible. Between t2 and t3, the reactive power residue is approximately +300 VAr.In Figure13, each DC capacitor voltage VDC in the STATCOM device were kept at 200 V and the capacitor voltage on H-bridge converter is perfectly balanced. This underlines that the more the controllers efficiently operate, the compensation action is more performing.Figure 13
Capacitor voltage control in the STATCOM device with a PI-controller.Figure11 shows FFT analysis of the PVSES system output voltage and current. For the phase-to-neutral voltage, the shape is perfectly sinusoidal and the module gap difference is lesser than 1%.


#### 3.2.3. Case 3: STATCOM with a PIλ-MPC Hybrid Controller

The results obtained in using PIλ-MPC hybrid controllers to control both VDC voltage and switching signals are shown in Figures 14 and 15. Here, VDC voltage was controlled by PIλ and the switching signals in a 24 IGBTs 5-level STATCOM device were controlled by MPC. Both ambient conditions and loads are constantly changing.Figure 14
Switchings belonging to a phase when the PIλ-MPC hybrid controller is enabled.Figure 15
FFT analysis of a PVSES system.
(a)
Voltage FFT analysis
(b)
Current FFT analysisThe switching states belonging to a phase when the STATCOM device with a PIλ-MPC hybrid controller is enabled are shown in Figure 14 (the first two graphs: triggers of T11 and T12, and the other two: triggers of T15 and T16). The switching signals are different than in the case using PI controllers. These signals took randomly in the time scale.Figure16 shows the efficiency of the STATCOM device with a PIλ-MPC hybrid controller. The reactive power compensation was performed successfully. The reactive power taken from the grid was zero. The fluctuation was less than in the case using a PI controller.Figure 16
Reactive power compensation when the STATCOM device with a PIλ-MPC hybrid controller is enabled and load voltage change.This figure shows change in the voltage on loads. Overshoot and settling time values were better than PI controllers. For PIλ controllers that adjust the load voltage, KP = 0.5, KI = 100, and λ = 1.2 were taken. As shown in this figure, overshoot is very low. This value reach 384 V. So, ΔVO is +4 V. But, sudden load changes like at ΔV2, ΔV3, and ΔV5 are important. Despite the change in voltage on the load, the reactive power is well compensated. At this time, reactive power on the system is approximately +50 VAr. This is a too low value.Figure17 shows that the capacitor voltages in the STATCOM device are kept at 200 V. Both settling time and overshoot values were much better than the case using a PI controller. Also, the fluctuations in the load changes were less. Here, the PIλ-type controller was used. In PIλ controllers used both in the setting of voltage on load and in the controlling of VDC voltage in the STATCOM, controller parameters are KP = 5, KI = 40, ve λ = 1.2 were taken.Figure 17
Capacitor voltage control in the STATCOM device with a PIλ-MPC hybrid controller.Figure15 underlines the good results shown in Figure 11 (the same values about the modulus of phase-to-neutral and its THD).


## 3.1. Data of PV Panels

The solar panels are commercially available and have the characteristics as defined in Table2. The passive elements of the STATCOM device consist of 4700 μF capacitors and of coupling inductance with 56 mΩ and 12 mH [32]. In Figure 7 are shown the exploitation curves of each panel and the set of panels (40 in series and 25 in parallel).Table 2
Photovoltaic solar panel parameters.
Value
Unit
Open-circuit voltage
36.3 V
Short-circuit current
7.84 A
Maximum power
213.15 W
Voltage at maximum power point
29 V
Current at maximum power point
7.35 Α
Temperature coefficient of short-circuit current
0.102%/deg.C
Temperature coefficient of open-circuit voltage
−0.36%/deg.C
Serial resistance
0.39 ohm
Diode saturation current
2.92e-10 A
Diode ideality factor
0.98Figure 7
(a) Total PVSES output V-I diagram, (b) total PVSES output V-P diagram, (c) a photovoltaic solar panel V-I diagram, (d) a photovoltaic solar panel V-P diagram.
(a)
(b)
(c)
(d)Figure7 and Table 2 define the data used in commercial PV panels.Also, in all the simulations, the ambient temperature level and solar irradiation level were changed according to Figure8.Figure 8
Ambient solar irradiation level and temperature changes.


## 3.2. Simulation Results and Discussion

Here, the PV filter has a 6.5μF capacitor. The voltage obtained from these panels was converted to RMS phase-to-phase voltage 380 V under 50 Hz AC voltage through a 2-level inverter before passing from a filter. This filter consists of a 22 μF capacitor and 2 mH inductance. The system sampling time is 5 μs. PV panel output voltage changes between 1200 V and 1350 V, and output current changes up to 150A.The installed system was tested using variable loads, according to Table3 for their connection and disconnection times.Table 3
Loads used in the system and times that they entered the circuit.
Load type
Value
Commutation times (s)
R
+50 kW
t1 = 0: connection
RL
+10 kW/+10 kVAr
t2 = 0.3: connection
RL
−10 kW/−10kVAr
t3 = 0.45: disconnection
R
+5 kW
t4 = 0.6: connection
L
+5 kVAr
t5 = 0.8: connectionIn addition, during the time simulation (between 0 and 1 s), ambient solar irradiation and temperature change as shown in Figure8.


### 3.2.1. Case 1: Installation without the STATCOM Device (Mechanical Switch Open)

The two-level inverter is switched using PI controllers, and carrier frequency is 2 kHz, involving a pulse width modulation principle. In the absence of the STATCOM device, the compensation of reactive power cannot not be performed. The graphs obtained in this case are shown in Figure9.Figure 9
Active, reactive power, and load voltage states on the system.Figure9 shows that the reactive power taken by the load cannot be compensated when there is no STATCOM device in the system. The same reactive power was present on the load and the grid side.In Figure9, change in the voltage amplitude on the loads is shown. PI controllers kept the load voltage constant at 380 V. Here, 2-level IGBTs inverters were used. PI controllers that set the load voltage were also set to KP = 0.5, KI = 100. These values were found by different simulations work on this system. The controller could hold magnificently the RMS phase-to-phase load voltage constant at 380 V. The change was around ±5 V.As shown in this figure, the dispersion of RMS phase-to-phase voltage is very negligible: around 1 V/380 V and after sudden changes of load, we notice: for Δ2 = −5 V; for Δ3 = +5.8 V; Δ5 = −1 V. And the disturbance duration are lesser 25 ms.


### 3.2.2. Case 2: STATCOM with a PI Controller

The results obtained when an indirect current control method with PI controllers were used to control both theVDC voltage and the switching signals are shown in Figures 10 and 11. The ambient conditions and also the constant change in loads forced the system. PI controllers used in an indirect current control method were set to KP = 5 and KI = 40. For PI controllers that adjust the load voltage, KP = 0.5 and KI = 100 were also taken. This value is the same as the values used in the case without the STATCOM device.Figure 10
Switchings belonging to a phase when the STATCOM device with a PI controller is enabled.Figure 11
FFT analysis of phase to neutral voltage and line current on the electric network of the system.
(a)
Voltage FFT analysis
(b)
Current FFT analysisFigure10 shows the switching states belonging to a phase when the STATCOM with a PI controller is enabled. The first two graphs show the switchings of IGBTs on the first H-bridge (triggers of T11 and T12) and the other two on the second H-bridge (triggers of T15 and T16). While two IGBTs on each bridge were switched, the opposite way of the switchings was sent to the other two.Figure12 shows the efficiency of the STATCOM device. The reactive power compensation was performed successfully. The reactive power take from the grid was zero.Figure 12
Reactive power compensation when the STATCOM device with a PI controller is enabled and voltage change on loads.Also, Figure12 shows change in the tension on loads. Although PI controllers had a high overshoot value, they kept the load voltage at 380 quite well. The PI controller constants were KP = 0.5 and KI = 100. These values are deduced by trial and error.As shown in this figure, overshoot is too bad. This value reach 465 V. So, ΔVO is +85 V. Nevertheless, ΔV2 and ΔV3 are negligible. Between t2 and t3, the reactive power residue is approximately +300 VAr.In Figure13, each DC capacitor voltage VDC in the STATCOM device were kept at 200 V and the capacitor voltage on H-bridge converter is perfectly balanced. This underlines that the more the controllers efficiently operate, the compensation action is more performing.Figure 13
Capacitor voltage control in the STATCOM device with a PI-controller.Figure11 shows FFT analysis of the PVSES system output voltage and current. For the phase-to-neutral voltage, the shape is perfectly sinusoidal and the module gap difference is lesser than 1%.


### 3.2.3. Case 3: STATCOM with a PIλ-MPC Hybrid Controller

The results obtained in using PIλ-MPC hybrid controllers to control both VDC voltage and switching signals are shown in Figures 14 and 15. Here, VDC voltage was controlled by PIλ and the switching signals in a 24 IGBTs 5-level STATCOM device were controlled by MPC. Both ambient conditions and loads are constantly changing.Figure 14
Switchings belonging to a phase when the PIλ-MPC hybrid controller is enabled.Figure 15
FFT analysis of a PVSES system.
(a)
Voltage FFT analysis
(b)
Current FFT analysisThe switching states belonging to a phase when the STATCOM device with a PIλ-MPC hybrid controller is enabled are shown in Figure 14 (the first two graphs: triggers of T11 and T12, and the other two: triggers of T15 and T16). The switching signals are different than in the case using PI controllers. These signals took randomly in the time scale.Figure16 shows the efficiency of the STATCOM device with a PIλ-MPC hybrid controller. The reactive power compensation was performed successfully. The reactive power taken from the grid was zero. The fluctuation was less than in the case using a PI controller.Figure 16
Reactive power compensation when the STATCOM device with a PIλ-MPC hybrid controller is enabled and load voltage change.This figure shows change in the voltage on loads. Overshoot and settling time values were better than PI controllers. For PIλ controllers that adjust the load voltage, KP = 0.5, KI = 100, and λ = 1.2 were taken. As shown in this figure, overshoot is very low. This value reach 384 V. So, ΔVO is +4 V. But, sudden load changes like at ΔV2, ΔV3, and ΔV5 are important. Despite the change in voltage on the load, the reactive power is well compensated. At this time, reactive power on the system is approximately +50 VAr. This is a too low value.Figure17 shows that the capacitor voltages in the STATCOM device are kept at 200 V. Both settling time and overshoot values were much better than the case using a PI controller. Also, the fluctuations in the load changes were less. Here, the PIλ-type controller was used. In PIλ controllers used both in the setting of voltage on load and in the controlling of VDC voltage in the STATCOM, controller parameters are KP = 5, KI = 40, ve λ = 1.2 were taken.Figure 17
Capacitor voltage control in the STATCOM device with a PIλ-MPC hybrid controller.Figure15 underlines the good results shown in Figure 11 (the same values about the modulus of phase-to-neutral and its THD).


## 3.2.1. Case 1: Installation without the STATCOM Device (Mechanical Switch Open)

The two-level inverter is switched using PI controllers, and carrier frequency is 2 kHz, involving a pulse width modulation principle. In the absence of the STATCOM device, the compensation of reactive power cannot not be performed. The graphs obtained in this case are shown in Figure9.Figure 9
Active, reactive power, and load voltage states on the system.Figure9 shows that the reactive power taken by the load cannot be compensated when there is no STATCOM device in the system. The same reactive power was present on the load and the grid side.In Figure9, change in the voltage amplitude on the loads is shown. PI controllers kept the load voltage constant at 380 V. Here, 2-level IGBTs inverters were used. PI controllers that set the load voltage were also set to KP = 0.5, KI = 100. These values were found by different simulations work on this system. The controller could hold magnificently the RMS phase-to-phase load voltage constant at 380 V. The change was around ±5 V.As shown in this figure, the dispersion of RMS phase-to-phase voltage is very negligible: around 1 V/380 V and after sudden changes of load, we notice: for Δ2 = −5 V; for Δ3 = +5.8 V; Δ5 = −1 V. And the disturbance duration are lesser 25 ms.


## 3.2.2. Case 2: STATCOM with a PI Controller

The results obtained when an indirect current control method with PI controllers were used to control both theVDC voltage and the switching signals are shown in Figures 10 and 11. The ambient conditions and also the constant change in loads forced the system. PI controllers used in an indirect current control method were set to KP = 5 and KI = 40. For PI controllers that adjust the load voltage, KP = 0.5 and KI = 100 were also taken. This value is the same as the values used in the case without the STATCOM device.Figure 10
Switchings belonging to a phase when the STATCOM device with a PI controller is enabled.Figure 11
FFT analysis of phase to neutral voltage and line current on the electric network of the system.
(a)
Voltage FFT analysis
(b)
Current FFT analysisFigure10 shows the switching states belonging to a phase when the STATCOM with a PI controller is enabled. The first two graphs show the switchings of IGBTs on the first H-bridge (triggers of T11 and T12) and the other two on the second H-bridge (triggers of T15 and T16). While two IGBTs on each bridge were switched, the opposite way of the switchings was sent to the other two.Figure12 shows the efficiency of the STATCOM device. The reactive power compensation was performed successfully. The reactive power take from the grid was zero.Figure 12
Reactive power compensation when the STATCOM device with a PI controller is enabled and voltage change on loads.Also, Figure12 shows change in the tension on loads. Although PI controllers had a high overshoot value, they kept the load voltage at 380 quite well. The PI controller constants were KP = 0.5 and KI = 100. These values are deduced by trial and error.As shown in this figure, overshoot is too bad. This value reach 465 V. So, ΔVO is +85 V. Nevertheless, ΔV2 and ΔV3 are negligible. Between t2 and t3, the reactive power residue is approximately +300 VAr.In Figure13, each DC capacitor voltage VDC in the STATCOM device were kept at 200 V and the capacitor voltage on H-bridge converter is perfectly balanced. This underlines that the more the controllers efficiently operate, the compensation action is more performing.Figure 13
Capacitor voltage control in the STATCOM device with a PI-controller.Figure11 shows FFT analysis of the PVSES system output voltage and current. For the phase-to-neutral voltage, the shape is perfectly sinusoidal and the module gap difference is lesser than 1%.


## 3.2.3. Case 3: STATCOM with a PIλ-MPC Hybrid Controller

The results obtained in using PIλ-MPC hybrid controllers to control both VDC voltage and switching signals are shown in Figures 14 and 15. Here, VDC voltage was controlled by PIλ and the switching signals in a 24 IGBTs 5-level STATCOM device were controlled by MPC. Both ambient conditions and loads are constantly changing.Figure 14
Switchings belonging to a phase when the PIλ-MPC hybrid controller is enabled.Figure 15
FFT analysis of a PVSES system.
(a)
Voltage FFT analysis
(b)
Current FFT analysisThe switching states belonging to a phase when the STATCOM device with a PIλ-MPC hybrid controller is enabled are shown in Figure 14 (the first two graphs: triggers of T11 and T12, and the other two: triggers of T15 and T16). The switching signals are different than in the case using PI controllers. These signals took randomly in the time scale.Figure16 shows the efficiency of the STATCOM device with a PIλ-MPC hybrid controller. The reactive power compensation was performed successfully. The reactive power taken from the grid was zero. The fluctuation was less than in the case using a PI controller.Figure 16
Reactive power compensation when the STATCOM device with a PIλ-MPC hybrid controller is enabled and load voltage change.This figure shows change in the voltage on loads. Overshoot and settling time values were better than PI controllers. For PIλ controllers that adjust the load voltage, KP = 0.5, KI = 100, and λ = 1.2 were taken. As shown in this figure, overshoot is very low. This value reach 384 V. So, ΔVO is +4 V. But, sudden load changes like at ΔV2, ΔV3, and ΔV5 are important. Despite the change in voltage on the load, the reactive power is well compensated. At this time, reactive power on the system is approximately +50 VAr. This is a too low value.Figure17 shows that the capacitor voltages in the STATCOM device are kept at 200 V. Both settling time and overshoot values were much better than the case using a PI controller. Also, the fluctuations in the load changes were less. Here, the PIλ-type controller was used. In PIλ controllers used both in the setting of voltage on load and in the controlling of VDC voltage in the STATCOM, controller parameters are KP = 5, KI = 40, ve λ = 1.2 were taken.Figure 17
Capacitor voltage control in the STATCOM device with a PIλ-MPC hybrid controller.Figure15 underlines the good results shown in Figure 11 (the same values about the modulus of phase-to-neutral and its THD).


## 4. Conclusion

In the study, the performance of the STATCOM device using a PIλ-MPC hybrid controller has been investigated and compared with the version using a PI-type controller to eliminate the reactive power on loads fed by off-grid solar panels. The system was forced by constantly changing the ambient temperature and the solar irradiation level as well as the loads, and the efficiencies of the controllers were tried to be shown meanwhile.In the system,VDC voltage was controlled by PIλ and the switching signals in a 24 IGBTs 5-level STATCOM device were controlled by MPC. The most important reason for this is that PID-type controllers can be placed everywhere comfortably, while it is necessary to use detailed mathematical equations for designing MPCs. This makes MPCs difficult to design. However, the controllers with different PID types can be placed easily everywhere that errors are in. MPC controls the switching signals in the STATCOM device. It works more efficiently because it chose the right and the best one from the switching possibilities. VDC voltage was controlled by PIλ that is able to adjust more precisely than PI. By combining these two controllers, a hybrid controller was created.The comparison of STATCOM device results obtained from PI and PIλ-MPC controllers shows that PIλ VDC overshoot parameters are better than PI because PIλ overshoot is 213 V and PI overshoot is 230 V. Similarly, the reactive power overshoot value for a PI controller is 70 kVAr. But MPC has no overshoot. PIλ load voltage overshoot is 384 V; PI controller load voltage overshoot is 465 V.PIλ VDC settling times are better than those of PI. The PIλ settling time is 0.1 ms, and the PI settling time is 0.3 ms for the steady state. The reactive power settling time is 0.02 ms for a PI controller and MPC is approximately 0 ms, and finally, the load voltage settling time is 0.05 ms for a PI controller and 0.02 ms for a PIλ controller.If we compare steady state errors, PIλ and PI controllers are equal for the VDC steady state error parameter and load voltage steady state error parameter. VDC steady state error is 0 in both PI and PIλ controllers. The load voltage steady state error change range is ±6V in both PI and PIλ controllers. But reactive power steady state error is better than MPC. MPC steady state error is 50 VAr, and the PI controller value is 300 VAr.The results of the FFT analysis show that the PIλ-MPC controller is better than the PI controller. Total harmonic distortion of the PIλ-MPC controller is 4.94% for voltage analysis and 4.17% for current analysis, and then PI controller FFT analysis for voltage is 5.05% and current is 4.18%.As mentioned in the previous paragraph, the reactive power compensation performed very well and the error rates were very weak. The overshoot values of PI controllers were higher than those of PIλ-MPC hybrid controllers. Also, the settling time values were shorter on the PIλ-MPC hybrid controller. In general, the performance of the PIλ-MPC hybrid controller is much better than those of PI controllers.



---

*Source: 4030214-2018-04-04.xml*