You are on page 1of 13

International Journal of Computational Intelligence Systems, Vol.

11 (2018) 133–145
___________________________________________________________________________________________________________

Design of PID controller for sun tracker system using QRAWCP approach

Sandeep D. Hanwate and Yogesh V. Hote


Department of Electrical Engineering, Indian Institute of Technology Roorkee
Roorkee, 247667, India
E-mail: hanwate.sandeep@gmail.com

Received 11 January 2017

Accepted 26 July 2017

Abstract
In this paper, a direct formula is proposed for design of robust PID controller for sun tracker system
using quadratic regulator approach with compensating pole (QRAWCP). The main advantage of the pro-
posed approach is that, there is no need to use recently developed iterative soft computing techniques
which are time consuming, computationally inefficient and also there is need to know boundary of search
space. In order to show the superiority of the proposed approach, performance of the sun tracker system
is compared with the recently applied tuning approaches for sun tracker systems such as particle swarm
optimization, firefly algorithm and cuckoo search algorithm. The performance of the existing and pro-
posed approaches are verified in time domain, frequency domain and also using integral performances
indices. It is found that the performance is improved in transient, robustness, and uncertainty aspects in
comparison to recently proposed soft computing approaches.

Keywords: PID controller, QRAWCP, Servo motor, Sun tracker, Wind disturbance

1. Introduction According to International Renewable Energy


Agency (IRENA) capacity statistics of 2016 report
4 , the total renewable energy generated around the
In today’s technological era, electrical and elec- world is 1,985,074 MW. Out of this, solar energy
tronic devices are developing rapidly. Therefore, the has generated 227, 010 MW and the actual require-
energy demand of every country is rising 1 . More- ment 5 till 2030 is 199,721 TW.h. Also according
over, an important attention is also towards the envi- to 6 , covering 0.16% of the land with 10% efficient
ronment. This requirement of energy has to be sat- solar conversion would reduce the worlds consump-
isfied without polluting the environment, mainly by tion rate of fossil fuel up to 200%. This statistics
adopting renewable energy sources 3,2 . It is available clearly indicates that efficient methodology is re-
in different forms like wind power, hydro-power, so- quired to harness the solar energy. Keeping this fact
lar energy, geothermal energy, bio-energy, etc. To in mind, it is necessary that solar energy should be
utilize this energy, power plant has to be installed at captured properly through tracking control system.
suitable geographic location. In all these natural en- It is worth noting that the output efficiency could be
ergy sources, solar energy plays a vital role. It is the improved from 40-50% if the solar tracking systems
fastest growing renewable source, as its installation are designed well.
cost is minimum as compared to other power plants
and can be utilized at several places like within city For solar power plant, the basic requirement is
or farm as well. a solar panel which consists of photo voltaic (PV)

Copyright © 2018, the Authors. Published by Atlantis Press.


This is an open access article under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).
133
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

cells. These panels are of different types like active, sky, partially clear sky, and cloudy sky which is im-
passive and time based solar tracker 6 . The active proved to 18%, 14% and 13% respectively. In liter-
solar trackers are of two types such as, single axis ature, sun trackers are controlled using PID, fuzzy
and dual axis 7 . In single axis, only one angle is var- 11 , adaptive neural 12 , ANFIS based proportional in-

ied and other is fixed, whereas dual axis, is like a tegral (PI) 13 and bio inspired PI controller 14 . As
two degree of freedom (DOF) system. In this, one is we know that, even today also PID controller is used
an azimuth angle (θ ) which is measured from clock- in industries 15 . This PID is designed either based
wise rotation across the base and other is tilt angle on analytically or graphical methods and also from
(α) which is measured from incoming sunlight in- past few decades stochastic optimization techniques
cidence to panel. This α is also known as eleva- 16 . Various papers exist on tuning of PID controller

tion angle measured from horizon. In literature, it 17 . The first paper on PID tuning came in the litera-

is found that an additional angle, i.e., zenith angle ture in 1942 by Ziegler Nichols (ZN) 18 . In this ap-
is also considered, which is measured from vertical proach, the direct formula of deterministic approach
direction. This is shown in Fig.1. is given for the tuning of PID parameters. The ex-
tension of this work is proposed by Cohen-Coon
method in 1952 19 , which is based on ZN technique
along with dead time consideration. Recently, num-
ber of techniques has also been proposed and used in
various applications such as process control 20 , dc-
dc converters 21 and robustness for random pertur-
bations 23,22 . Similar to these analytical approach,
graphical methods have been reported for tuning of
PID parameters such as root locus, bode plot, stabil-
ity boundary locus 25,24 etc.

It is observed that there are advancements in


