ArticlePDF Available

Design and Simulation of DC Motor Controller Based on the Fuzzy Control

Authors:

Abstract and Figures

The motor fuzzy controller was designed by the application of the principle of fuzzy logic based on the research of DC motor model. The simulation analysis of traditional control and fuzzy control were conducted by MATLAB simulation module, which illustrates the better control performance of fuzzy control method by comparison.
Content may be subject to copyright.
Journal of Physics: Conference Series
PAPER • OPEN ACCESS
Design and Simulation of DC Motor Controller Based on the Fuzzy
Control
To cite this article: Jianwei Li 2021 J. Phys.: Conf. Ser. 1861 012121
View the article online for updates and enhancements.
This content was downloaded from IP address 82.117.95.53 on 10/04/2021 at 03:09
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd
IWAACE 2021
Journal of Physics: Conference Series 1861 (2021) 012121
IOP Publishing
doi:10.1088/1742-6596/1861/1/012121
1
Design and Simulation of DC Motor Controller Based on the
Fuzzy Control
Jianwei Li
Automotive Engineering Department, Zibo Vocational Institute, Zibo, Shandong,
255314, China
*Corresponding author’s e-mail: 10874@zbvc.edu.cn
Abstract. The motor fuzzy controller was designed by the application of the principle of fuzzy
logic based on the research of DC motor model. The simulation analysis of traditional control
and fuzzy control were conducted by MATLAB simulation module, which illustrates the better
control performance of fuzzy control method by comparison.
1. Introduction
DC servo motor is widely used in numerical control machine tool and process control. It avoids the
brush maintenance and reduces the installation dimensions. Due to the motor parameter and model that
is influenced by the application environment, the conventional PID control will be unreliable when the
motor parameters changes. However, the fuzzy control can overcome the nonlinear factors and has
strong robustness to the changes of controlled parameters. Because it doesn’t need accurate
mathematical model and the control rules are constructed according to the practical experience, it can
avoid the influence of model and loads on the system, improve the dynamic performance and achieve
good control effect.
2. The mathematical model of DC servo motor
The control object is DC motor which is used commonly. The equivalent circuit is shown in figure 1,
where 𝑀is the electromagnetic torque of DC motor, 𝑀is the external load driven by DC motor, n is
the speed of external load driven by DC motor.
According to the figure1, the differential equation can be expressed as:
𝑉
𝑅𝑖
𝐿

 (1)
𝑉𝑅𝑖𝑡𝐿
  𝑒𝑡 (2)
The transform function of armature current and voltage can be obtained by Laplace transform as
follows:

-E 
 (3)
IWAACE 2021
Journal of Physics: Conference Series 1861 (2021) 012121
IOP Publishing
doi:10.1088/1742-6596/1861/1/012121
2
Rf
V
in
Me
ML
e
R
L
if
Vf
Lf
Figure 1. The equivalent circuit of DC motor.
In addition, the dynamics equation of external load driven by motor can be expressed as:
𝑖𝑖

 (4)
Where 𝑇
is the constant of mechanical time.
The transform function of Counter electromotive force and current can be obtained by Laplace
transform as follows:


(5)
The transfer function relationship between the speed and current can be expressed as:


