当前位置: 首页 > news >正文

NFC学习【笔记】

目录

  • 一、射频
  • 二、通信协议
    • 1.ISO/IEC 14443 Type A 和 Type B
      • Standards Overview【标准概述】
      • History 【历史】
      • History - Modes of Operation 【历史 - 运作模式】
      • Acronyms【缩略语】
      • Standard Structure【标准结构】
        • ISO/IEC14443-1 Physical Characteristics【物理特性】
        • ISO/IEC1443-2 Power and Interface 【电源和接口】
        • ISO/IEC14443-3 Initialization and Anticollision 【初始化和防碰撞】
        • ISO/IEC14443-4 Transmission protocols 【传输协议】
      • Complete Operation 【完整操作】
  • 三、软件协议栈
  • 四、解决方案
  • 厂商

一、射频

【是德科技】近场通信NFC是啥?NFC和RFID的区别呢?

二、通信协议

1.ISO/IEC 14443 Type A 和 Type B

Standards Overview【标准概述】

在这里插入图片描述

History 【历史】

  • The development of the standard was assigned to SC17/WG8 in 1994. A task force was established comprising several companies.The 1st task was to determine what the market wanted in a contactless card.
    【1994年,该标准的制定工作被委托给SC17/WG8。一个由多家公司组成的工作组应运而生。首要任务是确定市场对非接触式卡的需求。】
    The task force studied various applications, that were in use at the time and projected for the foreseeable future.
  • Compatibility with application layers of existing contact smart card (ISO/IEC 7816) standards was also taken into consideration for the ease of integration and deployment.
    【工作组研究了当时正在使用以及可预见的未来的各种应用。为了便于集成和部署,还考虑了与现有接触式智能卡(ISO/IEC 7816)标准应用层的兼容性。】
  • In the end, the task force defined four parts to the standard:
    【最终,工作组为该标准定义了四个部分】
    1. ISO/IEC14443-1 Physical characteristics【物理特性】
    2. ISO/IEC14443-2 Radio Frequency Power and Signal Interface【射频功率和信号接口】
    3. ISO/IEC14443-3 Initialization and anticollision【初始化和防冲突/防碰撞】
    4. ISO/IEC14443-4 Transmission Protocol【传输协议】

History - Modes of Operation 【历史 - 运作模式】

  • The task force felt that a standard must also be capable of defining a card that uses a microprocessor as this offers the flexibility to easily update the application through software.
    【工作组认为,标准还必须能够定义使用微处理器的卡,因为这样可以灵活地通过软件轻松更新应用程序。】
  • After a year of debate a consensus was reached by defining two ‘modes of operation’ in ISO/IEC 14443-2 (the power and signal interface). These are referred to as ‘Type A’ and ‘Type B’.
    【经过一年的辩论,最终达成共识,在 ISO/IEC 14443-2(电源和信号接口)中定义了两种“工作模式”。这些模式被称为“Type A”和“Type B”】
  • In 1998 a third signal interface mode was proposed by Sony (Type C) but rejected as this did not add anything new to the standard.
    【1998 年,索尼提出了第三种信号接口模式(C 型),但由于没有为标准增添任何新内容而被否决。】
  • All four parts of the ISO/IEC14443 standards were completed by 2001.
    【ISO/IEC14443 标准的所有四个部分均于 2001 年完成。】
  • In mid 2001, a number of companies proposed an amendment that would add five additional modes to ISO/IEC14443-2. (Type C > G).
    【2001 年中期,一些公司提出了一项修正案,将在 ISO/IEC14443-2 中增加五种模式(Type C > G 型)。】
  • An SC17 ballot (ISO/IEC JTC1/SC17 N2051) on 11th Jan 2001 eventually concluded to keep only the two modes A and B.
    【2001 年 1 月 11 日举行的 SC17 投票(ISO/IEC JTC1/SC17 N2051)最终决定仅保留 Type A 和Type B 两种模式。】在这里插入图片描述

Acronyms【缩略语】

  • There are a vast amount of acronyms used in the standard. These are summarized in the ‘Symbols and Abbreviated Terms’ section at the front of all parts 1 > 4 of the standard.
    【该标准中使用了大量的首字母缩略词。这些缩略词在该标准第1部分至第4部分开头的“符号和缩写”部分进行了总结。】
  • Primary acronyms are:【主要缩略词包括】
    PICC – Proximity Integrated Circuit Card (Transponder) 【近接集成电路卡(应答器/卡)】
    PCD – Proximity Coupling Device (Reader) 【近接耦合设备(读卡器)】
  • Also, many of the commands referenced in Parts 3 and 4 are formatted XXXA or XXXB. This identifies them as a Type A or Type B command.
    【此外,第3部分和第4部分中引用的许多命令的格式为XXXA或XXXB。这表示它们是Type A命令还是Type B命令。】
    i.e. 【例如】
    REQA - Request Type A PICC Command【请求A类PICC命令】
    REQB - Request Type B PICC Command【请求B类PICC命令】

Standard Structure【标准结构】

ISO/IEC14443-1 Physical Characteristics【物理特性】

在这里插入图片描述

  • This part of the standard specifies the physical size of the smart card.
    【本标准部分规定了智能卡的物理尺寸。】
  • The card is the following size: (85.6mm x 54.0mm x .76mm) referred to as ID-1 size.
    【智能卡尺寸如下:(85.6 毫米 x 54.0 毫米 x 0.76 毫米),简称 ID-1 尺寸。】
  • This is the size of a bank credit card.
    【这是银行信用卡的尺寸。】