computer technology, hence mathematical compu-
tation power has increased a lot. It is found that
from last few decades, stochastic optimization tech-
niques are popular 26 , in order to find optimal so-
lution of PID type controllers. One such technique
Figure 1: Different angles of sun tracker system
is swarm optimization which is based on swarm in-
spired behavior of birds and insects in our environ-
In passive tracker 8 , the working principle is ment. One type of swarm optimization techniques
based on the imbalanced weights of cylindrical is particle swarm optimization (PSO) which is pro-
tubes. During the daytime, sunlight intensity varies, posed by Kennedy and Eberthart 28,27 . It is based on
since pressure inside the tube and weight of the behavior of birds which are searching for food in a
cylinder also varies. So accordingly solar panel also group. Further, firefly algorithm (FFA) 29 is based
rotates. In a time based tracker system 9 , first of all, on flashing behavior of fireflies which attract each
sun position is recorded as per to daily or yearly ex- other. Furthermore, cuckoo search algorithm (CSA)
perience. Further, this tracking data (co-ordinates) is 30 is based on cuckoos behavior of laying eggs in an-

programmed with the controller for future positions. other bird’s nest for hatching, but the probability is
In 10,1 , researchers analyzed efficiency in terms of that, host bird may find the cuckoo’s egg and throw it
output power between fixed panel and solar tracker out. Here, the cuckoo’s egg is the objective solution
system. This results are carried on physical fix PV for the problem. In 31 optimal control technique is
and solar tracker system which shows improvement proposed, which is simple computational for convex
in power output during different conditions like clear system. In 32 , it is shown that the optimal and robust

134
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

PID controller can be designed using pole placement tilted angle (α) which measures the inclination angle
approach. The method has been applied to inverted of sunlight. As sun tracker is a non-interacting sys-
pendulum problem. However, no direct formula is tem, controller designed for single axis will be the
given for tuning of PID controller. Therefore, in this replica for another axis also. Therefore, the analysis
paper, a new method has been proposed for obtain- has been carried out on a single axis sun tracker sys-
ing direct formula for designing PID controller us- tem as shown in Fig. 3. Mathematical model of sun
ing quadratic regulator approach with compensating tracker is determined using basic laws of physics.
pole (QRAWCP). The advantage of this method is For the major hardware parts such as DC servo mo-
that there is no need for any iterative procedure for tor, it’s speed transfer function G1 is given in (1) and
designing of PID controller. The validity of the pro- G2 is for position control in (2). A gear ratio (N)
posed approach is carried out by checking robust- and other parameters with values are listed in Ta-
ness and optimality. The results are compared with ble 1. Now considering single axis model as shown
the recently proposed standard soft computing meth- in Fig. 3. Applying Kirchhoff law to DC motor, we
ods. get velocity (ω(s)) control transfer function as
The rest of the paper is organized in the fol-
lowing manner: In section 2, parameters of the sun ω(s) Kt
G1 (s) = = (1)
tracker system and its model are described. In sec- Va (s) (Ra + La s)(Js + b) + (Kt Kb )
tion 3, QRAWCP approach to design PID controller
where, Va (s) is an armature input voltage. By inte-
is presented. In section 4, simulation results of pro-
grating (1), the position control transfer function can
posed approach is presented. Finally, in the last sec-
be written as,
tion, conclusion and future scope are discussed.
θy (s)
G2 (s) =
2. Model of sun tracker system Va (s)
(2)
Kt
=
La Js + (bLa + Ra J)s2 + (Ra b + Kt Kb ) s
3
Table 1: Parameters of sun tracker system
Moreover, the sun tracker is interfaced with some
Parameter Value Unit additional components such as error discriminator
(Ke ), amplifier gain (K), servo amplifier (Ks ) and
Error discriminator(Ke ) 0.001 V/rad gear ratio (N). If all these parameters are consid-
Amplifier gain(K) 10000 V/V ered, then open loop transfer function for this sun
Servo amplifier(Ks ) 1 V/V tracker system becomes,
Armature resistance(Ra ) 6.25 ohm
Armature inductance(La ) 0.001 H θy (s)
G(s) =
Torque constant(Kt ) 0.01125 Nm/A θr (s)
(3)
Back emf constant(Kb ) 0.0125 Nm/A Ks KKe Kt N
=
Inertia of motor rotor(J) 1 × 10−6 kgm2 /rad La Js + (bLa + Ra J)s2 + (Ra b + Kt Kb ) s
3

Friction coefficient(b) 0.000001 Nm


Equation (3) transfer function can also be written as
Gear ratio(N) 1/800 -
a4
G(s) = (4)
b1 s3 + b2 s2 + b3 s + b4
In this paper, the sun tracker system with DC servo
motor and PID controller is shown in Fig. 2. To where, a4 = Ks KKe Kt N, b1 = La J, b2 = (bLa +Ra J),
obtain maximum efficiency from solar panel, min- b3 = (Ra b + Kt Kb ), and b4 = 0. Equation (4) can
imum two axis of sun tracker is required, i.e., one is be transformed into a state space model, by defin-
azimuth angle (θ ) which measures the angle of in- ing the states as, x1 = θy , x2 = θ̇y , and x3 = θ̈y . The
coming sunlight to the surface of PV cell and other is input and output variables are represented as u = θr

135
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

Figure 2: Control of sun tracker system layout

