This paper presents the effective and reliable speed control of PMDC motors under variable loads and reference speeds. As is known DC motors are more preferred in industrial practices. This is that, the PMDC motors don’t require brush and commutator care and to increase in torque per motor depending on developments in power electronics. In this study, proportionalintegral controller (PI) and fuzzy logic controller (FL) have been designed for speed control of PMDC motor. In the design of these controllers, characteristics such as minimum overrun time, response time to the load, settling time and ideal rise time have been taken into consideration for better stability performance. In this design, the best system response was searched by examining the effect of different defuzzification methods onto the fuzzy logic system response. In conclusion, it has been seen that FL controller has a better performance for variable speedload control of PMDC motor compared to PI controller.
1. Introduction
DC motors which are one of the machines that transform electric energy into mechanic energy and driver control systems are used in many fields of industry. Especially, the PMDC motors without brushless find more usage areas day by day in applications like automotive, space technologies, computer, medical electronics, military, robotics, electrical vehicles and products because of their such superiorities as high moment/current and moment/inactivity rate, strong structure, high performance, permanent control features and reliability
[1

4]
.
In recent years, the methods of DC motor speed controls vary. These are expert systems realized as nonlinear adaptive variable structure based on fuzzy logic based, artificial neural networks, slippery mode control, genetic algorithm and conventional control strategies that have PID, PI and PD algorithms
[5

7]
.
PI controllers have the most common usage area due to the fact that they have simple structures and easily managed control algorithm. Control parameters are arranged usually manually or with the ZieglerNichols frequency method. Although successful results were obtained from both methods, a satisfactory system response is obtained with a long time and try. In the PI control of the PMDC motors is encountered with two major problems. The first of them; change of motor parameters depending on the operating conditions with time and secondly; this is because there is noise in the system cycle. Giving the best system response to reference speed is expected from speed controllers of PMDC motors under variable loads in accordance with such criteria as less overshoot (
M_{p}
)<10%, no steady state error (
e_{ss}
) < 1%, minimum settling time (
t_{s}
) < 2s and minimum rising time (
t_{r}
)<1s
[8]
.
However, the conventional PI controller doesn’t give the expected response in variable loads and reference speeds, and can’t meet the criteria required above. For this reason, an intelligent controller must be used to obtain the best system response to applied reference speeds under variable loads. Intelligent Control theory (Zadeh, 1965) have been proposed to overcome the uncertainty of traditional methods in the analysis and control of complex and nonlinear systems. This intelligent control theory is called Fuzzy Logic Control. One of the most significant advantages of fuzzy logic control is to control the nonlinear complex systems successfully using control engineering information or expert experiences without having any mathematical model
[9
,
10]
. The fuzzy logic control, considering the experiences of the operator on system, performs the control process with linguistic expressions, and by using the mechanisms of rule base, fuzzification and defuzzification. In order to determine the fuzzy rules, the system output response is obtained by analyses in different points
[11
,
12]
.
In this study, the mathematical model of PMDC motor was simulated in Matlab/Simulink program. PI and FL control methods used for the speed control of PMDC motor in nonlinear speeds and under variable load were compared for better stability performance. Besides, the best system response was searched by examining the effect of different defuzzification methods onto the fuzzy logic system response.
2. Dynamic Model of PMDC Motor
PMDC motor has many desired qualities in a motor. Some of them are safety, stability, low cost, easy control and the ability to run in low voltage. In addition, the absence of brushes and collectors has substantially eliminated the disadvantage of permanent care. Because of these, DC motors are preferred in many applications
[1
,
3

4]
. The mathematical expression of PMDC motor equivalent circuit showed in
Fig. 1
was drawn from the Eqs. (15).
PMDC motor equivalent circuit.
The differential equation sets above for armature current “
i_{a}
” and angular velocity “
w_{m}
” which are the variables of control system can be expressed as in Eq. (6) in the form of statespace.
where;
3. Control of PMDC Motor with PI Controller
In the control of industrial systems, conventional PI controllers are the most common and the most useful ones. In this controller, the proportion (P) and integral (I) operations were combined. The purpose of the control methods is to provide the system with optimal operating performance. For this purpose, proportional gain (P) is an indispensable part of control systems. For; the first and foremost aim of many systems is to provide gain. On using (P) control, the system gain can be easily decreased and increased as if it was set by a button. Thus, it provides to reply of system quickly by making improvements in damping ratio. However, the increase of gain decreases the sensitivity to the parameter changes on the system and leads to an increase in steady state error. In this case, there is a need for an additional structure to eliminate the steady state error. Here integral (I) effect comes into action. When (I) controller is used in a controller structure, the steady state error is reduced or eliminated. However, (I) controller can lead to a negative effect on damping. Also (I) controller increases the degree of the system one degree. Therefore, PI structure is preferred rather than only (I) controller. For, the stability in the structure of proportion effect and the integral effect’s advantages of decreasing steady state error were combined in PI control
[5
,
6]
. In the PI control implementation prepared in this study, the closed cycle ZieglerNichols frequency response method was used in the setting of controllers’ parameters. The first things to do in these methods are
[7
,
8]
:

