Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

IETE Journal of Research

ISSN: 0377-2063 (Print) 0974-780X (Online) Journal homepage: http://www.tandfonline.com/loi/tijr20

Adaptive PID Controller with P&O MPPT Algorithm


for Photovoltaic System

Jyotirmaya Sahoo, Susovon Samanta & Shamik Bhattacharyya

To cite this article: Jyotirmaya Sahoo, Susovon Samanta & Shamik Bhattacharyya (2018):
Adaptive PID Controller with P&O MPPT Algorithm for Photovoltaic System, IETE Journal of
Research, DOI: 10.1080/03772063.2018.1497552

To link to this article: https://doi.org/10.1080/03772063.2018.1497552

Published online: 02 Aug 2018.

Submit your article to this journal

Article views: 4

View Crossmark data

Full Terms & Conditions of access and use can be found at


http://www.tandfonline.com/action/journalInformation?journalCode=tijr20
IETE JOURNAL OF RESEARCH
https://doi.org/10.1080/03772063.2018.1497552

Adaptive PID Controller with P&O MPPT Algorithm for Photovoltaic System
Jyotirmaya Sahoo, Susovon Samanta and Shamik Bhattacharyya

Department of Electrical Engineering, National Institute of Technology Rourkela, Rourkela 769008, India

ABSTRACT KEYWORDS
In order to extract maximum power from a Photovoltaic (PV) panel different Maximum Power Point Adaptive controller; DC–DC
Tracking (MPPT) algorithms have been developed, among which Perturb and Observe (P&O) MPPT converter; Maximum power
algorithm is widely used. The P&O algorithm can be executed either by direct duty ratio or by volt- point tracking (MPPT);
age reference control. Both have drawbacks in tracking time and oscillation around MPP. In the latter Perturb and observe (P&O);
Photovoltaic (PV);
case, the reference voltage generated by the algorithm is fed to a controller (PI/PID) to generate Proportional integral
the corresponding duty ratio. The gains of PID controller are calculated under the standard test differential controller (PID
conditions (STC) (1000 W/m2 , 25°C) of PV panel and the same values are used for other operating controller)
conditions too, which does not provide satisfactory performance under varying operating condi-
tions. In this paper, an adaptive method is proposed to calculate the controller gains for different
operating conditions without using any additional sensors. The proposed method establishes a lin-
ear relation between the PID gains calculated for the STC and those for other operating conditions,
and this relation adaptively changes the PID gains for different operating conditions. It is observed
from the simulations and experimental results that the proposed adaptive method precisely tracks
the maximum power and optimizes the perturbation characteristics.

NOMENCLATURE
NS Number of series connected cells in PV
α Temperature coefficient of I SC panel
α1 Diode ideality factor Pmax Peak power of PV panel
αc Degree of freedom Pmpp PV panel power at MPP
β Temperature coefficient of V OC Tα Perturbation time
θc Required phase boost Td Derivative sampling time
θPV PV panel phase Ti Integral sampling time
ωc Crossover frequency R Load resistor
κ Required adaptive value Req PV panel equivalent resistance
Cin and Co Input and output capacitor rL Series resistance of inductor
d Duty ratio of the DC–DC converter Rs PV panel series resistance
D 1-(duty ratio of DC–DC converter) Rsh PV panel shunt resistance
Gc (s) Transfer function of PID controller vCin Input capacitor voltage
Gvpv d (s) Transfer function of the system vCo Output capacitor voltage
fc Bandwidth Veq Linearized equivalent panel voltage
Io Reverse saturation current Vmpp PV panel voltage at MPP
i_O Output current of DC–DC converter VOC PV panel open circuit voltage
iL Inductor current VPV PV panel voltage
iPV PV panel current VO DC–DC converter output voltage
Isc PV panel short circuit current Vt Thermal voltage
Impp PV panel current at MPP V ref Perturbation step size
KD Derivative gain
KI Integral gain
LIST OF ABBREVIATIONS
KP Proportional gain
L Inductor PID Proportional integral derivative
Mpv Gain of the PV system PV Photovoltaic

© 2018 IETE
2 J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM

P&O Perturb and observe


MPP Maximum power point
MPPT Maximum power point tracking
STC Standard test condition