and y = θy , respectively. Using this, the state space (Ki ) and derivative (Kd ) (PID) controller C(s) can be
model can be written as written as
⎡ ⎤ ⎡ ⎤⎡ ⎤ ⎡ ⎤
ẋ1 0 1 0 x1 0 Kd s2 + sKp + Ki
⎣ ẋ2 ⎦ = ⎣ 0 C(s) = (6)
0 1 ⎦ ⎣ x2 ⎦ + ⎣ 0 ⎦ u s
b3 a4
ẋ3 − b1 − b1 − bb21
b4
x3 b1 Step 2: The closed-loop characteristic equation for
⎡ ⎤
x PID controller C(s) and plant G(s) is given as,
  1
y = 1 0 0 ⎣ x2 ⎦
Δ(s) = 1 + G(s)C(s) (7)
x3
(5) Simplifying (7) and equating to zero, we get,

b2 3 b3 + a4 Kd 2
3. Proposed QRAWCP approach to design PID s + s +
4
s
b1 b1
controller for sun tracker system  (8)
b4 + a4 Kp a4
+ s + Ki = 0
The quadratic regulator approach with compensa- b1 b1
tion pole (QRAWCP) approach to tune PID con- Step 3: The state space form for sun tracker sys-
troller is described as follows. tem is given in (5). Using this, design of PID by
Step 1: The transfer function of the sun tracker sys- QRAWCP approach are given in step 4 to step 7.
tem model G(s) is given in (4), and it’s parameters They are given below.
are given in Table 1. The proportional (K p ), integral Step 4: Determination of performance index in

136
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

Figure 3: Model of sun tracking system

terms of initial condition: (10), the performance index (10) can be written as,
The quadratic regulator approach is an optimal state ∞ 
feedback controller which can be designed to mini- Jl = xT Qx +(Kl x)T R (Kl x) dt
0 (12)
mize a specific quadratic cost function, also known ∞
as performance index (PI). The PI is designed for = xT Q + KlT RKl x dt
0
constraints like control voltage (u), output signal (y),
error (e) or unconstrained objectives of linear time Let,
invariant (LTI) system . The optimal control vector d T
u(t) is obtained by using the following equation: xT Q + KlT RKl x = − x Px
dt (13)
u(t) = −Kl x(t) (9) = −xT Pẋ − ẋT Px
On putting (11) in (13) and then substituting in (12),
Here, unconstrained optimal action is considered. we get,
Therefore, cost function of the system is defined as  
Jl = −xT P (A − BKl ) + (A − BKl )T P x (14)


Jl = xT Qx +uT Ru dt (10) In (14), P must be positive definite matrix. By com-
0 paring (13) with (14), we get,

where Q ∈ Rl×l and R ∈ Rm×m are symmetric pos- P (A − BKl ) + (A − BKl )T P = − Q + KlT RKl
itive definite matrices. Using (9), the LTI system (15)
equation becomes, As (A − BKl ) is a stable matrix. Therefore, solv-
ing for a positive definite matrix P which will satisfy
ẋ = (A − BKl )x (15), the cost function can be evaluated as,
(11)

ẋ = Ax

Jl = xT Q + KlT Kl x dt (16)
where, 0
= (A − BKl )
A
From (13), we can write as,
If A and B are controllable, then optimal state feed- ∞
back controller can be designed. Thus A have eigen- Jl = −xT Px 0
(17)
values on the left of the s-plane. Substituting (9) in = −x (∞)Px(∞) + xT (0)Px(0)
T

137
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

As the system (11) is stable, eigenvalues of (17) From (23), the closed-loop characteristic equation
must have negative real part. Therefore, x(∞) → 0. can be written as
Thus, we get Jl = xT (0)Px(0). It is obtained in terms
 
of initial condition. a4 a4 2 a4 a4
Step 5: From (15), the minimization of Jl gives Kl s + p33 + 1
3
s + p23 + 1 s+
b1 b1 b1 b1
by using feedback control law u = −Kl x. The feed- 
a4 a4
back gain Kl is found by using p13 + 1 =0
b1 b1
(24)
Kl = R−1 BT P (18)
Step 9: The order of closed-loop system (8) is of
and further simplifying, we get Riccati equation as, fourth order and (24) is of third order. Therefore,
in order to compare these two equations, we need to
AT + PA − PBR−1 BT P + Q = 0 (19) add one pole. The methodology of adding pole is
explained below.
In (19), Q and R are selected in such a way that Let us consider fourth pole (s + λ4 ) on the left half
Q = diag(q11, q22, q33) is q11 > q22 > q33 > 0 and of the s-plane. Then (24) can be written as,
R = χ T χ > 0, where χ is non singular matrix.
  
Step 6: Using Riccati equation (19) and state model a4 a4 2 a4 a4
s + p33 + 1
3
s + p23 + 1 s
from (5), positive definite matrix P is obtained b1 b1 b1 b1
 
which is given below. a4 a4
+ p13 + 1 (s + λ4 ) = 0
⎡ ⎤ b1 b1
p11 p12 p13 (25)
P = ⎣ p12 p22 p23 ⎦ (20) The above (25) can also be written as
p13 p23 p33
 
