摘要
自平衡小车近年来出现在消费市场,人们开始接受这一种新的承重、代步、运输交通工具。相对于传统的交通工具,两轮平衡小车具有许多优点,转向空间小;可实现原地任意角度旋转;相对传统交通工具有着低功耗特点。通过对平衡小车的研究,实现一个读取陀螺仪,电机编码器采用stm32的电机驱动控制系统。该平衡小车可以实现无干扰情况下自主实现平衡,转向,加减速等控制;同时实现避障和巡线等功能。
关键词 PID控制 陀螺仪 避障巡线
Abstract
In recent years, self-balanced automobiles have appeared in the consumer market. People begin to accept this new way of carrying, transporting and transporting. Compared with traditional vehicles, the two-wheel balancing vehicle has the advantages of small steering space, arbitrary rotation in situ and low power consumption. Through the research of the balancing car, the reading gyroscope is realized, and the motor encoder adopts STM32 motor drive control system. Balancing car can achieve self-balancing, steering, acceleration and deceleration control without disturbance, while achieving obstacle avoidance and line patrol functions.
Keywords PID Algorithm gyroscope obstacle avoidance patrol
目录















































