You are on page 1of 7

SUST Journal of Engineering and Computer Science (JECS), Vol. 17, No.

2, 2016

Performance Evaluation of a Fractional Order PID Controller Applied to


Separately Excited Direct Current Motor Speed Control
Aamir Hashim Obeid Ahmed
School of Electrical & Nuclear Engineering, Sudan University of Science and Technology (SUST)
aamirahmed@sustech.edu; Aamir_elec@yahoo.com

Received: 11.01.2015
Accepted: 02.08.2015

ABSTRACT - At the present time, Direct Current (DC) motors have been widely used in many industrial
applications. The main reason for their popularity is the ability to control their torque and flux easily and
independently. The most commonly used controller for the speed control of DC motor is conventional
Proportional-Integral-Derivative (PID) controller. However, the conventional PID controller has some
disadvantages. To overcome these disadvantages, various types of modified conventional PID controllers
such as Fractional Order PID (FOPID) controllers were developed. This paper presents a comparison of
time response specifications between FOPID and conventional PID controllers for a speed control of DC
motor. Performance of two controllers has been verified through simulation results using
MATLAB/SIMULINK software. Simulation results show that the FOPID controller performs better
performance and more robustness than a conventional PID controller.

Keywords: Direct Current Motor, Speed Control, PID Controller, FOPID Controller.

. , -
.
. -- . --
-- --
-- .
. --
-- .MATLAB/SIMULINK
. --

INTRODUCTION were based on classical and also intelligent


Direct current motor drives, because of their approaches [2-5]. Out of various closed loop
simplicity, ease of implementation; high controller designs available till date, the most
reliabilities, flexibilities and favorable cost have commonly used controller for the speed control of
long been a backbone of industrial applications. DC motors is classical PID controller [5-7].
They cover wide range of applications including This is mainly because the classical PID controller
computer peripherals, robotic manipulators, is easy to implement either by hardware or by
actuators, steel rolling mills, electrical vehicles, software. No deep mathematical theory is
paper machine and home appliances [1]. Therefore, necessary to understand how the classical PID
the control of the speed of a DC motor is an controller works, so everybody is able to imagine
important issue and has been studied since the what is happening inside the controller during the
early decades in the last century. Numerous control process. Furthermore, it has the ability to
controllers have been developed in literature for eliminate steady state offset trough integral action
DC motor speed control. Some of these methods and it can anticipate the changes through

19
SUST Journal of Engineering and Computer Science (JECS), Vol. 17, No. 2, 2016

derivative action. In addition to this, traditional The state space model of a separately excited DC
PID controllers have very simple control structure motor may be expressed as follows [2-4]:
and inexpensive cost. However, major problems in
applying a standard PID controller in a speed R K
control are the effects of nonlinearity in a DC dia a b
1
motor. The nonlinear characteristics of a DC dt La La ia
d
L
a a
v
motor such as saturation and friction could
KT B 0 (1)
degrade the performance of standard PID dt
controller [3-8]. Generally, an accurate nonlinear J J
model of an actual DC motor is difficult to find ia
and parameter obtained from systems y 0 1