a4 a4 3
Step 7: Using (18), state feedback control gain Kl is s + λ4 + p33 + 1
4
s +
b1 b1
obtained as    
a4 a4 a4 a4
  λ4 p33 + 1 p23 + 1 s2 +
b1 b1 b1 b1
Kl = [R]−1 BT [P]    
⎡ ⎤ a4 a4 a4 a4
  p p12 p13 λ4 p23 + 1 p13 + 1 s+
a4 ⎣ 11 (21) b1 b1 b1 b1
= [1] 0 0 p12 p22 p23 ⎦  
b1 a4 a4
p13 p23 p33 λ4 p23 + 1 =0
b1 b1
  (26)
a4 a4 a4 If (26) is compared with (8), λ4 is calculated as
Kl = p11 p23 p33 (22)
b1 b1 b1
 
a4 a4 b2
new
Step 8: Using state feedback control law for A, λ4 = − p33 + 1 − (27)
b1 b1 b1
system matrix can be written as,

The fourth pole (s + λ4 ) is augmented by δ . Here,


(sI
⎡ − A) = ⎤ δ is a compensation factor which is a variable value.
s −1 0 Thus, modified λ4 becomes,
⎢ 0 s  −1 ⎥
⎣      ⎦
p13 ab41 + 1 a4
p23 b1 + 1 ab41
a4 a4
p33 b1 + 1 b1a4  
b1 a4 a4 b2
(23) λ4 = − p33 + 1 − +δ (28)
b1 b1 b1

138
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

Before substituting (28) in (25), let 4. Simulation result and analyses


 
a4 a4
p 13 = p13 + 1 , p 23 = p23 + 1 , Using (4), substitute system parameters from Ta-
b1 b1
 (29) ble 1 in (8). Further, Q and R are considered such
a4
p 33 = p33 + 1 that Q = diag [1, 1, 1] and R = 1 × 10−5 . The gain
b1 matrix Kl can be calculated using (22), i.e., Kl =
Therefore equation (26) becomes, [7.9958, 13.8156, 316.2278]. The eigenvalues of
 closed loop system A becomes, λ1 = −6.2354 × 103 ,
b2 λ2 = −23.5549, λ3 = −2.1530 × 10−3 . The orig-
s +
4
+ δ s3
b1 inal system (24) is of third order. Therefore, we
    
a4 a4 2 a4 b2 require one more pole which is calculated using
+ p 23 + p 33 + p 33 + δ s2 (27), so we get λ4 = −1.2510 × 104 . Augment-
b1 b1 b1 b1
 ing with δ = 10000 that gives λ4 = −2.5100 × 103 .
 2   
a4 a4 a4 b2 Using these roots, the coefficients of characteristic
+ p 13 + p 23 p 33 + p 23 +δ s equation (31) is obtained as: p1 = 8.7690 × 103 ,
b1 b1 b1 b1
  2    p2 = 1.5857 × 107 , p3 = 3.6869 × 108 and p4 =
a4 a4 b2 7.9373 × 105 Using (4), (20), then substituting in
+ p 13 p 33 + p 13 +δ =0
b1 b1 b1 (32), we get QRAWCP PID controller parameters
(30) as Kp = 2.6218 × 103 , Ki = 5.6443, Kd = 111.7160.
The above (30) can be written in simplified form as,
s4 + p1 s3 + p2 s2 + p3 s + p4 = 0 (31) 4.1. Time response analysis
where, To validate the proposed technique and to show the
  superiority of QRAWCP approach, we analyze step
b2
p1 = +δ response of sun tracker system for three cases, (i)
b1
   without disturbance, (ii) with input disturbance and
b2
p2 = p23 + p233 + p33+δ (iii) with output disturbance. The results are com-
b1 pared with the recently designed PID controller for
  
b2 sun tracker system which is based on swarm opti-
p3 = p13 + p23 p33 + p23 +δ
b1 mization approaches such as PSO 30 , FFA 30 and
   CSA 30 . The PID parameters of proposed QRAWCP
b2
p4 = p13 p33 + p13 +δ PID and PSO PID, FFA PID, and CSA PID are given
b1
in Table 2.
and
a4 a4 a4 Table 2: PID controller parameters
p13 = p 13 ; p23 = p 23 ; p33 = p 33
b1 b1 b1
Step 10: By comparing (8) and (31), we get PID Method Kp Ki Kd
controller C(s) parameters as follows, QRAWCP PID
   2621.80 5.64430 111.721
b1 b2 b4 (Proposed)
Kp = p13 + p23 p33 + p23 +δ − PSO PID 9.51202 7.49203 0.00022
a4 b1 a4
   FFA PID 9.72083 7.44047 0.00010
b1 b2
Ki = p13 p33 + p13 +δ CSA PID 9.99999 8.11378 0.00010
a4 b1
  
b1 b2 b3
Kd = p23 + p33 + p33
2
+δ −
a4 b1 a4 The performance of proposed PID controller and
(32) other existing PID controllers is presented in case 1,

139
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

