公交智能收费系统的设计说明
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
石家庄铁道学院毕业设计
公交智能收费系统的设计(B)
Design of Intelligent Charging System in Public Transportation(B)
2008 届电气与电子工程分院
专业电子科学与技术
完成日期: 2008年5 月 25 日
毕业设计评语及成绩
毕业设计开题报告
摘要
公交智能收费系统要现读卡、收费、LED显示、时钟电路和计算机的通讯功能,其中读卡过程(即自动识别用户的过程)是整个系统的重要部分,本设计对读卡器的设计作详细介绍。
采用PHILIPS公司的Mifare卡作IC卡,制作的IC卡读写器可以实现制卡、售卡、自动收费等功能,公交IC卡读写器以射频识别技术为核心,读写器主要使用了1片Mifare卡专用的读写处理芯片--MMM微模块,单片机采用89C52。P1口与串行器件24C64和显示、报警电路连接;P0口与MMM微模块相连,用作数据线;P2口用作时钟电路连接;P3口用于读写控制和中断。程序主要包括IC卡读写操作程序、键盘扫描程序、显示程序、存储器读写程序和通信程序。在读写器中,单片机与PC机之间的通信主要由TC232来实现。读写器中,单片机程序可采用C语言进行编程。C语言有功能丰富的库函数,运算速度快、编译效率高、可移植性好、软件的可读性强,便于改进和扩充。
本设计所研究的技术和方法不仅对于公交智能收费系统有着重要的作用,而且在其他各领域如校园卡、考勤卡等也具有广泛的应用价值。
关键词:单片机非接触式IC卡读写器串口通信
Abstract
The public transportation intelligence charge system request realizes reads the card, the charge, the LED demonstration, and computer's communication function, reads the card process (i.e. automatic diagnosis user's process) is overall system's important part, this design reads and compares the card design to make the detailed introduction.
Used PHILIPS Corporation's Mifare card to make the IC card, the manufacture IC card reader-writer may card, automatic charge functions and so on realize the system card, sell, the public transportation IC card reader-writer take the radio frequency recognition technology as the core, in the reader-writer mainly uses 1 piece of Mifare card special-purpose read-write to process the chip--The MMM micro module, the monolithic integrated circuit uses 89C52. P1 mouth and serial component 24C64 and demonstration, alarm circuit connection; The P0 mouth and the MMM micro module is connected, serves as the data line; The P3 mouth uses in the read-write control and the interrupt. The procedure mainly includes the IC card read-write operation procedure, the keyboard scanner program, the display sequence, the memory read-write procedure and the signal procedure. In the reader-writer, monolithic integrated circuit and the PC machine between correspondence mainly realizes by TC232. In the reader-writer, the monolithic integrated circuit procedure may use the C language to carry on the programming. The C language has the function rich storehouse function, the operating speed is quick, the translation efficiency is high, the probability is good, software's readable, is advantageous for the improvement and the expansion.
This design studies the technology and the method not only have the vital role regarding the public transportation intelligence charge system, moreover in other various domains like campus card, the timecard and so on also has the widespread application value.
Key words: Monolithic Non-contact type Reader-writer Serial communication