Fuzzy control of a real time inverted pendulum system


12th International Conference on Knowledge-Based Intelligent Information and Engineering Systems, Zagreb, Croatia, 3 - 05 September 2008, vol.5177, pp.674-681 identifier identifier

  • Publication Type: Conference Paper / Full Text
  • Volume: 5177
  • Doi Number: 10.1007/978-3-540-85563-7-85
  • City: Zagreb
  • Country: Croatia
  • Page Numbers: pp.674-681


In this study, a real-time control of the cart-pole inverted pendulum system was developed using fuzzy logic controller. Swing-up and stabilization of the inverted pendulum were implemented directly in fuzzy logic controller. The fuzzy logic controller designed in the Matlab-Simulink environment was embedded in a dSPACE DS1103 DSP controller board. Swing-up algorithm brings the pendulum near to its inverted position in 10 seconds from downward position. In order to test the robustness of the fuzzy logic controller internal (changing model parameters) and external disturbances (applying external forces) were applied on the inverted pendulum. The inverted pendulum system was shown to be robust to the external and internal disturbances. The maximum errors of the pendulum angle to the impulse input were between 1.89 degrees and 4.6449 degrees in the robustness tests.