1、电子信息工程班级:完成时间:摘要随着时代的发展,出租车已经成为一个城市公共交通的重要组成部分。出租车计价器是出租车营运收费的专用智能化仪表,是出租车不可缺少的重要工具。它是乘客和司机的交易准则,关系到交易双方的利益。多年来国内普遍使用的计价器只具备单一的计量功能,随着出租车行业的日渐发展, 从加强行业管理以及减少与乘客的纠纷出发, 这种单一功能计价器越来越不能满足人们的需要。因此出租车计价器的技术也在不断改进与创新,设计出良好性能的多功能出租车计价器显得尤为重要。本设计利用单片机 AT89S52 为核心设计一款多功能出租车计价器, 通过 A44E霍尔传感器检测出租车运行里程,脉冲的提取。运用单
2、片机实现对液晶显示LM016L的控制, 同时完成整个出租车计价器信号的读、写处理。由于仿真中无法实现A44E霍尔传感器, 在仿真中以脉冲发生器代替,用不同频率的脉冲模拟不同的车速,根据每秒传送的脉冲数程序判别汽车是处于高速行驶还是等待状态,自动跳转到通过计程计费还是计时计 费。该计价器能实现里程与计价显示、时钟显示等功能。它比市场上的一些计价器使用更方便, 功能更全,能为加强出租车行业管理提供可靠的依据。采用单片机进行的设计, 相对采用模拟电路和数字电路设计的计价器来说功能更为强大,用较少的硬件和适当的软件相互配合可以很容易地实现设计要求,且灵活性强,不但能通过软件编程实现所要求的功能而且能在
3、很大的程度上扩展功能,还可以方便的对系统进行升级。关键词:出租车计价器;单片机;液晶显示;霍尔传感器ABSTRACTWith the development of the times, has become a city taxi important part of public transportation. Taxi meter taxi operating costs is dedicated intelligent instruments, is an important and indispensable tool for a taxi. It is the passengers a
4、nd the drivers trading standards related to the interests of both parties. For many years, widespread use of the meter have only a single measurement functions, with the gradual development of the taxi industry, from management to strengthen the industry as well as reduce disputes with passengers st
5、arting, this single-function meter increasingly unable to meet peoples needs . Therefore taxi meter technology is constantly improving and innovation, design a good performance multifunctional taxi meter is particularly important.This design uses a single-chip AT89S52 as the core design Multifunctio
6、nal taxi meter, taxi via Hall sensor A44E running mileage, pulse extraction. Use MCU for LCD LM016L control, while completing the entire taximeter signal read-write process. As the simulation can not be achieved A44E Hall sensor, in the simulation instead of a pulse generator, at a different frequen
7、cy pulses simulate different speed, according tot he number of pulses transmitted per second discriminating process at high speed or the car is in a wait state, automatically jump By the meter to billing or time billing. The meter can achieve mileage and valuation display, clock display. It is on th
8、e market than some of the meter easier to use, more feature-full, able to strengthen the management of the taxi industry to provide a reliable basis. Using single-chip design, the relative use of analog and digital circuit design meter is more powerful, with less hardware and appropriate software ca
9、n easily complement each other to achieve the design requirements, and flexibility, not only through software programming to achieve the required functionality and can to a large extent on the expansion of functions, you can easily up grade the system.Key words: multifunctional taximeter; micro cont
10、roller; lcd; hall sensor目录1绪论. .11.1本研究课题的背景及意义 .11.2出租车计价器发展历程 .11.3出租车计价器国内外发展现状及发展趋势 .21.4论文的研究工作和组织结构 .32多功能出租车计价器的硬件系统设计. .42.1总体设计思想与方案论证 .42.1.1设计思想. .42.1.2方案选择. .52.1.3实现功能. .52.2主系统设计 .52.3单片机最小系统 .62.4按键模块的设计 .62.5显示模块的设计 .72.6 A44E 霍尔传感器检测单元的设计. .92.7实时时钟电路设计 .93多功能出租车计价器的软件系统设计. .123.1设计课题使用单片机资源的情况 .123.2主程序的设计 .123.3键盘程序的设计 .133.4外部中断子程序 .143.5显示程序的设计 .153.6路程计算程序设计 .154系统仿真及调试. .174.1 Keil uVision4程序调试. .174.2系统仿真算法 .174.2.1模拟车速算法. .174.2.2仿真计费算法. .184.3系统仿真及仿真结果 .184.3.1仿真设置. .194.3.2模拟仿真结果. .20结束语. .22致谢. .
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1