Real Time Fuzzy Logic Controller for Balancing a Beam-and-Ball System

  • Nowell Godfrey
  • Hua Li
  • Yuandong Ji
  • William Marcy
Part of the International Series in Intelligent Technologies book series (ISIT, volume 3)


Controlling a nonlinear system in real time is a challenging task which usually involves extensive mathematical formulation and intensive computation. In many cases, a linearization of the system model has to be derived first before the design of a controller, which limits the validaty of the system model. In addition, the detailed system parameters have to be known in order to perform such linearization, which can be difficult or even may not be practical in some real world applications. In this study, we demonstrated the design of a real-time fuzzy logic controller for a typical nonlinear system control application, balancing a beam-and-ball system in real time. Unlike the optimal or conventional control technique, the fuzzy logic controller requires no explicit system parameters, such as mass, torque etc., and it is characterized by its simplicity. A hardware prototyping system is built and the experimental results demonstrate the robustness of the controller. The comparative study reveals that the fuzzy logic controller outperforms optimal control based algorithm and in most cases outperforms trained human operators as well.


Fuzzy Logic Fuzzy Logic Controller Real Time Control Fuzzy Logic Control Fuzzy Inference Rule 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    G.M. Abdelnour, C.H. Chang, F.H. Huang, and J.Y. Cheung, “Design of a Fuzzy Controller Using Input and Output Mapping Factors,” IEEE Trans. on Systems, Man, and Cybernetics, Vol. 21, No. 5, pp. 952–960, Sept. 1991.CrossRefGoogle Scholar
  2. [2]
    K.J. Astrom and B. Wittenmark, Computer Controlled Systems, Theory and Design, Prentice-Hall, Englewood Cliffs, NJ, 1984.Google Scholar
  3. [3]
    A.E. Bryson and Y.C. Ho, Applied Optimal Control, Hemisphere, 1975.Google Scholar
  4. [4]
    M. Galluzzo, V. Cappellani, and U. Garofalo, “Fuzzy Control of pH Using NAL,” International J. of Approximate Reasoning, No. 5, pp. 505–519, 1991.Google Scholar
  5. [5]
    S.G. Kong, B. Kosko, “Adaptive Fuzzy Systems for Backing up a Truck-and-Trailer,” IEEE Trans. on Neural Networks, Vol. 3, No. 2, pp. 211–223, March 1992.CrossRefGoogle Scholar
  6. [6]
    C.C. Lee, “Fuzzy Logic in Control Systems: Fuzzy Logic Controller, Part II,” IEEE Trans. on Systems, Man, and Cybernetics, Vol. 20, No. 2, pp. 419–435, March 1990.MATHCrossRefGoogle Scholar
  7. [7]
    T. Onisawa, “Fuzzy Reliability Assessment Considering the Influence of Many Factors on Reliability,” International J. of Approximate Reasoning, No. 5, pp. 265–280, 1991.Google Scholar
  8. [8]
    M. Parekh, M. Desai, H. Li, and R. Rhinehart, “In-Line Control of Nonlinear pH Neutralization Based on Fuzzy Logic,” IEEE Trans, on Components, Packaging, and Manufacturing Technology, Part A, Vol. 17, No. 2, June 1994, pp. 192–201.CrossRefGoogle Scholar
  9. [9]
    T. Tobi, T. Hanafusa, “A Practical Application of Fuzzy Control for an Air-Conditioning System,” International J. of Approximate Reasoning, No. 5, pp. 331–348, 1991.Google Scholar
  10. [10]
    L.A. Zadeh, “Fuzzy Sets,” Inform. Control, Vol. 8, pp. 338–353, Academic Press Inc., 1965.MATHCrossRefGoogle Scholar

Copyright information

© Kluwer Academic Publishers 1995

Authors and Affiliations

  • Nowell Godfrey
    • 1
  • Hua Li
    • 1
  • Yuandong Ji
    • 1
    • 2
  • William Marcy
    • 1
  1. 1.Computer Science DepartmentCollege of Engineering Texas Tech UniversityLubbockUSA
  2. 2.Department of Systems EngineeringCase Western Reserve UniversityClevelandUSA

Personalised recommendations