Skip to main content

Design and Implementation of Self-balancing Robot Based on STM32

  • Conference paper
  • First Online:
Computational Intelligence and Intelligent Systems (ISICA 2017)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 874))

Included in the following conference series:

  • 945 Accesses

Abstract

The two-wheeled self-balancing robot has a simple structure, low cost and high flexibility, which is very suitable for indoor space. In this paper, we designed a self-balancing robot, by using the STM32 microprocessor as the main controller, and the attitude sensor MPU6050 is used to collect the obliquity and angular velocity. However, the gyroscope and the accelerometer make noise interference and drift error, the Kalman filter algorithm, therefore, is used to fuse the obliquity and angular velocity, in order to obtain the optimal obliquity. The PID control algorithm will combine the optimal obliquity and the real-time speed obtained by the high-precision encoder of the coaxial motor, to output the stable and reliable PWM signal, which can be sent to the motor drive chip. The motor drive chip can drive the operation of the two motors, to obtain the more ideal operation control effect. The results showed that the self-balancing robot could achieve stable self-balancing control.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Yuan, J.: The research of the two-wheel self-balancing robot on modeling, control and experimental research. Xi’an University of Electronic Science and Technology (2014)

    Google Scholar 

  2. Wang, S., Xiong, W.: The design of the two-wheel self-balancing car system based on STM32. Research and Exploration in Laboratory, no. 5 (2016)

    Google Scholar 

  3. Jun, W., Zhimin, L., Fangguo, W.: The design and implementation of the two-wheeled balancing mobile robots based on STM32. Electron. World 7, 145–147 (2016)

    Google Scholar 

  4. CSDN. http://blog.csdn.net/zhuanghe_xing/article/details/7935251

  5. Zhang, J., Lu, B., Wu, D.: Research on angular acceleration estimation method based on Kalman filter. Ind. Control Comput. (11) (2015)

    Google Scholar 

  6. Yaxin, H., Ankun, G., Lou, C., Bing, L.: The PID control of two-wheel self-balancing car. Inf. School Yangtze Univ. 9, 3–4 (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ling Peng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Peng, L., Zhou, C. (2018). Design and Implementation of Self-balancing Robot Based on STM32. In: Li, K., Li, W., Chen, Z., Liu, Y. (eds) Computational Intelligence and Intelligent Systems. ISICA 2017. Communications in Computer and Information Science, vol 874. Springer, Singapore. https://doi.org/10.1007/978-981-13-1651-7_33

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-1651-7_33

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-1650-0

  • Online ISBN: 978-981-13-1651-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics