计算机工程 ›› 2008, Vol. 34 ›› Issue (24): 128-130.doi: 10.3969/j.issn.1000-3428.2008.24.044

• 网络与通信 • 上一篇    下一篇

EPCglobal C1 Gen2标准中CRC算法的实现

廖彬彬,赵知劲,张福洪   

  1. (杭州电子科技大学通信工程学院,杭州 310018)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-12-20 发布日期:2008-12-20

Implementation of CRC Algorithm in EPCglobal C1 Gen2 Standard

LIAO Bin-bin, ZHAO Zhi-jing, ZHANG Fu-hong   

  1. (School of Communication Engineering, Hangzhou Dianzi University, Hangzhou 310018)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-12-20 Published:2008-12-20

摘要: 介绍CRC的基本原理和EPCglobal C1 Gen2标准使用的CRC-5算法和CRC-16算法。推导8 bit字节型查找表算法和查找表的产生方法,给出CRC-5和CRC-16的硬件实现原理图和软件实现伪代码。用Gen2标准的Query命令和Select命令测试CRC-5和CRC-16的软件实现方法,结果验证了2种算法的正确性。

关键词: 射频识别, EPCglobal标准, 循环冗余校验码

Abstract: This paper introduces the principia of Cyclic Redundancy Check(CRC), CRC-5 algorithm and CRC-16 algorithm used in the CRC standard. The 8 bit byte-lookup-table algorithm and a method of generating the lookup-table are deducted. The hardware schematic diagram and software implementation pseudo code of CRC-5 and CRC-16 are presented. The software implementation of CRC-5 and CRC-16 is tested by Query and Select command specified in the Gen2 standard, and the results prove the correctness of the two algorithms.

Key words: Radio Frequency Identification(RFID), EPCglobal standard, Cyclic Redundancy Check(CRC)

中图分类号: