Determination of The PID Controller Parameters For Speed and Position Control of DC Motor Using Gravitational Search Algorithm
Determination of The PID Controller Parameters For Speed and Position Control of DC Motor Using Gravitational Search Algorithm
net/publication/254048079
Determination of the PID controller parameters for speed and position control
of DC motor using Gravitational Search Algorithm
CITATIONS READS
17 2,463
3 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Ugur Guvenc on 18 October 2016.
At the present time, DC motors have been widely used in 2. Modeling the System
many industrial applications due to high performance of speed
control and position control. In this applications speed and In this study, proposed approach has been simulated a DC
position are generally controlled by proportion-integration (PI), shunt motor as is shown in Fig. 1. DC shunt motors have the
proportion-derivation (PD), and proportion-integration- field coil in parallel with the armature. The current in the field
derivation (PID) controller. PID controller is simple, robust and coil and the armature are independent of one another.
more preferable compare to PI or PID because of many Consequently, these motors have perfect speed and position
advantages [1]. Although the simple structure and robustness of control. The characteristics equations of the DC motor can be
PID control method, optimally tuning coefficient of proportion, defined by the following equations [1,3];
integration and derivation have been quite difficult via
conventional methods such as Ziegler-Nichols, Karl-Astrom
etc.[2].
Nowadays, many heuristic methods have been used for
tuning of PID controller parameters. Thomas and Poongodi
proposed to determination of the PID controller parameters in
position control of DC motor using the genetic algorithm [3].
Nagaraj et al. used soft computing techniques for tuning of PID
controller parameters [4]. Al-Hamouz and Al-Duwaish utilized
genetic algorithm for a new variable structure DC motor
controller [5]. Xia et al. investigated speed control of brushless
DC motor using genetic algorithm based fuzzy controller [6].
Gargari and Lucas designed optimal PID controller using Fig. 1. Diagram of the DC shunt motor
imperialist competitive algorithm [7]. Moghaddas et al. utilized
particle swarm optimization algorithm for determination PID
di
controller parameters in speed control of DC motor [8]. Nasri et
al. proposed particle swarm optimization algorithm for optimum
V R a i La ea (1)
dt
design PID controller in speed control of linear brushless DC
I-225
Te kmi (2) 3.2. Step 2: Fitness Evaluation of All Agents
dZ In this step, to execute for all agents at each iteration and best
Te J BZ (3)
and worst fitness are computed at each iteration described as
dt follows.
V s JLa s Ra J BLa s K e2 Ra B
2
(6)
In this step, the gravitational constant at iteration t (G(t)) is
computed as follows.
T s Ke t
V s JLa s Ra J BLa s 2 K e2 Ra B s
3
(7)
G (t ) G0 exp( D
T
) (11)
Where, Ra is armature resistance, La is armature inductance, where G0 is the initial value of the gravitational constant
i is armature current, V is armature voltage, ea is back emf chosen randomly, is a constant, t is the current iteration and T
voltage, Ke is back emf constant, Km is torque constant, Tm is is the total iteration number.
torque developed by the motor, is angular speed of shaft, is
angular displacement of shaft, J is moment of inertia of motor 3.4. Step 4: Update the Gravitational and Inertial
and load, B is frictional constant of motor and load.
Masses
3. Gravitational Search Algorithm In this step, the gravitational and inertial masses are updated
for each agent at iteration as follows.
Rashedi et al. proposed a new meta-heuristic searching
algorithm called Gravitational Search Algorithm (GSA) in 2009.
The Gravitational Search Algorithm is a swarm-based and also Mai Mpi Mii Mi , i 1,2,...,N (12)
is memory-less optimization algorithm based on the Newton’s
fit i t worst t
laws of gravity and mass interaction. The gravitational force
between two particles is directly proportional to the product of mi t (13)
their masses and inversely proportional to the square of the best t worst t
distance between them. According to the proposed algorithm,
agents are assumed to be objects that their performances are
where fiti(t) is the fitness of the ith agent at iteration t.
measured by means of masses. The whole agents pull each other
by the gravitational attraction force and this force induces the
mi t
M i t
movement of all agents globally towards the agents with heavier
masses. In GSA, each mass has four particulars: its position, its N
(14)
inertial mass, its active gravitational mass and passive
gravitational mass. The position of the mass equaled to a
¦ m t
j 1
j
Xi x ,..., x
1
i
d
i ,...xin for, i=1,2,…,N (8)
calculated as follows.
I-226
where randj is a random number between interval [0,1] and 3.8. Step 8: Repeat
kbest is the set of first K agents with the best fitness value and
biggest mass. In this step, steps from 2 to 7 are repeated until the iterations
The force acting on the ith mass (Mi(t)) from the jth mass reach the criteria. In the final iteration, the algorithm returns the
(Mj(t)) at the specific iteration t is described according to the value of positions of the corresponding agent at specified
gravitational theory as follows. dimensions. This value is the global solution of the optimization
problem also.
M pi (t ) u M aj (t ) All these steps explained above describes how the GSA
Fijd (t ) G(t ) ( x dj (t ) xid (t )) (16) works. Besides, the principle diagram of the GSA is illustrated
Rij (t ) H in Fig. 2.
where Rij(t) is the Euclidian distance between ith and jth 4. Tuning of PID Parameters based Gravitational
agents X (t ), X
i j (t )
2
and is the small constant.
Search Algorithm
§ N 2 ·
¨ ¦ y yˆ i ¸
MSE ¨ i 1 ¸ (20)
¨ N ¸
¨ ¸
© ¹
1
J (21)
1 MSE
Fig. 2. The principle diagram of the GSA [11] Where J is the objective function (MSE).
3.7. Step 7: Update the Position of Agents 5. Results of Simulation
th th d
In this step the next position of the i agents in d (xi (t+1)) Proposed method has been applied to tune of optimal PID
dimension are updated as follows. controller parameters. In order to verify the performance of
proposed GSA approach based on Newtonian physical law of
xid (t 1) xid (t ) vid (t 1) (19) gravity and law of motion which is tested for speed and position
control of DC motor.
I-227
The setting parameters of proposed approach are given in
Table 1.
I-228
[3] N. Thomas, P. Poongodi "Position control of DC motor
using genetic algorithm based PID controller", Proceedings
of the World Congress on Engineering (WCE), 2009.
[4] B. Nagaraj, S. Subha, B. Rampriya, "Tuning algorithms for
PID controller using soft computing techniques",
International Journal of Computer Science and Network
Security, vol. 8, no. 4, pp. 278-281, 2008.
[5] Z. M. Al-Hamouz, H. N. Al-Duwaish "A new variable
structure DC motor controller using genetic algorithms",
IEEE Industry Applications Conference, 1998.
[6] C. Xia, P. Guo, T. Shi, M. Wang, "Speed control of
brushless DC motor using genetic algorithm based fuzzy
controller", International Conference on Intelligent
Mechatronics and Automation, 2004, pp. 460-464.
[7] E. Atashpaz-Gargari, C. Lucas, "Designing an optimal PID
Fig. 7. The speed response of PID controller tuning controller using imperialist competitive algorithm", First
parameters using Ziegler-Nichols method Joint Congress on Fuzzy and Intelligent Systems, 2007.
[8] M. Moghaddas, M. Dastranj, N. Changizi, M. Rouhani
"PID control of DC motor using particle swarm
optimization (PSO) algorithm", The Journal of
Mathematics and Computer Science, vol. 1, no. 4, pp. 386-
391, 2010.
[9] M. Nasri, h. Nezamabadi-pour, M. Maghfoori, "A PSO-
based optimum design of PID controller for a linear
brushless DC motor", World Academy of Science,
Engineering and Technology, vol. 26, pp. 211-215, 2007.
[10] B. Allaoua, A. Laoufi, B. Gasbaoui, A. Abderrahmani,
"Neuro-Fuzzy DC motor speed control using particle
swarm optimization", Leonardo Electronic Journal of
Practices and Technologies, vol. 15, pp. 1-18, 2009.
[11] E. Rashedi, H. Nezamabadi-pour, S. Saryazdi, "A
gravitational search algorithm", Information Sciences, vol.
179, pp. 2232-2248, 2009.
[12] E. Rashedi, H. Nezamabadi-pour, S. Saryazdi, "Filter
Fig. 8. Root locus curve of the speed control modeling using gravitational search algorithm",
Engineering Applications of Artificial Intelligence, vol. 24,
6. Conclusion pp. 117-122, 2011.
[13] M. Yin, Y. Hu, F. Yang, X. Li, W. Gu, "A novel hybrid K-
In this paper, a novel heuristic approach GSA for tuning PID harmonic means and gravitational search algorithm
controller parameters has been presented and applied to speed approach for clustering", Expert Systems with Applications,
and position control of DC motor. The PID controller is vol. 38, pp. 9319-9324, 2011.
designed in such a way that it minimizes the sum of settling [14] C. Li, J. Zhou, "Parameters identification of hydraulic
time, rise time, maximum overshoot and mean squared error. turbine governing system using improved gravitational
Results obtained through simulation of DC motor show that PID search algorithm", Energy Conversion and Management,
controller is designed with proposed approach can be improved vol. 52, pp. 374-381, 2011.
the dynamic performance of the system. Results obtained are [15] S. Duman, U. Güvenç, N. Yörükeren, "Gravitational search
compared to other reported in the literature for position control algorithm for economic dispatch with valve-point effects",
and compared with Ziegler-Nichols for speed control of DC International Review of Electrical Engineering (I.R.E.E.),
motor. The designed PID controller with GSA is much better vol. 5, no. 6, pp. 2890-2895, 2010.
which presented satisfactory performances and own good [16] O. Ceylan, A. Ozdemir, H. Dag, "Gravitational search
robustness in terms of the rise time, settling time and maximum algorithm for post-outage bus voltage magnitude
overshoot. calculations", International Universities’ Power
Engineering Conference, (31 Aug-3 Sep 2010), 2010,
7. References Wales, UK.
[17] A. Chatterjee,G. K. Mahanti, P. R. S. Mahapatra,
[1] N. Tutkun, D. Maden, "Determination of the PID controller "Generation of phase-only pencil-beam pair from
parameters for a DC shunt motor using the genetic concentric ring array antenna using gravitational search
algorithm method", National Conference on Electrical, algorithm", International Conference on Communications
Electronics and Computer Engineering (ELECO), 2010, pp. and Signal Processing (ICCSP), 2011, pp. 384-388,
330-333. [18] M. Taghipour, A. R. Moradi, M. Y. Asrami, "Identification
[2] B. Allaoua, B. Gasbaoui, B. Mebarki, "Setting up PID DC of magnetizing inrush current in power transformers using
motor speed control alteration parameters using particle GSA trained ANN for educational purposes", IEEE
swarm optimization strategy", Leonardo Electronic Journal Conference on Open Systems (ICOS 2010), 2010, pp. 23-
of Practices and Technologies, vol. 14, pp. 19-32, 2009. 27.
I-229