- 5
- 0
- 约1.13万字
- 约 27页
- 2017-11-08 发布于江苏
- 举报
智能循迹大学设计报告
毕 业 设 计
题目: 智能循迹小车
学 院: 信息与电子工程学院
专 业: 应用电子技术
届 别: 2013届
学 号: 1006190110
姓 名: 沈丹虹
指导教师: 杨俊鸣
填写日期:二零一三年十二月十六日
摘要
本设计阐述了智能循迹小车的原理,提出了几个设计方案,概述了整个系统的设计思路和所需要考虑的问题。该设计通过以AT89C52作为控制核心,整个系统可以分为最小系统、直流电机驱动、红外发射管以及电压比较这几个部分。主要通过4个红外发射管对信号进行采集,将采集到的信号经比较器LM393处理后传给89C51单片机,经单片机处理后,发出控制命令给L298N芯片,驱动直流电动机进行相应的动作。该小车能够识别出黑、白色轨迹并能沿着轨迹前进直到终点,并且能从终点返回。整个系统结构设计合理简单,通过软、硬件的相互配合使整个设计的误差降到了最低。
关键字:AT89C52 循迹 红外发射管 黑 白色轨迹
Abstract
This design expounds the principle of intelligent follow trace car, put forward several design schemes, summarizes the design idea of the whole system and the problems need to consider. This design through the AT89C52 as control core, the whole system can be divided into the smallest system, dc motor, the infrared transmitting tube voltage and comparing the several parts. Mainly through four infrared transmitting tube of signal acquisition, the collected signal by the comparator LM393 treatment after 89 c51, were treated with single chip microcomputer, a control command to L298N chip, driven by dc motor of the corresponding action. This car can identify black and white track and along the path forward until the end, and can return from the end. The whole system structure design is reasonable, simple, through the cooperation to make the software and hardware design of the lowest error.
Key Words:?AT89C52 Tracking Infrared Emission?control
Black White?locus
目录
第1章 引言 1
第2章 设计任务与要求 1
2.1 设计任务 1
2.2 设计要求 2
第3章 系统总体设计 2
3.1 系统设计整体思路 2
3.2 各模块分析选择 2
3.2.1 主控单元方案比较与选择 2
3.2.2 循迹单元方案比较与选择 3
3.2.3 电机驱动单元方案比较与选择 3
3.3 总体设计框图 5
第4章 硬件系统电路设计 5
4.1 单片机最小系统电路 5
4.2 直流电动机驱动电路 6
4.3循迹检测电路 7
第5章 系统软件设计 7
5.1 主程序 7
5.2 循迹子程序设计 8
第6章 安装与调试 9
6.1 软件调试 9
6.2 硬件调试 9
6.3 故障分析 9
第7章 结论 10
第8章 元器件清单 11
第9章 附录 12
9.1 附录A 实物图 12
9.2 附录B 硬件电路PCB图 13
9.3 附录C 程序 14
第10章 参考文献 20
第1
原创力文档

文档评论(0)