1 / 59
文档名称:

单片机出租车计费设计—毕业设计论文.docx

格式:docx   大小:456KB   页数:59页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

单片机出租车计费设计—毕业设计论文.docx

上传人:蓝天 2021/11/28 文件大小:456 KB

下载得到文件列表

单片机出租车计费设计—毕业设计论文.docx

相关文档

文档介绍

文档介绍:出租车计费设计
摘要
本系统电源电压为+16V,速度传感器具有汽车每运行1 km提供1000个脉冲信 号的特性。显示器可以采用LED数码管。系统采用单片机和FPGA的结合进行系统 的主体设计,测控FPGA芯片通过采集传感器脉冲信号WCLK进行里程计算,里程计 费,利用外部脉冲信号SCLK产生标准时钟信号,以计算等待时间,等待费用,并产生 里程标志(LCBZ),等待标志①DBZ),熄灯标志(XDBZ)等有关控制标志信号,同时根 据单片机发出的开始信号(START),时段标志(SDBZ),传输数据选择(SEL)等 控制信号将有关计算结果传送给FPGA芯片。单片机MCU除了完成键盘扫描,显示 控制外,还通过P0 口与FPGA进行数据交换,并向测控FPGA芯片发出有关控制信 号。本设计方案利用单片机和FPGA的结合,发挥它们各自的长处,分工清晰,实 际使用和操作符合大众逻辑,容易被人接受。而且,单片机丰富的I/O 口和FPGA 模块化的设计为系统功能的扩展提供了空间和便利。
关键词计费系统,单片机,FPGA芯片
ABSTRACT
The system' s Power supply voltage to +16V the velocity generator has the characteristic that auto provide 1 000 pulses signals every time while the taxi move 1 km. The LED digital display can be used. The system adopting microcontroller combinate with FPGA make the system' s main design,the monitoring and control FPGA chip through collection the pulse signal (WCLK) from sensor, for mileage calculation, mileage rates, use of a standard external pulse signal (SCLK) clock signals to calculate waiting time, waiting costs, and generate mileage signs (LCBZ) awaiting signs (DDBZ),XDBZ signs,and according the start signal (START) ^sessions signs (SDBZ) ,data transmission options signs (SEL) generat by microcontroller will be transmitted to the FPGA chip .In addition to the completion and the other control signals of keyboard scanning control the display ,microcontroller (MCU) also through the port (P0) to exchange data with FPGA,and monitoring FPGA chip by the control signal .The design combinats the FPGA and microcontroller integrated to play their respective strengths,itrs clear division of function,the actual used and the operation adopting the public logic and canbe easily accepted, Moreover,the microtroller is rich in I/O port and the modular design of the FPGA for the expansion of system fuctions provide much more space and facilities.
Keywords The costs system, Microcontroller, the FPGA chip
目录
摘要 I
ABSTRACT II
1绪论 1
2系统设计 2
1系统组成 2
2
「及显示 2
3
2功能模块设计 3
3硬件