循迹小车设计
循迹小车设计(论文8000字)
摘 要
随着智能技术的不断发展,智能技术给人们的生活带来了越来越多的便利,智能小车也是值得研究的对象之一。本文中设计的智能小车以STC89C52单片机为小车的控制核心;采用四个红外光电对管检测路面上的黑线,并将信号传达给单片机,单片机按照预定的工作模式控制小车在特定区域循迹行驶;采用单个E18-D80NK光电传感器检测障碍物,将信号传达给单片机,使单片机按预定的工作模式控制小车避障;采用光电发射传感器和码盘检测小车的行驶速度,通过细化设计要求,结合传感器技术、电机控制技术等相关知识共同实现小车的循迹、测速、避障功能,达到设计目标。
关键词: 单片机 循迹 避障 测速 传感器
Intelligent self-tracking car
Abstract
With the development of intelligent technology, we have found that intelligent technology has brought more and more convenience to our life. In this paper the design of intelligent vehicle based on STC89C52 SMC as the control core of the car; uses the four infrared photoelectric tube detect the black line on the road and transmit the signal to the SMC, according to a predetermined working mode ,SMC control the car to drive in the specific area of tracking;uses a single E18-D80NK photoelectric sensor to obstacle detection, signal will be transmitted to the SMC, the SMC control the car to pass the barrier at a predetermined working mode;uses the photoelectric emission sensor and encoder to detect the speed of vehicle;uses the LCD1602 to show the speed of vehicle,through refining the design requirements, combines with sensor technology, motor control technology and other related knowledge to achieve car tracking, velocity and barrier function, and achieve the design goal. [来源:http://www.doc163.com]
Keywords: single chip microcomputer; tracking barrier; speed detection; sensor
[资料来源:www.doc163.com]
目录
摘 要 II
Abstract III
目录 1
第一章 绪论 2
1.1背景 2
1.2研究的目的和意义 2
第二章 系统的总体设计 4
2.1整体设计方案 4
2.2系统方案的选择 4
2.2.1主控模块 4
2.2.2电动机驱动模块 5
2.2.3电机 5
2.2.4电源模块 5
2.3系统的硬件组成 5
第三章 系统的硬件设计 8
[资料来源:Doc163.com]
3.1单片机电路的设计 8
3.1.1单片机功能特性描述 9
3.1.2晶振电路 9
3.1.3复位电路 10
3.2电机驱动模块 11
3.3红外循迹模块 14
3.3.1红外探头 15
3.3.2中控板 15
3.4避障模块 15
第四章 系统的软件设计 17
4.1循迹模块 18
4.2单片机模块 19
4.3电机驱动 19
4.4避障模块 20
4.5本系统的编译器 21
第五章 系统的总体调试 22
5.1硬件的测试 22
5.2系统的软件测试 22
参考文献 23
附录一 程序 25
[资料来源:www.doc163.com]