identification may be only approximated values. In
order to tackle these problems and improve the
Where va is the input terminal voltage (armature
dynamic response of DC motor, a FOPID
voltage) in volt, Ra is the armature resistance in
controller has been used [9].
ohm, La is the armature inductance in H, J is the
The main objective of this paper is to control the
moment of inertia of the motor in kgm2/s2, B is the
speed of DC motor using a FOPID controller. The
viscous friction coefficient in Nms, Kb is the back
proposed controller is analyzed for its performance
emf constant in Vs/rad, KT is the torque factor
using MATLAB/SIMULINK software package. A
comparative study has also been made to highlight constant in Nm/A, is represents angular speed in
the advantage of using a FOPID controller over rad/s, and ia is the armature current in A. The
standard (integer order) PID controller for speed physical and functional parameters of the
control of direct current motor. separately excited DC motor used for simulation
testing are given in Table1 [2-4].
DYNAMIC MODEL OF DC MOTOR
Table 1: Parameters of the SEDC motor
Direct current motors are widely used for various
Parameters Values
industrial and domestic applications. There are
various types of direct current motors. In this Armature Resistance, Ra 1
paper, the Separately Excited DC (SEDC) motor Armature Inductance, La 0.05H
model is chosen according to its good electrical Moment of Inertia, J 0.01kgm2/s2
and mechanical performances more than other Viscous Friction Coefficient, B 0.0000 3Nms
direct current motor models. Figure 1 shows a The Back EMF Constant, Kb 0.023Vs/rad
separately excited direct current motor equivalent The Torque Factor Constant, KT 0.023Nm/A
model [2-4].
ORDINARY PID CONTROLLER
In the past decades, modern control theories have
made great advances. Control techniques including
optimal control, fuzzy control, neural network
control, predictive control, and so on, have been
developed significantly. Nevertheless, the
conventional PID controller has still been widely
utilized in many industrial applications such as
process control, motor drives, flight control. This
is mainly because classical PID controllers have
simple structure to be easily understood by
engineers, and easiness to design and implement.
However, it has been known that ordinary PID
Figure 1: A separately excited DC motor model controllers generally do not work well for non-

20
SUST Journal of Engineering and Computer Science (JECS), Vol. 17, No. 2, 2016

linear systems, and particularly complex and integration. The continuous integro-differential
vague systems that have no precise mathematical operator (D) is defined as follows [10]:
models. The differential equation of a
conventional proportional-integral-derivative
controller is given by [6-8]: d ; >0

dt
t
1; =0
u (t ) K P e(t ) K I e(t )dt K D
de(t )
(2) a Dt
(4)
dt
0 t
d ; <0
a
Where e(t) is the error signal and u(t) is
controller's output. The parameters KP, KI, and KD
are the proportional, integral and derivative gains There are several definitions of fractional order
of the conventional PID controller, respectively. integration and differentiation. Some of the
KP, KI, and KD parameters usually take positive definitions extend directly from integer order
values. The transfer function of a classical PID calculus. The most often used are Riemann
controller is expressed as follows [6-8]: Liouville (RL) definition and Grunwald-Letnikov
(GL) definition. Recently the concept of FC is
U (s) K widely introduced in many areas in science and
GPID ( s) KP I KDs (3) engineering [10].
E (s) s

REVIEW OF FRACTIONAL CALCULUS REVIEW OF FOPID CONTROLLER


The history of the Fractional Calculus (FC) covers Fractional Order Control (FOC) means controlled
over three hundard years, similar to that of systems and/or controllers described by fractional
classical differenrial calculus. In last two decades, order differential equations [11]. Recently, there are
the FC has become much pouplar among the increasing interests to enhance the performance of
researchers of different streams. Fractional ordinary PID controller by using the concept of
calculus was not much pouplar earlier because of fractional calculus, where the orders of derivatives
its highly complex mathematical expressions. But and integrals are non-integer. The idea of
with the development of computational fractional order controller was first proposed by A.
technologies it has become possible to deal with Oustaloup through Commande Robuste dOrdre
fractional calculus. Fractional calculus is an Non Entier (CRONE) controller in 1991 [12]. Later
extension of integer order calculus in which on, Igor Podlubny had initiated the most common
ordinary differential equations have been replaced form of fractional order PID in the form of PID
by fractional order differential equations. In in 1999 involving an integrator of order and
fractional order differential equations, derivatives differentiator of order , where the values of and
and integrals are not necessarily of integer order lie between 0 and 1 [13]. Clearly, depending on
and they span a wider range of differential the values of the orders and , the numerous
equations. Fractional calculus deals with fractional choices for the controller's type can be made. He
integration and differentiation. Therefore, a also demonstrated that the response of this type of
generalized differential and integral operator has controller is better as compared to the classical
been introduced as a single fundamental operator PID controller. One of the most important
advantages of the FOPID controller is the better
represented by D
a t
where a and t denote the two control of dynamical systems, which are described
integration limits related to the opearion of the by fractional order mathematical models. Another
fractional differentiation, and is the order of advantage lies in the fact that the FOPID
fractional differentiation or integration. Positive controllers are less sensitive to changes of
indicates differentiation and negative indicates parameters of a controlled system. This is due to
the two extra degrees of freedom to better adjust