case 2 and case 3 for without disturbance, with in- peak time (t p ) and steady state error (ess ). These
put disturbance and with output disturbance, respec- are tabulated in Table 3. From this table, it is found
tively. that, the proposed approach shows improved results
Case 1: Fig. 4 shows step response with controller in comparison to other PIDs. Fig. 5 shows control
for sun tracker system without disturbance. From signals using saturation limit of ±50V . It is found
this figure, it shows that performance of the pro- that overall control output of proposed QRAWCP
posed QRAWCP technique is better in comparison approach is less in comparison to other techniques.
to other PID approaches which are based on soft The performance of proposed PID is verified for dis-
computing technique. turbance di(t) and do(t), where di(t) is input distur-
bance and do(t) is output disturbance. Both these
disturbances are written mathematically in (33).
1 ⎧
⎨ 0, t < 2 or t > 4
0.8 d(t) = 0.15 × (sin 4πt + cos 2πt
Amplitude(V)

1 ⎩
+ sin πt + sin 4πt) − 0.5, 2  t  4
0.6 0.98 (33)
0.4 0.2 0.4 The output response of these equations are shown in
QRAWCP PID
CSA PID
Fig. 6. The performance analysis of the system in
0.2 PSO PID case of input disturbance and output disturbance is
FFA PID presented in case 2 and case 3, respectively.
0
0 0.5 1
Time(sec)

Figure 4: Step responses of system with PID con- 0


Amplitude(V)

trollers

-0.5
50
QRAWCP PID
40 CSA PID
-1
PSO PID
2
Amplitude(V)

FFA PID
30 1 0 1 2 3 4 5
20 0 Time(sec)
0 0.5 Figure 6: Disturbance (d(t)) applied to system
10

0 Case 2: Fig. 7 shows the step response of the


0 0.5 1 system when the disturbance (di(t)) is applied from
Time(sec) 2 to 4 seconds. The proposed approach gives bet-
ter response in comparison to other PIDs. Fig. 8
Figure 5: Control input response without distur- shows control efforts which is quite higher for pro-
bance posed controller at initial time. It is because of large
inertia of system at initial time. However, during
The results are verified by calculating transient disturbance time 2 to 4 sec (see Fig. 8), we found
performance analysis such as, rise time (tr ), settling that it is lesser and stable output (see Fig. 7) in com-
time (ts ), overshoot (Mp ), absolute peak value (At p ), parison to other approaches.

140
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

Table 3: Output response of system

Method tr (sec) ts (sec) Mp (%) At p t p (sec) ess


QRAWCP PID
0.09490 0.17750 0.00011 1.00010 0.79410 0.00011
(Proposed)
PSO PID 0.16640 0.25850 0.32890 1.00330 0.33550 0.01146
FFA PID 0.16300 0.25230 0.38740 1.00390 0.32720 0.01256
CSA PID 0.15670 0.23830 1.15880 1.01160 0.31580 0.00942

to 4 sec. to the plant output side, i.e., the measure-


1 ment noise. It is seen that, the proposed approach
gives stable response with negligible ess in compar-
0.8
Amplitude(V)

ison to other PID approaches. The control efforts


1 are shown in Fig. 10, which is quite higher for pro-
0.6 posed QRAWCP PID controller. However, during
0.4 0.95
disturbance time 2 to 4 sec, we found that, there is
QRAWCP PID
2 3 4 CSA PID
less overshoot in system output, whereas other ap-
0.2 PSO PID proaches have large overshoot (see Fig. 9). Also,
FFA PID for safety purpose we have considered the satura-
0 tion limit of ±50V. Further, loop robustness is also
0 1 2 3 4 5 verified with controller which is given in following
Time(sec)
section.
Figure 7: Step responses of system with input dis-
turbance 4.2. Loop robustness
The robustness of PID controllers for sun tracker
system, to calculate loop transfer function L(s), is
50 given by (34).
QRAWCP PID
40 CSA PID Δ(s) = 1 + L(s) (34)
PSO PID
Amplitude(V)

2 FFA PID where, L(s) is obtained as,


30
1
L(s) = G(s)C(s)
20 0
a4 (Kd s2 + sKp + Ki ) (35)
2 3 4 =
10 b1 s4 + b2 s3 + b3 s2 + b4 s

0 Loop robustness is determined in terms of gain mar-


0 1 2 3 4 5 gin (GM), phase margin (PM), gain crossover (ωgc )
Time(sec) and phase cross-over (ω pc ) frequencies. They are
tabulated in Table 4.
Figure 8: Control input responses with input distur- Further, there is need to calculate sensitivity
bance (||S||∞ ) and delay margin (DM) for robustness anal-
ysis 33 . The sensitivity (S) can be calculated as,
Case 3: Fig. 9 shows step response of system 1
when output disturbance (do(t)) is applied from 2 S= (36)
1+L

141
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

where, S∞  2 ensure robustness. However, DM is gin, better sensitivity is compare to other meth-
calculated using frequency domain analysis which is ods. Finally, the comparative studies of proposed
given by (37) QRACWP approach with existing approaches30 are
carried out by calculating integral performance in-
PM ◦ Π dices. They are explained below.
DM = (37)
180◦ × ωgc

