摘要: 介绍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)
中图分类号:
廖彬彬;赵知劲;张福洪. EPCglobal C1 Gen2标准中CRC算法的实现[J]. 计算机工程, 2008, 34(24): 128-130.
LIAO Bin-bin; ZHAO Zhi-jing; ZHANG Fu-hong. Implementation of CRC Algorithm in EPCglobal C1 Gen2 Standard[J]. Computer Engineering, 2008, 34(24): 128-130.