DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers With Different Defuzzification Methods
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers With Different Defuzzification Methods
e-ISSN: 2278-1676,p-ISSN: 2320-3331, Volume 10, Issue 1 Ver. III (Jan – Feb. 2015), PP 37-47
www.iosrjournals.org
I. 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 intui-
tionally 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. 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 me-
thod called Fuzzy Control which is able to cope with system uncertainties. One of the most important advantag-
es of fuzzy control is that it can be successfully applied to control nonlinear complex systems using an operator
experiences or control engineering knowledge without any mathematical model of the plant (Assilian, 1974),
(Kickert, 1976). DC motor control is generally realized by adjusting the terminal voltage applied to the arma-
ture but other methods such as adjusting the field resistance, inserting a resistor in series with the armature cir-
cuit are also available (Chapman, 2005).
Ziegler-Nichols frequency response method is usually used to adjust the parameters of the PID control-
lers. However, it is needed to get the system into the oscillation mode to realize the tuning procedure. But it’s
not always possible to get most of the technological plants into oscillation. The proposed approach uses both
fuzzy controllers and response optimization method to obtain the approximate values of the controller parame-
ters. Then the parameters may be slightly varied to obtain the user-defined performance of the real-time control
system. Thus, it’s an actual problem to design adaptive PID controllers without getting the system into the oscil-
lation mode. In the next section, the mathematical model of a dc motor is used to obtain a transfer function be-
tween shaft position and applied armature voltage. This model is then built in MATLAB Simulink, design and
tuning of proportional-integral-derivative (PID) controllers are reviewed and a crisp PD control system is de-
signed in Simulink with the proposed design procedure, it’s mentioned about the fuzzy logic controller design
issues and a fuzzy proportional-derivative controller is designed with the proposed approach. Some of the com-
monly used defuzzification methods are discussed and system responses with different defuzzification methods
are compared. Finally disturbance rejection capabilities of the designed controllers are investigated.
Figure 1.2 shows the DC motor model built in Simulink. Motor model was converted to a 2-in 2-out subsystem.
Input ports are armature voltage (Va) and load torque (Tload) and the output ports are angular speed in (w) and
position (teta).
DOI: 10.9790/1676-10133747 www.iosrjournals.org 38 | Page
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers…
DC motors are most suitable for wide range speed control and are there for many adjustable speed drives. Inten-
tional speed variation carried out manually or automatically to control the speed of DC motors.
Control signal u(t) is a linear combination of error e(t) , its integral and derivative
If the controller is digital, then the derivative term may be replaced with a backward difference and the
integral term may be replaced with a sum. For a small constant sampling time , T s (14) can be approximated
as:
3.3 PI Controller
PI controller is unquestionably the most commonly used control algorithm the process control industry.
The main reason is its relatively simple structure, which can be easily understood and implemented in practice,
and that many sophisticated control strategies, such as model predictive control, are based on it.
The D part therefore ensures that the controller reacts quickly even in the case of slow changes at its
input. The P part takes care of medium amplification and the I part causes the controller to operate accurately
without leaving a control difference. deriving the individual controller parameters from the jump reply or rise
reply is difficult since the three components overlap.
PID controllers are usually tuned using hand tuning or Ziegler-Nichols methods to obtain the desired perfor-
mance according to preset criteria. The basic continuous feedback control is PID controller. The PID controller
exhibits good performance but is not adaptive enough.
The disadvantage of this method is that it should take a long time to find the optimal values. Another method to
tune PID parameters is Ziegler-Nichols frequency response method. The procedure is as follows:
1. Increase KP until system response oscillates with a constant amplitude and record that gain value as K u (ul-
timate gain)
2. Calculate the oscillation period and record it as Tu
3. Tune parameters using Table 2
Ziegler-Nichols frequency response method gives poor results especially for the systems with a time
lag much greater than the dominating time constant (Jantzen, 2007). Damping is generally poor. Rules work
better for PID controllers than PI controllers and it is not stated how to calculate the parameters for a PD
controller.
Another method proposed by Ziegler and Nichols is the reaction curve or step response method where
the unit-step response of the plant is used to adjust parameters. But the plant must not involve any integrators or
dominant complex conjugate poles for this method to apply (Ogata, 1997).
Controller parameters were tuned using Signal Constraint block of Simulink Response Optimization
Toolbox instead of conventional methods.
Signal Constraint is a block where response signals can be graphically constrained and model
parameters should be automatically optimized to obtain the performance requirements (Mathworks, 2008).
Overshoot is not desired especially in position control systems. It can be seen from Figure 5 that Signal
Constraint block adjusted the parameters such that a very small overshoot occurs. Table 3 shows the values of
the performance criteria obtained with the adjusted controller parameter.
Figure 4.1 Output and control signals for crisp PD control system
Implementation of an FLC requires the choice of four key factors (Mamdani, 1977): number of fuzzy
sets that constitute linguistic variables, mapping of the measurements onto the support sets, control protocol that
determines the controller behaviour and shape of membership functions. Thus, FLCs can be tuned not just by
adjusting controller parameters but also by changing control rules, membership functions etc.
All machines can process crisp or classical data such as either '0' or '1'.
The crisp input and output must be converted to linguistic variables with fuzzy components.
For converting the crisp value to fuzzy data is done by first step –Fuzzification .
In the second step, to begin the fuzzy inference process, one need combine the Membership Functions with
the control rules to derive the control output, and arrange those outputs into a table called the lookup table.
Furthermore, that control output should be converted from the linguistic variable back to the crisp variable
and output to the control operator. This process is called defuzzification or step 3.
value. There are many defuzzification methods but the most common methods are as follows:
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)
For discrete sets COG is called center of gravity for singletons (COGS) where the crisp control value u COGS is
the abscissa of the center of gravity of the fuzzy set uCOGS. is calculated as follows:
Where xi is a point in the universe of the conclusion (i=1,2,3…) and µc is the membership value of the
resulting conclusion set. For continuous sets summations are replaced by integrals.
The bisector of area (BOA) defuzzification method calculates the abscissa of the vertical line that divides the
area of the resulting membership function into two equal areas. For discrete sets, µBOA is the abscissa xj that mi-
nimizes.
Here imax is the index of the largest abscissa ximax . BOA is a computationally complex method.
Another approach to obtain the crisp value is to choose the point with the highest membership. There may be
several points in the overall implied fuzzy set which have maximum membership value. Therefore it’s a com-
mon practice to calculate the mean value of these points. This method is called mean of maximum (MOM) and
the crisp value is calculated as follows:
Here I is the (crisp) set of indices i where reaches its maximum µmax , and |I| is its cardinality (the num-
ber of members).
One can also choose the leftmost point among the points which have maximum membership to the overall im-
plied fuzzy set. This method is called smallest of maximum (SOM) or the leftmost maximum (LM) defuzzifica-
tion method. Crisp value is calculated as follows:
Another possibility is to choose the rightmost point among the points which have maximum member-
ship to the overall implied fuzzy set. This method is called largest of maximum (LOM) or the rightmost maxi-
mum (RM) defuzzification method where crisp value is
calculated as
Different defuzzification methods were used to obtain the control signal. Table 4 shows the tuned val-
ues of the controller parameters for different defuzzification methods
Disturbance rejection is important in controller design. The controller must be able to dampen out the
effects of disturbance signals existing in the system loop. Therefore a disturbance signal (Gaussian type noise
with zero mean and 0.05 variance) was applied to the input of the control system.
VIII. Result
Figure 8.4 and 8.5 shows the system responses and control signals for the fuzzy control systems with different
defuzzification methods.
Reference
[1]. Warwick K. "Control System",Prentice-Hall, 1989.
[2]. Y.F.Li and C.C. Lau, "Developement of fuzzy algorithm for servo sys tems," IEEE Control System, April 1989, pp.65-72.
[3]. S.M. Smith and D.J. Comer, "Automated Calibration of a fuzzy Logic Controller Using a Cell State Space Algorithm," IEEE Con-
trol System. August 1991,pp.18-28
[4]. Lee C. "Fuzzy Logic in Control Systems",Fuzzy logic controller, part II IEEE Trans. On Systems, Man. And cybernetics 1990.
[5]. Jantzen, J., Foundations of Fuzzy Control, WS: John Wiley & Sons, Ltd., 2007.
[6]. Kickert, W. J. M. and van Nauta Lemke, H. R., Application of a Fuzzy Controller in Warm Water Plant. Automatica, 12(4), 301-
308, 197
Shravan Kumar Yadav S/O Dr. Sheo Bhajan Ram Yadav was born in (Jharkhand) in India, on April, 1992.
He has done B.Tech. Degree program (4th year) in Electrical & Electronics Engineering
(EEE) at Apex Institute of Technology & Management, Bhubaneswar, India. He has pub-
lished more than two research papers and successfully completed his four weeks indus-
trial training from 09 June 2013 to 10 July 2013 at NALCO, Angul, India (A Government
of India Enterprise), India, PH-+ 91-9040316409.
(E-mail: [email protected]).