JIMI 发表于 20:50

计程车的计价的设计

论文编号:DZXX256  论文字数:10633,页数:27
摘要
 随着计程车行业的在中国的逐步发展,计程车行业已经成为城市交通的重要组成部分之一。计价器作为衡量计程车服务价值的体现,成为计程车行业不可缺少的重要环节之一。现在全国各大中城市计程车行业都已开始普及自动计价器。
 本系统以89S51单片机为核心进行设计,用附带转盘的电机代替车轮。当使用者按下“开始”按键后,系统能通过检测霍尔传感器中不断产生的脉冲,实现对车轮旋转圈数的计数,进而依托芯片中软件程序的设计实现对计程车行驶里程以及计价金额的计算,最后采用8段数码显示管对相关数据进行输出。当使用者按下“停止”按键时系统自动在原有金额基础上加上一元燃油附加税。
关键词:89S51单片机,霍尔传感器,8段数码显示管
ABSTRACT
 As the development of the taxi industry in China, it became an important component of the urban traffic gradually. As the measurement of the taxi industry’s quality of service, automatic meter became an important part of the taxi industry. Nowadays, most cities of China have universal automatic meter.
 The system I designed applies the 89S51 MCU as the main chip, uses a motor with a turntable in place of wheel. When a user clicks the “start” button, the system can detect the continuous pulse from Hall sensor, count the number of wheel’s circle rotating, calculate the traveling distance of taxi and charge relying on the program designed in the chip. The data was outputted on the digital display tubes. When a user clicks the “stop” button, the system adds 1 Yuan automatically based on the original charge for the fuel surcharge.
   
Keywords: 89S51 MCU, Hall sensor, 8 digital display tubes.

目录
摘要 I
ABSTRACT II
第1章 引言 1
 1.1 背景 1
 1.2 研究内容 1
第2章 计价器系统的总体设计 3
 2.1 计程车计价器介绍 3
 2.2 系统设计基本流程 4
 2.3 基本计价原理及所需传感器介绍 5
第3章 计价器系统的硬件设计 6
 3.1 系统的硬件设计和功能 6
 3.2  AT89S51单片机介绍 6
 3.2.1 AT89S51芯片各引脚的功能 7
 3.3 里程统计及计价体系设计 9
 3.4 数据显示单元设计 9
第4章 计价器系统的软件设计 11
 4.1 计价主程序 11
 4.1.1 里程统计服务程序 11
 4.1.2 计价服务程序 12
 4.1.3 键盘输入服务程序 12
 4.1.4 数据显示服务程序 12
 4.2 系统仿真 13
第5章 系统调试与测试结果分析 16
 5.1 里程计价测试方法 16
 5.2 实际测量数据及其分析 16
第6章 结束语 188
致谢 199
参考文献 20
附录 源代码 211
页: [1]
查看完整版本: 计程车的计价的设计