1. INTRODUCTION
Photovoltaic (PV) power generation has become the
most emerging renewable source of energy around the (a)
world because of advantages such as lesser maintenance,
absence of moving parts which eliminates the noise effect,
low cost and increasing efficiency of solar cells. The effi-
ciency of the PV system depends on the operating point
of characteristics curve of the PV panel [1–3]. In addi-
tion, the maximum power point (MPP) on the char-
acteristics curve is influenced by solar irradiation and
temperature. Figure 1(a,b) illustrates the change of MPP
and characteristics curves for different operating con- (b)
ditions. To extract maximum available power from PV
panel, a DC–DC converter is interfaced with the panel Figure 1: I-V curves of the ELDORA 40-P PV panel
and controlled by suitable MPPT technique to operate the
panel at MPP. Till date various MPPT algorithms [4–9] Reference voltage perturbation [15,16] has an advantage
have been developed to increase the efficiency of the PV of using a controller (PI/PID) to generate the duty ratio
panel, the effectiveness of which is decided by the steady for converter. This method provides better performance
state oscillations and tracking time. This paper uses P&O over direct duty ratio control [17–19]. The PID controller
algorithm for MPPT, as it has advantages like ease of gains can be calculated by using different tuning meth-
implementation and execution. The P&O algorithm is ods by linearizing the PV panel characteristics around
developed based on the slope change of (P–V) char- the MPP under standard test condition (STC). Once cal-
acteristics of the PV panel. The slope of the curve is culated, these same set of values are also used for other
ideally zero at MPP, positive to the left of MPP, and operating conditions. However the MPP of the panel
negative to the right of MPP. The panel voltage and cur- changes with change in operating conditions which leads
rent are measured for every perturbation and the control to the changes in the panel equivalent linear model and
parameter is changed by a small amount (step size). If the transfer function of the system. Due to these changes,
power increases from the present iteration, perturbation PID controller with fixed gains does not perform satis-
of the system continues alike previous iteration, other- factorily at different operating conditions as the perfor-
wise counter action is taken. The performance of the mance criteria like steady state oscillations, overshoot,
P&O algorithm depends on its perturbation time and settling time are affected.
perturbation step size.
The above problem can be solved by tuning the con-
There are two approaches to implement the P&O troller gains according to the changes in operating con-
algorithm, the direct duty ratio control and the voltage ditions. This can be implemented with a lookup table
reference control. For direct duty ratio control [10–14], containing different controller parameters for respective
P&O algorithm directly provides the required duty ratio operating conditions. In [20], such look up table for adap-
for the DC–DC converter to reach MPP. The step size tive reference voltage based MPPT algorithm was dis-
of the duty ratio can either be fixed or varied adaptively. cussed. However, this method requires an extra sensor
For a higher value of step size, the response time to to observe the changes in irradiation. In addition, it is
reach MPP will be less while the steady state oscillations difficult to calculate the controller gains for all possible
will increase. Therefore, fixed perturbation cannot satisfy operating conditions and requires a microcontroller with
both the performance and efficiency simultaneously. In high processing power for its implementation.
case of adaptive perturbation, there is no systematic pro-
cedure to decide the scaling factor for the adaptation of The proposed adaptive method does not require any
the step size. extra sensor for its implementation; rather it utilizes the
J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM 3

same voltage and current sensors as required for imple-


menting the P&O algorithm. By observing the controller
gains for different operating conditions, a linear rela-
tion is developed between the gains calculated for STC
and other operating conditions. This linear equation uses
the power change of the panel to calculate the controller
(a) (b)
gains for different operating conditions. Because of the
adaptive nature, steady state oscillations, overshoot and Figure 2: Non-linear characteristics and the linearized
settling time at every perturbation are reduced, and the
tracking time of the algorithm is improved. To validate
the proposed method, a boost converter topology is con-
sidered in this paper. However, this algorithm can be slope of the tangent line obtained from (1) is
applied to other converter topologies also. dipv
g(Vpv, Ipv ) =
dvpv
 
2. SMALL SIGNAL MODELING FOR SYSTEM Io vpv + Rs ipv 1
DESIGN =− exp − (2)
αVt Ns αVt Ns Rsh
The MPPT system comprises of a PV panel, a DC–DC
The linear model described by the equation of tangent
converter and a load (resistance or battery). The PV panel
line in Figure 2(a) at a given point (V,I) is
and the DC–DC converter both have nonlinear and time-
variant characteristics. So it is essential to linearize the ipv = gvpv + (−gV + I) (3)
system for classical controller design.
This linear model can be equivalently represented [22]
by the circuit shown in Figure 2(b), whose current
2.1 Equivalent Linear Model of PV Panel
equation is -
PV panel presents the non-linear I–V characteristics,
vpv Veq
which is dependent on the solar irradiation and tem- ipv = − + (4)
perature. An ELDORA 40P PV panel is used for the Req Req
experimental purpose and its I–V characteristics under
The equivalent parameters in this case are :
STC (1000 W/m2 , 25°C) is shown in Figure 3. The rela-
tionship between PV panel voltage and current can be Req = −1/g
described by using single-diode model [1] as follows:
Veq = V − I/g (5)
   
