Dc Fuzzy Ieee.
Dc Fuzzy Ieee.
Email address:
[email protected] (Md. Akram Ahmad), [email protected] (Kamal Kishor), [email protected] (Dr. Pankaj Rai)
Abstract: This paper describes the speed control of a DC shunt motor using conventional controllers (PID, IMC) and Fuzzy
Logic controller based on Matlab Simulation program. A mathematical model of the process has been developed using real
plant data and then conventional controllers and Fuzzy logic controller has been designed. A comparative analysis of
performance evaluation of all controllers has been done.
Keywords: PID Controller, IMC, FLC, DC Motor
1. Introduction
DC motors are widely used in industrial applications, robot applications of fuzzy set theory, introduced by L.A Zadeh in
manipulators and home appliances, because of their high 1973 and applied (Mamdani 1974) in an attempt to control
reliability, flexibility and low cost, where speed and position system that are structurally difficult to model. Since then,
control of motor are required. This paper deals with the FLC has been an extremely active and fruitful research area
performance evaluation of different types of conventional with many industrial applications reported [4]. In the last
controllers and intelligent controller implemented with a three decades, FLC has evolved as an alternative or
clear objective to control the speed of separately excited DC complementary to the conventional control strategies in
motor. various engineering areas.
PID controllers are commonly used for motor control Analysis and control of complex, nonlinear and/or time-
applications because of their simple structures and varying systems is a challenging task using conventional
intuitionally comprehensible control algorithms. Controller methods because of uncertainties. Fuzzy set theory [5] which
parameters are generally tuned using Ziegler-Nichols led to a new control method called Fuzzy Control which is
frequency response method [1]. Ziegler-Nichols frequency able to cope with system uncertainties. One of the most
response method is usually used to adjust the parameters of important advantages of fuzzy control is that it can be
the PID controllers. However, it is needed to get the system successfully applied to control nonlinear complex systems
into the oscillation mode to realize the tuning procedure. But using an operator experiences or control engineering
it’s not always possible to get most of the technological knowledge without any mathematical model of the plant [6].
plants into oscillation [2].
In process control, model based control systems are mainly 2. DC Motor
used to get the desired set points and reject small external
disturbances. The internal model control (IMC) design is Direct current (DC) motors convert electrical energy into
based on the fact that control system contains some mechanical energy through the interaction of two magnetic
representation of the process to be controlled then a perfect fields. One field is produced by a magnet of poles assembly,
control can be achieved. So, if the control architecture has the other field is produced by an electrical current flowing in
been developed based on the exact model of the process then the motor windings. These two fields result in a torque which
perfect control is mathematically possible [3]. tends to rotate the rotor.
Fuzzy logic control (FLC) is one of the most successful
2 Md Akram Ahmad et al.: Speed Control of a DC Motor Using Controllers
3. Proportional-Integral-Derivative (PID)
Controller
Figure 1. DC shunt motor model. PID controllers are probably the most widely used
industrial controller. In PID controller Proportional (P)
The armature voltage equation is given by: control is not able to remove steady state error or offset error
in step response. This offset can be eliminated by Integral (I)
V t R I t L . E t (1) control action. Integral control removes offset, but may lead
to oscillatory response of slowly decreasing amplitude or
Equation for back emf of motor will be even increasing amplitude, both of which are error, initiates
E t K ω t (2) an early correction action and tends to increase stability of
system.
Now the torque balance equation will be given by: Ideal PID controller in continuous time is given as
T t K. I t :8 9
0 12 34 <: =
(3)
"
:9
(12)
56 7; 8 9 :9
T t J Bω t (4)
Laplace domain representation of ideal PID controller is
Where, A B
K Torque constant (Nm/A) >? @ 12 1 <: @ (13)
C B 56 B
K back emf constant (Vs/rad)
Let us combine the upper equations together: Ziegler and Nichols proposed rules for determining values
of 12 , <F GHI <: based on the transient response
R .I t L . K ω t (5) characteristics of a given plant. Closed loop oscillation based
PID tuning method is a popular method of tuning PID
K. I t J Bω t (6) controller. In this kind of tuning method, a critical gain 1J is
induced in the forward path of the control system. The high
Taking Laplace Transform of (5) & (6), we get value of the gain takes the system to the verge of instability.
It creates oscillation and from the oscillations, the value of
s R .I s L .I s K ω s (7) frequency and time are calculated. Table 1 gives
experimental tuning rules based on closed loop oscillation
K. I s Jω s Bω s (8) method [2,9].
If current is obtained from (8) and substituted in (7) we Table 1. Closed loop oscillation based tuning methods.
have…
Type of Controller KL MN MO
s ω s #L . Js $ R .J L .B s K .K % (9) 0.5K R 0
!" P ∞
PI 0.45K R 0.83T 0
Then the relation between rotor shaft speed and applied
PID 0.6K R 0.5T 0.125T
armature voltage is represented by transfer function:
From the Closed loop oscillation method, 1J 13 and T = 2 sec, which
& (
(10) implies 12 7.8 , <F 1 and<: 0.5
' & )* &+ , )- , * &, ( (. , -
This is the transfer function of the DC motor. Usually, initial design values of PID controller obtained by
Consider the following values for the physical parameters all means needs to be adjusted repeatedly through computer
[7,8] simulations until the closed loop system performs or
Armature inductance (L ) = 0.5 H compromises as desired. These adjustments are done in
Armature resistance (R ) = 1Ω MATLAB simulation.
Armature voltage (V ) = 200 V
Mechanical inertia (J) = 0.01 Kg.m2 4. Internal Model Control (IMC)
Friction coefficient (B) = 0.1 N-m/rad/sec
Back emf constant K = 0.01 V/rad/sec The theory of IMC states that “control can be achieved
Motor torque constant K = 0.01N.m/A only if the control system encapsulates, either implicitly or
Rated speed = 1450 rpm explicitly, some representation of the process to be
Automation, Control and Intelligent Systems 2014; 2(6-1): 1-9 3
$
Z @
>Y (18)
&+ , $&,$/./$
a @
And if >J @
Z @ .a @
1 j >Y
Z @
>2 @ = >Y (15)
Implies,
the model is an exact representation of process, then it is
B + , $B,$/./$
clear that the output will always equal to set point. Notice >J @ (20)
.h$B + ,i.hB,/
that this ideal control performance is achieved without
feedback.
Designed the IMC controller as 5. Fuzzy Logic Controller (FLC)
>^_` @ a @ Z @ c\ >d @
b>Y (16) Table 2. Linguistic variables.
The fuzzy controllers are designed with two input error and output are [-120, 120], [-120,120] and [-180,180]
variables, error and change of error and one output variable. respectively. The rule base framed for DC motor is tabulated
The Mamdani based fuzzy inference system uses linear in Table 3[12].
membership function for both inputs and outputs [11]. For The structure of the rule base provides negative feedback
the fuzzy logic controller the input variables are error 4 and control in order to maintain stability under any condition.
rate (change) of error ∆4 , and the output variable is Linguistic variables for error, rate of error and controller
controller output ∆0 . Triangular membership functions are output are tabulated in table 2[13].
used for input variables and the output variable. Each Fig 4, 5 and 6 shows membership functions of different
variable has 7 membership functions. Thus, there were total variables implemented in FIS editor in MATLAB toolbox.
49 rules generated. The universe of discourse of error, rate of
6. Simulation
The simulations for different control mechanism discussed above were carried out in Simulink in MATLAB and simulation
results have been obtained.
Figure 14. Comparison of unit step response of PID and FLC controllers.
8 Md Akram Ahmad et al.: Speed Control of a DC Motor Using Controllers
Fig 15. Comparison of unit step response of IMC and FLC controllers.
Maximum [3] M.Saranya and D.Pamela, “A Real Time IMC Tuned PID
Controllers Settling time (sec) Rise time (sec) Controller for DC Motor”, International Journal of Recent
Overshoot (%)
PID 2.1 7.2 3.65 Technology and Engineering, ISSN: 2277-3878, Volume-1,
IMC 0 6.9 2.5 Issue-1, April 2012
FLC 0 2.3 1.8
[4] H.X.Li and S.K.Tso, "Quantitative design and analysis of
Fuzzy Proportional- Integral- Derivative Control- a Step
The feedback controller (PID controller) gives 2.1% peak TowardsAutotuning", International journal of system science,
overshoot with settling time of7.2 sec. The peak overshoot is Vol.31, No.5, 2000, pp.545-553.
in a higher side. To compensate the high peak overshoot,
model based controller (internal model controller) was [5] Zadeh, L. A., Fuzzy Sets. Information and Control, 8, 338-353,
1965.
designed. The internal model controller (IMC) reduces the
peak overshoot to 0% and reduces the settling time to 6.9 sec. [6] Assilian, S. and Mamdani, E.H., An Experiment in Linguistic
To further improve the response, Fuzzy logic controller Synthesis with a Fuzzy Logic Controller. International Journal
having seven membership functions has been designed. The of Man-Machine Studies, 7(1), 1-13, 1974.
designed fuzzy logic controller gives a peak overshoot of 0% [7] K.Venkateswarlu and Ch. Chengaiah “Comparative study on
(no overshoot) and reduces the settling time to 2.3 sec. DC motor speed control using various controllers” Volume 1 ,
Issue 6 / Dec 2013
8. Conclusion [8] AlokRanjan Singh and V.K. Giri “Design and Analysis of DC
Motor Speed Control by GA Based Tuning of Fuzzy Logic
In this paper, comparative studies of performance of Controller” International Journal of Engineering Research &
different conventional controllers and fuzzy logic controller Technology (IJERT), Vol. 1 Issue 5, July – 2012
has been studied. According to the comparison of results of [9] KiamHeongAng, Gregory Chong and Yun Li, "PID Control
the simulations, it is found that the Fuzzy Logic Controller is System Analysis, Design, and Technology," IEEE Trans.,
better than conventional controllers namely PID and IMC. Control Syst. Technol., vol. 13, no. 4, pp. 559-576, Ju12005.
Hence it is concluded that the proposed Fuzzy Logic
[10] Zhicheng Zhao, Jianggang Zhang and MingdongHou, “An
Controller provides better performance characteristics and adaptive IMC-PID control scheme based on neural network,"
improve the control of DC motor. presented at the IEEE conference, 2009.
Automation, Control and Intelligent Systems 2014; 2(6-1): 1-9 9
[11] AlokRanjan Singh and V.K. Giri “Compare and simulation of [13] Zadeh L.A., Fuzzy relation Equations and Applications to
speed control of DC motor using PID and Fuzzy controller” Knowledge Engineering, Kluwer AcademicPublishers,
VSRD International Journal of Electrical, Electronics & Holland, 1989
Communication Engineering, Vol. 2 No. 10 October 2012