Design and Implementation of Two-Wheeled Self-Balancing Vehicle Using Accelerometer and Fuzzy Logic

  • Sunu S. Babu
  • Anju S. Pillai
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 381)


Two-wheeled self-balancing vehicle commercially known as “Segway” is a promising upcoming mode of transportation in many fields viz. corporate worlds, tourist place, medical field, or for personal use. In this paper, a control strategy and sensor-based control of two-wheeled self-balancing vehicle is proposed. The concept of the stabilizing the vehicle is inspired from the inverse pendulum theory. Based on steady-state space mathematical model, the entire system control is divided into two subsystems: self-balance control system (forward or backward motion balancing) and yaw control system (left or right movement). The control strategy used is fuzzy logic and is applied to both subsystems. A prototype model of the self-balancing vehicle is developed and the proposed mathematical model and control logic are verified by testing on the developed prototype.


Fuzzy logic controller Self-balancing Fuzzy rule base accelerometer Arduino UNO R3 


  1. 1.
    Mohtasib, A.M., Shawar, M.H.: Self-balancing two wheel electric vehicle. In: 9th International Symposium on Mechatronics and Its Applications (ISMA13), Amman, Jordan, 9–11 April 2013Google Scholar
  2. 2.
    Wu, J., Zhang, W.: Design of fuzzy logic controller for two wheeled self balancing robot. In: 6th International Forum on Strategic Technology (2011)Google Scholar
  3. 3.
    Lin, S.-C., Tsai, C.-C., Huang, H.-C.: Nonlinear adaptive sliding-mode control design for two-wheeled human transportation vehicle. In: Proceedings of the 2009 IEEE International Conference on Systems, Man and Cybernetics, San Antonio, TX, USA, October 2009Google Scholar
  4. 4.
    Juang, H.-S., Lum, K.-Y.: Design and control of a two-wheel self-balancing robot using the Arduino microcontroller board. In: 10th IEEE International Conference on control and Automation(ICCA), Hangzhou, China, 12–14 June, 2013Google Scholar
  5. 5.
    An, W., Li, Y.: Simulation and control of a two wheeled self-balancing robot. In: IEEE International Conference on Robotics and Biomimetics (ROBIO) Shenzhen, China, December 2013Google Scholar
  6. 6.
    Chuang, J.-K., Lu, P.-Y., Leu, Y.-G., Lin, Y.-S.: Bacterial-based control of two wheeled vehicles. In: 11th IEEE International Conference on Control & Automation (ICCA), Taichung, Taiwan, 18–20 June, 2014Google Scholar
  7. 7.
    Grasser, F., Colombi, S., Rufer, A.C.: JOE : A mobile, inverted pendulum. IEEE Trans. Ind. Electron. 49(1) (2002)Google Scholar
  8. 8.
    Tsai, C.-C., Huang, H.-C., Lin, S.-C.: Adaptive neural network control of a self balancing two wheeled scooter. IEEE Trans. Ind. Electron. 57(4) (2010)Google Scholar
  9. 9.
    Cai, Z., Su, C.-Y.: Output tracking control of Takagi-Sugeno fuzzy systems with application to an underactuated robots. In: Proceedings of the 2002 IEEE International Conference on Fuzzy Systems, FUZZ-IEEE’02 (2002)Google Scholar

Copyright information

© Springer India 2016

Authors and Affiliations

  1. 1.Department of Electrical and Electronics EngineeringAmrita Vishwa Vidyapeetham, Amrita School of EngineeringCoimbatoreIndia

Personalised recommendations