(6)
Where, 𝑇 is the constant of integral time.
According to the relationship between the transfer function above, the dynamic structure of DC motor
can be drawn in figure 2.
n(s)I(s)
Ce
V(s)
Ce
1
R
Tms
T1s+1
1/R
IL(s)
Figure 2. The dynamic structure of DC motor.
3. Design of fuzzy controller of DC servo motor
3.1. The determination of fuzzy controller input and output parameters
The fuzzy controller of DC motor has two input parameters and one output parameter. The speed
deviation of the motor shaft and the variation of the deviation are the input parameters, the output
parameters is the voltage of the armature. The control model is shown in figure 3.
The speed deviation of input shaft is fuzzed into variables. The fuzzy subsets which are defined in
the domain are negative big (NB), negative small (NS), zero (Z), positive small (PS), positive big (PB).
According to the control range of speed deviation from -3000r/min to 3000r/min, subordinate function
of speed deviation is shown in figure 4, as well as the subordinate function of the variation of speed
deviation in figure 5.
IWAACE 2021
Journal of Physics: Conference Series 1861 (2021) 012121
IOP Publishing
doi:10.1088/1742-6596/1861/1/012121
3
Figure 3. The control model of fuzzy controller.
Figure 4. The subordinate function of speed deviation.
Figure 5. The subordinate function of the variation of speed deviation
3.2. The select of control rules and reasoning method
When the armature voltage is selected by fuzzy controller, the principles should be followed. The
armature voltage should increase or reduce as soon as possible when the speed deviation and variation
of speed deviation change greatly. Otherwise, the armature voltage should change slowly or be constant.
Then some reasonable rules are formed according to the human opinions. For an example, the deviation
is positive big and the variation is positive big too, which shows that the output has been overshoot and
tends to increase continually, so the output should be lowered to negative big to reduce output quickly
to the expectations. The form of statements is expressed as:
If E=PB and EC=PB then U=NB (7)
There are many ways to choose reasonable methods. The Mamdani method is selected based on the
rule of fuzzy synthetic relationship.
3.3. The establish of rule table
According to the principle of control rule, the control rule of DC motor is shown in table 1.
IWAACE 2021
Journal of Physics: Conference Series 1861 (2021) 012121
IOP Publishing
doi:10.1088/1742-6596/1861/1/012121
4
Table 1. The control rule table of DC motor.
NB NS ZE PS PB
NB PS PB PB PB NB
NS PS PS PS PS NB
ZE PB PS ZE NS NB
PS PB NS NS NS NB
PB PB NB NB NB NB
According to the fuzzy control rule, the fuzzy rules editor is used to edit the rule table so as to control
the system, which is shown in figure 6. The input and output surface of the fuzzy controller is shown in
figure 7. There are 25 control rules in the fuzzy controller according to the former analysis.
Figure 6. The setting of fuzzy rules.
4. Simulation analysis
According to the DC motor model built in front, taking 𝐶
0.2min/r, 𝑅1.0𝛺, 𝑇
 0.17𝑠 as an
