ic卡读写电路的设计及编程.doc
ic卡读写电路的设计及编程,ic卡读写电路的设计及编程摘 要接触式ic卡具有结构简单、成本低廉等优点,因此在我们的生活中还有着非常广泛的应用。本系统就以德国simens(西门子)公司设计的逻辑加密存储卡sle4442作为主要研究对象,然后围绕其应用中的周边电路及设备进行讨论。从硬件和软件两个方面来对系统分别进行设计,最后再对系统的软硬件进行优化,...
内容介绍
此文档由会员 bshhty 发布IC卡读写电路的设计及编程
摘 要
接触式IC卡具有结构简单、成本低廉等优点,因此在我们的生活中还有着非常广泛的应用。本系统就以德国SIMENS(西门子)公司设计的逻辑加密存储卡SLE4442作为主要研究对象,然后围绕其应用中的周边电路及设备进行讨论。从硬件和软件两个方面来对系统分别进行设计,最后再对系统的软硬件进行优化,以实现软硬件的完美结合。完成其功能要求。
首先,本文对IC卡的由来、发展历史、现状以及未来的发展方向进行了简要的介绍。
其次,本文叙述了单片机系统的基本组成以及其工作原理,并介绍了由单片机构成的系统的优点。
再次,讨论了接触式IC卡读写电路实现的基本方法,分析了它的工作原理,并且给出了其实现的具体电路以及IC卡读写电路的软件设计方法。
最后,在附录中,本文还将给出一些必要的系统设计资料,供参考之用。
关键词:IC卡,单片机,射频卡,读写器
The IC card reads and writes design and programming of the circuit
Abstract
The contact-type IC card has advantage of simple structure, and the cost is cheap, so there is very extensive application in our life. This system encrypts the storage card SLE4442 as the main research object with the logic that Germany SIMENS Company designs, then organize discussion around peripheral circuit and apparatus in its application. Design the system respectively from hardware and software two respects, optimize the software and hardware of the system afterwards, in order to realize the perfect combination of the software and hardware. Finish its function's requiring.
First of all, this text has introduced the brief one to the origin, developing history, current situation and future developing direction of the IC card.
Secondly, this text has narrated basic composition of the one-chip computer system and its operation principle, have introduced the advantage of the system become by the single organization.
Moreover, it is discussed that the contact-type IC card reads and writes the basic tool that the circuit realizes, has analyzed its operation principle, and concrete circuit and IC card providing its realization read and write the software design method of the circuit.
Finally, in the appendix, this text will also provide some essential systems and design the materials, for reference.
Key words: IC card, One-chip computer, The radio frequency IC card, Reading and writing device
目 录
1 绪论 1
1.1 课题背景介绍 1
1.2 课题研究状况 1
1.3 课题研究方法 2
2 设计方案论证 3
2.1 设计方案论述 3
2.1.1 由微机实现的IC卡读写电路 3
2.1.2 由单片机实现的IC卡读写电路 4
2.2 元器件介绍 5
2.2.1 AT89S51介绍 5
2.2.2 SLE4442介绍 6
2.3 设计方案确定 9
3 系统硬件设计 10
3.1 IC卡读写电路介绍 10
3.1.1 IC卡读写电路的分类 10
3.1.2 IC卡读写电路的组成 12
3.2 IC卡读写电路设计 14
3.2.1 IC卡接口及供电电路设计 14
3.2.2 单片机处理与控制单元设计 16
3.2.3 键盘显示电路设计 17
4 系统软件设计 19
4.1 IC卡接口电路程序设计 19
4.1.1 IC卡的插入识别程序设计 19
4.1.2 IC卡上下电控制程序设计 20
4.2 IC卡的读写控制程序设计 22
4.2.1 IC卡的数据读出程序设计 22
4.2.2 IC卡的数据写入程序设计 25
4.3 外围辅助电路程序设计 26
4.3.1 键盘电路程序设计 26
4.3.2 显示电路程序设计 27
结论 29
致谢 30
参考文献 31
附录 IC卡读写电路硬件电路图 32