1. Making the integral time constantTi=∞ infinite, the effect of integral parameter of controller was eliminated.

2. The proportion coefficientKpvalue is raised up to Ku critical value that system response oscillates in the form of sinus.

3. Putting the criticalKugain and thePuvalues which are the oscillation period composed by this gain into their place inTable 1in the equations written for PI control, the proportion coefficient and integral time constant (Ti) values are obtained.
The output expression of PI type classical controller
u
(
t
) and transfer function
C
(
s
) are expressed Eqs. (78).
The rules of ZiglerNichols setting method
The rules of ZiglerNichols setting method
PMDC motor’s robust speed control with PI controller is designed at Matlab/Simulink program such that
Fig. 7
. In the linear and nonlinear reference speeds and steady and variable loads, performance comparisons between the fuzzy logic and conventional PI controls were shown separately in graphics in
Figs. 9

11

12
.
PMDC motor control designed in Matlab/Simulink program.
PI and Fuzzy logic control for constant in speed (wref =100 rad/sec), (a) under Noload condition. (b) under constant load (T_{L}=15 Nm) condition. (c) under t=0.5 sec., suddenly change load (T_{L}=15 Nm) condition
(a) PI control for changing in speed under Noload condition. (b) Fuzzy logic control for changing in speed under Noload condition.
(a) PI control for change in speed under changing load condition. (b) Fuzzy logic control for changing in speed under changing load condition (T_{L1}=10 Nm in t1=1s, T_{L2}=10 Nm in t2=2s, T_{L3}=10 Nm in t3=3s and T_{L4}=10 Nm in t4=4s for T_{Ltop}=40 Nm.)
4. The Control of PMDC Motor with FL
In recent years, the fuzzy logic controllers have been used quite often in industrial applications. The fuzzy logic approach gives the machines the ability to process the special data of people and to run making use of their experiences and predictions. While providing this ability, instead of numerical expressions, symbolic expressions are used. The fuzzy systems can be used for different purposes such as for modelling, data analysis, estimation and control
[9

13]
. FL is simply composed of three main parts. These are fuzzification, rule base and defuzzification processes respectively. In
Fig. 2
, fuzzy system block scheme is shown. In
Fig. 3
, Mamdani fuzzy interface developed for the fuzzy logic control of the system was showed.
Architecture of fuzzy logic controller
Mamdani fuzzy inference system developed for fuzzy logic controller
Fuzzification is to be expressed in the form of membership functions of certain information obtained from the outside world. With this process, certain informations are converted into fuzzy values to be evaluated in the rule base. The rule base is the process of composing proper rules with IFTHEN logic based upon the experience and knowledge about the system. With the evaluation of fuzzy values in the rule base, proper outputs are attained. Because these output values are again fuzzy values, they are necessary that these values are converted into a certain form of information. This procedure where the fuzzy output expression is converted into exact information is called defuzzification
[14

18]
.
In this study, fuzzy logic controller (FL) have been designed for speed control of PMDC motor using Matlab/Simulink and Fuzzy toolbox. In this controller, as a process variable of motor driver, rotor speed (
w
), and as a control variable, motor current (
ia
) were chosen. The system input variables were defined as speed error (
e
) between reference speed and motor speed, and the change in the speed error (
ce
). Using 7 linguistic labels for the error (
e
(
k
)) and error change which are the input signs in the rule base, 9 linguistic labels for output control operation, and 49 rules in total were written. These variable sets were defined as Negative Big (
nb
), Negative Medium (
nm
), Negative Small (
ns
), Zero (
z
), Positive Small (
ps
), Positive Medium (
pm
) and Positive Big (
pb
) for inputs, and Negative very Big (
nvb
) and Positive very Big (
pvb
) for output in addition to these.
The fuzzy rule base is obtained through the carefully analysis of system behavior. The obtained rules must be written in a way to keep speed error, overshoot, settling time and rising time criteria at minimum values. In this study, rules have been created by analyzing of dynamic signal response given reference speed by PMDC motor that is shown in
Fig. 4
.
The dynamic signal analysis of PMDC motor in wref=100 rad/s reference speed.
In the dynamic signal analysis of motor, looking at the signals of error (
e
_{(k)}
) and error change (
ce
_{(k)}
) obtained as a result of the calculations made with Eqs. 9 and 10, rules are written according to the situation if it gets away from reference point or not. Error informs us whether it is moved away from the desired reference point or not, and the error change gives the direction of the error. Signal analysis indicates that whether the error and error change exceed the reference point. With the logic of reducing or increasing the current according to reference point (If the error passes the reference point, decrease the current. If the error doesn’t reach the reference point, increase the current.), the speed control is carried out. For this purpose, 49 IFTHEN rules written for FL control are shown in
Table 2
. In the
Fig. 5
, the control surface of this written rule base is seen.
If – Then rule base of fuzzy logic controller
If – Then rule base of fuzzy logic controller
Surface viewer of fuzzy rules.
After the rule base is obtained, it is essential to determine fuzzy inference strategy. In order to realize the fuzzy inference, many techniques such as MaxDot, MinMax, Tsukamoto and TakagiSugeno are used. In this study, MinMax fuzzy inference method was chosen. The results obtained as a result of the fuzz inference process were made as precise values using one of the defuzzification methods. The defuzzification methods used in the industrial control were given below. Their comparisons with each other to find out the most appropriate one among these methods for this study were made in chapter 5. The comparison result achieved has showed that center of gravity (COG) defuzzification method gives better results. These methods are
[19

22]
;

