Tplus en 4701

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

International Journal of Engineering Trends and Technology (IJETT) - Volume4 Issue6- June 2013

Speed Control of Separately Excited Dc


Motor Using Fuzzy Logic Controller
Rekha kushwah#1, Sulochana Wadhwani *2
#
Department of Electrical Engineering, RGPV
MITS, Gwalior, Madhya Pradesh-474005, India

*
Department of Electrical Engineering, RGPV
MITS, Gwalior, Madhya Pradesh-474005, India

Abstract— This paper demonstrates the importance of a approaches are interesting and very promising areas of
fuzzy logic controller over conventional method. The research and development [6]. In this paper, we present
speed control of a separately excited DC motor is only the fuzzy logic approach. Fuzzy logic, proposed by
performed using fuzzy logic controller (FLC) in Lotfi A. Zadeh in 1973. Zadeh introduced the concept of a
MATLAB environment. The controller is designed linguistic variable. The fuzzy logic, unlike conventional
based on the expert knowledge of the system. For the logic system, is able to model inaccurate or imprecise
proposed dc motor case, there are 9 fuzzy rules models. The fuzzy logic approach offers a simpler, quicker
designed for fuzzy logic controller. The output response and more reliable solution that is clear advantages over
of the system is obtained by using two types of conventional techniques.
controllers, namely, PID and fuzzy logic controller. The Fuzzy Logic has been successfully applied to a
performance of the designed fuzzy controller and large number of control applications. The most commonly
classic PID Speed controller is compared and used controller is the PID controller, which requires a
investigated. Finally, the result shows that the fuzzy mathematical model of the system. A fuzzy logic controller
logic approach has minimum overshoot, minimum provides an alternative to the PID controller.The control
transient and steady state parameters, which shows action in fuzzy logic controllers can be expressed with
more effectiveness and efficiency of FLC than simple “if-then” rules. Fuzzy controllers are more sufficient
conventional PID controller. than classical controllers because they can cover a much
wider range of operating conditions than classical
KEYWORDS: Fuzzy logic controller, PID control, controllers and can operate with noise and disturbances of a
Simulink, DC motor, Fuzzy inference system, different nature. [7]
Membership function.
II. SYSTEM MODELING OF SEPARATELY EXCITED
I. INTRODUCTION DC MOTOR

Accurate control is critical to every process that The term speed control stand for intentional speed
leads to various types of controllers which are being widely variation carried out manually or automatically DC motors
used in process industries. Tuning methods for these are most suitable for wide range speed control and are there
controllers are very important for process industries. The for many adjustable speed drives.
aim of this paper is to design a fuzzy logic controller for
speed control of a DC motor. Because of their high
reliabilities, flexibilities and low costs, DC motors are
widely used in industrial applications, robot manipulators
and home appliances where speed and position control of
motor are required.
All control systems suffer from problems related
to undesirable overshoot, longer settling times and
vibrations and stability while going from one state to
another state. Real world systems are nonlinear, accurate
modelling is difficult, costly and even impossible in most
cases conventional PID controllers generally do not work
Fig.1 separately excited dc motor model
well for non-linear systems. Therefore, more advanced
control techniques need to be used which will minimize the
The armature voltage equation is given by:
noise effects. To overcome these difficulties, there are three
basic approaches to intelligent control: knowledge based
expert systems, fuzzy logic, and neural networks. All three

ISSN: 2231-5381 http://www.ijettjournal.org Page 2518


International Journal of Engineering Trends and Technology (IJETT) - Volume4 Issue6- June 2013

After simplifying the above motor model, the overall


= + + (1)
transfer function will be

Now the torque balance equation will be given by: θ(s) kφ


= (10)
= + + V (s) L J s + R J s + k φ
(2)

For the DC motor with parameters given in Appendix A,


Friction in rotor of motor is very small (can be neglected), the overall transfer function of the system is given as:
so Bm = 0 Therefore, new torque balance equation will be
given by: θ(s) 0.5
= (11)
V (s) 0.002S + 0.050S + 0.625
= + (3)

