1、 本科毕业论文 题 目: 电动车里程表监控软件设计 院 系: 专 业: 班 级: 学生姓名: 指导教师: 论文提交日期:年 月 日 论文答辩日期:年 月 日 毕业设计(论文)任务书毕业设计(论文)任务书 专业 班 学生: 毕业设计(论文)题目:电动车里程表监控软件设计 毕业设计(论文)内容:以 AT89C52 单片机为核心,采 用霍尔传感器设计了一个智能里程表。设计内容包括:计算 机辅助线路设计,检测系统计算机硬件设计,系统监控软件 设计。 毕业设计(论文)专题部分:电动车里程表监控软件设计 起止时间: 2014 年 3 月- 2014 年 6 月 指导教师: 签字 年 月 日 教研主任: 签
2、字 年 月 日 学院院长: 签字 年 月 日 摘摘 要要 里程表应用广泛,机械式里程表有其不足之处。本文以设计电动车 里程表为目的,提出了电动车里程表的设计方案。设计智能自动化的里 程表,利用霍尔效应原理,引入霍尔传感器,采用脉冲检测的方法测量 行驶速度与里程。并设计了用户界面,可以实现超速报警及用户自设定 参数值,既可以实现测速也实现了自动化和智能化。通过实验验证,此 方案可行。 本文介绍了电动车里程表的工作原理、结构和以 AT89C52单片机为 核心的脉冲检测系统硬件设计及软件设计的相关内容。设计以 AT89C52 单片机为主控芯片,用定时器 T2的捕获功能捕获脉冲,并测出脉冲的频 率,利
3、用 HD7279 实现按键及显示的功能,X5045 存储用户参数,由键 盘控制里程与速度的切换显示。 软件设计部分,采用了模块化的设计,编程选用了汇编语言,程序 由采用程序和各功能子程序组成。主要有监控系统主程序,频率测量子 程序,人机接口子程序,报警子程序组成,通过使用星研仿真器对程序 进行调试。 本文侧重软件的实现,硬件部分描述了硬件接口电路框图及各芯片 功能,最后进行了计算机辅助线路设计。此次设计的里程表结构简单, 稳定性较好,实用性强,易实现,达到了设计目的。 关键字关键字:单片机; 测频;霍尔传感器;里程表 Abstract Odometer is widely used in ou
4、r daily life, and mechanical odometer has its disadvantages. For the purpose of designing the electric vehicle odometer, I put forward the design scheme of electric vehicle odometer in this paper. In order to design the intelligent automatic odometer, according to HALL principle, I use a HALL sensor
5、, measure the speed and mileage by using the pulse testing method, and improve the measuring accuracy of the system. Designing the user interface can achieve the over speeding alarm, users can set parameter values by themselves. Not only can it achieve the measurement of speed, but also can it reali
6、ze the automation and intelligent. By experimental verification, this scheme is feasible. This paper introduces the working principle and structure of the electric vehicle odometer and related content about hardware design and software design of the pulse detection system which uses AT89C52 single-chip computer as the core. The design uses AT89C52 single chip mic