vpv + Rs ipv vpv + Rs ipv
ipv = Isc − Io exp −1 − The values of V eq and Req will change with change in
α1 Vt Ns Rsh
operating conditions. Here three specific operating con-
(1)
ditions are considered for experimental purpose. Table 1
represents the values of equivalent parameters and max-
where I sc is the short-circuit current, I o is the reverse imum power for different operating conditions. It can
saturation current, V t is the thermal voltage, α1 is the be clearly observed that the equivalent parameters are
diode ideality factor, N s is the series connected cells in dependent on the operating conditions. For other operat-
PV panel, Rs is the series resistance, and Rsh is the shunt ing conditions, the changes in the equivalent parameters
resistance of the PV panel. The parameters of ELDORA can be calculated similarly.
40P under STC obtained from the data sheet are Peak
Power, Pmax : 38 W, Open Circuit Voltage, V OC : 21.8 V,
2.2 Linearization of PV System
Short Circuit Current, I SC : 2.4 A, Voltage at MPP, V mpp :
17.2 V, Current at MPP, I mpp :2.2 A, Temperature Coeffi- A boost converter fed by the linearized PV panel is
cient of V OC , β:-0.31%/°C, Temperature Coefficient of depicted in Figure 3. The main aim here is to control
I SC , α:0.058%/°C . Modeling of PV panel and determina- the switching of the boost converter in such a way that
tion of the parameters for (1) are described in [21]. The the PV panel voltage (Vpv) tracks the reference voltage
nonlinear I–V characteristics is linearized at the MPP by obtained from the MPPT algorithm. So the transfer func-
drawing a tangent to the I–V curve at the MPP (V, I). The tion between the output variable, panel voltage v
pv and
4 J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM

Table 1: Equivalent parameters of PV panel at different operating conditions


Irradiation Power
(W/m2 ) Temp. (°C) Vmpp (V) Impp (A) Veq (V) Req () Pmax (W)
1000 25 17.2 2.2 32.12 6.78 37.84
500 45 16.4 1.1 66.24 45.3 17.9
100 38 16.1 0.23 37.3 95.1 3.58

equations are obtained as:


⎡ ⎤
rL 1 D
⎡ ⎤ ⎢ − − ⎡ ⎤
LL L ⎥
d ⎣ L ⎦ ⎢ ⎥ iL
i 1 1
⎢ 0⎥
vCin = ⎢ − ⎥ ⎣vCin ⎦
dt ⎢ Cin Req Cin ⎥
vCo ⎣ D 1 ⎦ vCo
0−
Co RCo W
⎡ v ⎤
o
Figure 3: PV system equivalent circuit model ⎢ L ⎥
⎢ ⎥
+ ⎢ 0 ⎥ d̂ (8)
⎣ IL ⎦

the control variable, duty ratio d̂ is obtained using the Co
State-Space averaging technique [23]. ⎡

iL
The state variables for the system are inductor current pv = [010] ⎣vCin ⎦
y = v (9)
iL , input capacitor voltage vCin , and output capacitor vCo
voltagevCo . The ON time state equations are: Using Laplace transformation, the transfer function of
the system is obtained from eqn (8) and (9) as:
diL
L = Vcin − iL rL v
pv b1 s + b0
dt Gvpv d (s) = = (10)
d̂ s3 + a2 s2 + a1 s + a0

dvCin 1 where
Cin = (Veq − vCin ) − iL
dt Req rL 1 1
a2 = + +
L Cin Req Co R

dVco 1 ⎛ r ⎞
Co = (−vCo ) (6) L
+  
dt R ⎜ L ⎟ 1
a1 = ⎝ 1 ⎠
Co R
Cin Req
The OFF time state equations are:   
rL 1 D 2 1
+ + +
diL Cin Req Cin Co L
L = Vcin − iL rL − vCo
dt
  
1 rL 1 D 2
dvCin 1 a0 = + +
Cin = (Veq − vCin ) − iL Cin Co LReq R R Req
dt Req  
Vo 1 Vo 
b1 = , b0 = + D IL (11)
Cin L Cin Co L R
dVE 1
Co = iL − (−vCo ) (7)
dt R 2.3 Analysis and Validation of System Transfer
Function
By applying the State Space Averaging technique to Equa- The system transfer function as discussed in Equation
tions (6) and (7), and perturbing and linearizing around (10) contains the equivalent parameters of PV panel.
a stable operating point, the small-signal state-space Therefore, for different operating conditions the variation
J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM 5

Table 2: Boost converter parameters 3.1 P&O MPPT Algorithm


Switching frequency 50 kHz
Inductor, L 200 μH The reference PV voltage is varied by controlling the per-
Series resistance of inductor, rL 0.5  turbation step size (V ref ) for the direction of slope vari-
Input and output capacitor, C in and C o 220 μF
Load resistor, R 250  ation. For three-level operation of the P&O algorithm,
the perturbation time T α should be higher than the set-
tling time of the system. Similarly V ref is decided for
minimum tracking oscillation in the steady state of MPP.
Therefore, V ref and T α are two essential parameters in
this MPPT algorithm [16].

3.2 Fixed Gain PID Controller Design


