HOME JOURNALS CONTACT

Journal of Applied Sciences

Year: 2005 | Volume: 5 | Issue: 5 | Page No.: 887-891
DOI: 10.3923/jas.2005.887.891
Non-singleton Fuzzy Logic Control of a DC Motor
Zuhtu Hakan Akpolat

Abstract: In this study, a new control scheme was described for the robust speed control of a DC motor under parameter variations and external disturbances. Non-singleton fuzzification were used in the proposed fuzzy control scheme. The control performance is tested under inertial and frictional variations and an external load torque. In order to show the effectiveness of the proposed control approach, simulation results of the singleton and non-singleton fuzzy control systems are presented together.

Fulltext PDF Fulltext HTML

How to cite this article
Zuhtu Hakan Akpolat , 2005. Non-singleton Fuzzy Logic Control of a DC Motor. Journal of Applied Sciences, 5: 887-891.

Keywords: speed control, drive control, Non-singleton fuzzy logic and robust control

INTRODUCTION

Electrical drives are widely used in many industrial systems. Speed or position of electric motors are usually controlled to hold the speed/position under unknown disturbances or to change the speed according to a reference profile. The output of a speed controller is a torque demand and electric drives are called upon to have good torque control performance. The speed control performance obtained using a PI/PID controller is sensitive to the uncertainties such as plant parameter variations, external load disturbances and, unmodelled and non-linear dynamics of the plant. Therefore, a robust controller would be attractive in most industrial applications. A controller is said to be robust if it gives satisfactory dynamic responses in the presence of parameter variations, external disturbances and unmodelled or non-linear dynamics of the plant. The problem of designing robust controllers is thus called robust control.

For the robust control of motor drives, a variety of approaches (e.g., sliding mode, fuzzy, two-degree-of-freedom, torque feed-forward and adaptive control methods) have been investigated by many researchers[1-4]. Although singleton fuzzy logic systems are the most widely used fuzzy logic systems in applications because of their simplicity and lower computational cost, non-singleton fuzzy logic systems are much more useful for incorporating uncertainties[5,6]. Non-singleton fuzzification has been used in some control applications[5] but, to date and to our best knowledge, it has not been used for the robust speed control of an electrical drive system. A short summary of the existing literature on non-singleton fuzzification can be found[5,6].

In this study, a new non-singleton fuzzy logic robust control system was proposed for the speed control of a DC electrical motor drive system. The effectiveness of the proposed control scheme under parameter variations and external disturbances were illustrated by simulation results. The performance comparisons of the singleton fuzzy logic controller and the proposed non-singleton fuzzy controller are provided in the study.

FUZZY LOGIC CONTROL AND NON-SINGLETON FUZZIFICATION

Fuzzy theory was first introduced by Zadeh[7]. During the last two decades, Fuzzy logic control has emerged as one of the most attractive and fruitful areas for research in the application of the fuzzy theory to the real engineering problems. Fuzzy logic control is actually a practical alternative to the conventional control methods for a variety of control applications since it provides a convenient method for implementing linear and non-linear controllers via the use of both heuristic and mathematical information.

A fuzzy controller basically consists of four main components as shown in Fig. 1. These are the fuzzifier, the rule-base, the inference mechanism (also called the inference engine) and the defuzzifier.

The fuzzifier converts the crisp values of input variables into information which can be easily used in the inference mechanism. After the fuzzification process, each input value is represented by a membership degree for each fuzzy set defined for the corresponding input variable.

Fig. 1: Basic structure of a fuzzy controller

The fuzzification method explained above is known as singleton fuzzification which is the most widely used fuzzification method in the control applications, mainly because of its simplicity and lower computational requirements. However, this kind of fuzzifier may not always be adequate, especially in the cases of uncertainties[5]. The non-singleton fuzzification, that is more effective as far as the uncertainties are concerned, produces a fuzzy set instead of a membership degree.

