923 | 1 | 96 |
下载次数 | 被引频次 | 阅读次数 |
为进一步提高平衡小车的精度、稳定性及运行安全性,研制了一款自动避障双轮平衡小车,其核心处理器采用STM32F103C8T6芯片,使用MPU6050传感器采集小车运动过程中的车身姿态,并通过编码器获取小车的角度和加速度,然后采用PID算法获取合适的PWM值作用到电机驱动芯片上,通过控制电机的正反转以及转动速度来实现小车运动过程中车身的平衡及转向。利用超声波和舵机模块实现小车的避障功能,使其在遇到障碍物时自主选择方向,从而实现转向。通过调试分析表明,该平衡小车能够在保持平衡移动的基础上准确感知和避开障碍物。该平衡小车运动灵活、成本低,适合在危险狭小的空间里工作,对促进智能机器人的发展和应用具有重要的意义。
Abstract:In order to further improve the accuracy, stability and operation safety of the balancing vehicle, this paper designs and develops an automatic obstacle avoidance double-wheeled balancing vehicle. Taking STM32F103C8T6 chip as the core processor, the MPU6050 sensor is used to collect the body attitude during the vehicle movement. The angle and acceleration of the vehicle are obtained through the encoder. Then the appropriate PWM value obtained by PID algorithm is acted on the motor drive chip. The balance and steering of the body during the vehicle movement can be realized by controlling the forward-reverse rotation and the rotation speed of the motor. In addition, ultrasonic and servo modules are used to realize the obstacle avoidance function of the vehicle, so that it can choose the direction independently when encountering obstacles, and then the steering is achieved. Finally, through debugging and analysis, the results show that the balancing vehicle can accurately perceive and avoid obstacles while keeping balanced movement. The balancing vehicle designed and developed in this paper is more flexible in movement and lower in cost, and it is more suitable for working in dangerous and narrow space. It is of great significance to the development and application of intelligent robot.
[1]许亚朝.两轮平衡车控制系统的设计与研究[D].太原:太原科技大学,2016.
[2]贾树林,马双宝.基于STM32F429两轮平衡车的研制[J].武汉纺织大学学报,2020,33(5):57-63.
[3]秦新林,陈伯亨.单片机的应用-STM32智能小车[J].农家参谋,2019(19):194.
[4]LIU K,BAI M,NI Y H. Two-wheel self-balanced car based on Kalman filtering and PID algorithm[C]. 2011 IEEE 18th International Conference on Industrial Engineering and Engineering Management,IEEE,2011.
[5]王良成,杨志民,胡聪聪,等.两轮自平衡小车的设计与实现[J].实验室科学,2012,15(6):52-55.
[6]龚道灿.基于STM32的两轮平衡车设计[J].电脑迷,2017(11):161.
[7]钟科,陈向东.智能家居服务网关的设计[J].通信技术,2012(8):65-67.
[8]任航.双轮自平衡车控制[J].无线互联科技,2014(10):149.
[9]魏雅.基于单片机的两轮自平衡小车的设计[J].计算机与数字工程,2017,45(9):1870-1873.
[10]李帅男.基于STM32控制的双轮自平衡小车的设计[J].现代工业经济和信息化,2018,8(13):34-35.
[11]王磊,宁欣.基STM3的两轮自平衡小车控制系统设计[J].山东工业技术,2018,267(13):54.
[12]李冠奎,秦云翔.基于STM32的自平衡小车结构和系统设计[J].信息与电脑(理论版),2021,33(9):84-86.
[13]李姿景,张具琴,于俊杰,等.基于单片机的两轮平衡车设计[J].电子测量技术,2020(43):1-5.
基本信息:
DOI:
中图分类号:TP23
引用信息:
[1]周晓媛,周宏胭.一种自动避障双轮平衡小车的研制[J].机械,2024,51(08):59-65.
基金信息: