基于ATmega8单片机寻迹小车设计论文.docVIP

  • 15
  • 0
  • 约2.43万字
  • 约 49页
  • 2018-02-28 发布于贵州
  • 举报
基于ATmega8单片机寻迹小车设计论文

JIUJIANG UNIVERSITY 毕 业 设 计 题 目 基于ATmega8单片机寻迹小车设计 英文题目 The Design of Tracking Car Based on The ATmega8 Single-Chip 院 系 机械与材料工程学院 专 业 机械设计制造及其自动化 姓 名 张发俊 年 级 2009(机材A0916) 指导教师 张为 二零一三 年 六 月 摘 要 本设计是基于ATmega8单片机控制的简易自动寻迹小车系统。设计旨在设计出一款可以自主按照预设的轨迹行走的小车。从设计的功能要求出发,小车硬件系统由ATmega8微控制器、红外传感器、和直流驱动电机组成。控制系统以ATmega8为控制核心, 用单片机产生PWM波,控制电机速度继而改变小车方向。用红外光电传感器对路面黑色轨迹进行检测,并确定小车当前的位置状态,再将路面检测信号反馈给单片机。单片机对采集到的信号予以分析判断,及时控制驱动电机以调整小车转向,使小车能够沿着黑色轨迹自动行驶,实现小车能够自主识别黑色引导线并根据黑色引导实现快速稳定的寻线行驶。 【关键词】Atmega8;寻迹小车;红外传感器;PWM Abstract This design is based on ATmega8 Single-Chip control system of simple automatic tracing car. Design aims to trancing car can walk independently according to the preset trajectory. Starting from the functional requirement of the design, car hardware system consists of ATmega8 Single-Chip, infrared sensors, and the dc motor drive. Control system based on ATmega8 control core, using single-chip microcomputer to produce PWM wave to control motor speed, in turn, change the direction of the car. With infrared electric sensor to test the pavement black trajectory, and determine the cars current location, and will feedback the pavement detection signal to the microcontroller. Microcontroller, and analyzing the collected signal shall be timely control drive motor to adjust the car turned, enables the car along the black track automatically, achieve the car able to independently identify black guide line and according to the black guide line for fast stability. 【key words】Atmega8; Tracing the car light electricity detector; PWM 目 录 前 言 1 第一章 绪 论 2 1.1 智能小车的背景 2 1.2 课题研究的目的和意义 3 第二章 系统总设计方案 5 2.1 任务要求 5 2.2 理论及设计方案 5 2.3 系统总体框架 6 第三章 主要元件说明与硬件设计 7 3.1 寻迹传感器模块 7 3.1.1 ITR8307介绍 7 3.1.2 传感器电路图 8 3.1.3 传感器的安装 9 3.2 控制器模块 10 3.2.1 ATmega8介绍 10 3.2.2 ATmega8 单片机硬件结构及主要性能 11 3.2.3 主要I/O口分配 12 3.2.4 时钟电路 12 3.2.5 下载电路 12 3.2.6 复位电路 13 3.2.7 电机驱动模块 14 第四章 信息处理与程序设计 15 4.1 直流电机调速 15 4.1.1

文档评论(0)

1亿VIP精品文档

相关文档