21
SUST Journal of Engineering and Computer Science (JECS), Vol. 17, No. 2, 2016

the dynamical properties of a fractional order horizontal and vertical axis. As shown in Figure 3,
control system. However, up till now there is no the fractional order PID controller generalizes the
systematic way to set the value for and [14- ordinary integer order PID controller and expands
19]. The fractional integro-differential equation of it from point to plane. This expansion could
the FOPID controller is given by [13-19]: provide much more flexibility in ordinary PID
controller design. Point (0, 0) corresponds to P
u (t ) K P e (t ) K I Dte (t ) K D Dt e (t ) (5) controller, point (0, 1) corresponds to ordinary PD
controller, point (1, 0) corresponds to ordinary PI
The transfer function of the FOPID controller is controller and point (1, 1) corresponds to ordinary
obtained through Laplace transform as follows: PID controller, where as the shaded portion
KI between four corners represent the FOPID
U (s)
GFOPID ( s ) KP K s (6) controllers. Evidently, all these classical types of
E (s) s D
PID controllers are special cases of the FOPID
Or: controller, when the values of and are integer
U (s)
values of 0 or 1 [13-19].
GFOPID ( s ) KP KI s KD s (7)
E (s)
where E(s) is an error and U(s) is controller's
output. It is obvious that the fractional order PID
controller not only needs design three parameters
KP, KI, and KD, but also design two orders and
of integral and derivative controllers. Figure 2
shows the block diagram configuration of the
FOPID controller [13].

Figure 3: Pictorial representation of the fractional


order PID controller

RESULTS AND DISCUSSION


This section shows the simulation results of speed
control of the separately excited direct current
motor using FOPID controller and traditional PID
controller. Simulation results are performed by
Figure 2: Block diagram of the FOPID controller
MATLAB/SIMULINK software to compare the
performances of both controllers under several
In Equation (6), s and s have fractional orders
operating scenarios. Simulation tests are based on
which are not directly compatible with MATLAB
the facts that whether the FOPID controller is
software and it becomes difficult to realize
better performance and more robust than the
hardware of the FOPID controller. Therefore,
traditional PID controller or not. Figure 4 shows
there are several integer order approximation
the MATLAB/SIMULINK overall model of speed
methods available for fractional order elements. In
control of the separately excited DC motor using
MATLAB fractional order PID controller is
fractional order PID controller and classical PID
implemented using FOMCOM toolbox where
controller.
Oustaloup's approximation is realized [20].
Scenario one: Constant speed
Figure 3 depicts the FOPID controller and
To test the performance of the speed control of
explains how the order of the integrator and the
SEDC motor drive at a constant speed without any
order of the differentiator can vary versus the
load torque. The SEDC motor drive is started up

22
SUST Journal of Engineering and Computer Science (JECS), Vol. 17, No. 2, 2016

from stand still to trace the speed command of 12


10rad/sec.
10

Reference

Speed (rad/sec)
8
FOPID Controller
6 PID Controller

0
0 2 4 6 8 10
Time (sec)
Figure 5: Step response of SEDC using ordinary
PID and FOPID controllers

20
Figure 4: MATLAB/SIMULINK overall model of
speed control of DC motor using FOPID and PID
15
Figure 5 gives the speed responses of the
Speed (rad/sec)

separately excited DC motor drive with FOPID