Taking field flux as Φ and Back EMF Constant as K.


Equation for back emf of motor will be: IV. FUZZY LOGIC CONTROLLER

= (4) A. Description

Also, Fuzzy logic has rapidly become one of the most


successful of today's technologies for developing
= (5) sophisticated control systems. Fuzzy logic control
technology has been widely and successfully utilized in
Taking Laplace transform of the motor’s armature voltage industrial applications. Fuzzy Logic is a multi-valued logic,
equation we get that allows intermediate values to be defined between
conventional evaluations like true/false, yes/no, high/low
( )=( − )/( + (6) and emerged as a tool to deal with uncertain, imprecise, or
qualitative decision making problems. Fuzzy logic is a way
Now, taking equation (4) into consideration, we have: to make machines more intelligent to reason in a fuzzy
manner like humans.

( )=( − )/ 1+ (7) A fuzzy logic model is a logical-mathematical


procedure based on an “IF-THEN” rule system that mimics
the human way if thinking in computational form.
And
Generally, a fuzzy rule system has four modules.
( )=( − )/ =( − )/ ) (8)
 Fuzzification
Armature Time Constant  Fuzzy Inference
 Rule base

= (9)  Defuzzification

III. BLOCK DIAGRAM

Fig.3 Structure of fuzzy logic controller

Fuzzification
Fig.2 Block diagram of separately excited dc motor
The process of converting a numerical variable
(real number or crisp variables) into a linguistic variable

ISSN: 2231-5381 http://www.ijettjournal.org Page 2519


International Journal of Engineering Trends and Technology (IJETT) - Volume4 Issue6- June 2013

(fuzzy number) is called Fuzzification. In others words, obtained using in MATLAB/SIMULINK. A two input
means the assigning of linguistic value, defined by relative which is Speed Error (e) & Change in Error (ec) and one –
small number of membership functions to variable. output Change in control, fuzzy controller is created and
the membership functions and fuzzy rules are determined.
Fuzzy inference The membership functions (MF) for inputs are shown
below in Fig. 4(a), 4(b) and the MF for output is shown in
Under inference, the truth value for the premise of fig. 4(c).
each rule is computed, and applied to the conclusion part of
each rule. This results in one fuzzy subset to be assigned to 1) Membership functions for inputs and output variables
each output variable for each rule. Mostly MIN or
PRODUCT is used as inference rules. In MIN inference,
the output membership function is clipped off at a height
corresponding to the rule premise's computed degree of
truth (fuzzy logic AND). In PRODUCT inference, the
output membership function is scaled by the rule premise's
computed degree of truth.

Rule base

For the rule bases a classic interpretation of Fig. 4(a) Fuzzy input variables “error”.
Mandani was used. Under rule base, rules are constructed
for outputs. The rules are in “If Then” format and formally
the If side is called the conditions and the Then side is
called the conclusion. A rule base controller is easy to
understand and easy to maintain for a non- specialist end
user and an equivalent controller could be implemented
using conventional techniques.

Defuzzification

Defuzzification is a process in which crisp output


is obtained by the fuzzy output. In other words, process of
Fig. 4(b) Fuzzy input variables “change in error”
converting fuzzy output to crisp number. There is more
Defuzzification methods in which two of the more common
techniques are the CENTROID and MAXIMUM methods.
In the CENTROID method, the crisp value of the output
variable is computed by finding the variable value of the
centre of gravity of the membership function for the fuzzy
value. In the MAXIMUM method, one of the variable
values at which the fuzzy subset has its maximum truth
value is chosen as crisp value for the output variable [8].

B. Designing procedure

