摘 要:本文论述了基于单片机的智能循迹小车的控制过程。智能循迹是基于自动引导机器人系统,用以实现小车自动识别路线,以及选择正确的路线。智能循迹小车是一个运用传感器、单片机、电机驱动及自动控制等技术来实现按照预先设定的模式下,不受人为管理时能够自动实现循迹导航的高新科技。该技术已经应用于无人驾驶机动车,无人工厂,仓库,服务机器人等多种领域[5]。
本设计采用AT89C52单片机作为小车的控制核心;采用光电传感器作为小车的循迹模块来识别白色路面中央的黑色引导线,采集信号并将信号转换为能被单片机识别的数字信号;采用驱动芯片L298N构成双H桥控制直流电机,其中软件系统采用C程序,本设计的电路结构简单,容易实现,可靠性高。
毕业论文关键词:单片机,自动循迹,驱动电路
Abstract: This paper discusses the intelligent tracing electric trolley control process. Automatic tracing is used to make the car indentify route automatically , and choosing the right route, based on the automatic guide robot system. Intelligent tracing electric trolley is an advanced technology to realize automatic tracing navigation. It is out of human management but under the designed mode that use of the use of a transducer, single chip, motor drive and automatic control .This technology has been applied in unmanned vehicle, unmanned factory, warehouse, service robot and many other fields[5].
During the design of Intelligent tracing electric trolley, AT89C52 single clip is used as the control core; at the same time with photoelectric sensor to identify the black guide line at the central of the white road, which used as the car tracing module, it can gather the signal and transfer it into digital signal that can be recognized by single chip. And the driving chip L298N constitute the double H bridge constitute of driving chip L298N can control direct current motor. Among which the software system is using C program. In a nutshell, the design of the circuit has the advantages of simple structure, easy implementation, and high reliability.
Keywords: single chip microcomputer, automatic tracing, driving circuit
1 前言 4
1.1 智能循迹小车概述 4
1.2 循迹小车的发展历程 4
1.3 智能循迹小车分类 4
2 总体设计方案 5
2.1 整体控制方案确定 5
2.2 整体设计方案 5
3 系统的硬件设计 7
3.1 单片机电路的设计 7
3.2 光电传感器模块 9
3.3 电机驱动电路 9
4 系统的软件设计 13
4.1 软件设计的流程 13
4.2 本系统的编译器 13
5 Proteus仿真 18
5.1 单片机模块 18
5.2 L298驱动模块 19
5.3 电机电路及保护模块 19
5.4 稳压电源模块 20
6 仿真结果 20
结论 27
参考文献 28
致谢