A fuzzy set F in X may be represented as a set of ordered pairs of a generic element x and its grade of membership functions, μF(x), i.e.,

(1)

In non-singleton fuzzification, measurement is mapped into a fuzzy number; i.e., the inputs are modelled as fuzzy numbers and membership functions are associated with them. In other words, a non-singleton fuzzifier is one for which (i = 1,….,p) and decreases from unity as xi moves away from [6].

In the rule-base, IF-THEN rules are generally used, which has the form of (the lth rule)

(2)

Where, xis are inputs (i = 1,….., p), are antecedent sets, are consequent sets and y is the output. The inference engine of a fuzzy controller provides a mapping from input fuzzy sets to output fuzzy sets by using all rules. The antecedents in a rule are connected by t-norm which corresponds to intersection of the fuzzy sets. By using the sup-star composition, the membership grades in the input fuzzy sets are combined with those in the output fuzzy sets and then, all the rules may be combined by t-conorm operation (union of fuzzy sets) or by defuzzfication using the weighted summation. A crisp output is produced by the defuzzifier from the output of the inference engine, which is actually a fuzzy set[6].

In the existing literature on Fuzzy Logic Systems (FLSs), the two most popular FLSs are the Mamdani and Takagi-Sugeno-Kang (TSK) systems. Up to this point, even though it is not referred to them as such, the described FLS is the Mamdani type FLS. The Mamdani and TSK FLSs are both characterised by IF-THEN rules and have the same antecedent structures, however, they differ in the structure of the consequent parts. The consequent of a TSK rule is a linear or nonlinear function of input variables, whereas the consequent of a Mamdani rule is a fuzzy set. In a Mamdani FLS, the output of the inference engine is a fuzzy set and defuzzification is used to obtain a crisp output (type-0 set). On the other hand, the output of a TSK FLS is a crisp value and defuzzification is not required. TSK FLSs have been widely used in control applications due to their computational effectiveness compared to the Mamdani FLSs.

THE SPEED CONTROL OF A DC MOTOR

Figure 2 shows a block diagram for the closed loop digital speed control of an electrical drive system.

Fig. 2: The closed loop digital speed control system

The output of a speed controller is a torque demand and electric drives are called upon to have good torque control performance. This study concerns the area of speed control and is thus applicable to all machine drive types having good torque and flux control properties. It is assumed in this study that we have good torque control properties and therefore, the fast torque current control loop is ignored and is not included in Fig. 4. Thus, the plant to be controlled consists of only the mechanical dynamics of the drive system, which can be expressed by the transfer function (for TL = 0)

(3)

where, ω is the shaft speed of the electrical machine, Te is the electrical torque, J is the moment of inertia and B is the viscous friction. In Fig. 4, KT is the torque constant, Ia is the torque current, TL is the load torque, T is the sampling period and Gh(s) represents the zero order hold (z.o.h.).

The control problem is now to design a controller to obtain a robust speed control performance under load torque, inertial and frictional variations.

THE PROPOSED NON-SINGLETON TSK FUZZY CONTROLLER

Consider a TSK Fuzzy Logic Controller (FLC) with two inputs e ∈ Ee, Δe ∈ EΔ and one output u ∈ U. The ith rule of the rule base can be expressed as:

Then
(4)

where, i = 1,..,4; k1, k2, and are constant controller parameters and are the input membership functions (fuzzy sets); and are the output functions of ith rule. Since a non-singleton fuzzification is employed, the inputs e and Δe are taken as interval sets for simplicity of calculations. Note that an interval set can be represented just by its domain interval, that can be expressed in terms of its left and right end-points as [L, R], or by its center and spread as [c-s, c+s], where, c= (L+R)/2 and s = (R-L)/2. It is common to express an interval set just by its domain, namely as [L, R] or [c-s, c+s]. When this notation is used, it is known that the membership grade at each point in the domain equals 1. Thus, e = [eL, eR] and Δe = [ΔeL, ΔeR] where, eL = e-es , eR = e+es and ΔeL = Δe-Δes , ΔeR = Δe+Δes. Note also that e is the error between ωref and ω, Δe is the change of error, es and Δes are the spreads of e and Δe, respectively (es = 10, Δes = 20). Figure 3 shows the input membership functions used in the controller ( , and , where, M1 = 300, M2 =2xM1).

