Fuzzy control of a real time inverted pendulum system


Kizir S. , Bingül Z. , Oysu C.

JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, cilt.21, ss.121-133, 2010 (SCI İndekslerine Giren Dergi)

  • Cilt numarası: 21
  • Basım Tarihi: 2010
  • Doi Numarası: 10.3233/ifs-2010-0441
  • Dergi Adı: JOURNAL OF INTELLIGENT & FUZZY SYSTEMS
  • Sayfa Sayısı: ss.121-133

Özet

In this study, a real-time control of the cart-pole inverted pendulum system was developed using fuzzy logic controller (FLC). Swing-up and stabilization of the inverted pendulum were implemented directly in the FLC. The FLC designed in the Matlab-Simulink environment was embedded in a dSPACE DS1103 DSP controller board. The FLC for swing-up brings the pendulum near to its inverted position from downward position between 5 and 10 seconds. The FLC for stabilization maintains the pendulum near to inverted position with average +/- 1 degree of error and the cart near to zero position with average +/- 0.02 m of error. In order to test the robustness of the FLC, internal (changing model parameters) and external disturbances (applying external forces) were applied on the inverted pendulum. The maximum errors of the pendulum angle to the impulse force input were obtained between 1.89 degrees and 4.6449 degrees in the internal disturbance tests. The errors obtained from external disturbance tests vary with applied forces. Based on robustness tests, the inverted pendulum system with the FLC was shown to be robust to the external and internal disturbances.