controller and ordinary PID controller. In terms of
10
the speed control trajectories shown in Figure 5,
two controllers have a similar performance in term
Reference
of fast tracking of the desired speed. Also, steady
5 FOPID Controller
state error with both controllers is almost zero.
PID Controller
However, in Figure 5 it can be easily observed that
the speed response of the separately excited direct
current motor drive with FOPID controller shows 0
0 5 10 15
no sign of overshoot as observed with classical Time (sec)
PID controller thus reducing the settling time. Figure 6: Simulation result at variable speed
Furthermore, the rise time for FOPID controller is
smallest value than for traditional PID controller. It can be evident from the reponse graph shown in
Scenario two: Variable speed Figure 6 that FOPID controller gives better
For the checking of robustness, the separately performance in comaparison to ordinary PID
excited direct current motor drive was tested by controller. Furthermore, when carefully study
applying step changes in command speed at Figure 6 according to time domain specifications
regular interval without load torque. The such as settling time, rise time and overshoot, the
separately excited direct current motor drive is best performance belongs to FOPID controller.
initially started from standstill to trace the speed of Scenario three: Inversion of the speed
5rad/sec, 15rad/sec and 10rad/sec respectively at a Figure 7 presents the simulation result obtained for
regular interval of 5sec. Figure 6 shows the speed speed inverting from 15rad/s to -15rad/s under no
response for a stepped speed reference for FOPID torque load. When the speed is inverted, the
and standard PID controllers. response of the SEDC motor shows overshoot and
undershoot in case of ordinary PID controller
whereas in FOPID controller speed settles

23
SUST Journal of Engineering and Computer Science (JECS), Vol. 17, No. 2, 2016

smoothly without any remarkable overshoot and and then withdrawn at time 8sec. Here the
undershoot. In addtion, the settling time and rise ordinary PID controller was affected by change in
time for FOPID controller is shorter than for load, but FOPID controller has no affect by the
conventional PID controller. change in load. Furthermore, there is no overshoot
when FOPID controller is applied whilst using
20 ordinary PID controller, the speed significantly
Reference decreases during 5 and 8 period of time.
FOPID Controller 0.3
10 PID Controller FOPID Controller
Speed (rad/sec)

PID Controller
0.2
0

Torque (Nm)
0.1
-10

0
-20
0 2 4 6 8 10
Time (sec) -0.1
Figure 7: Speed responses of FOPID and ordinary 0 2 4 6 8 10
PID controllers with reversing speed Time (sec)
Figure 9: DC motor troque responses under load
Scenario four: Load torque torque disturbance
Load disturbance rejection is also important to
evaluate the controllers robustness. Figure 8 gives CONCLUSIONS
the speed responses when the SEDC motor is Fractional order PID and ordinary PID controllers
commanded to follow the speed reference with have been considered in this paper for controlling
sudden change in load torque. Similary, Figure 9 the speed of a separately excited DC motor.
shows their corresponding motor torque responses Performance of FOPID controller and classical
versus load torque disturbances. PID controller has been verified through
simulation using MATLAB/SIMULINK software
12 package. From the simulation results, it can be
concluded that the proposed FOPID controller
10 improves the overshoot, rise time, settling time,
good tracking of reference speed and maintaining
Speed (rad/sec)

8 the speed even while applying the load torque.


Reference
6 FOPID Controller REFERENCES
PID Controller [1] Dubey (2011), Fundamental of Electrical Drives
4
Fundamental of Electrical Drives, Narosa
Publication, Second Edition.
2
[2] Aamir Hashim Obeid Ahmed (2013), "Optimal
Speed Control for Direct Current Motors Using
0
0 2 4 6 8 10 Linear Quadratic Regulator", SUST Journal of
Time (sec) Engineering and Computer Science (JECS), Vol.
Figure 8: Speed responses of two controllers against 14, No. 3, pp. 32-38.
sudden change in torque load [3] Aamir Hashim Obeid Ahmed (2012), "High
Performance Speed Control of Direct Current
Initially the external torque load is zero and then Motors Using Adaptive Inverse Control", WSEAS
TRANSACTIONS on SYSTEMS and CONTROL,
suddenly a load torque of 1Nm is applied at t=5sec
Issue 2, Volume 7, pp. 54-63.