The above robustness has been carried out for pro- 4.3. Integral performance indices
posed method and existing controllers. They are
The commonly used performance measures are In-
given in Table 4.
tegral Squared Error (ISE), Integral Absolute Error
(IAE) and Integral Time-weighted Absolute Error
(ITAE). The mathematical form is given as
1.5


ISE = (θr − θy )2 dt
Amplitude(V)

0
1

IAE = |(θr − θy )| dt (38)

0 ∞
0.5 1 QRAWCP PID
ITAE = t |(θr − θy )| dt
CSA PID 0
0.9 PSO PID
FFA PID
2 2.2 where, (θr − θy ) is the error between reference input
0
0 1 2 3 4 5 position and measured output position (θy ) at time
Time(sec) ‘t’. All integral errors are calculated for sun tracking
system which are shown in Table 5. From this table,
Figure 9: Step responses of system with output dis- it is observed that, the proposed QRAWCP method
turbance for design of PID has minimum error in comparison
to PSO PID30 , FFA PID30 and CSA PID 30 .

50 4.4. Parametric uncertainties


QRAWCP PID
CSA PID We know that in real time, parameters of the sys-
PSO PID
Amplitude(V)

FFA PID
tem are not constant. They vary from minimum
to maximum value. This is primarily due to non-
0 linearity, environmental change and also due to age-
ing. The main objective of controller design is that it
5 should work even though there exist uncertainties in
0 the system. Here, for sun tracker system model, its
-5
parameters are represented in terms of uncertainties
2 3 4
-50 as
0 1 2 3 4 5
Time(sec) K e = Ke ± ΔKe , K = K ± ΔK, K s = Ks ± ΔKs ,
Figure 10: Control input responses with output dis- La = La ± ΔLa , Ra = Ra ± ΔRa , K t = Kt ± ΔKt ,
turbance J = J ± ΔJ, b = b ± Δb, K b = Kb ± ΔKb

It is observed that, proposed PID controller Here, 50% uncertainty is considered in all the pa-
shows better stability margin, reduces delay mar- rameters of the system. For this uncertainty, the up-

142
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

Table 4: Loop robustness of PID compensated system

Method GM (dB) ωgc (rad/s) PM (deg) ω pc (rad/s) ||S||∞ DM (sec)

QRAWCP PID
∞ 2359.10 69.2549 0.0004 1.2293 0.0005
(Proposed)
PSO PID 57.8081 8.8371 69.9214 407.8013 1.2320 0.1381
FFA PID 56.8303 9.0061 69.6572 389.6705 1.2356 0.1350
CSA PID 56.5502 9.2369 68.8322 388.9042 1.2425 0.1301

per and lower bounds are shown below. Similar to section 4.1, the performance analy-
sis is carried out for both lower and upper bounds.
Ke ∈ [0.00050, 0.00150] From Fig. 11 and Fig. 12, it is observed that the per-
K ∈ [5000.00, 15000.00] formance of the proposed control is better in com-
parison to existing controllers except control input
Ks ∈ [0.50, 1.50] is slightly more at early part of the response. Fur-
 
La ∈ 5 × 10−4 , 1.50 × 10−3 ther, performance in case of parametric uncertainly
is carried out by determining performance indices in
Ra ∈ [3.125, 9.375]
case of without and with input disturbances. They
Kt ∈ [0.005625, 0.016875] are shown in Table 5 and 6, respectively. Both these
 
J ∈ 5 × 10−7 , 1.50 × 10−6 tables indicate that the proposed controller approach
  is better in comparison to existing controllers.
b ∈ 0.5 × 10−6 , 1.50 × 10−6
Kb ∈ [0.00625, 0.01875]

50 50
1 QRAWCP PID QRAWCP PID
40 CSA PID 1 40 CSA PID
0.8 PSO PID PSO PID
Amplitude(V)

Amplitude(V)

Amplitude(V)

Amplitude(V)

30
FFA PID 0.8 30 2 FFA PID
1.02
0.6 1 1
0.6
20 0.98 20 0
0.4 QRAWCP PID 0.4 QRAWCP PID
CSA PID 10 2 3 4 CSA PID 10 2 3 4
0.2 PSO PID 0.2 PSO PID
FFA PID 0 FFA PID 0
0 0
0 0.5 1 0 0.5 1 0 1 2 3 4 5 0 1 2 3 4 5
Time(sec) Time(sec) Time(sec) Time(sec)

(a) Lower bound (b) Control input (a) Lower bound (b) Control input
50 50
QRAWCP PID QRAWCP PID
1 40 CSA PID 1 40 CSA PID
PSO PID PSO PID
Amplitude(V)

Amplitude(V)

Amplitude(V)

Amplitude(V)

0.8 30
FFA PID 0.8 30
FFA PID
2
0.6 0.6 1 1
20 20 0
0.4 QRAWCP PID 0.4 0.95 QRAWCP PID
CSA PID 10 CSA PID 10 2 3 4
0.2 PSO PID 0.2 2 3 4 PSO PID
FFA PID 0 FFA PID 0
0 0
0 0.5 1 0 0.5 1 0 1 2 3 4 5 0 1 2 3 4 5
Time(sec) Time(sec) Time(sec) Time(sec)