This paper presents a methodology for rule base Fig. 4(c) Fuzzy output variable “control”.
fuzzy logic controller applied to a system. Before running
the simulation in MATLAB/SIMULINK, the Fuzzy Logic
Controller is to be designed. This is done using the FIS 2). Fuzzy inference rule
editor. FIS file is created using the Fuzzy logic toolbox.
TABLE I
The design of a Fuzzy Logic Controller requires the choice RULE TABLE FOR OUTPUT VARIABLE”CONTROL”
of Membership Functions. After the appropriate
membership functions are chosen, a rule base is created. e/ec ecl ecm ech
The set of linguistic rules is the essential part of a fuzzy el ol om om
controller. The various linguistic variables to design rule
base for output of the fuzzy logic controller are enlisted in em ol om oh
Table I. The response of the fuzzy logic controller is

ISSN: 2231-5381 http://www.ijettjournal.org Page 2520


International Journal of Engineering Trends and Technology (IJETT) - Volume4 Issue6- June 2013

function of the separately excited dc motor is used as a


eh om om oh
system and find out the response of the system applying the
step function as an input.
3). Construction of rules and rule viewer A. PID controller

In figure 5(A) fuzzy if-then rules are shown and in Figure 6 shows the PID control system designed
figure 5(B) Analysis of the two inputs (error and change in in MATLAB/Simulink where controller parameters are
error) and output are shown. There are total 9 rules output adjusted using (Z-N) method.
variable.

Fig. 6 Matlab/Simulink model of system using PID controller

The simulation output of the PID Controller for 2nd


order system is represented in Fig

Fig. 5(A) Fuzzy If – then rules

Fig. 7 Step response of the system with PID controller

As can be seen from the figure, the PID controlled


response of the system has considerably high overshoot and
larger settling time values. Hence, an attempt is made to
further improve the response of the system using fuzzy
logic controller.

B. Fuzzy logic controller

Fig. 5(B) Analysis of both the inputs and outputs

V. SIMULINK IMPLEMENTATION AND RESULTS

The results of the system with using different type


of controllers are shown here. The responses of the system
with several controllers such as PID, Fuzzy Logic
Controller are being applied. In this section transfer

ISSN: 2231-5381 http://www.ijettjournal.org Page 2521


International Journal of Engineering Trends and Technology (IJETT) - Volume4 Issue6- June 2013

Fig. 8 Matlab/Simulink model of system using fuzzy logic controller Settling


1.3950 0.3405
time(sec)
% Overshoot 39.5190 4.1997
C. Step responses
VI. CONCLUSIONS
The simulation output of the Fuzzy Logic
Controller for System is represented in Figure. 9. In this paper the speed of a DC motor is controlled
using fuzzy logic and PID controller. The simulation
results are obtained using MATLAB/SIMULINK. The
fuzzy logic response is compared with that of conventional
PID controller. The results show that the overshoot, settling
time, peak time and control performance has been
improved greatly by using Fuzzy Logic controller. The
proposed fuzzy Logic controller has more advantages, such
as higher flexibility, control, better dynamic and static
performance compared with conventional controller.
Hence, Fuzzy logic controller design was proposed and
implemented.
REFFRENCES

Fig. 9 Step response of system using fuzzy logic controller [1]. Manafeddin Namazov, “DC motor position control
using fuzzy proportional-derivative controllers with
From above figure, it can be easily seen that the overshoot different Defuzzification methods” An Official
has been considerably reduced with fuzzy logic controller Journal of Turkish Fuzzy Systems Association Vol.1,
as compared to the PID using classic ZN method. No.1, pp. 36-54, 2010.
Comparative step response for PID regulated system and [2]. Vikas S. Wadnerkar, Mithun M. Bhaskar, Tulasi Ram
FLC controlled system is shown in figure 10. Das and A.D. Raj Kumar, “A New Fuzzy Logic based
Modelling and Simulation of a Switched Reluctance
STEP RESPONSES WITH PID AND FLC
Motor”, Journal of Electrical Engineering &
1.5
Technology Vol. 5, No. 2, pp. 276 - 281, 2010.
[3]. Atul Kumar Dewangan, Sashai Shukla, Vinod Yadu
“Speed Control of a Separately Excited DC Motor
1 Using Fuzzy Logic Control Based on Matlab
Simulation Program” International Journal of
Amplitude