The consequent of a rule Ri, ui, is also an interval set; i.e.,

(5)

Fig. 3: a) Membership functions for input e,
b) Membership functions fo input Δe

For a non-singleton TSK FLC, the output is given by:

(6)

where,

(7)

(8)

and and are the normalised certainties of the ith rule for the inputs [eL, eR] and [ΔeL, ΔeR] pairs, respectively. The output of the controller, the torque current Ia, is obtained by integrating the output of the FLC, i.e., in discrete time, the difference equation is given by:

(9)

Thus, the proposed controller becomes a PI-type controller. In order to have a realistic controller, an anti-windup integrator[4] structure is used to stop over-integration and to limit the torque demand.

SIMULATION RESULTS

Some simulation results showing the effectiveness of the proposed controller were given. In these comparative illustrations, the performance of the proposed non-singleton fuzzy controller were compared with the ordinary (singleton) fuzzy controller under external disturbance (the load torque) and parameter variations. It should be noted that the nominal inertia and viscous friction (Jn and Bn) are chosen naturally as the nominal inertia and viscous friction of the drive machine (corresponding to the minimum bounds of the inertia and friction). This is because all drive motors have their own nominal inertia and friction before connecting to a mechanical load.

The constants k1 and k2 of Eq. 4 are chosen so that the natural frequency (ωn) and the damping ratio (ζ) of the closed loop control system becomes 100 rad/s and 0.707, respectively for the nominal inertia and friction coefficient (Jn = 0.005 kgm2 and Bn = 0.001 Nms/rad) if aiL, aiR, biL and biR are set to zero. The controller parameters are found as k1 = 0.021 and k2 = 0.119 for the sampling period T = 2.5 ms. In order to provide a fair comparison, these coefficients are also used and kept constant in the consequent parts of the singleton and the proposed non-singleton fuzzy controllers. The singleton fuzzy controller used in comparison is exactly same with the proposed non-singleton fuzzy controller except that it is a singleton FLC and there is no interval set in the consequent part.

Fig. 4:
a) The output responses of the singleton and non-singleton fuzzy control systems to a square-wave reference (ωref(k) = +20 rad/s for 0≤t≤2 sec and ωref(k) = -20 rad/s for 2≤t≤4 sec) for J = 10xJn, B = 10xBn, b) Zoomed area of Fig. 4a and c) The outputs of the controllers

It is assumed in this study that the inertia (J) and viscous friction coefficient (B) of the drive system and the load torque (TL) are not known explicitly but the inertia and friction coefficient may change within the limits given by Jn≤J≤20xJn and Bn≤B≤20xBn.


Fig. 5:
a) The output responses of the singleton and non-singleton fuzzy control systems to a square-wave reference (ωref(k) = +20 rad/s for 0≤t≤2 sec and ωref(k) = -20 rad/s for 2≤t≤4 sec) for J = 20xJn, B = 10xBn, b) Zoomed area of Fig. 5a and c) the outputs of the controllers

Therefore, a reference closed loop model using the nominal plant parameters (Jn, Bn) and the controller parameters k1 and k2 given above is used in order to determine the unknown control parameters (ai and bi for singleton and aiL, aiR, biL and biR for non-singleton, i = 1,..,4) of the singleton and non-singleton FLCs. Thus, in the first stage of the design, the unknown control parameters are determined using the error between the outputs of the reference model and the plant.

Fig. 6:
The speed responses of the systems to a sinusoidal load torque (TL(t) = 4sin(2πt)) applied for t = 2 sec (ωref(k) = 5 rad/s and J = 20xJn, B = 20xBn)