The gains of the PID controller are calculated for the
parameters of the PV panel at STC, which then gener-
ates the required duty ratio for the boost converter to
operate in MPP region. The continuous-time equivalent
expression for PID control is [24],
KI
Gc (s) = KP + + KD s (12)
s
where KP , KI and KD are proportional, integral and
derivative gains of the controller, respectively. Here these
gains are calculated for a specific phase margin (PM) and
Figure 4: Bode plot of the PV System for different operating con- crossover frequency (ωc ) of the closed loop system.
ditions
The polar form of (13):
in the equivalent parameters will also change the transfer
function of the system. Table 2 contains the parame- Gc (jω) = M(ω)ejθ (ω) (13)
ters for the boost converter considered for analyzing the
variation on Gvpv d (s). Figure 6 illustrates the frequency
response analysis of Gvpv d (s) for different operating con- In addition the system can be expressed as
ditions, based on the system parameters given in Tables 1 GVpv d (jω) = |GVpv (jω)|ej∠Gpv d(jω) (14)
and 2.
From (14) and (15), the loop transfer function consider-
From Figure 4, it can be observed that the variation due ing unity feedback closed loop system, is
to the changes in operating conditions are more in case
of magnitude plots while the phase plots are less affected. GVpv d (jω) ∗ Gc (jω)
The decrease in both temperature and irradiation, results = |GVpv d (jω)| ∗ M(ω)ej∠GVpv d (jω)+jθ (ω) (15)
in a decrease in the low frequency gain and the peak over-
shoot. The crossover frequency also decreases slightly. At the specified phase margin (PM) and crossover fre-
Therefore, for closed-loop design the controller gains quency (ωC ) the above eqn. reduces to –
need to be changed.
Mpv < (PM − 180◦ − θpv ) = M(ω) < θ (ω) (16)

3. CLOSED LOOP DESIGN where Mpv = 1


|GVpv d (jω)| , θpv = ∠GVpv d (jωc )

Based on the system transfer function derived in the Now we can express:
previous section, the closed-loop controller is designed
for the PV panel-boost converter system. In a Voltage KI = KP /Ti , KD = KP Td (17)
reference control P&O algorithm implementation, the
MPPT controller decides the value of the reference volt- Assuming
age which is then compared with the PV panel voltage, Td = αC Ti (18)
and the resulting error value is fed to the PID controller
to decide the duty ratio for the boost converter. where αC = degree of freedom.
6 J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM

The required PID gains can be calculated by equating the


real and imaginary parts of eqn. (17) and using the eqns
(18) and (19) which gives:

tanθc + tan2 θc + 4αC
KP = Mpv cos(θc ), Ti = (19)
2ωc αC
where θc = PM − 180◦ − ∠θpv
(a)
The open loop transfer function of PV-boost system
under STC is
2.25 × 103 s + 8.182 × 1010
GVpv d (s) =
s3 + 1439s2 + 2.398 × 107 s + 9.16 × 108
The gains of the controller for fC = 1 KHz, PM = 50°
and αC = 0.1 under STC are

KP = 0.0095, KI = 10.8and KD = 7.67 × 10−7 (b)

Figure 5 illustrates the Bode plot of the open-loop and


closed loop system for STC. It can be observed from
Figure 5 that the calculated PID gains helps to improve
the PM of the system by around 50° and the bandwidth
is also reduced to 1 kHz as is desired.

Figure 6(a,b) represents the effect of controller gain for


change in operating conditions when the controller gains (c)
are calculated by considering STC (1000 W/m2, 25 °C).
In Figure 6(a), the operating conditions are changed
from STC to (100 W/m2, 38°C) at 0.5 s, and vice-versa
in Figure 6(b). The presence of the 3-level tracking
waveforms verifies the proper operation of the P&O
algorithm.

(d)

(e)

(f)

Figure 6: Tracking waveforms for P&O algorithm with fixed


Figure 5: Bode plot of open-loop and closed-loop transfer func-
and adaptive gain PID controller where V ref = 0.25 V and
tions at STC
Ta = 20 ms; (a,b) – PID gains calculated for STC. (c,d) – PID gains
calculated for (100 W/m2 , 38°C). (e,f) – adaptive PID gains
J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM 7

Figure 6(c) and vice-versa in Figure 6(d). In Figure 6(c),


