DC Motor Modelling and Control Using Fuzzy Logic Controller (FLC)
DC Motor Modelling and Control Using Fuzzy Logic Controller (FLC)
DC Motor Modelling and Control Using Fuzzy Logic Controller (FLC)
ABSTRACT: DC motor position control widely used in industrial applications. This paper was focuses on
the design of a PID controller, fuzzy logic control (FLC) systemis used with PID fuzzy controller and
compared between them for controlling the position of a DC motor. The motor is modelled and simulated.
Moreover the (PID) controller was designed tuned by using a Matlab/Simulink block instead of
conventional tuning methods such as hand-tuning or Ziegler-Nichols method. Then, the fuzzy logic
controller (FLC) was designed and the system responses of (FPID) with different defuzzification methods
were investigated. The signal is angle position (teta) was created by Simulink and applied to the input
control system. FPID controller succeeded to reduce the error between signal input andsignal output is
better than conventional tuning methods.
KEY WARDS: DC motor, position control, hand-tuning method, Fuzzy logic control, FPID controller.
----------------------------------------------------------------------------------------------------------------------------- ---------
Date of Submission: 28-01-2019 Date of acceptance: 11-02-2019
----------------------------------------------------------------------------------------------------------------------------- ---------
I. INTRODUCTION
Recently, DC motor control to control the motion (speed and position) has become widespread. The
control systems of motors speed and position is very necessary and important because DC motor is widely used
in industrial applications, and many other fields of control systems such as industrial homes place and robotics
where speed and position control of DC motor are required [1-3].Two major problems encountered in DC motor
control are the noise in the system loop and the varying time of the motor parameters under operating
conditions. The PID widespread use of control it is highly desirable to have efficient manual and automatic
methods of tuning the controllers. A good insight into PID tuning is also useful in developing more schemes for
automatic tuning and loop assessment [4]. These methods have successful results but they need more time and
effort to get a good system response. The mathematical model to present of DC motor does not give accurate of
the real system because approximated it to linear system that is main problem [5]. To avoid this problem, fuzzy
logic control (FLC) can be used. The (FLC) does not dependent on the model, also it is insensitive to changing
of parameters [6].The most important advantages of (FLC) is that it can be successfully applied to control
nonlinear systems using an operator experiences or control engineering knowledge without any mathematical
model of the system[7 ]. There are many searches and studies about DC motor fuzzy control system design,
compared PID with FLC for position control and observed that FLC performed better than PID methods and
shown that FLC is less sensitive than PID to load variations [8.9]. In generally some methods realized of DC
motor control by such as adjusting the field resistance, putting a resistor in series with the armature circuit or
adjusting the terminal voltage applied to the armature [10].
Then the relation between armature voltage and angular speed of the shaft can be presented by transfer function
as
The transfer function between armature voltage as input and the position of the shaft as output when the motor
without load is:
The DC motor model is built in Simulink/MATLAB as shown in figure.2, the inputs are armature voltage (Va)
and load torque (Tload).The outputs are angular speed in () and position ().
Where
KP = proportional gain
KI = integral gain
KD = derivative gain
DC Motor Modelling and Control using Fuzzy Logic Controller (FLC)
1.3MATLAB/Simulink
The simulation was performed by using Simulink to present the model, the simulation begins with the
motor at the zero degree position. The desired position was 36 degree. There is deferent between input and
output signal without controller as shown in figure 4.
To reduce this deferent, the PID controller was used as shown in Figure.5. By using Hand Tuning, the
parameters was done to reduce the deferent between input signal (position 36 o) and output signal (position). The
values of the parameters which gated the best results as shown in figure.6 are:
Here max-min type decomposition is used and the final output for system is calculated by using center of area
gravity method.
Where;
j is an index of every membership function of fuzzy set, m is the number of rules and is the inference result.
Fuzzy output u(t) can be calculated by the center of gravity defuzzification as:
PM (positive medium) and PB (positive big) . The fuzzy PID control system designed in Simulink as
shown in Figure 11.
Table I. The fuzzy rules are summarized
Figure 9. Fuzzy input variables error (e) and change of error (ce)
Figure 11. Simulink Block Diagram of DC Motor with fuzzy logic controller
DC Motor Modelling and Control using Fuzzy Logic Controller (FLC)
REFERENCES
[1]. R. kushwah and S. Wadhwani, "Speed Control of Separately Excited Dc Motor Using Fuzzy Logic Controller," International Journal
of Engineering Trends and Technology, vol. 4, pp. 2518-2523, 2013.
[2]. D. P. Kothari, I. J. Nagrath, “Electric Machines”, Tata McGraw – Hill Education Private Limited, ISBN-13: 978-0-07-058377-1,
ISBN-10: 0-07-058377-3, 2004.
[3]. M. R. M. Mounir HADEF, "Parameter identification of a separately excited dc motor via inverse problem methodology," Turk J Elec
Eng & Comp Sci, vol. 17, pp. 99-106, 2009.
[4]. A. H. O. Ahmed, "Optimal Speed Control for Direct Current Motors Using Linear Quadratic Regulator," Journal of Science and
Technology, vol. 13, December 2012.
[5]. Ogata, K., Modern Control Engineering, 3rd edition, NJ: Prentice Hall, 1997.
[6]. J. G. Ziegler and N. B. Nichols, “Optimum settings for automatic controllers,” Trans. ASME, vol. 64, pp. 759–768, 1942.
[7]. Y. Tipsuwan and C. Mo-Yuen, "Fuzzy logic microcontroller implementation for DC motor speed control," in Industrial Electronics
Society, 1999. IECON '99 Proceedings. The 25th Annual Conference of the IEEE, 1999, pp. 1271-1276 vol.3.
[8]. M. A. A. Thorat, P. S. Yadav, and Prof.S.S.Patil, "Implementation of Fuzzy Logic System for DC Motor Speed Control using
Microcontroller," International Journal of Engineering Research and Applications, vol. 3, pp. 950-956, April 2013.
[9]. M. M. Shaker and Y. M. B. I. Al-khashab, "Design and implementation of fuzzy logic system for DC motor speed control," in Energy,
Power and Control (EPC-IQ), 2010 1st International Conference on, 2010, pp. 123-130.
[10]. Onur Basturk “DC motor position control using fuzzy proportional-derivative controllers with different defuzzification methods”
Cumhuriyet University, Faculty of Engineering, Department of Electrical & Electronics Engineering, 58140 Sivas, Turkey. TJFS:
Turkish Journal of Fuzzy Systems (eISSN: 1309–1190) An Official Journal of Turkish Fuzzy Systems Association Vol.1, No.1, pp. 36-
54, 2010.