Note that the proposed controller is not an adaptive controller and after the training stage (first stage of the design), the control parameters are kept constant for all simulation results presented in the study. The objective function[8] to be minimised then can be defined as:

(10)

where, ωm(k) is the output of reference model. Using the gradient descent method, the update rules, for example, for the control parameters can be given as[8]:

(11)

where, η (chosen as 0.01) is the learning rate. The derivatives in the above equations can be found using the chain rule, e.g.:

(12)

Some simulation results of the singleton and the proposed non-singleton FLCs are now given on the same scale for the comparison purpose. In Fig. 4 and 5, simulation results for J = 10xJn, B = 10xBn and J = 20xJn, B = 10xBn are illustrated to show the robustness of the proposed non-singleton FLC. Results show the output responses of the singleton and non-singleton fuzzy control systems to a square-wave reference (ωref(k) = +20 rad/s for 0≤t≤2 sec and ωref(k) = -20 rad/s for 2≤t≤4 sec). In order to have a better view, some parts of the figures are zoomed and shown in Fig. 4b 5b. Figure 4c and 5c show the outputs of the controllers. The control performance of the proposed non-singleton fuzzy logic control system under the inertial and frictional variations is much better than that of singleton fuzzy logic control system. Note that the outputs of the controllers, torque current demands (Ia), are limited to 1 Ampere (which means that the electrical torque demand Te is limited to 5 Nm since KT = 5).

Finally, Fig. 6 shows the speed responses of the controllers of the systems to a sinusoidal load torque (TL(t) = 4 sin(2πt)) applied for t = 2 sec, where the reference speed is a step demand (ωref(k) = 5 rad/s) and J = 20xJn and B = 20xBn. The sinusoidal load torque has a very little effect on the speed response of the proposed non-singleton fuzzy logic control system. Once again, the proposed non-singleton fuzzy controller provides much more robust control performance than the singleton fuzzy controller (Fig. 6).

CONCLUSIONS

In this study, a new robust controller based on non-singleton fuzzification was proposed for the speed control of a DC motor under parameter variations and load torque. Non-singleton fuzzification is employed due to its effectiveness on uncertainties. TSK FLC structure was used for the proposed controller because it is more convenient than the Mamdani FLC for control applications. Simulation results showing the robust control performance of the proposed non-singleton fuzzy controller under parameter variations and load torque are given in the study.

REFERENCES

  • Lin, F.J. and S.L. Chiu, 1998. Adaptive fuzzy sliding mode control for PM synchronous servo motor drives. IEE Proc. Control Theor. Applied, 145: 63-72.


  • Akpolat, Z.H., G.M. Asher and J.C. Clare, 2000. A practical approach to the design of robust speed controllers for machine drives. IEEE Trans. Ind. Elect., 47: 315-323.


  • Mouzouris, G.C. and J.M. Mendel, 1997. Nonsingleton fuzzy logic systems: Theory and applications. IEEE Trans. Fuzzy Syst., 5: 56-71.


  • Zadeh, L.A., 1965. Fuzzy sets. Inform. Control, 8: 338-353.
    CrossRef    Direct Link    


  • Mendel, J.M., 2001. Uncertain Rule-Based Fuzzy Logic Systems: Introduction and New Directions. Prentice Hall, Upper Saddle River, New Jersey, USA., pp: 265-272


  • Leonhard, W., 2001. Control of Electrical Drives. 3rd Edn., Springer-Verlag, Berlin


  • Bose, B.K., 2002. Modern Power Electronics and AC Drives. 2nd Edn., Prentice Hall, Upper Saddle River, New Jersey, USA., ISBN-10: 013016743, pp: 736


  • Astrom, K.J. and B. Wittenmark, 1995. Adaptive Control. 2nd Edn., Addison-Wesley, New York, USA

  • © Science Alert. All Rights Reserved