it is interesting to note that the instantaneous dip in volt-
age at 0.5 s is only down to 15.2 V as compared to 12.5 V
in Figure 6(a). Moreover, the transient overshoot is absent
unlike Figure 6(a). The settling time at each perturbation
level is reduced and the steady state error is also absent. In
case of Figure 6(d), it can be observed that the oscillations
are increased for each level under STC, along with an
increase in settling time compared to that of Figure 6(b).
Figure 7: Power output for different operating conditions This occurs as the controller gains have been calculated
for (100 W/m2 , 38°C) in Figure 6(c,d), as compared to the
Table 3: Controller gains at different operating conditions gains calculated for STC in case of Figure 6(a,b). A voltage
Serial no. Irradiation (W/m2 ) Temp. (°C) Kp KI KD dip occurs in the system with a sudden decrease in irra-
I 1000 25 0.0095 10.8 7.67 × 10−7 diance from a higher value a as shown in Figure 6(a,c). A
II 500 45 0.015 13.4 1.77 × 10−6 high value of dip voltage would drive the PV panel toward
III 100 38 0.105 21.6 8.55 × 10−6
the constant current region on the P–V curve, which
is relatively less stable to the constant voltage region.
It can be observed from Figure 6(a) that, as the controller Thus the value of the dip voltage should also be con-
gains were calculated based on STC, at the instant of trolled to prevent the system from being driven toward
change in operating conditions from STC to (100 W/m2 , instability.
38°C), there is a sharp decrease in PV voltage down to
12.5 V. Moreover, a transient overshoot occurs at the next So from the observations in Figure 6(a–d), we can con-
perturbation and the system reaches the steady state at clude that the tracking characteristic is better when the
around 0.8 s. It is also noted that, in the steady state, PID controller gains are set for their respective operating
the settling time is increased for each level and there conditions.
also appears a steady-state error at each level. In case of
Figure 6(b), after the operating condition changes and the The controller gains can be changed with the help of a
system attains steady state at around 0.75 s, the settling lookup table containing the values of the controller gains
time at each perturbation level is reduced as compared for different operating conditions. However, this method
to previous case, and the steady state error is also absent. requires extra sensors for sensing the values of irradia-
From Figure 7 it can be found that the output power of tion and temperature. In addition, it is difficult to store
the system at STC is 37.84 W and this power level drops the controller parameter values for all possible operating
to 3.5 W at the condition of 100 W/m2 , 38°C. conditions which would also require a microcontroller
with higher processing power. That would increase the
Table 3 provides the information about changes in con- cost of the system. Therefore, in next section an adaptive
troller gains for different operating conditions which PID controller is proposed where the gains of the con-
are calculated for the corresponding changes in sys- troller are changed according to the change in operating
tem transfer function. The PID parameters at STC conditions.
(1000 W/m2 , 25°C) are K P = 0.0095, K I = 10.8 and
K D = 7.67 × 10−7 . Now with the change in operating
condition (decrease in irradiance or increase in temper- 3.3 Adaptive PID Controller
ature or both) the panel power reduces. From Table 3 Different adaptive methods [25–29] such as adaptive hill
it can be found that with the decrease in panel output climbing, fuzzy controller, adaptive fuzzy gain schedul-
power the PID parameters values will increase. Theo- ing PID controller are used to control the duty ratio of
retically it can be concluded from the relation between the converter, however they have complexity and com-
PID parameters and panel output power that, when the plicated optimization algorithms. The proposed adaptive
panel power output will be zero the PID parameters value method is designed by observing the changes in PID
will be infinite. In case of Figure 6(c,d), the controller gains for different operating conditions. A linear relation-
gains are calculated considering (100 W/m2 , 38°C) as the ship has been observed between the PID gains calculated
operating conditions. for STC and other operating conditions. For validation of
the relationship, Table 4 details the changes in controller
To verify the effects of the same, the operating conditions gains between STC, i.e. (1000 W/m2 , 25°C), to different
are changed from STC to (100 W/m2 , 38°C) at 0.5 s in operating conditions.
8 J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM

Table 4: Observed changes in PID gains from STC to other


operating conditions
K P(OC) K D(OC)
Operating condition (OC) K P(STC) K I(OC) − K I(STC) K D(STC)

500 W/m2 , 45°C 2.21 2.6 2.3


100 W/m2 , 38°C 11.05 10.8 11.15

From Table 4, nearly a constant gain value is required to


