Controlling of D.C. Motor Using Fuzzy Logic Controller: Husain Ahmed
Controlling of D.C. Motor Using Fuzzy Logic Controller: Husain Ahmed
Controlling of D.C. Motor Using Fuzzy Logic Controller: Husain Ahmed
Abstract: Most of the industrial controllers in use today utilize PID controllers. In this paper four methods for tuning of a PID
controller are compared. A mathematical model of the most commonly used dynamic system i.e., a d.c. motor is derived and a
PID controller is used in conjunction to it. Ziegler-Nichols rule based on the value of Kp is used to tune the PID controller and the
response is studied. Further, fuzzy controller is used with PID i.e. Fuzzy PID Controller. The results obtained are compared and
a conclusion is drawn that Fuzzy controlled PID responds better in case of change in load and other system disturbances.
It is needed to get the system into the oscillation mode to
realize the tuning procedure. The proposed approach uses both
fuzzy controllers and response optimization method to obtain
the approximate values of the controller parameters. Then the
parameters may be slightly varied to obtain the user-defined
performance of the real-time control system. Then the
parameters may be slightly varied to obtain the user-defined
performance of the real-time control system. Thus, its an
actual problem to design adaptive PID controllers without
getting the system into the oscillation mode. Here the
mathematical model of a dc motor is used to obtain a transfer
function between shaft position and applied armature voltage.
This model is then built in MATLAB Simulink. Then design
and tuning of proportional-integral-derivative (PID) controllers
are reviewed in Simulink with the proposed design procedure.
1.Introduction:
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. PID controllers are commonly
used for motor control applications because of their simple
structures and intuitionally comprehensible control algorithms.
Controller parameters are generally tuned using hand-tuning or
Ziegler-Nichols frequency response method. Both of these
methods have successful results but long time and effort are
required to obtain a satisfactory system response. Two main
problems encountered in motor control are the time-varying
nature of motor parameters under operating conditions and
existence of noise in system loop.
Analysis and control of complex, nonlinear and/or time-varying
systems is a challenging task using conventional methods
because of uncertainties. Fuzzy set theory (Zadeh , 1965) which
led to a new control method called Fuzzy Control[1] which is
able to cope with system uncertainties. DC motor control is
generally realized by adjusting the terminal voltage applied to
the armature but other methods such as adjusting the field
resistance, inserting a resistor in series with the armature circuit
are also available.
2. DC motor model
In armature control of separately excited DC motors, the
voltage applied to the armature of the motor is adjusted
without changing the voltage applied to the field. Figure shows
a separately excited DC motor equivalent model.
( )
666
( )
( )
( ) ( )
( )
( ) .(2)
( )
( )
( )
( )
( )
( )
( )
Where:
( )
( )
( )
( )
m2
( )
(
(
)
)
(
)
(
( )
( )
( )
( )
( ) ( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
)]
( )
)]
where ;
( )
) ]
667
( )
( )
( )
( )
( ( )
( )
( )
( )
( ( )
( )
()
7. Ziegler-Nichols rules
Controller
P
PI
PID
5. Hand-tuning rules
Operation
Rise
Time
Faster
Slower
Overshoot
Stability
Increases
Decreases
Decreases
Increases
Faster
Increases
Decreases
/8
2. Tune
such that it gives the desired response except the
final offset value from the set point.
3. Increase
4. Tune
is as large as possible.
6. Simulink implementation:
668
8. Soft Tuning:
Soft Tuning of the parameters is done using a tool in
MATLAB /SIMULINK
Where;
( ( ))
( ( ))
( ( ))
()
()
()
( ( ))
( )
( ( ))
669
10.Results:
The results obtained from different tuning methods are shown
in the table given below.
Z-N tuning
Hand tuning
MATLAB SIMULINK
tuning
FLC
%Mp
70
50
2
Tr (sec)
2
1.5
1
Ts (sec)
15
10
0
ess
0
0
2
11. Conclusion:
In this paper the position of D.C. motor is controlled by four
methods of PID controlling techniques. The four methods used
are: Ziegler-Nichols tuning, hand tuning, soft tuning in built in
SIMULINK and Fuzzy logic controller. According to the
comparison of results of the simulations, it is found that the
Fuzzy Logic Controller is better than other methods. The Fuzzy
Logic Controller presents the following satisfactory
performance indices:
1. Overshoot: Overshoot may be reduced by using Fuzzy
Logic
Controller.
2. Rise Time: 1 sec , which is minimum as compare to other
methods.
3. Steady state error: 0
Hence it is concluded that the proposed Fuzzy Logic
Controller provides better performance characteristics and
improve the control of DC motor.
REFERENCES:
1. Zadeh, L. A., Fuzzy Sets. Information and Control, 8, 338353, 1965.
2. Ogata, K., Modern Control Engineering, 3rd edition, NJ:
Prentice Hall, 1997.
3. Foran J., 2002. Optimisation of a Fuzzy Logic Controller
Using Genetic Algorithms, Doctorat, Texas University of
America, USA.
4. Mathworks Inc., Simulink Response Optimization
Getting Started Guide, 3rd printing, 2008.
5. D. P. Kothari, I. J. Nagrath, Electric Machines, Tata
McGraw Hill Education Private Limited, ISBN-13: 978-0-07058377-1, ISBN-10: 0-07-058377-3, 2004.
6. J. G. Ziegler and N. B. Nichols, Optimum settings for
automatic controllers, Trans. ASME, vol. 64, pp. 759768,
1942.
670