example, the simulation analysis of traditional control and fuzzy control are carried. The simulation
analysis model of traditional control and fuzzy control are shown in figure 8. The simulation results of
ideal curve, traditional control curve and fuzzy control curve is shown in figure 9 when the speed is
1000 r/min.
EC
E
IWAACE 2021
Journal of Physics: Conference Series 1861 (2021) 012121
IOP Publishing
doi:10.1088/1742-6596/1861/1/012121
5
Figure 7. The input and output surface of the fuzzy controller.
a
b
Figure 8. The simulation model of DC motor.
(a) The traditional control model (b) The simulation model of fuzzy control
IWAACE 2021
Journal of Physics: Conference Series 1861 (2021) 012121
IOP Publishing
doi:10.1088/1742-6596/1861/1/012121
6
Figure 9. The simulation curves.
According to the results, the system had slow response and large overshoot when the traditional
control model was adopted. Adversely, the fuzzy control model had quick response, no overshoot, good
anti-interference ability and excellent dynamic and static performance.
5. Conclusion
The model of DC motor presents certain nonlinear by the effect of load, friction force and the external
environment. The conventional controller design methods can’t adapt to the kind of changes. The fuzzy
set is an important tool of nonlinear mapping, the adaptive fuzzy controller will obtain when it is applied
to DC motor control. The fuzzy controller doesn’t depend on the specific mathematical model and the
motor has good output response in various cases.
Acknowledgements
The author is grateful for the reverent help of technical staff or financial support provided by Department
of Automotive Engineering, Zibo Vocational Institute.
Reference
[1] Xu, S., Hao, X., Zhang, Z. (2003) Fuzzy Control and Simulation of Direct Current Servo System.
Journal of Henan University of Science and Technology (Natural Science), Vol 24:64-67.
[2] Cai, B. (2005) Small Power Direct Current Torque Motor Servo System Based on Fuzzy Control.
Journal of Xinyang Normal University (Natural Science), Vol 18:95-98.
[3] Hou, J. (2005) Design and Simulation of Fuzzy Controller for DC Servo Motor. Journal of
Heilongjiang Institute of Science and Technology, vol 15:221-224.
[4] SHIEH M Y. Design of integrated Fuzzy controller for servo motor [M]. Mechatronics, 1998.
0 2 4 6 8 10 12 14 16 18 2
0
0
500
1000
1500
2000
2500
3000
t/s
n/(r/m in)
fuzzy
ideal
traditional
... In this line, some previous approaches (related works) have been developed, for example, Dougherty et al. [4] present a proposal to leverage the characteristics in automatism design based on Boolean algebra. This proposal is based on solving a minimization problem in FIS using BAS; meanwhile, in [8][9][10][11] a practical approach is developed where a BAS based methodology is offered to implement the associated defuzzification process. Particularly, in [8] is designed a fuzzy controller for a DC motor based on Boolean relations where a truth table and Karnaugh maps are used to find the simplified equations that implement the controller. ...
... This proposal is based on solving a minimization problem in FIS using BAS; meanwhile, in [8][9][10][11] a practical approach is developed where a BAS based methodology is offered to implement the associated defuzzification process. Particularly, in [8] is designed a fuzzy controller for a DC motor based on Boolean relations where a truth table and Karnaugh maps are used to find the simplified equations that implement the controller. Moreover, in [9], an active and reactive power flow fuzzy controller is proposed for a voltage source converter. ...
Article
Full-text available
This paper proposes a methodology for the design of fuzzy inference systems based on Boolean relations. The approach using Boolean sets presents limited performance due to the abrupt transitions that occur during its functioning, therefore, fuzzy sets can be used aiming the improvement of the performance. In this approach, firstly, the design of a Boolean controller is performed, which is later extended into fuzzy under design guidelines proposed in this paper. The methodology uses Kleene algebra via truth tables for the fuzzy system design, allowing the simplification of the equations that implement the fuzzy system.
Article
A composite algorithm combined with fuzzy proportional-integral-derivative (PID) control and acceleration closed-loop control is proposed to address the defects of slow response speed, strong oscillation, and long adjustment time of the current height following control system for a laser cutting head. The fuzzy PID control can satisfy the different requirements for the control parameters in each stage of the height follow-up adjustment process for the laser cutting head via the adaptive adjustment of the PID parameters. Accordingly, the height following error can be attenuated to the set positioning accuracy range. The acceleration closed-loop control can improve the acceleration and deceleration performance of the system through the positive and negative feedback regulation of the motion acceleration of the laser cutting head to achieve high-speed servo. An experimental bench of height follow-up control system for laser fabrication is developed to verify the effectiveness of the algorithm. Through experimental verification, compared with the conventional digital PID incremental algorithm, this composite control algorithm can accelerate the response speed of height follow-up control system for the laser cutting head, improve the dynamic performance of the system, and realize fast and precise servo control of laser cutting head height under the premise of ensuring positioning accuracy. The proposed algorithm is expected to lay a foundation for the development of the new intelligent laser processing system.
Design and Simulation of Fuzzy Controller for DC Servo Motor
  • Hou
Hou, J. (2005) Design and Simulation of Fuzzy Controller for DC Servo Motor. Journal of Heilongjiang Institute of Science and Technology, vol 15:221-224.
Small Power Direct Current Torque Motor Servo System Based on Fuzzy Control
  • Cai
Cai, B. (2005) Small Power Direct Current Torque Motor Servo System Based on Fuzzy Control. Journal of Xinyang Normal University (Natural Science), Vol 18:95-98.
Design of integrated Fuzzy controller for servo motor [M]
  • Shieh
SHIEH M Y. Design of integrated Fuzzy controller for servo motor [M].