change the PID gains from STC to the other operating
conditions of (500 W/m2 , 45°C) and (100 W/m2 , 38°C).
From the above observation, a linear equation is derived
which will change the controller gains from STC to dif- Figure 8: EN 50530 verification with a slope of 50 W/m2
ferent operating conditions as given in eqn (21), where an
operating condition is represented by “oc” and “κ” stands
adaptive PID controller, the gains are calculated only for
for required adaptive value.
STC and the required gains for other operating condi-
KP(oc) = KP(STC) × κ tion can be decided from (21) and (22). In addition, the
proposed logic can be implemented in a low-cost micro-
KI(OC) = KI(STC) + κ (20) controller without using any extra sensors. Figure 6(e,f)
KD(OC) = KD(STC) × κ represents the tracking waveform for P&O algorithm
with the proposed adaptive PID controller. In Figure 6(e),
the operating conditions change from STC to (100 W/m2 ,
Due to the change in operating condition, the power of 38°C) and in 6(f), change from (100 W/m2 , 38°C) to STC.
PV panel will change and this change in power from STC It is interesting to note here that the overshoot present in
to a specific operating condition will provide the required Figure 6(c) is totally absent in Figure 6(e). As the over-
adaptive value (κ). As an example, the calculation for shoot may be a reason of distortion so it can be said that
power gain from STC to different operating conditions by using adaptive PID method the chances of distortion
is very close has been reduced. The tracking waveform of V pv for V ref
Pmpp(STC) has better results than that shown in Figures 6(b,c) for
their respective PID gains. The perturbation settling time
Pmpp (500W/m2 , 45◦ C)
under (100 W/m2 , 38°C) becomes better and the oscilla-
Pmpp(STC) tions for perturbation under STC are absent. Therefore,
= 2.5 = 10.56
Pmpp (100W/m2, 38◦ C) with this adaptive controller the performance and pertur-
bation characteristics of the P&O algorithm is improved
to the ideal κ for (500 W/m2 , 45°C) and (100 W/m2 , for all operating conditions.
38°C) conditions, respectively. Therefore, this power rela-
tionship will help to generate the required PID gains at The proposed adaptive PID method has also been ver-
every instant for the varying operating conditions. In ified by using EN 50530 standard. This algorithm gives
the case of P&O algorithm, PV panel voltage and cur- an efficiency of 99.73%. Figure 8 shows the waveform
rent are available from the voltage and current sensors of Ppv and Pmpp with time, when the irradiance value
respectively. Using that data it is possible to calculate the has been changed from 100 to 500 W/m2 with a slope of
power at every perturbation P(perturbation) . The value of 100 W/m2 /s.
power at MPP under STC conditions is already available
in the datasheet of the PV panel. So without using any
extra sensor, the adaptive value κ can be easily updated as 4. EXPERIMENTAL VALIDATION
follows: To validate the performance and functionality of the P&O
Pmpp(STC) MPPT algorithm with the proposed adaptive PID con-
κ= (21) troller, a prototype of PV-Boost system has been designed
P(perturbation)
as shown in Figure 9. The parameters for the designed
To justify the proposed method various simulations have Boost converter along with the specifications of the PV
been performed and it is observed that the PID controller panel used are presented in Section II. For the digi-
gains obtained from Equation (21) are given approxi- tal implementation of the proposed PID controller, an
mately the same value if it has been calculated by lin- ARDINUO UNO microcontroller has been used. The
earizing at MPP in different operating conditions. In this analog data for voltage and current of the PV Panel
J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM 9

Figure 9: Experimental set-up for the developed PV System

are read using a voltage divider circuit and a LEM LA-


55P current sensor respectively. Two 500 W Halogen and
four 100 W incandescent lamps have been used to pro-
vide the necessary irradiation artificially. In order to be
able to properly verify the performance characteristics,
the experiment is carried out with V ref = 0.25 V and
T α = 0.5 s. Figure 9 represents the experimental results
for both fixed and adaptive PID gains.

In Figure 10(a–c), the PID gains are set for STC (500
W/m2 , 45°C), (100 W/m2 , 38°C) conditions respectively,
while in Figure 8(d) the proposed adaptive PID gains
are used. From Figure 8 it can be clearly observed that
the tracking time required for a sudden decrease in irra-
diation is lower. The reason for this can be attributed
to the fact that due to a fall in irradiation, the operat-
ing point momentarily moves to the Constant Current
region in the PV characteristic curve. This leads to an
increase in dynamic resistance, which in turn reduces the
damping factor, and thus the tracking is faster. For a sud-
den increase in irradiation, the tracking time required is
higher, which is due to the momentary shift of the oper-
ating point to the Constant Voltage region, resulting in a
decrease in dynamic resistance and thus in an increase in
damping factor.

From Table 5, it can be clearly observed that the tracking


time is minimal when the PID gains are set for the
required operating conditions. For adaptive PID gains,

Table 5: Tracking time for different PID gains


Tracking Dip voltage
time (s) (Volt)
PID Gains set Change Change Change Figure 10: Tracking waveforms for different PID gains for
for operating from 100 to from 500 to from 500 to
Figure 8 condition 500 W/m2 100 W/m2 100 W/m2 changes in operating condition between (100 W/m2 , 38°C) and
(500 W/m2 , 45°C) to with Vref = 0.25 V and Ta = 0.5 s. Fixed
a STC 7 3 14
b 500 W/m2 4 2 13
PID gains for STC. (b) Fixed PID gains for (G, T) = (500 W/m2 ,
c 100 W/m2 9 1 13 45°C). (c) Fixed PID gains for (G, T) = (100 W/m2 , 38°C). (d)
d Adaptive 4 1 12 Adaptive PID gains
10 J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM

tracking time is minimal for both increase and decrease FUNDING


in irradiation. Therefore, the proposed adaptive PID con- Authors would like to thank Department of Science and Tech-
troller improves the tracking time of P&O algorithm nology for providing the grant SR/2016/EE/036 for carrying out
for all the different operating conditions, and does away the research work.
with the need to adjust the PID gain for each change in
operating conditions. ORCID
Susovon Samanta http://orcid.org/0000-0001-7740-0318
From Table 5 it can be observed that the dip in volt-
age takes place when the irradiance value decreased.
REFERENCES
The value of dip voltage has been minimized by using
adaptive PID method. The value of % ripple has found 1. Y. T. Tan, D. S. Kirschen, and N. Jenkins, “A model of
PV generation suitable for stability analysis,” IEEE Trans.
around 10% for all the conditions as the effect of Energy Convers., Vol. 19, pp. 748–55, Dec. 2004.
adaptive PID control is only to improve the transient
condition. 2. W. D. Soto, S. A. Klein, and W.A. Beckman, “Improve-
ment and validation of a model for photovoltaic array
performance,” Solar Energy, Vol. 80, pp. 78–88, Jan. 2006.