(c) Upper bound (d) Control input (c) Upper bound (d) Control input

Figure 11: Response for 50% parametric uncertain- Figure 12: Response for 50% parametric uncertain-
ties in system without disturbance ties with input disturbance in system

143
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

Table 5: Integral performance indices for 50% perturbation without disturbance

Nominal case -50% Lower bound +50% Upper bound


Methods
ISE IAE ITAE ISE IAE ITAE ISE IAE ITAE
QRAWCP PID
0.0315 0.0532 0.0024 0.0583 0.0845 0.0048 0.0260 0.0474 0.0021
(Proposed)
PSO PID 0.0755 0.1189 0.0137 0.2140 0.3409 0.0841 0.0464 0.1019 0.0232
FFA PID 0.0744 0.1180 0.0140 0.2110 0.3368 0.0824 0.0459 0.1016 0.0233
CSA PID 0.0727 0.1134 0.0123 0.2050 0.3280 0.0790 0.0450 0.0988 0.0218

Table 6: Integral performance indices for 50% perturbation with input disturbance

Nominal Plant Lower -50% plant Upper +50% plant


Methods
ISE IAE ITAE ISE IAE ITAE ISE IAE ITAE
QRAWCP PID
0.0315 0.0536 0.0037 0.0583 0.0850 0.0063 0.0260 0.0478 0.0033
(Proposed)
PSO PID 0.0790 0.2166 0.3386 0.2275 0.5221 0.5004 0.0516 0.2250 0.3940
FFA PID 0.0779 0.2159 0.3371 0.2234 0.5114 0.4856 0.0510 0.2244 0.3913
CSA PID 0.0759 0.2043 0.3176 0.2185 0.5065 0.4831 0.0496 0.2138 0.3706

5. Conclusion References

1. B. Kuleli Pak, Y. E. Albayrak, and Y. C. Erensal, Re-


newable Energy Perspective for Turkey Using Sus-
This paper deals with the direct formula for de- tainability Indicators, International Journal of Com-
signing an optimal PID controller for sun tracking putational Intelligence Systems, 8(1) (2015), pp. 187–
197.
systems without using iterative and time consum- 2. C. Kahraman, I. Kaya, and S. Çebi, Renewable Energy
ing processes. In this regard, new QRAWCP ap- System Selection Based On Computing with Words,
proach is proposed for tuning of PID controller. It is International Journal of Computational Intelligence
shown that the proposed technique gives improved Systems, 3(4) (2010), pp. 461–473.
performance of sun tracking system in comparison 3. K. Ro and H.-h. Choi, Application of neural network
to recent stochastic optimization methods like PSO, controller for maximum power extraction of a grid-
connected wind turbine system, Electrical Engineer-
FFA and CSA in terms of transient response, loop ing, 88(1) (2005), pp. 45–53.
robustness and integral error performance indices. 4. Renewable capacity statistics 2016 report, Interna-
The main objective of this paper is to indicate that tional Renewable Energy Agency (IRENA), (2016),
in PID controller design applications, particularly pp. 1–56.
for sun tracker system, there is no need to use re- 5. Total surface area required to fuel the
world with Solar, web-article in August 13,
cently developed, time consuming, soft computing 2009, Land Art Generator Initiative URL:
techniques for PID controller design of sun tracker http://landartgenerator.org/blagi/archives/127, (ac-
systems. Still, results based on fundamental control cessed 29 May 2017).
theory is better for designing of PID controller. In 6. H. Mousazadeh, A. Keyhani, A. Javadi, H. Mobli,
future, the proposed approach can be applied to vari- K. Abrinia, and A. Sharifi, A review of principle and
ous other engineering problems. Similarly, the work sun-tracking methods for maximizing solar systems
output, Renewable and Sustainable Energy Reviews,
is in progress for developing the direct formula for 13(8) (2009), pp. 1800–1818.
finding optimal controller when there is parametric 7. G. C. Lazaroiu, M. Longo, M. Roscia, and M. Pagano,
variations in the sun tracking systems. Comparative analysis of fixed and sun tracking low

144
International Journal of Computational Intelligence Systems, Vol. 11 (2018) 133–145
___________________________________________________________________________________________________________

power PV systems considering energy consumption, pp. 1–17.


