出租车计费系统设计.doc

约56页DOC格式手机打开展开

出租车计费系统设计,1.8万字 56页包括程序清单及完整电路图流程图摘 要随着出租车行业的发展,对出租车计费器的要求也越来越高,用户不仅要求计费器性能稳定,计费准确,有防作弊功能;同时还要求其具有车票资料打印、ic卡付费和电脑串行通信功能。不同国家和地址的计费方式存在差异,如有些地区有夜间收费及郊区收费等,而有些地区则无...
编号:99-34138大小:733.00K
分类: 论文>通信/电子论文

内容介绍

此文档由会员 小甜甜 发布

出租车计费系统设计
1.8万字 56页
包括程序清单及完整电路图流程图



摘 要
随着出租车行业的发展,对出租车计费器的要求也越来越高,用户不仅要求计费器性能稳定,计费准确,有防作弊功能;同时还要求其具有车票资料打印、IC卡付费和电脑串行通信功能。不同国家和地址的计费方式存在差异,如有些地区有夜间收费及郊区收费等,而有些地区则无夜间收费和郊区收费。
本次设计采用硬件和软件相结合的方法,以单片机为核心,从圈脉冲信号的产生到营业信息的打印都做了详细的介绍,并对MAX813L看门狗、复位电路、行车里程检测电路、掉电存储电路、IC卡读写电路、分屏显示电路以及操作面板进行了详细的设计。该系统还具有防止干扰和防死机的功能,系统的电源是专门为出租车设计的,具有相当强的稳压效果,系统采用了EEPROM存储器,可以方便且安全的记录顾客和车主的信息。


关键词: 89C51;里程检测;分屏显示;EEPROM;





Abstract
Along with the development of taxi trade, counting fees that the requirement of ware is also more and more higher to the taxi, user not only asks to count fees, and the ware function is stable, and it is accurate to count fees, and has guarding against the function cheated; At the same time still ask his to possess ticket material to print and IC blocks paying fees and computer string capable communication function.The method that hardware and software each other combine is adopted in this design, and takes one piece machine as the nucleus, printting to doing business information all did the detailed introduction from the circle pulsing,To the content of 89C51 and MAX813L Guarding the entrance the dog and the introduction that reduces the circuit to blame for focal point at the same time, this system still possesses to prevent to disturb and the function guarding against the dead machine, and special in the taxi design during power supply of system, possessing fairly strong steady pressure effect, the system adopted IC Block the memory, and can make things convenient for just the information of safe record customer and Che owner.


Keywords: The dog is guarded the entrance 89c51 Circle pulse Anti-jamming


目 录
第1章 绪 论 1
第2章 方案论证 2
2.1方案比较 2
2.2系统功能 2
2.3系统框图 3
第3章 硬件电路设计 5
3.1单片机控制系统 5
3.1.1 控制器89C51 5
3.1.2 I/O接口 8
3.2看门狗电路 8
3.3时钟电路 10
3.4 EEPROM存储单元 12
3.5 操作面板 14
3.6行车里程检测电路 15
3.6.1传感器 15
3.6.2光电传感器电路设计 15
3.6.3车轮光电开关检测电路 16
3.7 数据显示单元设计 17
3.7.1 LED数码管 17
3.7.2分屏显示 18
3.8微型打印机 20
3.9 IC卡读写电路 23
第4章 电源稳压及防干扰的设计 25
4.1 计价器抗干扰措施的研究 25
4.2 提高单片机供电电源的抗干扰能力 25
4.2.1电源滤波 25
4.2.2电源稳压 26
4.2.3 提高单片机系统内部的抗干扰能力 27
4.3软件的抗干扰编程 27
第5章 软件设计 28
5.1主循环程序流程图 28
5.2 定时中断服务程序 29
5.3圈脉冲中断服务程序 29
5.4 计价子程序 30
5.5打印子程序切换及显示子程序 31
5.6 IC卡操作子程序 33
5.7 校正时钟子程序 34
第6章 系统调试 36
6.1硬件调试 36
6.2 软件调试 37
第7章 结 论 38
参考文献 39
致 谢 40
附录Ⅰ 41
附录Ⅱ 54


附录Ⅰ
程序清单
键盘程序:
Start: MOV P1, #0FFH ; 置I/O口为输入方式
MOV A, P1 ; 读入键状态
CPL A
JZ Start ; 无键按下,则返回
JB P1.0, FUN0 ; 0号键按下转校时子程序
JB P1.1, FUN1 ; 1号键按下转计价子程序
......



附录Ⅱ 硬件电路图