3. W. Xiao, W. G. Dunford, P. R. Palmer, and A. Capel, “Reg-


5. CONCLUSION ulation of photovoltaic voltage,” IEEE Trans. Ind. Electron.,
Vol. 54, no. 3, pp. 1365–74, June 2007.
The adaptive PID controller for voltage reference P&O
algorithm has been presented in this paper. The basic 4. D. P. Hohm and M. E. Ropp, “Comparative study of max-
idea of the proposed adaptive PID controller and how it imum power point tracking algorithms,” Prog. Photovolt.
Res. Appl., Vol. 11, no. 1, pp. 47–62, Jan. 2003.
tries to mitigate the drawbacks of fixed PID has been dis-
cussed. Here the PID controller gains change adaptively 5. V. Salas, E. Olias, A. Barrado, and A. Lazaro, “Review of
when there is a change in the operating conditions. As the maximum power point tracking algorithms for stand-
the MPP of the PV panel changes with different operat- alone photovoltaic systems,” Solar Energy Mater. Solar
ing conditions accordingly the transfer function between Cells, Vol. 90, no.11, pp. 1555–78, Jul. 2006.
PV panel voltage and duty ratio of the DC–DC con-
6. T. Esram, and P. L. Chapman, “Comparison of photovoltaic
verter changes due to the change in the linear model of array maximum power point tracking techniques,” IEEE
the PV panel. So obviously, PID controller with fixed Trans. Energy Convers., Vol. 22, no. 2, pp. 439–49, June.
gains does not perform satisfactorily at different oper- 2007.
ating conditions. After calculating the PID controller
gains for different operating conditions, a linear relation 7. A. S. Oshaba, E. S. Ali, and S. A. Elazin, “MPPT con-
trol design of PV system supplied SRM using BAT search
is developed between the gains calculated for STC and algorithm,” Sust. Energy Grids Netw., Vol. 2, pp. 51–60,
other operating conditions. This linear equation uses an 2015.
adaptive value (κ) which is calculated by dividing the
MPP power at STC with the available PV power at every 8. A. S. Oshaba, E. S. Ali, and S. A. Elazin, “PI controller
perturbation. Therefore, PID controller gains change design using ABC algorithm for MPPT of PV system sup-
pling DC motor pump load,” Neural Comput. Appl., Vol.
in a truly adaptive fashion in the proposed algorithm.
28, no. 2, pp. 353–64, 2017.
A DC–DC Boost converter has been used for simula-
tion and experimental purposes. In order to verify the 9. A. S. Oshaba, and E. S. Ali. “Bacteria foraging: a new tech-
proposed method with different operating conditions niqye for speed control of DC series motor supplied by
EN50530 testing standard were conducted. The simula- photovoltaic system,” Int. J. WSEAS Trans. Power. Syst., Vol.
tion and experimental results prove that the proposed 9, pp. 185–95, 2014.
adaptive PID controller is able to generate a required PID 10. L. Piegari, and R. Rizzo, “Adaptive perturb and observe
gains for different operating conditions and is accurately algorithm for photovoltaic maximum power point track-
tracking the MPP for the PV panel with improved per- ing,” IET Renew. Power Gener., Vol. 4, no. 4, pp. 317–28,
turbation characteristics. The experimental observations Jul. 2010.
have been performed with a slight change in perturba-
11. A. K. Abddelsalam, A. M. Massoud, S. Ahmed, and P. N.
tion time to validate the effectiveness of the proposed
Enjeti, “High-performance adaptive perturb and observe
controller. In future the proposed method can be applied MPPT technique for photovoltaic-based microgrids,” IEEE
for different DC–DC converters for high power applica- Trans. Power Electron., Vol. 26, no. 4, pp. 1010–21, Apr.
tions. 2011.
J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM 11

12. Y. Jiang, J. A. A. Qahouq, and T. A. Haskew, “Adaptive step technique for PV applications,” IET Renew. Power Gener.,
size with adaptive-perturbation-frequency digital MPPT Vol. 11, no. 5, pp. 715–22, 2017.
controller for a singlesensor photovoltaic solar system,”
IEEE Trans. Power Electron., Vol. 28, no. 7, pp. 3195–205, 21. M. G. Villalva, J. R. Gazoli, and E. R. Filho, “Comprehen-
Jul. 2013. sive approach to modeling and simulation of photovoltaic
arrays,” IEEE Trans. Power Electron., Vol. 24, no. 5, pp.
13. M. Killi, and S. Samanta, “Modified perturb and observe 1198–208, May 2009.
MPPT algorithm for drift avoidance in photovoltaic sys-
tems,” IEEE Trans. Ind. Electron., Vol. 62, no. 9, pp. 22. M. G. Villalva, T. G. de Siqueira, and E. Ruppert, “Volt-
5549–59, Sept. 2015. age regulation of photovoltaic arrays: small-signal analysis
and control design,” IET Power Electron., Vol. 3, no. 6, pp.
14. J. Ahmed, and Z. Salam, “A modified P & O max- 869–80, 2010.
imum power point tracking with reduced steady-state
oscillation and improved tracking efficiency,” IEEE 23. R. W. Erickson, and D. Makismovic, Fundamentals of
Trans. Sust. Energy, Vol. 7, no. 4, pp. 1506–15, Oct. Power Electronics. Springer Science & Business Madia,
2016. 2007.