Energy Conversion and Management, 92 (2015), 21. M. M. Garg, Y. V. Hote, and M. K. Pathak, De-
pp. 143–148. sign and Performance Analysis of a PWM dcdc
8. M. Clifford and D. Eastwood, Design of a novel Buck Converter Using PILead Compensator, Arabian
passive solar tracker, Solar Energy, 77(3) (2004), Journal for Science and Engineering, 40(12) (2015),
pp. 269–280. pp. 3607–3626.
9. Y. Yao, Y. Hu, S. Gao, G. Yang, and J. Du, A multipur- 22. A. Jafarian, F. Rostami, A. K. Golmankhaneh, and
pose dual-axis solar tracker with two tracking strate- D. Baleanu, Using ANNs Approach for Solving Frac-
gies, Renewable Energy, 72 (2014), pp. 88–98. tional Order Volterra Integro-differential Equations,
10. M. R. Vincheh, A. Kargar, and G. A. Markadeh, A International Journal of Computational Intelligence
Hybrid Control Method for Maximum Power Point Systems, 10(1) (2017), pp. 470–480.
Tracking (MPPT) in Photovoltaic Systems, Arabian 23. Z. Zheng, W. Liu, and K.-Y. Cai, Robustness of fuzzy
Journal for Science and Engineering, 39(6) (2014), operators in environments with random perturbations,
pp. 4715–4725. Soft Computing, 14(12) (2010), pp. 1339–1348.
11. W. Batayneh, A. Owais, and M. Nairoukh, An in- 24. S. Sondhi and Y. V. Hote, Relative Stability
telligent fuzzy based tracking controller for a dual- Test for Fractional-Order Interval Systems Using
axis solar PV system, Automation in Construction, 29 Kharitonov’s Theorem, (Journal of Control, Automa-
(2013), pp. 100–106. tion and Electrical Systems), 27(1) (2016), pp. 1–9.
12. S. Zhou, L. Kang, J. Sun, G. Guo, B. Cheng, B. Cao, 25. N. Tan, I. Kaya, C. Yeroglu, and D. P. Atherton, Com-
and Y. Tang, A novel maximum power point tracking putation of stabilizing PI and PID controllers using
algorithms for stand-alone photovoltaic system, Inter- the stability boundary locus, Energy Conversion and
national Journal of Control, Automation and Systems, Management, 47 (2006), pp. 3045–3058.
8(6) (2010), pp. 1364–1371. 26. M. Cramer, P. Goergens, F. Potratz, and A. Schnet-
13. M. A. Abido, M. S. Khalid, and M. Y. Worku, tler, Genetic Algorithm for Optimal Meter Placement
An Efficient ANFIS-Based PI Controller for Maxi- and Selection in Distribution Grid State Estimation,
mum Power Point Tracking of PV Systems, Arabian in International ETG Congress, VDE Verlag, (Bonn,
Journal for Science and Engineering, 40(9) (2015), Germany, 2015), pp. 1–7.
pp. 2641–2651. 27. R. Eberhart and J. Kennedy, A new optimizer using
14. A. S. Oshaba, E. S. Ali, and S. M. A. Elazim, PI con- particle swarm theory, in Proc. of 6th IEEE Interna-
troller design via ABC algorithm for MPPT of PV sys- tional Symposium on Micro Machine and Human Sci-
tem supplying DC motorpump load, Electrical Engi- ence, (1995), pp. 39–43.
neering, 99(2) (2016). 28. J. Kennedy and R. Eberhart, Particle swarm optimiza-
15. K. Åström and T. Hägglund, PID Controllers: Theory, tion, in Proc. of ICNN’95 - IEEE, Int. Conf. on Neural
Design and Tuning, 2nd Revised edn., (International Networks, (Perth, WA, Australia,, 1995), pp. 1942–
Society of Automation, NC,1995). 1948.
16. S. Azali and M. Sheikhan, Intelligent control of pho- 29. X.-S. Yang, Nature-inspired optimization algorithms,
tovoltaic system using BPSO-GSA-optimized neural Elsevier insights, (Elsevier Science, Oxford, 2014),
network and fuzzy-based PID for maximum power pp. 1–263.
point tracking, Applied Intelligence, 44(1) (2016), 30. M. M. Sabir and T. Ali, Optimal PID controller design
pp. 88–110. through swarm intelligence algorithms for sun track-
17. E. Kiyak and G. Gol, A comparison of fuzzy logic ing system, Applied Mathematics and Computation,
and PID controller for a single-axis solar tracking sys- 274 (2016), pp. 690–699.
tem, Renewables: Wind, Water, and Solar, 3(1) (2016), 31. V. Azhmyakov and J. Raisch, Convex Control Sys-
pp.1–7. tems and Convex Optimal Control Problems With
18. J. G. Ziegler, N. Nichols, and R. N.Y., Optimum Set- Constraints, IEEE Transactions on Automatic Control,
tings for Automatic Controllers, Transacction of the 53(4) (2008), pp. 993–998.
A.S.M.E, 64 (1942), pp. 759–768. 32. A. Ghosh, T. R. Krishnan, and B. Subudhi, Brief Pa-
19. H. Wu, W. Su, and Z. Liu, Pid controllers: Design and per - Robust proportional-integral-derivative compen-
tuning methods, in 9th IEEE Conference on Industrial sation of an inverted cart-pendulum system: an exper-
Electronics and Applications, June (2014), pp. 808– imental study, IET, Control Theory & Applications,
813. 6(8) (2012), pp. 1145–1152.
20. S. Saxena and Y. V. Hote, Simple Approach to Design 33. W. A. Wolovich, Automatic control systems : basic
PID Controller via Internal Model Control, Arabian analysis and design, (Saunders College Pub., 1994).
Journal for Science and Engineering, 41(9) (2016),

145

You might also like