文档详情

基于FPGA的出租车计费系统设计.docx

发布:2022-02-20约2.42万字共41页下载文档
文本预览下载声明
PAGE 17 摘要 随着国家环保措施和人们环保意识的增强,公共交通出行已经成为一种习惯,出租车作为一种公共交通方式,在当代社会中起着不可替代的作用,虽然当前网约车数量在数年增多,但短期内出租车市场仍然处于主动状态。为了解决传统出租车计费系统老旧,计费不准确不智能的情况,本文设计了一套可用于对出租车路程和费用进行自动计算的方案。该套设计方案采用FPGA作为系统主控芯片,搭配LED数码管和霍尔传感器分别用于显示路程和价格以及模拟行驶路程的作用,通过方案论证,最终实现了本文系统,通过对硬件实物进行功能测试,利用电磁片对霍尔传感器进行作用,在本设计中霍尔传感器检测到一次电磁片通过模拟行驶0.2KM,霍尔传感器通过LED灯亮表示检测到一次穿过,在本文设计中起步价3KM以内收费5元,超过3KM低于10KM,每公里加收一元,超过10KM每公里加收1.5元,对系统进行测试后得出的结果是本文设计的基于FPGA的出租车计费系统符合设计要求。 关键词:出租车;计费系统;FPGA;霍尔传感器 Abstract With the increase of national environmental protection measures and people’s awareness of environmental protection, public transportation has become a habit. As a public transportation method, taxis play an irreplaceable role in contemporary society. Although the current number of online car-hailing has been several years However, the taxi market is still active in the short term. In order to solve the problem that the traditional taxi billing system is outdated and the billing is inaccurate and unintelligent, this article has designed a set of schemes that can be used to automatically calculate the taxi distance and fare. This design scheme uses FPGA as the main control chip of the system, with LED nixie tubes and Hall sensors respectively for displaying the distance and price and simulating the function of the driving distance. Through the demonstration of the scheme, the system in this paper is finally realized, and the actual hardware is functioned. In the test, the electromagnetic sheet is used to act on the Hall sensor. In this design, the Hall sensor detects that the electromagnetic sheet travels 0.2KM through the simulation, and the Hall sensor detects a passing through the LED light. The starting price is 3KM in the design of this article. The charge is 5 yuan for less than 3KM, one yuan per kilometer for more than 3KM and less than 10KM, and 1.5 yuan per kilometer for more than 10KM. The result of testing the system is that the FPGA-based taxi billing system designed in this article meets the design requiremen
显示全部
相似文档