文档介绍:江苏科技大学
本科毕业论文(设计)
学院: 成教学院专业: 电气工程及其自动化
课题: 基于单片机控制的智能电动小车
学号: 姓名:
指导教师: 职称:
年月日
基于单片机控制的智能电动小车
摘要
智能电动小车,是一个集环境感知、规划决策、自动行驶等功能于一体的综合系统。它集中地运用了计算机、传感、信息、通信、导航、人工智能及自动控制等技术,是典型的高新技术综合体[1]。
本文以80C51单片机为核心,80C51单片机是一款八位单片机,他的易用性和多功能性受到了广大使用者的好评。本设计题采用80C51单片机为控制核心,利用超声波传感器检测道路上的障碍,控制电动小汽车的自动避障,快慢速行驶,以及自动停车,并可以自动记录时间、里程和速度,自动寻迹和寻光功能。整个系统的电路结构简单,可靠性能高。实验测试结果满足要求,本文着重介绍了该系统的硬件设计方法及测试结果分析。
采用的技术主要有:
通过编程来控制小车的速度;
传感器的有效应用;
新型显示芯片的采用.
关键词 80C51单片机、光电检测器、PWM调速、电动小车
Design and create an intelligence electricity motive small car
Abstract
80C51 is a 8 bit single puter. Its easily using and multi-function suffer large users. This article introduces UT graduation design with the 80C51 single puter. This bines with scientific research object. This system regards the request of the topic, adopting 80C51 for controlling core, super sonic sensor for test the hinder. It can run in a high and a low speed or stop automatically. It also can record the time, distance and the speed or searching light and mark automatically the 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 analyze.
The adoption of technique as:
Reduce the speed by program the engine;
Efficient application of the sensor;
The adoption of the new display chip.
Keywords 80C51 single puter, light electricity detector, PWM speed adjusting, Electricity motive small car
目录
第一章前言 1
第二章方案设计与论证 3
一直流调速系统 3
二检测系统 4
三显示电路 9
四系统原理图 9
第三章硬件设计 10
一 80C51单片机硬件结构 10
二最小应用系统设计 11
三前向通道设计 12
四后向通道设计 15
五显示电路设计 17
第四章软件设计 20
一主程序设计 20
二显示子程序设计 24
三避障子程序设计 25
四软件抗干扰技术 26
五“看门狗”技术 28
六可编程逻辑器件 29
第五章测试数据、测试结果分析及结论 30
致谢 31
参考文献 32
附录A 程序清单 33
附录B 硬件原理图 41
第一章前言
随着汽车工业的迅速发展,关于汽车的研究也就越来越受人关注。全国电子大赛和省内电子大赛几乎每次都有智能小车这方面的题目,全国各高校也都很重视该题目的研究。可见其研究意义很大。本设计就是在这样的背景下提出的,指导教师已经有充分的准备。本题目是结合科研项目而确定的设计类课题。设计的智能电动小车应该能够实时显示时间、速度、里程,具有自动寻迹、寻光、避障功能,可程控