ISO/IEC1443-2 Power and Interface 【电源和接口】
  • The ISO/IEC14443-2 standard has two modes with the following features:
Reader to Card (PCD > PICC) 读卡器到卡Type AType B
Frequency 频率13.56 MHz13.56 MHz
Modulation 调制方式100% ASK10% ASK
Bit coding 比特编码Modified Miller 改进型米勒NRZ
Data rate 数据速率106 kb/s106 kb/s
Card to Reader (PICC > PCD)卡到读卡器Type AType B
Modulation 调制方式LoadLoad
Bit coding 比特编码OOKBPSK
Subcarrier 副载波847kHz847kHZ
Bit coding 比特编码Manchester 曼彻斯特NRZ
Data rate 数据速率106 kb/s106 kb/s
  • These features allow the reader to power and communicate with the card over a targeted range of operation of approximately 10 cm.
    【这些功能允许读卡器在约 10 厘米的目标操作范围内为卡供电并与卡通信。】

改进米勒型如图存在信号完全消失的阶段,NRZ的信号始终存在。
在这里插入图片描述

ISO/IEC14443-3 Initialization and Anticollision 【初始化和防碰撞】

在这里插入图片描述

  • Part three of the standard enables the reader to identify the cards in the magnetic field and establish communications with a specific card. It specifies the byte format, frames and timing used during the 2 initial phases of communication.
    【该标准的第三部分使读卡器能够识别磁场中的卡片并与特定卡片建立通信。它规定了通信两个初始阶段使用的字节格式、帧和时序。】
  • The initialization process includes the commands between the reader and the card that activates the card to the ‘READY’ state.
    【初始化过程包括读卡器和卡片之间的命令,这些命令将卡片激活为“就绪”状态。】
  • This anticollision process follows to identify all PICC’s in the PCD field .
    【此防冲突过程随后用于识别 PCD 字段中的所有 PICC 卡。】
  • Part 3 defines 2 anticollision processes for the 2 different modes
    【第三部分为两种不同的模式定义了两种防冲突过程】:
    Type A > Bit-collision detection protocol【位冲突检测协议】
    Type B > Slotted ALOHA with dynamic slot adaptation.【具有动态时隙自适应的分槽 ALOHA】
ISO/IEC14443-4 Transmission protocols 【传输协议】

在这里插入图片描述

  • Part four of the standard defines the half-duplex block transmission protocol. In particular, it defines the activation and deactivation sequences of the protocol.
    【该标准的第四部分定义了半双工块传输协议。特别是,它定义了协议的激活和停用序列。】
  • The activation sequence is concluded through the Protocol and Parameter Selection (PPS) process, upon which data can be exchanged.
    【激活序列通过协议和参数选择 (PPS) 过程完成,在此基础上可以进行数据交换。】
  • Upon completion of data exchange, the PICC can be disabled through the de-selection process.
    【数据交换完成后,可以通过取消选择过程禁用 PICC。】
  • This standard has been developed with functionality and flexibility in mind.
    【该标准的制定充分考虑了功能性和灵活性。】

Complete Operation 【完整操作】

在这里插入图片描述

  • 注意
  • MIFARE is NOT the same as ‘Type A’.It is not compliant to ISO/IEC 14443-4, Type A illustrated.It uses it’s own transmission protocol.
    【MIFARE 与“Type A”不同。它不符合 ISO/IEC 14443-【4】。它使用自己的传输协议。】在这里插入图片描述

参考:
1.新手指南:ISO-14443 协议全面解析
2.Understanding the Requirements of ISO/IEC14443 for Type B Proximity Contactless Identification Cards.pdf
3.ISO/IEC 14443 Overview.ppt

JIS X 6319 – 4

ISO/IEC 15693

NFC Forum Type 1/2/3/4/5 tags

三、软件协议栈

NCI2.0 、 2.1

EMVCo 3.0 L1

Android、FreeRTOS、Linux

四、解决方案

NFC+eSE

厂商

在这里插入图片描述NXP
在这里插入图片描述ST

相关文章:

  • C++ 输入输出流示例代码剖析
  • 计算机组成原理——浮点数以及IEEE754
  • ruoyi-erp 开源:功能全面灵活可定制
  • SpringCloud实战:使用Sentinel构建可靠的微服务熔断机制
  • 关于读取CH584单片机的IO电平出现到的乌龙
  • Go核心特性与并发编程
  • client.chat.completions.create方法参数详解
  • 链表-链表相交
  • (泛函分析)巴拿赫空间Banach Space和希尔伯特空间Hilbert Space
  • 向量数据库Milvus01-入门与核心原理详解
  • 【samba和nfs的搭建】
  • Arduino和STM32的区别详解
  • 5.1/Q1,GBD数据库最新文章解读
  • AI扫描王APP:高效便捷的手机扫描工具,让生活更智能
  • day35 python模型可视化与推理
  • 使用防火墙禁止程序联网(这里禁止vscode)
  • 天猫平台实时商品数据 API 接入方案与开发实践
  • C++——volatile
  • Python打卡第35天
  • Ollama01-安装教程
  • 正规做网站/重庆关键词自动排名
  • 中国城乡和住房建设部网站/营销必备十大软件
  • 太原网站建设开发公司/广州市运营推广公司
  • 营销型网站建设公司哪家建设营/短视频怎么赚钱
  • 孝义网站建设/营销渠道模式有哪些
  • 淘宝网站建设问题/乐天seo视频教程