循迹避障小车毕业设计_第1页
循迹避障小车毕业设计_第2页
循迹避障小车毕业设计_第3页
循迹避障小车毕业设计_第4页
循迹避障小车毕业设计_第5页
已阅读5页,还剩69页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

I摘要自循迹避障小车是行走机器人的一种,这种小车可以适应不同环境,不受温度、湿度、磁场辐射、重力等条件的影响,在人类无法进入或生存的环境中完成人类无法完成的探测任务,适用于国防及民用等多个领域。本设计的主要任务是设计和实现基于 ATMega128 单片机的寻迹避障小车,包括硬件和软件两个部分。硬件电路部分主要包括控制器、循迹电路、避障电路、电机驱动电路、显示电路、电源电路等。自循迹避障小车的软件平台为 ICCAVR 开发环境。软件系统包含系统初始化程序、红外传感器循迹程序、超声波避障程序与显示程序等。车前部安装的红外传感器负责釆集道路信号,作为小车的循迹依据;超声波传感器负责测量障碍物和小车之间的距离,作为避障依据。微控制器读取传感器当前状态,从而控制相应的电路,进而控制小车行进的速度和角度,最后实现小车在实验环境中自动循迹避障行驶的功能。在本设计中,系统硬件和软件都采用了模块化结构,整个系统的电路结构简单,可靠性高,并可按需求增加或删除功能。在实际的调试过程中,小车能自适应直道、弯道、交叉线等路况,并且能够避开跑道上的障碍物。关键词:ATMega128;循迹;避障;ICCAVRIIAbstractSelf-tracing and obstacle avoidance electric vehicle is a kind of mobile robot, which is able to adapt various environments, humidity, magnetic radiation and gravity. Consequently the vehicle take the place of human to implement many tasks in the environment where human cannot set foot, which is applicable in many fields in the national defence and civilian.The main job of this project is to design and implement based on ATMega128 single-chip microcomputer self-tracing and obstacle avoidance car, including its hardware and software in two parts. The hardware circuit part mainly comprises a controller, a signal detection circuit, obstacle avoidance circuit, motor drive circuit, display circuit and power supply circuit. the software platform is ICCAVR. The software include initialization program, self-tracing program, obstacle avoidance program and display program. The road information is acquired for navigation by red sensor in the front of the vehicle. The red sensor recognizes the black line. The ultrasonic transducer recognizes the barriers. The micro controller acquires current state to control corresponding circuit and then the vehicles speed and angle. In this way the self-tracing driving function is realized in the experimental environment.The hardware and software of this project are all the modular it has. The circuit is simple in structure and the function can be added or deleted according to requirement. In the experiment, the vehicle can autonomously adapt straight road, corners and crosses line. The target of the self-tracing and obstacle avoidance vehicle are met.Key words: ATMega128; infrared sensor; obstacle avoidance; ICCAVRIV目录0 前言 1 1 方案设计与论证 21.1 整体硬件方案论证 21.2 整体软件控制方案 32 系统硬件设计 42.1 单片机最小系统 42.2 电源模块 82.3 循迹模块 92.4 超声波避障模块 202.5 步进电机模块 232.6 液晶显示模块 242.7 DS1302 时钟模块253 系统软件设计 273.1 AVR 单片机 C 语言设计 273.2 ICCAVR 编程器软件 273.3 系统程序流程图 314 系统总体调试 324.1 硬件调试 324.2 软件

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论