- 1、本文档共74页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘要
自循迹避障小车是行走机器人的一种,这种小车可以适应不同环境,不受温度、湿度、磁场辐射、重力等条件的影响,在人类无法进入或生存的环境中完成人类无法完成的探测任务,适用于国防及民用等多个领域。
本设计的主要任务是设计和实现基于ATMega128单片机的寻迹避障小车,包括硬件和软件两个部分。硬件电路部分主要包括控制器、循迹电路、避障电路、电机驱动电路、显示电路、电源电路等。自循迹避障小车的软件平台为ICCAVR开发环境。软件系统包含系统初始化程序、红外传感器循迹程序、超声波避障程序与显示程序等。车前部安装的红外传感器负责釆集道路信号,作为小车的循迹依据;超声波传感器负责测量障碍物和小车之间的距离,作为避障依据。微控制器读取传感器当前状态,从而控制相应的电路,进而控制小车行进的速度和角度,最后实现小车在实验环境中自动循迹避障行驶的功能。
在本设计中,系统硬件和软件都采用了模块化结构,整个系统的电路结构简单,可靠性高,并可按需求增加或删除功能。在实际的调试过程中,小车能自适应直道、弯道、交叉线等路况,并且能够避开跑道上的障碍物。
关键词:ATMega128;循迹;避障;ICCAVR
Abstract
Self-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 vehicle’s 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
文档评论(0)