15. N. Femia, G. Petrone, G. Spagnuolo, and M. Vitelli, “Opti- 24. K. J. Åström, and T. Hägglund, Advanced PID control, ISA
mization of perturb and observe maximum power point – The Instrumentation, Systems and Automation Society,
tracking method,” IEEE Trans. Power Electron., Vol. 20, no. 2006.
4, pp. 963–73, Jul. 2005.
25. W. Xiao, and W. G. Dunford, “A modified adaptive hill
16. M. A. Elgendy, B. Zahawi, and D. J. Atkinson, “Assess- climbing MPPT method for photovoltaic power systems,”
ment of perturb and observe MPPT algorithm implemen- Proc. IEEE PESC, pp. 1957–63, 2004.
tation techniques for PV pumping applications,”
IEEE Trans. Sust. Energy, Vol. 3, no. 1, pp. 21–33, Jan. 26. N. Femia, D. Granozio, G. Petrone, G. Spagnuolo, and
2012. M. Vitelli, “Predective and adaptive MPPT perturb and
observe method,” IEEE Trans. Aerosp. Electron. Syst., Vol.
17. W. Xiao, W. G. Dunford, P. R. Palmer, and A. Capel, 43, no. 3, pp. 934–50, Jul. 2007.
“Application of centered differentiation and steepest
descent to maximum power point tracking,” IEEE 27. B. N. Alajmi, K. H. Ahmed, S. J. Finney, and B. W. Williams,
Trans. Ind. Electron., Vol. 54, no. 5, pp. 2359–549, “Fuzzy-logic-control approach of a modified hill-climbing
2007. method for maximum power point in microgrid stan-
dalone photovoltaic system,” IEEE Trans. Power Electron.,
18. F. Paz, and M. Ordonez, “Zero oscillation and irradiance Vol. 26, no. 4, pp. 1022–30, Apr. 2011.
slope tracking for photovoltaic MPPT,” IEEE Trans. Ind.
Electron., Vol. 61, no. 11, pp. 6138–47, 2014. 28. A. I. Dounis, P. Kofinas, C. Alafodimos, and D. Tseles,
“Adaptive fuzzy gain scheduling PID controller for maxi-
19. O. Khan, and W. Xiao, “Integration of start stop mechanism mum power point tracking of photovoltaic system,” Renew.
to improve maximum power point tracking performance Energy, Vol. 60, pp. 204–14, Dec. 2013.
in steady state,” IEEE Trans. Ind. Electron., Vol. 63, no. 10,
pp. 6126–35, 2016. 29. A. E. Khateb, N. A. Rahim, J. Selvaraj, and M. N. Uddin,
“Fuzzy logic controller based SEPIC converter for maxi-
20. M. Lasheen, A. K. Abdel Rahman, M. Abdel-Salam, and mum power point tracking,” IEEE Trans. Ind. Appl., Vol.
S. Ookawara, “Adaptive reference voltage-based MPPT 50, no. 4, pp. 2349–58, Jul. 2014.
12 J. SAHOO ET AL.: ADAPTIVE PID CONTROLLER WITH P&O MPPT ALGORITHM FOR PHOTOVOLTAIC SYSTEM

Authors 2012, all in electrical engineering. From 2003 to 2004, he was


a Lecturer with Birla Institute of Technology, Mesra, India. In
Jyotirmaya Sahoo received his BTech 2009, he joined the National Institute of Technology, Rourkela,
degree in Electrical Engineering in 2013, India, where he is currently an Assistant Professor. His research
and MTech in Control and Automation interests are in the analysis, modeling, and control of power
from NIT Rourkela in 2017. His research converters used in various areas such as photovoltaics, electric
interest in Battery Management System. vehicles, and space applications.
Corresponding author. Email: samantas@nitrkl.ac.in

Susovon Samanta (M’11) received the Shamik Bhattacharyya received BTech


BE degree from the Regional Engineer- degree in Electrical Engineering from NIT
ing College, Durgapur, India, in 1998, Durgapur in 2012. He is presently pursu-
the ME degree from Jadavpur Univer- ing his MTech in Control and Automation
sity, Kolkata, India, in 2003, and the PhD from NIT Rourkela. His research interests
degree from the Indian Institute of Tech- are PV Standalone Systems and battery
nology Kharagpur, Kharagpur, India, in management system.

You might also like