Fuzzy Logic Control of a Rotary Double Inverted Pendulum System

Fatima Aliyu Darma, Ado Dan Ado Dan Isa, Auwalu Muhammad Abdullahi, Isma’il Abubakar Umar, Lubabatu B. Ila


This work presents a fuzzy logic control of a rotary double inverted pendulum (RDIP) system. The RDIP system consists of two inverted pendulums mounted on a rotating disc which is driven by a DC motor. The longer pendulum is hinged on the right side of the disc whereas the shorter pendulum is hinged on the left side of the disc. The RDIP is an extremely nonlinear, unstable and under-actuated system of high order. A mathematical model is built for the RDIP using the Lagrange-Euler equation. A Fuzzy Logic Controller is then designed for swing-up and stabilization control of the RDIP system and its stability analysis is presented. The fuzzy controller takes the angles and angular velocities of the two pendulums and the angle and angular velocity of the rotary disc as its inputs, and the driving force as its output. A PID controller is also developed for this system for the purpose of comparison. The simulation results of these two control schemes with their comparative analysis show that, although both of the classical PID and the fuzzy controllers can control the system properly, the latter performs better especially on the steady state behavior. The simulation results also show the capability of the fuzzy logic control strategy to control a highly nonlinear and unstable system such as the RDIP.


Fuzzy logic control; Rotary inverted pendulum; PID; Simulation.

Article Metrics

Abstract view : 5126 times
PDF - 300 times

Full Text:



H. R. Berenji, A reinforcement learning-based architecture for fuzzy logic control, International Journal of Approximate Reasoning, 6(2), 267–292, 1992.

T. Yamakawa, Stabilization of an inverted pendulum by a high-speed fuzzy logic controller hardware system, Fuzzy Sets and Systems, 32(2), 161–180, 1989.

K. Furuta, H. Kajiwara and K. Kosuge, Digital control of a double inverted pendulum on an inclined rail, International Journal of Control, 32(5), 907–924, 1980.

R. Muhammad, T. Odaka, H. Ogura and T. Takahama, A study of knowledge representation of fuzzy control for inverted double pendulum system by applying adaptive control with range scaling method, Journal of Japan Society for Fuzzy Theory and Systems, 8(3), 576–585, 1996.

M. Riedmiller, Reinforcement learning without an explicit terminal state, IEEE International Joint Conference on Neural Networks, Alaska, 1998, pp. 1998–2003.

K. Fujita and M. Mizumoto, Fuzzy controls of parallel inverted-pendulum under fuzzy singleton-type reasoning method using genetic algorithm, 11th Fuzzy System Symposium, Okinawa, 1995, pp. 379–382.

T. Sugie and M. Okada, H∞ control of a parallel inverted pendulum system, Transactions of the Institute of Systems, Control and Information Engineers, 6(12), 543–551, 1993.

R. Kawatani and T. Yamaguchi, Analysis and stabilization of a parallel-type double inverted pendulum system, Transactions of the Society of Instrument and Control Engineers, 29(5), 572–580, 1993.

B. Krishna, D. Chandran, V. I. George and I. Thirunavukkarasu, Modeling and performance comparison of triple PID and LQR controllers for parallel rotary double inverted pendulum, International Journal of Emerging Trends in Electrical and Electronics, 11(2), 145-150, 2015.

R. Ordonez, J. Zumberge, J. T. Spooner and K. M. Passino, Adaptive fuzzy control: Experiments and comparative analysis, IEEE Transactions on Fuzzy Systems, 5, 167–188, 1997.


  • There are currently no refbacks.