智能循迹避障小车设计
摘要
本系统以设计题目的要求为目的,采用80C51单片机为控制核心,利用红外线传感器进行寻线,控制电动小汽车的自动循迹,并再通过光电开关探测障碍,从而控制电机转向,实现进行壁障功能。整个系统的电路结构简单,可靠性能高,实验测试结果满足要求。本文着重叙述了该系统的硬件设计方法、软件设计方法及测试结果分析。小车运行方案,在现有玩具电动车的基础上,加装红外线光电开关模块和红外寻线模块,实现对电动车位置、运行状况的实时测量,并将测量数据传送至单片机进行处理,然后由单片机根据所检测的各种数据实现对电动车的智能控制。
关键词:80C51单片机、红外线传感器、光电开关、电动小车
Abstract
The system requirements of the design project for the purpose of the 80C51 microcontroller for the control of the core,the use of the hunt and infrared sensors,automatic obstacle acoidance control of electric cars,and the photoelectric switch to the barrier electric circuit construction of whole system is simple, the function is dependable. Experiment test result satisfy the request, this text emphasizes introduced the hardware system designs and the result analyse. Car is running the program, under the existing toy electric car, based on the installation of super sonic sensor and infrared sensors, to achieve the location of electric vehicles,operational status of the real-time measurement, and measurement data sent to the microcontroller for processing, then SCM detected according to a variety of data to achieve intelligent control of electric vehicles.
Key words: 80C51 single puter, infrared sensors, photoelectric switch, the electric car
目录
第1章绪论 1
研究目的及意义 1
国内外发展情况 2
第2章整体设计框架 3
方案选择及论证 3
控制模块选择 4
路面探测黑线轨迹模块 4
探测路面障碍模块 5
电机模块 6
电机驱动模块 6
车架选择 7
最终方案选择 7
方案可行性分析 8
第3章硬件设计 8
系统总体设计框图 9
红外线光电开关模块 9
光电开关的工作原理 10
光电开关的类型 10
光电开关电路的设计 13
电机驱动模块 13
红外循线模块 15
红外放射式光电传感器特性与工作原理 15
红外循线具体设计与实现 16
最小系统模块 17
晶振电路的设计 17
复位电路的设计 17
电源模块 18
第4章软件设计 19
主程序流程图 19
避障子程序流程图 20
循线子程序流程图 21
第5章系统调试和测试 21
安装步骤 21
电路调试 23
光电开关模块调试过程 23
电机模块调试过程 23
红外循线模块调试过程 24
测试结果与分析 25
结论 26
致谢 27
参考文献 28
附录系统设计原理图 29
附录设计系统部分源代码 30
第1章绪论
随着生产自动化的发展,机器人已经越来越广泛地应用到生产自动化上,
智能循迹避障小车设计毕业设计 来自淘豆网www.taodocs.com转载请标明出处.