1. Center of gravity (COG),

2. Bisector of area(BOA),

3. Smallest of maximum (SOM),

4. Mean of maximum (MOM),

5. Largest of maximum (LOM).
In this study, the processes applied in the stage of designing fuzzy logic controller for the robust speed control of PMDC motor are briefly these
[23

25]
:

1. Obtaining real speed value of PMDC motor,

2. Calculating speed error (e(k)) and speed error change (ce(k)) values,

3. Determining fuzzy sets and membership functions for speed error and speed error change values

4. Determining fuzzy rule base to be applied with the specified fuzzy expressions,

5. The application ofΔi*andi*values in Eqs. 11 and 12 into the system using weight average method in the defuzzification part.
FL controller structure is shown in
Fig. 6
, and Circuit model designed in Matlab/Simulink program is shown in
Fig. 7
.
Fuzzy logic controller structure
5. Results and Discussion
In this section, for robust speed control under different conditions, the results of PMDC motor’s simulation realized through using the suggested fuzzy logic and PI control applications were presented. In
Table 3
, parameters of PMDC motor modelled in Matlab/Simulink program were given.
Parameters of PMDC motor
This study was conducted in three phases. Firstly, the performances of defuzzification methods used in fuzzy logic controller on output signal were discussed. In this context, the different defuzzification methods used in the defuzzification process in the fuzzy logic controller were compared for reference speed (
wref
) in
Fig. 8
. The center of gravity method (COG) of these methods has showed a much better performance than other defuzzification to reach the reference speed (
wref
=100m/s) applied to the motor in the range desired criteria. So, PMDC motor with FL controller has reached the desired speed in a very short time and responded in a short time in the sudden load increase by COG method. After this step, COG method will be used as a defuzzification method in the designed fuzzy logic controller for this study.
wref =100 rad/sec and TL=15 Nm. torque in 0.5 sec. with output signal for different defuzzification methods
Secondly, performances of fuzzy logic and PI control methods were compared under noload, load and suddenly changing load for a constant reference speed. In
Fig. 9
, responses of controllers were analyzed for
(a)
noload,
(b)
load and
(c)
suddenly changing load for a constant reference speed (
wref
=100m/s). In PI control at
Fig. 9(b)
, the cause of the oscillation is the integral gain value used if P proportional value is greater. So the integral value used without the proper damping has led to continuous oscillation in the system. According to the results obtained, fuzzy logic controller with COG defuzzification method has given better results in each case.
Thirdly, responses of FL and PI controllers were evaluated according to nonlinear reference speeds to applied PMDC motor under fixed and variable loads. In the evaluation of vehicles performances, Extra Urban Driving Cycle (EUDC) data of New European Driving Cycle (NEDC) were used as a reference speed. Driving cycle that is the important index to assess the emission levels of car provides the basic data for vehicle design. An often used driving cycle is the New European Driving Cycle (NEDC). The NEDC is supposed to represent the typical use of a car in Europe. This driving cycle contains both city driving with several startandstops and motorway driving. It is a good representation of a realistic driving environment. The NEDC consists of four repeated ECE15 urban driving cycles (UDC) and an Extra Urban driving cycle (EUDC). The maximum speed of the EUDC cycle is 120 km/h. Speed versus time curve for EUDC is as shown in
Fig. 10
.
Table 4
shows a summary of the parameters for both the ECE and EUDC cycles
[26

28]
.
Speed versus time curve for EUDC [26, 28]
Parameters of ECE 15 and EUDC[26,28]
Parameters of ECE 15 and EUDC [26, 28]
In this study, speed/time graph accepted for the behavior of a vehicle on the extraurban roads in Europe is taken as reference. Therefore, PI and FL controllers are designed for control of PMDC motor used for driving of an electrical vehicle motor. In
Fig. 11(a
,
b)
, responses of FL and PI controllers to speed changing are seen for the EUDC reference speed in noload condition. In
Fig. 12(a
,
b)
, responses of FL and PI controllers to load changing are seen for the EUDC reference speed under variable loads. In
Fig. 11(a)
, response to reference speed of the PI controller is shown at no load conditions. PI controller reference speed is followed by very well is seen in the acceleration cases of PMDC motor. And but, it is seen not to follow well reference speed in deceleration conditions. In
Fig. 12(a)
, response to reference speed of the PI controller is shown at sudden no load changes. As seen from the Fig, PI controller leads to more deviation from the reference speed in the sudden load increase case of PMDC motor. Then, it can achieve a speed reference. This means that it cannot respond to sudden power and speed changes of electric vehicles in the variable environmentroad conditions. When the results were analyzed, fuzzy logic controller versus PI controller provides better desired criteria for PMDC motor control. This means that, travelling by an electrical vehicle driven by fuzzy logic controlled PMDC motor will give us more comfortable, roomy and a safe driving enjoyment.
6. Conclusion
During the control, the control elements have to meet specific performance requirements. The performance of the control system is usually determined by measuring the characteristics of a particular waveform or system response. The desired characteristics in speed control are rise time, settling time, overshoot, and steadystate error that shown in
Fig. 2
.
13
.
The waveform characteristics of control element
Rise Time is the amount of time the system takes to go from 10% to 90% of the steadystate, or final value.
Percent Overshoot is the amount that the process variable overshoots the final value, expressed as a percentage of the final value. Settling time is the time required for the process variable to settle to within a certain percentage (commonly 5%) of the final value
[29]
.
SteadyState Error is the final difference between the process variable and set point.
According to simulation results, the desired optimum performance criteria such as less overshoot, (
Mp
) < 10%, no steady state error (
ess
) < 1%, minimum settling time (
ts
)< 2s and minimum rising time (
tr
) < 1s are given in
Table 5
. According to
Table 5
, it was seen that the fuzzy logic controller met the desired optimum performance criteria more accurately and robustly compared to the conventional PI control method. Fuzzy logic controller showed very less overshoot according to the PI controller for unloaded, loaded and the suddenly changing load conditions. When analyzed according to the settling time, it is seen that fuzzy logic controller has less settling time according to the PI controller in all circumstances. For example; under variable load, while PI controller has 0.5 second settling time fuzzy controller has 0.046 settling time. In addition, while fuzzy control don’t have the steadystate error under the all circumstances PI controller’s steadystate error is 1% in unloaded condition is 2.5% in loaded condition and is 3.45% in condition of suddenly changing load. When compared in terms of rise time, it can be said that PI controller is faster than the fuzzy controller. In conclusion, it has been found that the fuzzy logic controller is an effective controller in the steady and variable speedload control applications of PMDC motor (i.e. electrical vehicle).
Parameters of control systems PI and Fuzzy Logic Controller
Parameters of control systems PI and Fuzzy Logic Controller
BIO
Murat Tuna He received B.S and M.S. degrees in electrical education from Kocaeli University, Turkey, in 2004 and 2009 respectively. His research interests are electric vehicles, fuzzy logic, neural networks, and automatic control. He has been working as a Lecturer at Kırklareli University since 2009. He is currently pursuing the Ph.D. degree at Karabuk University.
Can Bülent Fidan He received the BSc. and MSc. Degree in Electronics and Communications Engineering in 1988 and 1991, respectively, and the Ph.D. degree in Elecrical Engineering in 2001, all from the Yildiz Technical University, Istanbul, Turkey. He is currently Assistant Professor of Mechatronics Engineering at the Karabuk University, Karabuk, Turkey. His main research interest are signal processing and intelligent control applications, neural networks.
Süreyya Kocabey He received the B.S., M.S. and Ph.D. degrees in electrical education from Marmara University, Turkey, in 1995, 1999 and 2008 respectively. He has been working as an Assistant Professor at Kırklareli University since 2009. His research areas are indoor lighting, energy saving, energy management in buildings.
Sertaç Görgülü He received the B.S., M.S. and Ph.D. degrees in electrical education from Marmara University, Turkey, in 2001, 2004 and 2011 respectively. He has been working as an Assistant Professor at Mehmet Akif University since 2013. His research areas are indoor lighting, energy management in buildings, fuzzy logic and and automatic control.
Eminoğlu I.
,
Altaş I.H.
1998
“The effects of the number of rules on the output of a fuzzy logic controller employed to a PMDC motor”
Computers & Electrical Engineering
24
245 
261
DOI : 10.1016/S00457906(97)000219
Li Z.
,
Yang H.
2009
“Speed Control of Brushless DC Motor Using HumanSimulated Intelligent Control”
International Conference on Industrial Mechatronics and Automation IEEE
236 
240
Kapun A.
,
Čurkovič M.
,
Hace A.
,
Jezernik K.
2008
“Identifying dynamic model parameters of a BLDC motor”
Simulation Modelling Practice and Theory
16
(9)
1254 
1265
DOI : 10.1016/j.simpat.2008.06.003
Mahendiran T.V.
,
Thangam P.
,
Thanushkodi K.
2011
“A Comparative Study on Non Linear Drive Control for Separately Excited DC Motor Using Fuzzy Logic Controller Fuzzy PI Controller and PSO Tuned Fuzzy PI Controller”
International Journal of Research and Reviews in Electrical and Computer Engineering
1
(1)
32 
38
Malhotra R.
,
Kaur T.
,
Deol G.S.
2011
“DC motor control using Fuzzy Logic Controller”
International Journal of Advanced Engineering Sciences and Technologies
8
(2)
291 
296
Aström K. J.
,
Hagglund T.
2011
“The future of PID control”
Control Engineering Practice
9
(11)
1163 
1175
Dogan M.
,
Dursun M.
2012
“Application of Speed control of permanent magnet synchronous machine PID and Fuzzy Logic controller”
Energy Education Science And Technology Part A
28
(2)
925 
930
Karakaya A.
,
Karakaş E.
2008
“Performance Analysis of PM Synchronous Motors using Fuzzy Logic and Self Tuning Fuzzy PI Speed Controls”
The Arabian Journal for Science and Engineering
33
(1B)
153 
177
Yıkan F.
2005
“Investigating and Developing Robust PID Controller Design Techniques”, Msc.Thesis
Inonu University
Turkey
Akyazı Ö
,
Zenk H.
,
Akpınar A.S.
2011
“Permanent Magnet DC Motor Speed Control Using Different Fuzzy Membership Functions”
Elazığ
Turkey
6th International Advanced Technologies Symposium
163 
168
Namazov M.
,
Basturk O.
2010
“DC motor position control using fuzzy proportionalderivate controllers with different defuzzification methods”
Turkish Journal of Fuzzy Systems
1
(1)
36 
54
Khuntia S.R.
,
Mohanty K.B.
,
Panda S.
,
Ardil C.
2010
“A Comparative Study of PI, IP, Fuzzy and NeuroFuzzy Controllers for Speed Control of DC Motor Drive”
International Journal of Electrical and Computer Engineering
5
(5)
287 
291
Yuvarajan S.
,
Khoei A.
,
Hadidi K.
1998
“Fuzzy logic DC motor controller with improved performance”
Industry Applications Conference IEEE
3
1652 
1656
Mathew L.
,
Pandey V. K.
2011
“Design and development of fuzzy logic controller to control the speed of permanent magnet synchronous motor”
Journal of Electrical and Electronics Engineering Research
3
(3)
52 
61
Kandiban R.
,
Arulmozhiyal R.
2012
“Design Adaptive Fuzzy PID Controller for speed control of BLDC motor”
International Journal of Soft Computing and Engineering
2
(1)
386 
391
Siong T.C.
,
Baharuddin I.
,
Siraj S.F.
,
Mohd F.M.
2011
“Fuzzy Logic Controller for BLDC Permanent Magnet Motor Drives”
International Journal of Electrical & Computer Sciences
11
(2)
13 
18
Chua K. H.
,
Hew W.P.
,
Ooi C.P.
,
Foo C.Y.
,
Lai K. S.
2011
“A Comparative Analysis of PI, Fuzzy Logic and ANFİS Speed Control of Permanent Magnet Synchronous Motor”
Int. Journal of Electrical, Electronic Engineering and Technology
1
(10)
10 
22
Ramesh M.V.
,
Amarnath J.
,
Kamakshaiah S.
,
Rao G.S.
2011
“Speed Control of Brushless DC motor by using Fuzzy Logic PI controller”
ARPN Journal of Engineering and Applied Sciences
6
(9)
55 
62
Natsheh E.
,
Buragga K.A.
2010
“Comparison between Conventional and Fuzzy Logic PID Controllers for Controlling DC Motors”
International Journal of Computer Science
7
(5)
128 
134
Choi J.
,
Park C.W.
,
Rhyu S.
,
Sung H.
2004
“Development and Control of BLDC Motor Using Fuzzy Models”
Robotics, Automation and Mechatronics IEEE
1180 
1185
Guo Y.
,
Long H.
2011
“Selforganizing fuzzy sliding mode controller for the position control of a permanent magnet synchronous motor drive”
Ain Shams Engineering Journal
2
109 
118
DOI : 10.1016/j.asej.2011.06.004
Ananthababu P.
,
Reddy B.A.
2009
“Control of PMDC motor using fuzzy PI controller”
Control, Automation, Communication and Energy Conservation
1 
4
Yabanova I.
,
Yumurtaci M.
,
Kecebas A.
2012
“Development of PID and Fuzzy Logic controller simulator for control systems education”
Energy Education Science and Technology Part B
4
(1)
67 
76
Arulmozhiyal R.
,
Kandiban R.
2012
“Design of Fuzzy PID controller for Brushless DC motor”
Computer Communication and Informatics
1 
7
Barlow T.J.
,
Latham S.
,
McCrae I.S.
,
Boulter P.G.
2009
“A Reference Book of Driving Cycles for Use in the Measurement of Road Vehicle Emissions”
3 
25
Schaltz E.
,
Soylu S.
2011
“Electrical Vehicle Design and Modeling, Electric Vehicles  Modelling and Simulations”
InTech, Aalborg University
1 
24
Wynen V.
,
Boureima F.S.
,
Matheys J.
,
Van den Bossche P.
,
Van Mierlo J.
2009
“Developing applicable driving cycle for retrofitted PlugIn Hybrid Electric Vehicles (PHEVs): environmental impact assessment”
World Electric Vehicle Journal
3
1 
7