Professional Documents
Culture Documents
Controller Design For An Off-Grid Photovoltaic Solar Inverter
Controller Design For An Off-Grid Photovoltaic Solar Inverter
net/publication/352845845
CITATIONS READS
0 132
4 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Abdusslam Alrimali on 25 April 2023.
The inverter looks like a box with one or two switches on III. SYSTEM TRANSFER FUNCTION AND CONTROL
it, but inside it is a small universe of dynamic activities. A The electrical circuit along with the equivalent circuit of
modern home inverter must cope with input voltage that the inverter are shown in Fig. 2. The inverter circuit consists
varies as much as 35% (with varying battery state of charge), of four stages. The DC bus, the H-bridge, the low pass filter,
and also with huge variations in output demand (from a and the step-up transformer with the load. The equivalent
circuit of the solar single-phase inverter is shown in Fig.2,
where 1 is the modulation index, which is the ratio between
single night-light to a big surge required to start a well pump
modulating (control) signal 2345 and the peak value of the
or a power tool). Through all, it must regulate its output
quality within narrow constraints, with a minimum of power switching (triangle) signal 26457 .
loss. This is no easy task [2].
For an inverter to be right for a system, its watts rating
must be approximately equal to the solar system's watts
rating. This is the correct way to size an inverter. If multiple
appliances are run at the same time, and one wants to make
sure the inverter can handle the load, continuous Watt ratings
of all the appliances that may be running are added and
compared to the inverter rating. Depending on the total Fig. 1. Basic configuration of full-bridge (H-bridge) inverter.
continuous watts obtained, one can determine whether or not
the inverter can handle the load.
The second way solar inverters are rated is in Surge
Watts. Another method for an inverter to be right for a
system, its surge watts rating must be approximately equal to
(or greater than) the potential surge watts of each appliance.
By doing this, one can determine the minimum surge wattage
that inverter need to be rated for. Usually, it needs about 1.5
to 2 times as much surge watts as continuous watts for a
good measure of surge protection (more, if powering heavy
duty equipment) [2].
This paper proceeds as follows. The operating principle
of the inverter is presented in section II. The System transfer
function and control is in section III. The design and
simulated results are in section IV. The experimental results
and conclusion are in section V and VI, respectively.
215
F84
1(9)BC3 = AD E G + 23 (9)
[4], the minimum inductance value can be calculated as
F9
(3)
follows,
1(?)BC3 = ?AD 87 (?) + 23 (?) (4) Bnopq
F23 (9) AD =
83 (9) = HD I J 2s t un t √2 t ∆xn
F9
(5)
yz
83 (9) = HD ?23 (?) = ≅ 0.1 j€ (12)
(6) Y{ty|ty|f t√Yt|.Y
Knowing that 83 (9) = HD ?23 (?), thus, Fig. 3. The FFT of the inverter output voltage.
BC3 <4
Now, with the cut-off frequency and filter inductance in
@ k + ?l
h̃3 (@) AD A4 hand, it is easy to find of the filter capacitance from the
=
_ (@)
j < 1 1 1 <4 (9)
?m + ?Y k 4l + ? E + G +
following equation,
A4 HD AD A4 A4 AD HD 1
u3 = , (13)
By subsitituting equation (6) in (2), 2s•AD HD
<4 1
HD (? Y + ?+ )
A4 A4 HD which found to be 126 µF. The chosen value of the filter
87 (?) = 23 (@)
< (10) capacitance is 100 µF. This makes the exact cut-off
k 4 + ?l
A4 frequency of the filter is 1.13 kHz, which is very fine with
By subsituting equation (10) in (8), the transfer function of this application.
the inductance current to the modulation index (current B. System behavior in the open loop
plant) can be obtained,
BC3 Y <4 1 Figure 4 shows the PSIM circuit of the inverter in an
E? + ? + G
h̃7 (?) AD A4 HD A4 open-loop control with a resistive load equals to 220Ω.
=
_(?) ? m + ? Y k<4 l + ? 1 E 1 + 1 G + <4
j (11)
A4 HD AD A4 A4 AD HD
216
filtered out by an electrolyte capacitor on parallel with the
DC bus. A 50 V, 2200 µF electrolyte capacitor should be
fine. The high order harmonics in the input voltage and
current can be filtered out by the use of film capacitor of
10µF to 15 µF. The detailed calculations of those two
capacitors can be found in [4].
When the inverter is loaded, it starts drawing more
current from the battery system. This causes the drop
voltage on the low-pass filter to increase. For this reason,
Fig. 5. Sine Pulse Width Modulation
the primary voltage of the transformer will not be fixed at
12 V. It will actually drop down. Thus, the load voltage will
not be 220 V. It also drops significantly as the load
increases. Figure 8 shows the primary and secondary
voltages of the transformer with an increased load (load
resistance = 22 Ω). It can be seen from Fig. 8 that both
voltages have dropped, and this is due to the increased drop
voltage on the filter inductance. To stabilize the load voltage
at 230 V, one must control the primary voltage to be at 12 V
always. This is done by changing the modulation index
Fig. 6. The primary and the secondary (load) voltages when the load
accordingly. Changing the modulation index manually is
equals to 220Ω.
obviously not a feasible solution. Therefore, a closed-loop
control is necessary in this case.
Furthermore, figure 6 shows that the rms values of the
primary and secondary (load) voltages are 12.56 V and
225.5 V, respectively. In Fig. 7, it can be seen that the input
current is smoothed out by the filter inductance and filter
capacitance. It can also be seen that the ripple of the inverter
current, which is the inductance current, is quite high
(around 14% of the fundamental rms current).
Fig. 8. The primary and the secondary (load) voltages when the load
equals to 22Ω.
217
Equation (15) gives the open-loop transfer function
between the inductance current and the modulation index.
This is the plant for the inner current loop. The closed loop
transfer function HA•’7 (?) is given by the following
equation:
Œ t „7 (?)
HA•’7 (?) = ,
1 + Œ t „7 (?)
(16)
Œ•Ž (1 + ?•)Y
„345 =
?•(1 + ?•• )Y
(14)
D. Design of a voltage and a current control loops ii) Controller design of the outer voltage loop using a PI
(Cascaded Control loops) controller:
It is important to mention here that when trying Figure 13 shows the block diagram of the inner and the
different combinations of using a proportional controller and outer loops. In order to design a controller for the outer
a PI controller in the inner current loop and the outer voltage voltage loop, it is important to find the plant, which is the
loop, it was found that using a proportional controller in the relationship (the transfer function) between the transformer
inner current loop and a normal PI controller in the outer primary voltage (filter capacitor voltage) and the filter
voltage loop gives the perfect results. inductance current (the output of the inner current loop)
i) Controller design of the inner current loop using a multiplied by the inner closed-loop transfer function.
proportional controller: Therefore, the open-loop transfer function (the plant) of the
Figure 12 shows the block diagram of the inner current outer voltage loop is:
loop. By plugging the values of the parameters in (9), the
following transfer function is obtained,
h̃7 (@)
„7 (?) =
j
_(@)
1.2 ∗ 10‘ ∗ (? Y + 0.04 ∗ ? + 0.04) (15)
=
(? + 0.2222)( ? Y + 0.1778 ? + 9 ∗ 10‹ )
Fig. 13. Block diagram of the outer voltage control loop with the inner
current loop.
218
“”•–9O (?) = „O (?) ∗ HA•’8 (?) 12V at the primary of the transformer to insure having 220V
2]3 (@) Œ t „7 (@)
= ∗
at the load side. Figure 18 shows the primary and load
h̃(@) 1 + Œ t „7 (@) (17) voltages when the battery voltage reduces to 20 V. One can
@A4 + <4 Œ t „7 (@)
= Y ∗ . see that the controller is working and primary voltage is still
@ A4 HD + @<4 HD + 1 1 + Œ t „7 (@)
at 11.74 V and the load voltage is around 225 V.
By plotting the bode plot of the above open-loop
transfer function “”•–9O (?), it is found that the slop of the
gain at the crossover frequency fx = 2 kHz equal to -20dB.
Thus, a PI controller has been chosen to give the required
phase margin (PM), which is 60o. The transfer function of
the PI controller is given by the following equation,
Œ•Ž (1 + ?•)
„345—˜ = .
?•
(18)
Fig. 14. PSIM circuit of the inverter with the cascade control loop. Fig. 17. The same outputs as in Fig. 16, when the PI controller gain is
30 and the load equals to 22 Ω.
Fig. 15. The actual and reference inductance current, the actual and
reference primary voltage, and the load voltage when the PI controller
gain is 1 and the load equals to 220 Ω.
Figure 17 shows the results when increased load. It is
clear that the load voltage has not changed and remained
almost pure sinusoidal, which proves that the outer voltage
control loop is working.
219
V. EXPERMENTAL RESULT
A proof of concept inverter circuit with an open-loop
control has been implemented in the laboratory. The circuit
validates the concept of Sine Pulse Width modulation
(SPWM) and the inversion concept with a low pass filter to
filter out the switching harmonics. Finally, a single phase
step-up transform connected to a power resistive load is used
to step up the voltage to the grid level. Fig. 24 shows the
experimental setup.
220
• Using only one voltage closed loop control comes on
the cost of a complex controller and poor control
performance at small loads.
• With the use of cascaded voltage and current control
loops, the controller degree of complexity is reduced
and the control is enhanced.
• During the experiment, a dead-time of 1 µs is needed to
avoid short-circuiting the batteries.
• A proof of concept single phase inverter with an open-
loop control was built along with a LPF to filter out the
switching harmonics. The voltage on the secondary side
of the transformer was at the grid level with almost zero
distortion.
ACKNOWLEDGMENT
The authors would like to acknowledge the support
of Misurata University.
REFERENCES
[1] S.G. Solanki, M. Ramasamy, S. Manzoor and U. K. R.
Ganesalingam “Design & Development for OFF grid Solar
Inverter”, 2018 IEEE 4th International Symposium in
Robotics and Manufacturing Automation (ROMA),
Perambalur, Dec. 2018.
[2] R. John, S. S. Mohammed and R. Zachariah, “Variable step
size Perturb and observe MPPT algorithm for standalone
solar photovoltaic system”, 2017 IEEE International
Conference on Intelligent Techniques in Control
Optimization and Signal Processing (INCOS), Srivilliputtur,
Mar. 2017.
[3] N.M. Abdel-Rahim, and J.E. Quaicoe, “Analysis and design
of a multiple feedback loop control strategy for single-phase
voltage-source UPS inverters”, in IEEE Transactions on
Power Electronics, vol. 11, no. 4, pp. 532 – 541, Jul. 1996.
[4] A. S. Hussein, “Design of a Non-Isolated Solar PV Inverter
for Household Applications”, Third Conference for
Engineering Sciences and Technology (CEST), Alkums,
Dec. 2020. URL:
http://dspace.elmergib.edu.ly/xmlui/handle/123456789/199
221