Scientific & Technology Research Volume 1, Issue 2,


0.5 ISSN 2277-8616 pp. 52 – 54 ,March 2012
[4]. Zadeh L. A., "Outline of a New Approach to the
Analysis of Complex Systems and Decision
0 Processes", IEEE Transactions Systems, Man and
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
TIme(sec) Cybernetics, SMC-3, 1973, pp. 28-44.
[5]. Sulochana Wadhwani, Veena Verma, Rekha
Fig.10 Step responses of system using PID and fuzzy logic controller Kushwah, “Design and tuning of PID controller
parameters based on fuzzy logic and genetic
Figure 10 shows that the response of the system has greatly algorithm”, Int. Conf. On soft computing, artificial
improved on application of fuzzy logic controller (FLC). intelligence, pattern recognition, biomedical
The overshoot of the system using FLC has been reduced, engineering and associated technologies (SAP-
settling time, peak time of the system also shows BEATS), Feb 23-24 ,2013”, department of electrical
appreciable reduction as analyzed in Table II. engineering, MBM eng. College Jai Narain Vyas
university, jodhpur.
TABLE II [6]. Nader Jamali Sufi Amlashi “Design and
COMPARISON BETWEEN THE OUTPUT RESPONSES FOR Implementation of Fuzzy Position Control System for
CONTROLLERS Tracking Applications and Performance Comparison
PID controller Fuzzy logic with Conventional PID” IAES International Journal
Title
controller of Artificial Intelligence (IJ-AI) Vol. 1, No. 1, March
Rise time (sec) 0.0286 0.1240 2012, pp. 31 - 44 ISSN: 2252-8938.
Peak time (sec) 1.0763 0.2662 [7]. Zeyad Assi Obaid, Member, IAENG, Nasri Sulaiman,
M. H. Marhaban And M. N. Hamidon, Member,

ISSN: 2231-5381 http://www.ijettjournal.org Page 2522


International Journal of Engineering Trends and Technology (IJETT) - Volume4 Issue6- June 2013

IAENG “Analysis and Performance Evaluation of PD-


like Fuzzy Logic Controller Design Based on Matlab
and FPGA” IAENG International Journal of
Computer Science, 37:2, IJCS_37_2_04 (Advance
online publication: 13 May 2010).
[8]. Rekha Kushwah, Sulochana Wadhwani, “Fuzzy Logic
based Tuning of PID Controller Parameters”, National
Conference on New Frontiers for Women in Science
and Technology March 20- 21, 2013, Jiwaji
University, Gwalior (M.P.).

APPENDIX A: SYSTEM MODEL PARAMETERS

Armature resistance (Ra) 0.5Ω


Armature inductance (La) 0.02 H
Armature voltage (Va) 200 V
Mechanical inertia (jm) 0.1 Kg.m2
Friction coefficient (Bm) 0.008 N.m/rad/sec
Back emf constant (k) 1.25 V/rad/sec
Motor torque constant (k) 0.5 N.m/A

NOMENCLATURE
Va is the armature voltage (Volts)
Eb is back emf the motor (Volts)
Ia is the armature current (Ampere)
Ra is the armature resistance (Ohm)
La is the armature inductance (Henry)
Tm is the mechanical torque developed (Nm)
Jm is moment of inertia (Kg/m²) (rad/sec)
Bm is friction coefficient of the motor (Nms)
ω is angular velocity

MEANING OF THE LINGUISTIC VARIABLES IN THE


FUZZY INFERENCE SYSTEM

el Error low
em Error medium
el Error high
ecl Change in error change low
ecm Change in error medium
ech Change in error high
ol Control output is low
om Control output is medium
oh Control output is high

ISSN: 2231-5381 http://www.ijettjournal.org Page 2523

You might also like