00669726
00669726
(1)
I. INTRODUCTION AND BACKGROUND (2)
(6)
where if and if
[5]–[7].
Once the fuzzy variables are defined, membership functions IV. APPROACH
are assigned to them. This process is called fuzzification. There In the example described here, the knowledge base is formed
are some rules of thumb which are customarily applied in by considering a 120-V motor (line voltage 120 V)
SANEIFARD et al.: FUZZY-LOGIC-BASED SPEED CONTROL OF A SHUNT DC MOTOR 161
TABLE I
MOTOR ARMATURE CURRENT, COUNTER EMF, AND SPEED CALCULATIONS
TABLE II
FUZZY VARIABLE ASSOCIATIONS AND NUMERICAL RANGES
and the measured field current are then used by the fuzzy development software to produce the corresponding Fortran
controller to determine the appropriate field current adjustment (or other high-level language) code.
to bring the motor speed back to the reference setting. The normalized fuzzy rule surface for this problem, as
The fuzzy controller was created using the commercially generated by FULDEK, is shown in Fig. 5. This rule surface,
available fuzzy logic development Kit FULDEK [10], which which is possible to visualize spatially here since there are
composes a set of rules based upon defined input and out- only two input variables and one output variable, provides a
put variables and manually generated membership functions. graphical indication of the assigned fuzzy variables and their
Membership functions are of the trapezoidal type and Correla- ranges.
tion Minimum Encoding (CME) is used as the defuzzification For this example, FULDEK generated a Fortran code of
method [10]. Based on the relationship between input and approximately 400 lines from the specified fuzzy rule base.
output variables, a total of 24 rules (corresponding to the 24 This code, which contains a number of check statements, is
meaningful states in the FAM table) is composed from the called in the form of a subroutine by the main program (Fig. 6)
FAM table (Table III). There is a reason for the “missing” written by the user, where NPR and NPW are logical device
rule, and this should be pointed out to the students. Note that names. The main program and FULDEK-generated subroutine
if speed is low (LS) and field current is small (S), no reduction are compiled and linked by the student and can then be used
in field current can be made to correct the speed. Such as a simulation and testing tool for the controller.
modification or deletion of rules from the FAM table allows Crisp output is obtained from the user’s program. The crisp
the designer to eliminate conflicting or noncausal relationships. output corresponding to different sets of input data, showing
In classical expert-systems theory, this is often referred to as the reaction of the controller to restore the speed to normal
“conflict resolution.” under varying load conditions, is in accordance with the FAM
As an example of the use of the FAM table, consider the table and is shown as follows at the top of the following page.
following. If the machine is in the overspeed (OS) mode and It is evident from an examination of these results that the
the field current is small (S), then the field current should be fuzzy controller will restore the speed of the machine to normal
reset to above normal (ANO) in order to bring the machine (1800 r/min) under varying load conditions.
speed down. The complement of this is also evident: if the
motor is operating at underspeed (US) and the field current
is large (L), then the field current should be reset to below
normal (BNO) to bring the speed up. In the usual notation, VI. CONCLUDING REMARKS
these two rules would be stated respectively as follows: This paper has demonstrated how the fundamentals of
fuzzy logic can be illustrated through application to a simple
Field Current is Small engineering problem: the speed control of a shunt-connected
Speed is Overspeed dc motor. This problem was chosen because it is physically
Field Current is (to be set to) Above normal and mathematically straightforward, and because the results
are easily understood and easily compared with those of other
Field Current is Large methods. Furthermore, the need for addressing the problem
Speed is Underspeed of motor speed control is readily demonstrated to, and per-
Field Current is (to be set to) Below normal. ceived by, the students. It is a problem which can be readily
implemented, on a class-project level, using fuzzy logic once
In practice, students should develop a FAM table corre- the fundamentals of the latter are understood (e.g., from a
sponding to the stated problem and would then use fuzzy logic treatment such as [1]).
SANEIFARD et al.: FUZZY-LOGIC-BASED SPEED CONTROL OF A SHUNT DC MOTOR 163
IF If is 1.50 A and speed is 1600 r/min THEN set If to 2.00 A to restore speed to normal.
IF If is 1.50 A and speed is 1735 r/min THEN set If to 2.24 A to restore speed to normal.
IF If is 1.50 A and speed is 1800 r/min THEN set If to 1.51 A to restore speed to normal.
IF If is 1.50 A and speed is 1865 r/min THEN set If to 2.24 A to restore speed to normal.
IF If is 1.50 A and speed is 2000 r/min THEN set If to 2.48 A to restore speed to normal.
IF If is 1.80 A and speed is 1600 r/min THEN set If to 2.00 A to restore speed to normal.
IF If is 1.80 A and speed is 1735 r/min THEN set If to 1.76 A to restore speed to normal.
IF If is 1.80 A and speed is 1800 r/min THEN set If to 1.76 A to restore speed to normal.
IF If is 1.80 A and speed is 1865 r/min THEN set If to 2.24 A to restore speed to normal.
IF If is 2.00 A and speed is 1600 r/min THEN set If to 2.24 A to restore speed to normal.
IF If is 2.00 A and speed is 1735 r/min THEN set If to 2.24 A to restore speed to normal.
IF If is 2.00 A and speed is 1800 r/min THEN set If to 2.00 A to restore speed to normal.
IF If is 2.00 A and speed is 1865 r/min THEN set If to 2.24 A to restore speed to normal.
IF If is 2.00 A and speed is 2000 r/min THEN set If to 2.24 A to restore speed to normal.
IF If is 2.20 A and speed is 1600 r/min THEN set If to 2.00 A to restore speed to normal.
IF If is 2.20 A and speed is 1735 r/min THEN set If to 2.00 A to restore speed to normal.
IF If is 2.20 A and speed is 1800 r/min THEN set If to 2.24 A to restore speed to normal.
IF If is 2.20 A and speed is 1865 r/min THEN set If to 2.00 A to restore speed to normal.
IF If is 2.20 A and speed is 2000 r/min THEN set If to 2.00 A to restore speed to normal.
IF If is 2.50 A and speed is 1600 r/min THEN set If to 1.76 A to restore speed to normal.
IF If is 2.50 A and speed is 1735 r/min THEN set If to 1.76 A to restore speed to normal.
IF If is 2.50 A and speed is 1800 r/min THEN set If to 2.49 A to restore speed to normal.
IF If is 2.50 A and speed is 1865 r/min THEN set If to 1.76 A to restore speed to normal.
IF If is 2.50 A and speed is 2000 r/min THEN set If to 1.76 A to restore speed to normal.
REFERENCES
Fig. 6. Main code (developed by students).
[1] J. M. Mendel, “Fuzzy logic systems for engineering: A tutorial,” Proc.
IEEE, vol. 83, pp. 345–377, Mar. 1995.
The development of a fuzzy-logic controller which main- [2] T. Terano, K. Asai, and M. Sugeno, Fuzzy Systems Theory and Its
tains a fairly constant speed for this motor has been discussed. Applications. San Diego, CA: Academic, 1991.
[3] S. J. Chapman, Electric Machinery Fundamentals, 2nd ed. New York:
A commercially available fuzzy logic development kit [10] McGraw-Hill, 1991.
was used to simulate and demonstrate the controller. The [4] A. E. Fitzgerald, C. Kingsley, Jr., and S. D. Umans, Electric Machinery,
5th ed. New York: McGraw-Hill, 1990.
numerical results are seen to be reasonable and illustrate that [5] B. Kosko, Neural Networks and Fuzzy Systems—A Dynamical Systems
the controller actually accomplishes its design objectives. Approach to Machine Intelligence. Englewood Cliffs, NJ: Prentice-
The demonstration presented in this paper represents a Hall, 1992.
[6] R. R. Yeager, S. Ovhinnikov, R. M. Tong, and H. T. Nguyen, Fuzzy Sets
student effort on the level of an assigned class project, and in and Applications: Selected Papers by L. A. Zadeh. New York: Wiley,
fact began that way in a class in fuzzy-logic theory and power 1987.
164 IEEE TRANSACTIONS ON EDUCATION, VOL. 41, NO. 2, MAY 1998
[7] H. J. Zimmerman, Fuzzy Set Theory—and Its Applications. Boston, Howard A. Smolleck (S’74–M’74–SM’84) received the B.S., M.S., and Ph.D.
MA: Kluwer-Nijhoff, 1985. degrees from the University of Texas, Arlington, in 1969, 1970, and 1975,
[8] E. Cox, “Fuzzy fundamentals,” IEEE Spectrum, pp. 58–61, Oct. 1992. respectively.
[9] M. Jamshidi, N. Vadiee, and T. J. Ross, Fuzzy Logic and Control. From 1974 to 1979 he was on the faculty of Old Dominion University,
Englewood Cliffs, NJ: Prentice-Hall, 1993. Norfolk, VA, and since August 1979 has been with the Department (now the
[10] Fuzzy Logic Development Kit (FULDEK) Version 2.0, Bell Helicopter Klipsch School) of Electrical and Computer Engineering, New Mexico State
Textron Inc., 1992. University, Las Cruces, where he currently holds the rank of Professor. He
[11] S. Saneifard, “Fuzzy logic approach to unit commitment,” Ph.D. disser- has developed and taught numerous short courses on power systems analysis,
tation, New Mexico State University, Las Cruces, NM, Dec. 1994. machine control, and process control. His research interests include electric
power system analysis, electric machinery, and the development of educational
software.
Dr. Smolleck is a member of Tau Beta Pi, Eta Kappa Nu, Alpha Chi, and
is a Registered Professional Engineer.
Seyedrasoul Saneifard (M’98) received the B.S.E.E. and M.S.E. degrees
from Prairie View A & M University, Prairie View, TX, in 1988 and 1990,
respectively, and the Ph.D. degree in electrical engineering from New Mexico
State University, Las Cruces, in 1994.
He is currently (Fall 1997) an Assistant Professor in the Department of Jiryes J. Wakileh received the B.S. degree in electrical engineering from
Engineering Technologies of Texas Southern University, Houston, TX. His the University of Jordan, Amman, Jordan, in June 1986, the M.S. degree
research interests include fuzzy logic, electric power system analysis, electric in electrical engineering from New Mexico State University, Las Cruces,
machinery, and power distribution. in December 1993, and recently graduated with the Ph.D. degree from the
Department of Electrical and Computer Engineering, Kansas State University,
Manhattan.
He worked for the Jordanian Royal Scientific Society until December 1992.
He is now (Fall 1997) employed by Unitech Engineering A/S, Stavanger,
Nadipuram R. Prasad (M’79) received the Ph.D. degree in 1989 from New Norway. His primary research area of interest is the analysis and design of
Mexico State University, Las Cruces. power distribution systems.
He has over 15 years’ experience in the power engineering field. From
1975 to 1985 he worked at American Electric Power where he was involved
in various capacities in the Bulk Transmission Planning Division, and was
manager of the System Dynamics Analysis Section. Presently, he is an Asso-
ciate Professor in the Klipsch School of Electrical and Computer Engineering,
New Mexico State University. His primary research interests are in the areas of
control systems and the application of advanced artificial intelligence concepts
to the operation and control of power systems.