24
SUST Journal of Engineering and Computer Science (JECS), Vol. 17, No. 2, 2016

[4] Akhilesh K. Mishra, Anirudha Narain (2012), [12] Oustaloup, Melchoir, Lanusse, Cois, and Dancla
Speed Control of DC Motor Using Particle Swarm (2000), "The CRONE Toolbox for MATLAB", In
Optimization, International Journal of Proceeding of the 11th IEEE International
Engineering Research and Technology, Vol. 1. Symposium on Computer Aided Control System
[5] Aamir H. Obeid Ahmed (2012), "Performance Design-CACSD, Anchorage, USA, pp 190-195.
Comparison of Sliding Mode Control and [13] I. Podlubny (1999), "Fractional Order systems and
Conventional PI Controller for Speed Control of PID controllers", IEEE Transactions on
Separately Excited Direct Current Motors", SUST Automatic Control, Vol.44, No.1, pp208-214.
Journal of Engineering and Computer Science [14] C. Y. Wang (2013), "Study on Fractional Order
(JECS), Vol. 13, No. 2, pp. 74-80. PID Controller Parameter Tuning Method and
[6] Meshram and Rohit (2012), Tuning of PID Design", Jilin University.
Controller using Ziegler-Nichols Method for Speed [15] Shekher, Rai, Prakash (2012), Tuning and
Control of DC Motor, IEEE-ICAESM, pp. 117- Analysis of Fractional Order PID Controller,
122. International Journal of Electronic and Electrical
[7] T. Chamsai, P. Jirawattana and T. Radpukdee Engineering, Vol. 5, No. 1, pp 11-21.
(2010), Sliding Mode Control with PID Tuning [16] Karanjkar D. S., Chatterji s., Venkateswaran P. R
Technique: An Application to a DC Servo Motor (2012), Trends in Fractional Order Controllers,
Position Tracking Control, Energy Research IJETAE, Vol.2, Issue 3.
Journal, Vol. 1 (2), pp. 55-61. [17] S. Karad, S. Chatterji, Prasheel (2012),
[8] H. Kim, I. Maruta, T. Sugie (2008), Robust PID Performance Analysis of Fractional-Order PID
Controller Tuning Based on the Constrained Controller with the Conventional PID Controller
Particle Swarm Optimization, Automatica, Vol. for Bioreactor Control, International Journal of
44, Issue 4, pp.1104 -1110. Scientific and Engineering Research, Vol. 3, Issue
[9] Singhal, Padhee, Kaur (2012), Design of 6.
Fractional order PID Controller for speed control [18] Padula, Visioli (2011), Tuning Rules for Optimal
of DC Motor, IJSRP, Vol.2, Issue 6. PID and Fractional-Order PID Controllers, JPC,
[10] D. Cafagna (2007), Fractional Calculus: A Vol. 21, pp. 6981.
Mathematical Tool from the Past for Present [19] F. Padula and A. Visioli (2010), Set-point
Engineers, IEEE Industrial Electronics Magazine, Weighting for Fractional PID Controllers,
Vol. 1, No. 2, pp. 117-122. Proceedings of Fractional Differentiation and its
[11] Monje, Chen, Vinagre, Dingy Xue, Vicente Feliu Applications, Badajoz, Spain.
(2010), Fractional-order Systems and Controls- [20] A. Teplijakov, E. Petlekov, J. Pelikov (2011),
Fundamentals and Applications, Springer-Verlag, FOMCON Fractional Order, Modeling and
London Limited. Control Toolbox for MATLAB.

25

You might also like