摘要
在STM32F103C8T6微控制器芯片基础上,提出了两轮自平衡车系统的一种设计方案。系统方案包括STM32F103C8T6微控制器电路设计、车体姿态传感器MPU6050检测电路设计、电机驱动电路设计、以PID控制器为核心的软件设计。经过测试,两轮自平衡车系统样机能够保持车体自我平衡并简单的直立行走,验证了硬件设计和软件设计的有效性和可靠性。
On the basis of STM32F103C8T6 microcontroller chip,this paper presents a design scheme of two-wheel self-balancing vehicle system.The system scheme includesthe circuit design of STM32F103C8T6 microcontroller,the detection circuit design of vehicle body attitude sensor MPU6050,the circuit design of motor drive,software design with PID controller as the core.After test,two-wheel self-balancing vehicle system prototype can maintain the self-balance of the car body and simply walk upright,which verifies the effectiveness and reliability of hardware design and software design.
作者
聂茹
NIE Ru(School of Electronic Information Engineering,Guangzhou College of South China University of Technology,Guangzhou 510800,China)
出处
《微型电脑应用》
2021年第1期10-12,22,共4页
Microcomputer Applications
基金
广东省教育厅青年创新人才基金资助项目(2016KQNCX227)
广东省大学生创新创业项目(2019)。