You are on page 1of 7

International Conference on Innovations in Power and Advanced Computing Technologies [i-PACT2017]

Design of Photovoltaic Based Battery Charger using


Sliding Mode MPPT Control
Josalin Jemima J. Charles Raja S.
Department of Electrical and Department of Electrical and
Electronics Engineering, Electronics Engineering,
Thiagarajar College of Engineering, Thiagarajar College of Engineering,
Madurai, Tamilnadu-625015, India Madurai, Tamilnadu-625015, India
(e-mail: josalinjjj@gmail.com) (e-mail: charlesrajas@tce.edu)

Abstract—A Photovoltaic PV module along with an environmental conditions. Sliding mode control algorithms for
interconnection which gives proper voltage and current to charge buck and boost power converters are surveyed in the paper
rechargeable batteries is termed as PV Battery Charger. The along with sliding surface equations and derivation of
interconnection system used is DC-DC converter which provides equivalent control. Reduction in chattering is done by
suitable charging voltage and current to the battery. Maximum
harmonic cancellation is demonstrated in [2]. The sliding
Power Point Tracking is very unique to the field of PV systems to
extract maximum power during operation. There are many mode control to accomplish fast tracking speed and reduced
conventional methods available for Maximum power point steady state oscillation is given. Moreover, unlike other
tracking but they fail under rapidly varying weather conditions. methods which require feedback signals from voltage and
To overcome this problem, non linear controllers are utilized current sensors, this strategy just requires current to produce
much in the field of photovoltaic system. In this paper, the control actions The benefits of this sliding mode control is that
Sliding Mode Controller is implemented as the MPPT algorithm simple implementation and it can achieve both high tracking
to deliver maximum power even under rapidly varying speed as well as reduced steady state oscillation discussed
environmental conditions, disturbances and system uncertainties. by [3]. The sliding mode controller is robust in steady state as
The obtained results indicate that the Sliding Mode Controller
well as under differing weather conditions. The controller can
provides robustness under varying weather conditions compared
to the conventional MPPT algorithms. be utilized as a control actuator for the MPPT algorithm
proposed by [4]. The terminal sliding mode control overcome
Keywords— Photovoltaics; Maximum power point the singularity problem present in traditional sliding mode
tracking; Robustness; Perturb and Observe; Sliding mode control; control is presented by [5]. The integral sliding mode control
together with the MPPT current controller is applied for the
I. INTRODUCTION regulation of current is proposed by [5].The control algorithm
The renewable energy sources such as solar energy, consists of two loops, one for estimating the maximum power
wind energy and fuel cells are being utilized more because of voltage which is used in second loop as a reference value for
the effect of global warming and the receding conventional backstepping sliding mode control proposed by [11]. Better
energy sources. In accurate, solar PV energy has been widely voltage regulation is attained even under changes in
used in many applications such as solar thermal electric power online voltage and input parameters keeping load as constant
plants, photovoltaic, solar heating systems, solar lighting and is discussed by [7].
solar electric vehicle. There are many advantages offered by
solar energy than traditional sources of energy like coal and The major problem that is to be concentrated in
oil. Maximum power point tracking or commonly known as the field of solar energy is that it’s heavy dependence on
MPPT is very unique to the field of PV systems and this also weather conditions. Many conventional methods are used
brings about a very special application of power electronics in to extract the maximum power from the PV array but
the field of photovoltaic. they are not robust to disturbance, uncertainties and rapidly
A comparative analysis of four types of MPPT changing environmental conditions. So here comes the role of
is given in [1] .The MPPT methods chosen in this paper non linear controllers to extract maximum power even
are Hill Climbing(HC) method, Perturb and Observe(P under disturbances and varying weather conditions.[12],[13].
and O) method, Incremental Conductance (IC) method and
Fuzzy Logic Control MPPT. The simulation response for all Among several nonlinear controllers, several benefits
these MPPT techniques is obtained under rapidly varying are offered by sliding mode control (SMC) which has large

978-1-5090-5682-8 /17/$31.00 ©2017 IEEE

Authorized licensed use limited to: NUST School of Electrical Engineering and Computer Science (SEECS). Downloaded on September 26,2021 at 08:32:09 UTC from IEEE Xplore. Restrictions apply
International Conference on Innovations in Power and Advanced Computing Technologies [i-PACT2017]
signal stability, reduction in system order, less implementation VT is thermal voltage
complexity, robustness. Charging a battery with no interface k is Boltzmann’s constant
devices between PV panel and battery makes damages in the q is charge of an electron
battery [15] and thus reducing the life cycle of battery. Also
the current entering the battery should be regulated. The solar cells are interconnected in a series-parallel
combination to achieve the desired power because a single
Photovoltaic cell produces less voltage and current. The
II. MODELING OF PV PANEL desired voltage is produced by interconnecting the solar
The PV module is the interface which changes over photovoltaic cells in series and the desired current is generated
light into power. Modeling this fundamentally requires taking by associating the cells in parallel. The above equations are
climate information (irradiance and temperature) as input mathematically modeled in MATLAB Simulink to get the PV
parameters. The resultant can be current and voltage where the current and voltage.
product gives the power. Any adjustment in the sections
instantly infers changes in output. That is the reason, it is
imperative to utilize an exact model for the PV module [8]. III. MODELING OF BOOST CONVERTER
DC-DC Converters, for example, buck converter,
boost converter and buck-boost converter have been broadly
Load current
utilized as a part of conventional modern applications, for
I = ( ୮୦ . Np ) – Id – Ish (1) example, uninterruptible power supply, dc motor drives,
power systems, equipment for telecommunication and so forth
Reverse saturation current [9]. Boost converter also known as step up converter is chosen
ୱ ൌ ୰ୱ ሺ

ሻଷ ቀ‡š’ ቀ
୯୉ౝ౥
ቁ െ ͳቁ (2) to boost the input panel voltage to a higher voltage.
୘౨౛౜ ୒౩ ୩୘

Reverse saturation at operating temperature


୯୚౥ౙ
 ୰ୱ ൌ ୱୡ ሺ‡š’ ቀ ቁ െ ͳሻ (3)
୒౩ే౐

Diode current

Id = Is (exp ሺ ) – 1) (4)
୅୚౐ ୒౩ Fig. 1. Circuit diagram of Boost Converter
Thermal Voltage ିሺଵି௨ሻ ଵ
ଓ௅ሶ ൌ  ܸ௢ ൅  ܸ (8)
୏Ǥ୘ ௅೙ ௅೙ ௜௡
୲ = (5) ሺଵି௨ሻ ଵ

ܸ௢ሶ ൌ ݅௅ െ  ܸ (9)
஼೙ ோ೙ ஼೙ ௢
Phase current
୍౨౨
The figure comprises of inductor that allows panel
୮୦ = ( ୱୡ +  ୧ ( െ  ୰ୣ୤ ሻ * (6) current, switch (MOSFET) which is controlled by the sliding
ଵ଴଴଴
mode controller, diode, capacitor, load resistance. With
Shunt current respect to the duty cycle, by using the following design
ొ౦
୚‫ ొ כ‬ା୍Ǥୖ౩ equations the output voltage can be evaluated.

ୱ୦ ൌ (7)
ୖ౦ ௏೚ ଵ
ൌ (10)
௏೔೙ ଵି஽
where ୮୦ is light generated current
Np is number of parallel cells The product of output voltage and current is
Id is diode current equivalent to product of input voltage and current in an ideal
Ish is shunt current circuit i.e ܸ௢௨௧ ‫ܫ‬௢௨௧ ൌ  ܸ௜௡ ‫ܫ‬௜௡
Ego is semiconductor band gap energy ܲ௜௡ ൌ  ܲ௢௨௧ (11)
Tref is reference temperature
T is PV module temperature A. Calculation of inductance and capacitance
Isc is short circuit current The value of the inductor and capacitor of the
Voc is open circuit voltage converter can be designed as follows.
Is is reverse saturation current ௏೔೙
V is voltage imposed on diode ‫ ܮ‬ൌ  ‫ܦ‬ (12)
௙ೞ οூಽ

Authorized licensed use limited to: NUST School of Electrical Engineering and Computer Science (SEECS). Downloaded on September 26,2021 at 08:32:09 UTC from IEEE Xplore. Restrictions apply
International Conference on Innovations in Power and Advanced Computing Technologies [i-PACT2017]
ூ೚ೠ೟
‫ ܥ‬ൌ ‫ܦ‬ (13)
௙ೞ ο௏೚ பୱ
•ሶ = ሶ = 0 ՜ ሺǦሺͳǦ—‡“ሻ‘൅’ሻȀ = 0 (19)
ப୍୮ ୮
where ݂௦ is the switching frequency, ο‫ܫ‬௅ is the input
current ripple and οܸ௢ is the output voltage ripple. The
From this,
proportion between the input current ripple and the current
output of the converter is known as the ripple factor. The —‡“ൌͳȂ’Ȁ‘ሺʹͲሻ

current ripple factor should lie within 30% for a good design
of inductor. Š‡…—”„‹‰…‘–”‘Ž‹•†‡ˆ‹‡†ƒ•ˆ‘ŽŽ‘™•ǣ

οூಽ
ൌ ͲǤ͵ (14) —ൌɄǤ•‹‰ሺ•ሻ൅ȗ•ሺʹͳሻ
ூ೚
ɄൌɄ‘ሺȁ•ȁ൅Ɂሻሺʹʹሻ
The maximum output current should always less than 
that of the current rating of inductor.
where, Ș0 >0, k>0 and ߜ>0 are constants. The control
The value of οܸ௢ is normally taken as 0.05 times the amplitude Ș depends on the sliding surface.
output voltage i.e
ο௏೚ A. Algorithm of the Sliding Mode MPPT Control
ൌ ͲǤͲͷ (15)
௏೚
Initialize parameters ( k, ߜ, Șo );
The design specifications for the converter are Vin =20V, ¨t ՜ Sampling Period
Vo=40V and fs = 20KHz. From this, inductor, capacitor and ™Š‹Ž‡ሺͳሻ†‘
resistor values can be determined. ‡ƒ•—”‡୮ ሺ–ሻǡ ୮ ሺ–ሻǡ ୭ ሺ–ሻǢ

Step 1: Calculate the resistance of panel, Rp(t)


IV. DESIGN OF SLIDING MODE CONTROLLER
୮ ሺ–ሻ
The outline of Sliding Mode Control for the most  ୮ ሺ–ሻ ՚
୮ ሺ–ሻ
part contains two stages: The initial step is to design the
sliding surface, and the second step is to design the control Step 2: Calculate change in  ୮ and change in ୮
signal. The sliding surface is chosen according to the
applications that have to be controlled. By then, the control ୢୖ୮ ୖ౦ ሺ୲ሻିୖ౦ ሺ୲ିο୲ሻ
signal is intended to ensure the presence condition. The ൌ ;
ୢ୲ ο୲
sliding mode control is designed based on [10].
ୢ୍୮ ୍౦ ሺ୲ሻି୍౦ ሺ୲ିο୲ሻ
The derivative of the panel power with respect to the panel ՚ ;
ୢ୲ ο୲
voltage is selected as the sliding surface.
ப୔୮ பୖ୮୍మ
౦ பୖ୮
Step 3: Implementation of sliding surface
= = Ip (2 Rp +Ip )=0 (16)
ப୍୮ ப୍୮ ப୍୮
†’ † ’ ିଵ
where RP=VP/IP. Consequently, when panel current and •ሺ–ሻ ՚ ʹ ୮ ሺ–ሻ ൅ ୮ ሺ–ሻሺ ሻሺ ሻ
†– †–
converter output voltage (state variables) converge to the
sliding surface, the power from the panel will be boosted. The Step 4: Design of equivalent control by equating ‫ݏ‬ሶto zero
sliding surface is chosen as follows: ୮ ሺ–ሻ
—ୣ୯ ሺ–ሻ ՚ ͳ െ
பୖ୮ ୭ ሺ–ሻ
s ‫ ’ʹ ؜‬൅ ’ (17)
ப୍୮
Ʉሺ–ሻ ՚ Ʉ୭ ሺȁ•ሺ–ሻȁ ൅ Ɂ
The control signal is defined by:
Step 5: Design of curbing control
‫ ݑ‬ൌ ‫ݑ‬eq + un (18)
where, u is the control signal, ueq is the control derived by —୬ ሺ–ሻ ՚ Ʉሺ–ሻሺ•‹‰൫•ሺ–ሻ൯ ൅  ‫• כ‬ሺ–ሻǢ
equating the derivative of sliding surface to zero and un is the
control designed to neglect the effect of perturbation and to Step 6: Design of Control signal with equivalent control and
force the states of the system towards the sliding surface. The curbing control.
objective of the equivalent control is to guarantee that the
system trajectory remains on the sliding surface from there on.

Authorized licensed use limited to: NUST School of Electrical Engineering and Computer Science (SEECS). Downloaded on September 26,2021 at 08:32:09 UTC from IEEE Xplore. Restrictions apply
International Conference on Innovations in Power and Advanced Computing Technologies [i-PACT2017]
—ሺ–ሻ ՚ —ୣ୯ ሺ–ሻ ൅  —୬ ሺ–ሻǢ current by acting as an interface between the PV panel and the
Battery.
Step 7: Condition checking for the control signal The most common MPPT algorithm used is Perturb
and Observe (P and O) method. The advantage of this method
if —ሺ–ሻ> 1 then is that accuracy is more and faster response. This type of
u(t)=1; MPPT directly measures the voltage and current or power as
end well. The major drawback of this method is that the operating
‹ˆ—ሺ–ሻδͲ–Š‡ point oscillates at maximum power point. Also this method
—ሺ–ሻαͲǢ struggles at rapidly changing irradiance.
‡†
 A. Simulink Model of Perturb and Observe MPPT Algorithm
By implementing the above algorithm in MATLAB code, the
duty ratio of the Boost converter is controlled according to the The simulink model of the perturb and observe
control action taken. method is shown in Fig. 2.Here the panel voltage and panel
 current is sensed by the Perturb and Observe MPPT algorithm
and the duty cycle is given to the gate pulse of the Boost
V. RESULTS AND DISCUSSION converter. The voltage waveform of the Boost converter with
In this paper initially the PV panel is designed to P and O under constant irradiance and constant temperature is
provide the voltage source to the Boost Converter. The boost given in Fig. 3. which shows the output voltage of the boost
converter is designed in such a way that it regulates the PV converter is 37.94 volts.

Fig. 2. Simulink model of the Perturb and Observe MPPT algorithm

40
V o lt a g e (V o lts )

30

20

10

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (seconds)

Fig. 3. Voltage waveform of converter

Authorized licensed use limited to: NUST School of Electrical Engineering and Computer Science (SEECS). Downloaded on September 26,2021 at 08:32:09 UTC from IEEE Xplore. Restrictions apply
International Conference on Innovations in Power and Advanced Computing Technologies [i-PACT2017]
22

21.5

P V V olta g e
21

20.5

20
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (seconds)

Fig. 4. Voltage waveform of PV panel with change in irradiance

40
V o lta g e (V o lts )

30

20

10

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (seconds)

Fig. 5. Voltage waveform of Converter with change in irradiance

B. Simulink Model of Perturb and Observe MPPT Algorithm irradiance and constant temperature is given in Fig. 8. The
with Change in irradiance output voltage of the boost converter is 39.22 volts.

TABLE I. SIMULATION CONDITIONS


When the irradiance variation is given, this method
delivers maximum power but it is not robust to irradiance
variations. So this method is not applicable for rapidly Time Interval(ms) 0-25 26-50
changing environment. The sliding mode controller
Irradiance(W/m2) 1000 700
overcomes this problem effectively. When the irradiance
varies from 1000 KW/m2 to 700 KW/m2 at 0.1s, the panel PV Voltage(V) 21.05 20.01
voltage drops from 21.05 volts to 20.01 volts. The effect of
change of irradiance is shown in Fig. 4. Output Voltage(V) 39.22 38.66
in SMC
When the irradiance changes the P and O method is Output Voltage(V) 37.94 37.94
unable to track the changes in the PV panel voltage as well as in P and O
current. The voltage waveform of the converter is shown in
Fig. 5. It is clear that Perturb and observe method delivers D. Simulink Model of Sliding Mode MPPT Algorithm with
maximum power even if the irradiance varies but it is not change in irradiance
robust to irradiance changes.
C. Simulink Model of Sliding Mode MPPT Algorithm The irradiance varies between 1000 and 700 (W/m2),
while the temperature and load are maintained at constant (T=
25ι C and R=150 ohm). In the simulation, robustness of the
Fig. 6 shows the simulink model of sliding mode system is checked by varying irradiance. From Fig. 10. it can
MPPT algorithm. The panel voltage and panel current is given be concluded that this method provides robustness towards the
to the sliding mode controller. The sliding mode control also insolation variation. Thus the battery is charged efficiently
receives output voltage of the boost converter. According to even during environmental variations. The state of charge of
the control signal generated, the duty ratio is calculated and the battery during the simulation is shown in Fig. 9. The
given to the gate of the IGBT. current and voltage of the boost converter enters the battery
The state of charge of the battery during the for charging. The battery is charged efficiently even when the
simulation is shown in Fig. 7. The current and voltage of the irradiance changes. When the irradiance changes the sliding
boost converter enters the battery for charging. The voltage mode MPPT is able to track the changes in the PV panel
waveform of the Boost converter with SMC under constant voltage as well as current. The voltage of the converter drops
from 39.22 to 38.88 Volts. When the irradiance changes the

Authorized licensed use limited to: NUST School of Electrical Engineering and Computer Science (SEECS). Downloaded on September 26,2021 at 08:32:09 UTC from IEEE Xplore. Restrictions apply
International Conference on Innovations in Power and Advanced Computing Technologies [i-PACT2017]
sliding mode MPPT is able to track the changes in the PV remains the same i.e it is not able to track the irradiance
panel voltage as well as current. variation and hence it is not robust. But in sliding mode
Table 1 shows the simulation conditions of sliding controller according to the change in irradiance level, the
mode MPPT control and Perturb and Observe method. When converter voltage drops from 39.22 volts to 38.66 volts. Thus
the irradiance changes during operation, in P and O the output it is clear that the sliding mode controller is robust to the
voltage of the converter does not change from 37.94 volts but change in irradiance level.

Fig. 6. Simulink model of the Battery charger using Sliding mode MPPT control

100

99.9999
SOC

99.9998

99.9997

99.9996
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
Time (seconds)

Fig. 7. State Of Charge of the Battery using Sliding Mode MPPT Control

40

39
V o lta g e

38

37

36
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
Time (seconds)

Fig. 8. Voltage waveform of the converter using Sliding Mode MPPT Control

Authorized licensed use limited to: NUST School of Electrical Engineering and Computer Science (SEECS). Downloaded on September 26,2021 at 08:32:09 UTC from IEEE Xplore. Restrictions apply
International Conference on Innovations in Power and Advanced Computing Technologies [i-PACT2017]
100

99.9999

SOC
99.9998

99.9997

99.9996
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
Time (seconds)

Fig. 9. State Of Charge of the Battery using Sliding Mode MPPT Control with change in irradiance

39.5

39
V oltage

38.5

38

37.5
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
Time (seconds)

Fig. 10. Voltage waveform of the converter using Sliding Mode MPPT Control with change in irradiance

VI. CONCLUSION [5] Chiu, C.-S., Ouyang, Y.-L., & Ku, C.-Y. (2012). Terminal sliding
mode control for maximum power point tracking of photovoltaic
Photovoltaic based battery charger is designed using power generation systems. Solar Energy, 86(10), 2986–2995.
sliding mode MPPT controller in this paper. The robustness of [6] Kim, I.-S. (2007). Robust maximum power point tracker using
sliding mode controller for the three-phase grid-connected
the controller against irradiance changes is verified by the photovoltaic system. Solar Energy, 81(3), 405–414.
simulation results. The robustness is checked for both Perturb [7] Bellia, H., Youcef, R., & Fatima, M. (2014). A detailed modeling
and Observe MPPT algorithm and Sliding mode MPPT of photovoltaic module using MATLAB. NRIAG Journal of
algorithm by giving irradiation changes during the operation. Astronomy and Geophysics, 3(1), 53–61.
[8] Wai, R. J., & Shih, L. C. (2011). Design of voltage tracking
The stability of the system is attained by using Lyapunov control for DC-DC boost converter via total sliding-mode
theory. Simulation results show that while PO algorithm is not technique. IEEE Transactions on Industrial Electronics, 58(6),
able to detect the changes in irradiance, the SM MPPT is 2502–2511. http://doi.org/10.1109/TIE.2010.2066539
capable of detecting the variations and gives the converter [9] Mojallizadeh, M. R., Badamchizadeh, M., Khanmohammadi, S., &
Sabahi, M. (2016). Designing a new robust sliding mode controller
voltage effectively. Hence, it is concluded that Perturb and for maximum power point tracking of photovoltaic cells. Solar
Observe method is not robust to irradiance changes, but the Energy, 132, 538–546.
sliding mode controller proves to be robust towards irradiance [10] Dahech, K., Allouche, M., Damak, T., & Tadeo, F. (2017).
changes. Backstepping sliding mode control for maximum power point
tracking of a photovoltaic system. Electric Power Systems
Research, 143, 182–188.
REFERENCES [11] Farhat, M., Barambones, O., & Sbita, L. (2016). A new maximum
power point method based on a sliding mode approach for solar
[1] Rezk, H., & Eltamaly, A. M. (2015). A comprehensive comparison energy harvesting. Applied Energy.
of different MPPT techniques for photovoltaic systems. Solar [12] Farhat, M., Barambones, O., & Sbita, L. (2015). Real-Time
Energy, 112, 1–11. Efficiency Boosting for PV Systems Using MPPT Based on
[2] Utkin, V. (2013). Sliding mode control of DC/DC converters. Sliding Mode. Energy Procedia, 75, 361–366.
Journal of the Franklin Institute, 350(8), 2146–2165. [13] Rekioua, D., Achour, A. Y., & Rekiouaa, T. (2013). Tracking
[3] Zhang, F., Maddy, J., Premier, G., & Guwy, A. (2015). Novel power photovoltaic system with sliding mode control strategy.
current sensing photovoltaic maximum power point tracking based Energy Procedia, 36, 219–230.
on sliding mode control strategy. Solar Energy, 118, 80–86. [14] Yatimi, H., & Aroudam, E. (2016). Assessment and control of a
[4] Mule, S. M., & Sankeshwari, S. S. (2015). Sliding Mode Control photovoltaic energy storage system based on the robust sliding
based Maximum Power Point Tracking of PV System. IOSR mode MPPT controller. Solar Energy, 139, 557–568.
Journal of Electrical and Electronics Engineering Ver. II, 10(4), [15] Chu, C.-C., & Chen, C.-L. (2009). Robust maximum power point
tracking method for photovoltaic cells: A sliding mode control
2278–1676. approach. Solar Energy, 83(8), 1370–1378.

Authorized licensed use limited to: NUST School of Electrical Engineering and Computer Science (SEECS). Downloaded on September 26,2021 at 08:32:09 UTC from IEEE Xplore. Restrictions apply

You might also like