CN102185817B - Method and device for transmitting information from reader-writer to label - Google Patents
Method and device for transmitting information from reader-writer to label Download PDFInfo
- Publication number
- CN102185817B CN102185817B CN 201110052434 CN201110052434A CN102185817B CN 102185817 B CN102185817 B CN 102185817B CN 201110052434 CN201110052434 CN 201110052434 CN 201110052434 A CN201110052434 A CN 201110052434A CN 102185817 B CN102185817 B CN 102185817B
- Authority
- CN
- China
- Prior art keywords
- frame synchronization
- synchronization sequence
- label
- write line
- read write
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000006854 communication Effects 0.000 claims abstract description 40
- 238000004891 communication Methods 0.000 claims abstract description 35
- 230000001360 synchronised effect Effects 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 16
- 238000004321 preservation Methods 0.000 claims 3
- 229910002056 binary alloy Inorganic materials 0.000 claims 2
- 230000000052 comparative effect Effects 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 6
- 238000004088 simulation Methods 0.000 description 5
- 238000013523 data management Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000005311 autocorrelation function Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种读写器到标签的信息传输方法和装置,所述方法包括:发射一定长度的连续高电平射频载波;如果接收到标签发送的身份识别码,则产生一个帧同步序列,将所述帧同步序列发送给所述标签,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;如果接收到所述标签返回的接收标识符,则根据后台控制系统的指令产生基带命令,并对所述基带命令进行编码,将包含所述帧同步序列和所述编码后的基带命令的载波信号发送给所述标签;如果接收到所述标签返回的同步建立标识符,则确定与所述标签的同步通信建立完成。通过本发明可以实现基准频率自校准,从而降低了芯片功耗。
The embodiment of the present invention provides a method and device for transmitting information from a reader to a tag. The method includes: transmitting a certain length of continuous high-level radio frequency carrier; if receiving the identification code sent by the tag, generating a frame synchronization sequence, sending the frame synchronization sequence to the tag, wherein the frame synchronization sequence includes: a delimiter indicating the starting point of the frame synchronization sequence, two calibration symbols for calibrating the reference frequency and data information; if the receiving identifier returned by the tag is received, a baseband command is generated according to the instruction of the background control system, and the baseband command is encoded, which will contain the frame synchronization sequence and the coded baseband command The carrier signal is sent to the tag; if the synchronization establishment identifier returned by the tag is received, it is determined that the synchronization communication establishment with the tag is completed. The invention can realize the self-calibration of the reference frequency, thereby reducing the power consumption of the chip.
Description
技术领域 technical field
本发明涉及通信领域,尤其涉及一种读写器到标签的信息传输方法和装置。The invention relates to the communication field, in particular to a method and device for transmitting information from a reader to a tag.
背景技术 Background technique
通信领域的射频识别(RFID,Radio Frequency Identification)技术是利用射频方式进行远距离通信以达到识别物品的自动识别技术。该技术和当今数字化移动商务相适应,可以实现自动识别和远程实时监控及管理,是当代信息技术中的热门技术之一。工作时,将RFID标签安装在需要认证的物品上,该标签通过电磁波发送关于该物品的身份信息给接收装置,RFID系统按这种工作方式可以追踪和管理几乎所有物理对象。RFID在工业自动化、商业自动化、交通运输控制管理、防伪技术等众多领域具有广泛的应用前景。The radio frequency identification (RFID, Radio Frequency Identification) technology in the field of communication is an automatic identification technology that uses radio frequency for long-distance communication to identify items. This technology is compatible with today's digital mobile business, and can realize automatic identification and remote real-time monitoring and management. It is one of the popular technologies in contemporary information technology. When working, the RFID tag is installed on the item that needs to be authenticated, and the tag sends the identity information about the item to the receiving device through electromagnetic waves. The RFID system can track and manage almost all physical objects in this way. RFID has broad application prospects in many fields such as industrial automation, commercial automation, transportation control management, and anti-counterfeiting technology.
一般的射频识别系统由三个部分组成,即RFID标签、读写器以及后台数据管理系统。为了简单起见,下文中将RFID标签简称为标签。读写器通过天线发送一定频率的射频信号,当标签进入天线的工作区域时,标签接收到射频信号从而获得能量被激活,在标签和读写器之间建立了通信,标签将自身保存的信息发送给读写器,读写器对接收信号进行解调和解码后,通过接口将标签的信息数据传输给后台数据管理系统,同时也可以执行数据管理系统发来的命令,执行不同的功能。A general radio frequency identification system consists of three parts, namely RFID tags, readers and background data management systems. For the sake of simplicity, the RFID tag is simply referred to as a tag hereinafter. The reader sends a radio frequency signal of a certain frequency through the antenna. When the tag enters the working area of the antenna, the tag receives the radio frequency signal to obtain energy and is activated. Communication is established between the tag and the reader, and the tag stores the information stored by itself. After the reader demodulates and decodes the received signal, it transmits the tag information data to the background data management system through the interface, and can also execute the commands sent by the data management system to perform different functions.
在RFID通信过程中同步是一个非常重要的技术问题,读写器和标签需要步调一致地协调工作,这就必须要有同步系统来保证。同步需要通过一个帧同步码来实现,该帧同步码本身不包含标签的数据信息,但只有通过该帧同步码在收发设备之间建立了同步后才能开始传送数据信息,所以建立同步是进行信息传输的必要和前提。同步性能的好坏又将直接影响着通信的性能,如果出现同步误差或失去同步就会导致通信性能下降或通信中断。因此,要实现RFID通信系统稳定、快速地通信,需要保证接收和发送之间的同步性。Synchronization is a very important technical issue in the RFID communication process. The reader and the tag need to work in unison, which requires a synchronization system to ensure. Synchronization needs to be realized through a frame synchronization code. The frame synchronization code itself does not contain the data information of the label, but the data information can only be transmitted after the synchronization between the transceiver devices is established through the frame synchronization code. Therefore, establishing synchronization is to carry out information Necessity and prerequisite for transmission. The quality of synchronization performance will directly affect the performance of communication. If there is a synchronization error or loss of synchronization, it will cause communication performance degradation or communication interruption. Therefore, in order to achieve stable and fast communication in the RFID communication system, it is necessary to ensure the synchronization between receiving and sending.
发明人在实现本发明的过程中发现,目前在ISO18000-6C协议中,通过对TRcal()的采样个数进行计数,从而确定返回链路的数据速率。在此种方式下,基准频率的大小决定了返回链路的数据速率的精度,基准频率越大,返回链路数据速率的精度也就越高,但是大的基准频率会导致大的功耗产生。模拟电路中可以增加温度补偿电路来提高基准频率的稳定度,但是这增加了芯片设计的复杂度和芯片功耗。另外,ISO18000-6C标准中只定义了一个时间长度为12.5us的定界符,标签在每次上电后,接收到定界符后把校准值写入片内RAM,采用PR-ASK或者其他类似的非矩形脉冲时,标签采样时并不能确保将帧同步码中的定界符恢复成12.5us的时间长度,使得基准频率误差,会造成通信过程的误码率高。The inventor found in the process of implementing the present invention that currently in the ISO18000-6C protocol, the data rate of the return link is determined by counting the number of samples of TRcal(). In this way, the size of the reference frequency determines the accuracy of the data rate of the return link. The larger the reference frequency, the higher the accuracy of the data rate of the return link, but a large reference frequency will lead to large power consumption. . A temperature compensation circuit can be added in the analog circuit to improve the stability of the reference frequency, but this increases the complexity of chip design and power consumption of the chip. In addition, the ISO18000-6C standard only defines a delimiter with a time length of 12.5us. After each power-on, the tag will write the calibration value into the on-chip RAM after receiving the delimiter, using PR-ASK or other For similar non-rectangular pulses, the tag sampling cannot ensure that the delimiter in the frame synchronization code is restored to a time length of 12.5us, making the reference frequency error, which will cause a high bit error rate in the communication process.
发明内容 Contents of the invention
本发明实施例提供一种读写器到标签的信息传输方法和装置,以解决读写器到标签的同步问题。Embodiments of the present invention provide a method and device for transmitting information from a reader-writer to a tag, so as to solve the synchronization problem from the reader-writer to the tag.
本发明实施例的上述目的是通过如下技术方案实现的:The above object of the embodiments of the present invention is achieved through the following technical solutions:
一种读写器到标签的信息传输方法,所述方法应用于RFID系统的读写器,所述方法包括:发射一定长度的连续高电平射频载波;如果接收到标签发送的身份识别码,则产生一个帧同步序列,将所述帧同步序列发送给所述标签,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;如果接收到所述标签返回的接收标识符,则根据后台控制系统的指令产生基带命令,并对所述基带命令进行编码,将包含所述帧同步序列和所述编码后的基带命令的载波信号发送给所述标签;如果接收到所述标签返回的同步建立标识符,则确定与所述标签的同步通信建立完成。A method for transmitting information from a reader-writer to a tag, the method is applied to a reader-writer of an RFID system, and the method includes: transmitting a certain length of continuous high-level radio frequency carrier; if receiving the identification code sent by the tag, Then generate a frame synchronization sequence, and send the frame synchronization sequence to the tag, wherein the frame synchronization sequence includes: a delimiter representing the starting point of the frame synchronization sequence, two Calibrator and data information; if the receiving identifier returned by the tag is received, a baseband command is generated according to the instructions of the background control system, and the baseband command is encoded, which will include the frame synchronization sequence and the encoded The carrier signal of the subsequent baseband command is sent to the tag; if the synchronization establishment identifier returned by the tag is received, it is determined that the synchronization communication establishment with the tag is completed.
一种读写器到标签的信息传输方法,所述方法应用于RFID系统的标签,所述方法包括:在接收到读写器发送的连续高电平射频载波时,向所述读写器发送身份识别码;接收所述读写器返回的帧同步序列并保存,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;根据所述帧同步序列获得基准频率校准值,根据所述基准频率校准值对所述标签内的基准频率进行自校准;向所述读写器发送接收标识符,接收所述读写器返回的包含帧同步序列和编码后的基带命令的载波信号;如果所述载波信号中的帧同步序列与保存的帧同步序列相同,则向所述读写器发送同步建立标识符;对所述编码后的基带命令解码并执行所述基带命令。A method for transmitting information from a reader-writer to a tag, the method is applied to a tag of an RFID system, and the method includes: when receiving a continuous high-level radio frequency carrier sent by the reader-writer, sending a message to the reader-writer Identification code; receive and store the frame synchronization sequence returned by the reader, wherein the frame synchronization sequence includes: a delimiter representing the starting point of the frame synchronization sequence, two used to calibrate the reference frequency Calibrator and data information; obtain a reference frequency calibration value according to the frame synchronization sequence, perform self-calibration on the reference frequency in the tag according to the reference frequency calibration value; send a receiving identifier to the reader, and receive the The carrier signal that contains the frame synchronization sequence and the coded baseband command returned by the reader-writer; if the frame synchronization sequence in the carrier signal is the same as the saved frame synchronization sequence, then send a synchronization establishment identifier to the reader ; Decode the encoded baseband command and execute the baseband command.
一种读写器,所述读写器包括:发射单元,用于发射一定长度的连续高电平射频载波;第一产生单元,用于在接收到标签发送的身份识别码后,产生一个帧同步序列,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;第一发送单元,用于将所述第一产生单元产生的帧同步序列发送给所述标签;第二产生单元,用于在接收到所述标签返回的接收标识符后,根据后台控制系统的指令产生基带命令;编码单元,用于对所述第二产生单元产生的基带命令进行编码;第二发送单元,用于将包含所述第一产生单元产生的帧同步序列和所述编码单元编码后的基带命令的载波信号发送给所述标签;确定单元,用于在接收到所述标签返回的同步建立标识符时,确定与所述标签的同步通信建立完成。A reader, the reader includes: a transmitting unit for transmitting a certain length of continuous high-level radio frequency carrier; a first generating unit for generating a frame after receiving the identification code sent by the tag Synchronization sequence, the frame synchronization sequence includes: a delimiter indicating the starting point of the frame synchronization sequence, two calibration symbols and data information for calibrating the reference frequency; the first sending unit is used to send the first The frame synchronization sequence generated by a generation unit is sent to the tag; the second generation unit is used to generate a baseband command according to the instruction of the background control system after receiving the receiving identifier returned by the tag; the encoding unit is used to The baseband command generated by the second generation unit is encoded; the second sending unit is configured to send the carrier signal including the frame synchronization sequence generated by the first generation unit and the baseband command encoded by the encoding unit to the The tag; a determining unit, configured to determine that the establishment of the synchronization communication with the tag is completed when receiving the synchronization establishment identifier returned by the tag.
一种标签,所述标签包括:第一发送单元,用于在接收到读写器发送的连续高电平射频载波时,向所述读写器发送身份识别码;第一接收单元,用于在所述第一发送单元向所述读写器发送身份识别码后接收所述读写器返回的帧同步序列,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;存储单元,用于存储所述第一接收单元接收到的帧同步序列;校准单元,用于根据所述第一接收单元接收到的帧同步序列获得基准频率校准值,根据所述基准频率校准值对所述标签内的基准频率进行自校准;第二发送单元,用于在所述校准单元自校准后向所述读写器发送接收标识符;第二接收单元,用于在所述第二发送单元向所述读写器发送所述接收标识符后接收所述读写器返回的包含帧同步序列和编码后的基带命令的载波信号;比较单元,用于将所述第二接收单元接收到的所述载波信号中的帧同步序列与所述存储单元保存的帧同步序列进行比较;第三发送单元,用于在所述比较单元的比较结果为,所述第二接收单元接收到的所述载波信号中的帧同步序列与所述存储单元保存的帧同步序列相同时,向所述读写器发送同步建立标识符;解码单元,用于对所述第二接收单元接收到的编码后的基带命令解码并执行所述基带命令。A tag, the tag includes: a first sending unit, configured to send an identification code to the reader-writer when receiving a continuous high-level radio frequency carrier sent by the reader-writer; a first receiving unit, configured to Receive the frame synchronization sequence returned by the reader-writer after the first sending unit sends the identification code to the reader-writer, wherein the frame synchronization sequence includes: a delimitation indicating the starting point of the frame synchronization sequence symbol, two calibration symbols and data information for calibrating the reference frequency; a storage unit for storing the frame synchronization sequence received by the first receiving unit; a calibration unit for receiving the frame synchronization sequence according to the first receiving unit Obtain a reference frequency calibration value from the received frame synchronization sequence, and perform self-calibration on the reference frequency in the tag according to the reference frequency calibration value; the second sending unit is used to send to the read-write device after the calibration unit self-calibrates The reader sends the receiving identifier; the second receiving unit is used to receive the baseband that contains the frame synchronization sequence and the coded baseband returned by the reader after the second sending unit sends the receiving identifier to the reader The carrier signal of the command; the comparison unit is used to compare the frame synchronization sequence in the carrier signal received by the second receiving unit with the frame synchronization sequence stored in the storage unit; the third sending unit is used to The comparison result of the comparison unit is that when the frame synchronization sequence in the carrier signal received by the second receiving unit is the same as the frame synchronization sequence stored in the storage unit, send a synchronization establishment flag to the reader symbol; a decoding unit, configured to decode the encoded baseband command received by the second receiving unit and execute the baseband command.
一种RFID系统,所述系统包括读写器和标签,所述读写器用于:向外发射一定长度的连续高电平射频载波;在接收到标签发送的身份识别码时,产生一个帧同步序列,将所述帧同步序列发送给所述标签,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;在接收到所述标签返回的接收标识符时,根据后台控制系统的指令产生基带命令,并对所述基带命令进行编码,将包含所述帧同步序列和所述编码后的基带命令的载波信号发送给所述标签;在接收到所述标签返回的同步建立标识符时,确定与所述标签的同步通信建立完成;所述标签用于:在接收到读写器发送的连续高电平射频载波时,向所述读写器发送身份识别码;接收所述读写器返回的帧同步序列并保存,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;根据所述帧同步序列获得基准频率校准值,根据所述基准频率校准值对所述标签内的基准频率进行自校准;向所述读写器发送接收标识符,接收所述读写器返回的包含帧同步序列和编码后的基带命令的载波信号;在所述载波信号中的帧同步序列与保存的帧同步序列相同时,向所述读写器发送同步建立标识符;对所述编码后的基带命令解码并执行所述基带命令。An RFID system, the system includes a reader-writer and a tag, and the reader-writer is used to: transmit a certain length of continuous high-level radio frequency carrier; when receiving the identification code sent by the tag, generate a frame synchronization sequence, sending the frame synchronization sequence to the tag, wherein the frame synchronization sequence includes: a delimiter indicating the starting point of the frame synchronization sequence, two calibration symbols for calibrating the reference frequency and data Information; when receiving the receiving identifier returned by the tag, generate a baseband command according to the instruction of the background control system, and encode the baseband command, and include the frame synchronization sequence and the coded baseband command The carrier signal is sent to the tag; when the synchronization establishment identifier returned by the tag is received, it is determined that the synchronization communication with the tag is established; the tag is used to: receive the continuous high power sent by the reader When the radio frequency carrier is flat, send the identification code to the reader; receive and save the frame synchronization sequence returned by the reader, wherein the frame synchronization sequence includes: a delimitation representing the starting point of the frame synchronization sequence symbol, two calibration symbols and data information for calibrating the reference frequency; obtain a reference frequency calibration value according to the frame synchronization sequence, and perform self-calibration on the reference frequency in the tag according to the reference frequency calibration value; The reader sends and receives the identifier, and receives the carrier signal containing the frame synchronization sequence and the encoded baseband command returned by the reader; when the frame synchronization sequence in the carrier signal is the same as the saved frame synchronization sequence , sending a synchronization establishment identifier to the reader; decoding the encoded baseband command and executing the baseband command.
在RFID系统的读写器到标签的链路中使用本发明实施例提供的方法和装置,通过本发明的帧同步序列可以实现基准频率自校准,标签不需要增加温度补偿电路,节省了标签芯片的面积,从而降低了芯片功耗,并且可以在不同温度、湿度情况下仍然能够保证基准频率的稳定,从而保证了读写器和标签能够步调一致地协调工作,而且还使得通信过程中的误码率很低。Using the method and device provided by the embodiment of the present invention in the link from the reader-writer of the RFID system to the tag, the reference frequency self-calibration can be realized through the frame synchronization sequence of the present invention, the tag does not need to add a temperature compensation circuit, and the tag chip is saved area, thereby reducing the power consumption of the chip, and can still ensure the stability of the reference frequency under different temperature and humidity conditions, thereby ensuring that the reader and the tag can work in unison, and also make the error in the communication process The code rate is very low.
附图说明 Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。在附图中:The drawings described here are used to provide further understanding of the present invention, constitute a part of the application, and do not limit the present invention. In the attached picture:
图1为用于射频识别的读写器和标签的通信系统示意图;Fig. 1 is a schematic diagram of a communication system of a reader-writer and a tag for radio frequency identification;
图2为使用本发明提供的方法的读写器和标签的结构框图;Fig. 2 is the structural block diagram of using the reader-writer of the method provided by the present invention and label;
图3为本发明实施例提供的一种读写器到标签的信息传输方法流程图;FIG. 3 is a flowchart of a method for transmitting information from a reader to a tag according to an embodiment of the present invention;
图4本实施例的帧同步序列示意图;Fig. 4 is a schematic diagram of a frame synchronization sequence in this embodiment;
图5为本实施例提供的改进的曼彻斯特编码方法的示意图;FIG. 5 is a schematic diagram of the improved Manchester encoding method provided in this embodiment;
图6为采用三种不同帧同步序列的通信方式的仿真实验曲线图;Fig. 6 is the simulation experiment graph of the communication mode adopting three different frame synchronization sequences;
图7为本发明实施例提供的另外一种读写器到标签的信息传输方法的流程图;FIG. 7 is a flowchart of another method for transmitting information from a reader to a tag according to an embodiment of the present invention;
图8为本发明实施例提供的一种读写器的功能组成框图;FIG. 8 is a functional block diagram of a reader/writer provided by an embodiment of the present invention;
图9为本发明实施例提供的一种标签的组成框图;FIG. 9 is a block diagram of a label provided by an embodiment of the present invention;
图10为本发明实施例提供的一种RFID系统的组成框图。Fig. 10 is a composition block diagram of an RFID system provided by an embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合实施例和附图,对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.
图1为用于射频识别的读写器和标签的通信系统示意图,请参照图1,读写器11向外发射ACK调制信号,当一个或多个标签12进入到读写器的工作范围内时可以接收到读写器11发射的射频信号,根据接收的命令可以返回所需要的数据信息;读写器11接收到该数据信息后将其传输给计算机数据管理系统13。Figure 1 is a schematic diagram of the communication system of the reader and tag used for radio frequency identification, please refer to Figure 1, the
图2为使用本发明提供的方法的读写器和标签的结构框图,请参照图2,读写器21包括具有接收和发射功能的天线211,起调制和解调作用的调制解调器212,用于编码和解码的编解码器213,用于产生帧同步序列的帧同步序列产生器214,以及用于产生基带命令和其它命令的读写控制器215;同样,标签22也具有天线221、调制解调器222、编解码器223,另外该标签还包括用于将射频载波转化成标签工作所需要的电压的倍压整流电路224,用于保存各种数据信息的存储器225,和用于执行数据读写操作和产生各种标志代码的数据控制器226。Fig. 2 is the structural block diagram of using the reader-writer of the method provided by the present invention and label, please refer to Fig. 2, reader-
图3为本发明实施例提供的一种读写器到标签的信息传输方法的流程图,该方法应用于RFID系统的读写器,请参照图3,该方法包括:Fig. 3 is a flowchart of a method for transmitting information from a reader-writer to a tag provided by an embodiment of the present invention, the method is applied to a reader-writer of an RFID system, please refer to Fig. 3, the method includes:
步骤301:发射一定长度的连续高电平射频载波;Step 301: Transmit a certain length of continuous high-level radio frequency carrier;
其中,读写器可以通过其天线向外发射一定长度的连续高电平射频载波,该载波不包含任何数据信息,该长度最少为8个编码周期。Among them, the reader can transmit a certain length of continuous high-level radio frequency carrier through its antenna. The carrier does not contain any data information, and the length is at least 8 encoding cycles.
步骤302:如果接收到标签发送的身份识别码,则产生一个帧同步序列,将所述帧同步序列发送给所述标签;Step 302: If the identification code sent by the tag is received, generate a frame synchronization sequence, and send the frame synchronization sequence to the tag;
其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息。Wherein, the frame synchronization sequence includes: a delimiter indicating the starting point of the frame synchronization sequence, two calibration symbols used for calibrating the reference frequency and data information.
其中,标签接收到该射频载波后,其内部的倍压整流电路将该射频载波转化成标签工作所需要的电压,此时标签被激活并产生一个0-15位的二进制随机数,如果该随机数为0,则标签直接将表示该标签身份的身份识别码发射出去,如果该随机数不为0,则标签自动对该随机数进行减1操作,直到该随机数变为0时再将该身份识别码发射出去。如果有两个或两个以上的标签产生的随机数同时为0,此时发生碰撞,即读写器同时接收到两个或两个以上的身份识别码,该读写器发送重新产生随机数的命令给相应的多个标签而不执行下一步操作。Among them, after the tag receives the radio frequency carrier, its internal voltage doubler rectification circuit converts the radio frequency carrier into the voltage required for the tag to work. At this time, the tag is activated and generates a binary random number of 0-15 bits. If the random If the number is 0, the tag will directly transmit the identification code representing the identity of the tag. If the random number is not 0, the tag will automatically decrement the random number by 1 until the random number becomes 0. The ID code is sent out. If the random numbers generated by two or more tags are 0 at the same time, a collision occurs at this time, that is, the reader receives two or more identification codes at the same time, and the reader sends a new random number command to the corresponding multiple tags without performing the next step.
其中,读写器接收到标签的身份识别码后,由帧同步序列产生器产生一个帧同步序列并将其传送给调制解调器,将其调制到射频载波上,然后发送给标签。其中该帧同步序列包括如下三个部分:a)一个表示帧同步序列的起始点的定界符,其为时间长度为T的低电平,该时间长度T由读写器的数据率大小来确定,通常在8.25-25us之间;b)两个用于对基准频率进行校准的校准符,用一个高电平和一个低电平表示一个校准符,每一个校准符的时间长度均与定界符的时间长度相等;c)数据信息,其包括用两个码元“10”表示的二进制数据0、用两个码元“11”表示的二进制数据1、用单位时间长度的两个连续高电平表示的二进制违例数据、和用两个码元“01”表示的二进制数据1,用于建立读写器到标签的同步通信,其中用一个单位时间长度的高电平脉冲表示码元“1”,用一个单位时间长度的低电平脉冲表示码元“0”。Among them, after the reader/writer receives the identification code of the tag, the frame synchronization sequence generator generates a frame synchronization sequence and transmits it to the modem, modulates it onto the radio frequency carrier, and then sends it to the tag. Wherein the frame synchronization sequence includes the following three parts: a) a delimiter representing the starting point of the frame synchronization sequence, which is a low level with a time length of T, and the time length T is determined by the data rate of the reader Determine, usually between 8.25-25us; b) Two calibration characters used to calibrate the reference frequency, a high level and a low level represent a calibration character, and the time length of each calibration character is the same as the delimiter The time length of symbols is equal; c) data information, which includes
图4是本实施例的帧同步序列示意图,由图可以看出本实施例的帧同步序列的结构:一个用时间长度为T的低电平表示的定界符;两个校准符,用一个高电平和一个低电平表示一个校准符,每一个校准符的时间长度均与定界符的时间长度相等;以由两个码元“10”表示的二进制数据0、由两个码元“11”表示的二进制数据1、一个由单位时间长度的两个连续高电平表示的二进制违例数据、和由两个码元“01”表示的二进制数据1这样的顺序排列组合在一起的数据信息,其中用一个单位时间长度的高电平脉冲表示码元“1”,用一个单位时间长度的低电平脉冲表示码元“0”。本实施例的帧同步序列包含了违例的情况,可以降低同步通信时的假同步概率。经过实验证明,该数据信息的自相关函数具有尖锐的单峰特性,自相关性非常高,可以达到5.12dB以上。而且通过本实施例的帧同步序列可以实现基准频率自校准,标签就不需要增加温度补偿电路,节省了标签芯片的面积,从而降低了芯片功耗,还使得通信过程中的误码率很低。Fig. 4 is the frame synchronous sequence schematic diagram of present embodiment, can find out the structure of the frame synchronous sequence of present embodiment by the figure: a delimiter that is represented by the low level that time length is T; Two calibrators, with a A high level and a low level represent a calibration character, and the time length of each calibration character is equal to the time length of the delimiter; the
尽管图3示出的帧同步序列结构中的二进制违例数据为1个,但是本领域的技术人员都知道,本实施例的帧同步序列结构中的二进制违例数据也可以为多个,其具体个数由不同的编码方式来确定。Although there is one binary violation data in the frame synchronization sequence structure shown in FIG. The number is determined by different encoding methods.
在本实施例中,可以使用任何可实现的编码方式来对数据进行编码,例如曼彻斯特编码(Manchester)、和PIE编码、米勒编码等等,在此不再赘述。本实施例在下面提供一种改进的曼彻斯特编码方法来进行具体说明。In this embodiment, data may be encoded using any feasible encoding manner, such as Manchester encoding (Manchester), PIE encoding, Miller encoding, etc., which will not be repeated here. This embodiment provides an improved Manchester encoding method for specific description below.
图5为本实施例提供的改进的曼彻斯特编码方法的示意图,其编码原则为:用一个单位时间长度的高电平脉冲表示码元“1”,用一个单位时间长度的低电平脉冲表示码元“0”;用两个码元“10”表示信源数据中的二进制数0;当信源数据中出现单独的二进制数1时,用两个码元“11”表示该二进制数1;当信源数据中出现连续的二进制数1时,用两个码元“11”表示奇数位的二进制数1,用两个码元“01”表示偶数位的二进制数1;即对于连续的二进制数1,第一位的二进制数1用两个码元“11”来表示,第二位的二进制数1用两个码元“01”来表示,第三位的二进制数1用两个码元“11”来表示,第四位的二进制数1用两个码元“01”来表示,……,以此类推。换句话说,用一个单位时间长度的高电平脉冲和一个单位时间长度的低电平脉冲表示二进制数0,用两个单位时间长度的高电平脉冲表示奇数位的二进制数1,用一个单位时间长度的低电平脉冲和一个单位时间长度的高电平脉冲表示偶数位的二进制数1。Fig. 5 is a schematic diagram of the improved Manchester coding method provided by this embodiment, and its coding principle is: use a high-level pulse of a unit time length to represent the symbol "1", and use a unit time-length low-level pulse to represent the code element "0"; use two code elements "10" to represent the
根据上述编码方法编码的二进制数0和1如图5所示,其中Dperiod为码元周期,HLW为单位时间长度的高电平脉冲,其表示码元“1”,LLW为单位时间长度的低电平脉冲,其表示码元“0”。码元“01”表示低电平在前高电平在后;“10”表示高电平在前低电平在后,码元“11”表示两个高电平。The
当采用本实施例提供的改进的曼彻斯特编码方法对数据进行编码时,本实施例的帧同步序列中的违例数据可以为1个,采用这种帧同步格式就能够大大降低读写器与标签之间通信的假同步概率,这是因为读写器采用所述改进的曼彻斯特编码方法对数据进行编码,编码后的基带命令中最多出现连续三个单位时间长度的高电平,而在本实施例的帧同步序列中有连续四个高电平(见图3)。通过判断连续高电平的个数就可以区分出基带命令与帧同步序列,从而在通信时,出现基带命令与帧同步序列完全相同的概率大大降低,即假同步概率大大降低。该判断假同步的方法也适用于其它编码方法,本实施例的帧同步序列结构中的二进制违例数据的个数由不同的编码方式来确定。When the improved Manchester encoding method provided by this embodiment is used to encode data, the number of violation data in the frame synchronization sequence of this embodiment can be one, and the use of this frame synchronization format can greatly reduce the gap between the reader and the tag. The probability of false synchronization between inter-communications, this is because the reader uses the improved Manchester encoding method to encode data, and there are at most three consecutive high levels of unit time length in the encoded baseband command, while in this embodiment There are four consecutive high levels in the frame synchronization sequence (see Figure 3). By judging the number of continuous high levels, the baseband command and the frame synchronization sequence can be distinguished, so that during communication, the probability that the baseband command and the frame synchronization sequence are exactly the same is greatly reduced, that is, the probability of false synchronization is greatly reduced. The method for judging false synchronization is also applicable to other encoding methods, and the number of binary violation data in the frame synchronization sequence structure of this embodiment is determined by different encoding methods.
步骤303:如果接收到所述标签发送的接收标识符,则根据后台控制系统的指令产生基带命令,对所述基带命令进行编码,将包含所述帧同步序列和所述编码后的基带命令的载波信号发送给所述标签;Step 303: If the receiving identifier sent by the tag is received, generate a baseband command according to the instruction of the background control system, encode the baseband command, and include the frame synchronization sequence and the coded baseband command The carrier signal is sent to the tag;
其中,标签接收到该帧同步序列后对其进行解调,获得基准频率校准值,根据该基准频率校准值对标签内的基准频率进行自校准,并将该帧同步序列保存到存储器中,同时给读写器返回一个表示帧同步序列接收完成的接收标识符。其中标签在对帧同步序列解调后对定界符和校准符的时间长度和取平均值作为基准频率校准值,由此可以防止时间偏差出现,确保基准频率的校准非常准确。Wherein, after receiving the frame synchronization sequence, the tag demodulates it to obtain a reference frequency calibration value, performs self-calibration on the reference frequency in the tag according to the reference frequency calibration value, and saves the frame synchronization sequence into the memory, and at the same time Return a reception identifier to the reader to indicate the completion of frame synchronization sequence reception. After the tag demodulates the frame synchronization sequence, the time length sum of the delimiter and the calibrator is averaged as the reference frequency calibration value, thereby preventing the occurrence of time deviation and ensuring that the calibration of the reference frequency is very accurate.
其中,读写器接收到接收标识符后,其读写控制器根据后台控制系统的指令产生基带命令,其编解码器对该基带命令进行编码,再由调制解调器将帧同步序列产生器产生的帧同步序列和编码后的基带命令调制到射频载波上,通过天线发送出去。其中帧同步序列附在基带命令的前面。Among them, after the reader/writer receives the receiving identifier, its read-write controller generates baseband commands according to the instructions of the background control system, and its codec encodes the baseband commands, and then the modem converts the frames generated by the frame synchronization sequence generator into The synchronization sequence and the coded baseband command are modulated onto the radio frequency carrier and sent out through the antenna. Among them, the frame synchronization sequence is attached in front of the baseband command.
步骤304:如果接收到所述标签返回的同步建立标识符,则确定与所述标签的同步通信建立完成。Step 304: If the synchronization establishment identifier returned by the tag is received, determine that the establishment of synchronization communication with the tag is completed.
其中,标签对接收到的含有帧同步序列和编码后的基带命令的射频载波信号进行解调,将解调后的帧同步序列与存储器中保存的帧同步序列进行比较,如果两个序列相同,则标签发送一个表示同步建立的同步建立标识符给读写器,由此在两者之间建立同步通信,同时标签对该基带命令进行解码,得到所需要的基带命令内容,根据该命令执行下一步操作;否则,标签发送一个表示同步错误的同步错误标识符给读写器。Among them, the tag demodulates the received RF carrier signal containing the frame synchronization sequence and the coded baseband command, and compares the demodulated frame synchronization sequence with the frame synchronization sequence stored in the memory. If the two sequences are the same, Then the tag sends a synchronization establishment identifier indicating synchronization establishment to the reader, thereby establishing synchronous communication between the two, and at the same time, the label decodes the baseband command to obtain the required baseband command content, and executes the following according to the command One-step operation; otherwise, the tag sends a sync error identifier to the reader indicating a sync error.
其中,如果读写器接收到该同步错误标识符,则重新产生一个帧同步序列并发送给标签,以便与标签建立同步通信。具体的通信过程与步骤302-304相同,在此不再赘述。Wherein, if the reader/writer receives the synchronization error identifier, it will regenerate a frame synchronization sequence and send it to the tag, so as to establish synchronous communication with the tag. The specific communication process is the same as steps 302-304, and will not be repeated here.
在本实施例中,读写器发射的基带命令以及其它各种命令都是由读写器的读写控制器产生的,例如重新产生随机数的命令;而标签发射的身份识别码和其它各种标志代码(即各种标识符)都是由标签的数据控制器产生的,例如同步建立标识符。In this embodiment, the baseband commands transmitted by the reader and various other commands are all generated by the read-write controller of the reader, such as commands to regenerate random numbers; All kinds of marking codes (ie, various identifiers) are generated by the data controller of the tag, such as synchronously establishing identifiers.
通过本实施例的读写器到标签的信息传输方法,实现了标签的基准频率的自校准,不需要增加温度补偿电路,节省了标签芯片的面积,从而降低了芯片的整体功耗,确保了读写器和标签能够步调一致地协调工作。Through the information transmission method from the reader-writer to the tag in this embodiment, the self-calibration of the reference frequency of the tag is realized, no need to increase the temperature compensation circuit, and the area of the tag chip is saved, thereby reducing the overall power consumption of the chip and ensuring Readers and tags work in unison.
为使本实施例的读写器到标签的信息传输方法的效果更加清楚,以下结合一个应用实例对本实施例的方法加以说明。In order to make the effect of the information transmission method from the reader to the tag of this embodiment more clear, the method of this embodiment will be described below in conjunction with an application example.
图6为采用三种不同帧同步序列的通信方式的仿真实验曲线图,请参照图6。FIG. 6 is a curve diagram of a simulation experiment using three different communication modes of frame synchronization sequences, please refer to FIG. 6 .
在高斯白噪声信道模型条件下,对Manchester、PIE与本发明实施例的改进的Manchester编码进行帧同步性能仿真,分析假同步概率。仿真中,每个数据帧由帧同步序列和信息位组成,其中采用Manchester和PIE编码的数据帧包含的帧同步序列格式为其编码方法定义的已知格式,采用本发明实施例的改进的Manchester编码的数据帧包含的帧同步序列格式为图4所示的格式,其中信息位由32位随机产生的0、1序列经相应编码后组成,重复分析1000000次后取平均值。同步检测时,对帧同步序列作相关运算,大于门限值认为同步成功,否则发生假同步。Under the condition of a Gaussian white noise channel model, the frame synchronization performance simulation is performed on Manchester, PIE and the improved Manchester coding of the embodiment of the present invention, and the probability of false synchronization is analyzed. In the simulation, each data frame is composed of a frame synchronization sequence and information bits, wherein the format of the frame synchronization sequence contained in the data frame encoded by Manchester and PIE is a known format defined by its encoding method, and the improved Manchester of the embodiment of the present invention is adopted. The frame synchronization sequence format contained in the encoded data frame is the format shown in Figure 4, in which the information bits are composed of 32 randomly generated 0 and 1 sequences after corresponding encoding, and the average value is obtained after repeated analysis 1,000,000 times. During synchronous detection, a correlation operation is performed on the frame synchronous sequence, and if it is greater than the threshold value, the synchronous success is considered, otherwise false synchronous will occur.
仿真结果如图6所示,图中的MMC代表本发明实施例的改进的Manchester编码方法。从图6可以看出,改进的Manchester编码采用本发明实施例的帧同步序列,其假同步概率在整个信噪比范围内明显是最低的。The simulation results are shown in FIG. 6 , where MMC in the figure represents the improved Manchester encoding method of the embodiment of the present invention. It can be seen from FIG. 6 that the improved Manchester encoding adopts the frame synchronization sequence of the embodiment of the present invention, and its false synchronization probability is obviously the lowest in the entire SNR range.
尽管本发明以具体实施例的方式介绍了本发明的信息传输方法,但是本领域的技术人员都知道,也可以使用其它通信步骤来实现读写器到标签的信息传输过程。包含本发明的帧同步序列结构的任何信息传输方法都将落在本发明的保护范围之内。Although the present invention describes the information transmission method of the present invention in the form of a specific embodiment, those skilled in the art know that other communication steps can also be used to realize the information transmission process from the reader to the tag. Any information transmission method including the frame synchronization sequence structure of the present invention will fall within the protection scope of the present invention.
图7为本发明实施例提供的一种读写器到标签的信息传输方法的流程图,该方法应用于RFID系统的标签,请参照图7,该方法包括:Fig. 7 is a flow chart of a method for transmitting information from a reader to a tag provided by an embodiment of the present invention. The method is applied to a tag in an RFID system. Please refer to Fig. 7. The method includes:
步骤701:在接收到读写器发送的连续高电平射频载波时,向所述读写器发送身份识别码;Step 701: When receiving the continuous high-level radio frequency carrier sent by the reader-writer, send the identification code to the reader-writer;
步骤702:接收所述读写器返回的帧同步序列并保存,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;Step 702: Receive and store the frame synchronization sequence returned by the reader, wherein the frame synchronization sequence includes: a delimiter representing the starting point of the frame synchronization sequence, two calibration symbols used to calibrate the reference frequency character and data information;
步骤703:根据所述帧同步序列获得基准频率校准值,根据所述基准频率校准值对所述标签内的基准频率进行自校准;Step 703: Obtain a reference frequency calibration value according to the frame synchronization sequence, and self-calibrate the reference frequency in the tag according to the reference frequency calibration value;
步骤704:向所述读写器发送接收标识符,接收所述读写器返回的包含帧同步序列和编码后的基带命令的载波信号;Step 704: Send the receiving identifier to the reader, and receive the carrier signal including the frame synchronization sequence and the encoded baseband command returned by the reader;
步骤705:如果所述载波信号中的帧同步序列与保存的帧同步序列相同,则向所述读写器发送同步建立标识符;Step 705: If the frame synchronization sequence in the carrier signal is the same as the stored frame synchronization sequence, send a synchronization establishment identifier to the reader;
步骤706:对所述编码后的基带命令解码并执行所述基带命令。Step 706: Decode the encoded baseband command and execute the baseband command.
本实施例的方法与图3所示实施例的应用于读写器的读写器到标签的信息传输方法相对应,由于在图3所示实施例中,已经对读写器与标签在信息交互过程中标签的工作过程作了详细说明,在此不再赘述。The method of this embodiment corresponds to the information transmission method applied to the reader-writer to the tag in the embodiment shown in FIG. 3, because in the embodiment shown in FIG. The working process of the label in the interaction process has been described in detail, and will not be repeated here.
在图3所示实施例中,重点介绍了读写器到标签的信息传输过程,没有详细介绍标签到读写器的传输过程,这是因为可以使用任何已知的传输方法和编码方法来实现标签到读写器的信息传输,例如,标签发送信息给读写器时,处于标签自身的处理能力的考虑,通常使用简单的米勒编码方法进行信息传输。In the embodiment shown in Figure 3, the information transmission process from the reader to the tag is emphasized, and the transmission process from the tag to the reader is not described in detail, because any known transmission method and encoding method can be used to achieve For the information transmission from the tag to the reader, for example, when the tag sends information to the reader, in consideration of the processing capability of the tag itself, a simple Miller encoding method is usually used for information transmission.
通过本实施例的读写器到标签的信息传输方法,实现了标签的基准频率的自校准,不需要增加温度补偿电路,节省了标签芯片的面积,从而降低了芯片的整体功耗,确保了读写器和标签能够步调一致地协调工作。Through the information transmission method from the reader-writer to the tag in this embodiment, the self-calibration of the reference frequency of the tag is realized, no need to increase the temperature compensation circuit, and the area of the tag chip is saved, thereby reducing the overall power consumption of the chip and ensuring Readers and tags work in unison.
图8为本发明实施例提供的一种读写器的功能组成框图,请参照图8,该读写器包括:Fig. 8 is a functional block diagram of a reader-writer provided by an embodiment of the present invention, please refer to Fig. 8, the reader-writer includes:
发射单元801,用于发射一定长度的连续高电平射频载波;The transmitting
第一产生单元802,用于在接收到标签发送的身份识别码后,产生一个帧同步序列,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;The
第一发送单元803,用于将所述第一产生单元802产生的帧同步序列发送给所述标签;The
第二产生单元804,用于在接收到所述标签返回的接收标识符后,根据后台控制系统的指令产生基带命令;The
编码单元805,用于对所述第二产生单元804产生的基带命令进行编码;an
第二发送单元806,用于将包含所述第一产生单元802产生的帧同步序列和所述编码单元805编码后的基带命令的载波信号发送给所述标签;The
确定单元807,用于在接收到所述标签返回的同步建立标识符时,确定与所述标签的同步通信建立完成。The determining
在一个实施例中,所述第一产生单元802还用于:在接收到所述标签返回的同步错误标识符时,重新产生一个帧同步序列,该重新产生的帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;所述第一发送单元803还用于:将所述第一产生单元802重新产生的帧同步序列发送给所述标签,以便与所述标签建立同步通信。In one embodiment, the
在一个实施例中,所述第一产生单元802产生的帧同步序列包含的定界符为一定时间长度的低电平,所述时间长度由所述读写器的数据率大小来确定;所述第一产生单元802产生的帧同步序列包含的校准符包含一个高电平和一个低电平,每一个校准符的时间长度均与定界符的时间长度相等;所述第一产生单元802产生的帧同步序列包含的数据信息包括用两个码元10表示的二进制数据0、用两个码元11表示的二进制数据1、用单位时间长度的两个连续高电平表示的二进制违例数据、和用两个码元01表示的二进制数据1,其中,一个单位时间长度的高电平脉冲表示码元1,一个单位时间长度的低电平脉冲表示码元0。In one embodiment, the delimiter included in the frame synchronization sequence generated by the
在一个实施例中,所述发射单元801发射的一定长度的连续高电平射频载波不包含数据信息,所述一定长度不大于8个编码周期。In one embodiment, the continuous high-level radio frequency carrier of a certain length transmitted by the transmitting
在一个实施例中,所述第一产生单元802产生的帧同步序列包含的定界符的时间长度在8.25-25us之间。In one embodiment, the time length of the delimiter contained in the frame synchronization sequence generated by the
在本实施例中,发射单元801、第一发送单元803、第二发送单元806可以通过读写器的天线和调制解调器来实现;第一产生单元802可以通过帧同步序列产生器来实现;第二产生单元804、确定单元807可以通过读写控制器来实现;编码单元805可以通过编解码器来实现。由于该读写器的结构组成和功能已经在前述图2和图3中作了说明,在此不再赘述。In this embodiment, the transmitting
通过本实施例的读写器,实现了标签的基准频率的自校准,不需要增加温度补偿电路,节省了标签芯片的面积,从而降低了芯片的整体功耗,确保了读写器和标签能够步调一致地协调工作。Through the reader-writer of this embodiment, the self-calibration of the reference frequency of the tag is realized without adding a temperature compensation circuit, saving the area of the tag chip, thereby reducing the overall power consumption of the chip, and ensuring that the reader-writer and the tag can Coordinate work in tandem.
图9为本发明实施例提供的一种标签的组成框图,请参照图9,该标签包括:Figure 9 is a block diagram of a label provided by an embodiment of the present invention, please refer to Figure 9, the label includes:
第一发送单元901,用于在接收到读写器发送的连续高电平射频载波时,向所述读写器发送身份识别码;The
第一接收单元902,用于在所述第一发送单元901向所述读写器发送身份识别码后接收所述读写器返回的帧同步序列,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;The
存储单元903,用于存储所述第一接收单元902接收到的帧同步序列;a
校准单元904,用于根据所述第一接收单元902接收到的帧同步序列获得基准频率校准值,根据所述基准频率校准值对所述标签内的基准频率进行自校准;A
第二发送单元905,用于在所述校准单元904自校准后向所述读写器发送接收标识符;The
第二接收单元906,用于在所述第二发送单元905向所述读写器发送所述接收标识符后接收所述读写器返回的包含帧同步序列和编码后的基带命令的载波信号;The
比较单元907,用于将所述第二接收单元906接收到的所述载波信号中的帧同步序列与所述存储单元903保存的帧同步序列进行比较;a
第三发送单元908,用于在所述比较单元907的比较结果为,所述第二接收单元906接收到的所述载波信号中的帧同步序列与所述存储单元903保存的帧同步序列相同时,向所述读写器发送同步建立标识符;The
解码单元909,用于对所述第二接收单元906接收到的编码后的基带命令解码并执行所述基带命令。The
在一个实施例中,所述第三发送单元908还用于在所述比较单元907的比较结果为,所述第二接收单元906接收到的所述载波信号中的帧同步序列与所述存储单元903保存的帧同步序列不同时,向所述读写器发送同步错误标识符。In one embodiment, the
在一个实施例中,所述校准单元904所利用的基准频率校准值为所述帧同步序列中定界符和校准符的时间长度之和的平均值。In one embodiment, the reference frequency calibration value used by the
在本实施例中,第一发送单元901、第一接收单元902、第二发送单元905、第二接收单元906、第三发送单元908可以通过标签的天线和调制解调器来实现;存储单元903可以通过标签的存储单元来实现;校准单元904、比较单元907可以通过标签的数据控制器来实现;解码单元909可以通过标签的编解码器来实现。由于该标签的结构组成和功能已经在前述图2和图3中作了说明,在此不再赘述。In this embodiment, the first sending
通过本实施例的标签,实现了标签的基准频率的自校准,不需要增加温度补偿电路,节省了标签芯片的面积,从而降低了芯片的整体功耗,确保了读写器和标签能够步调一致地协调工作。Through the tag of this embodiment, the self-calibration of the reference frequency of the tag is realized, no need to increase the temperature compensation circuit, saving the area of the tag chip, thereby reducing the overall power consumption of the chip, and ensuring that the reader and the tag can be in step coordinate work.
图10为本发明实施例提供的一种RFID系统的组成框图,请参照图10,该RFID系统包括:读写器1001和标签1002,其中:Fig. 10 is a composition block diagram of an RFID system provided by an embodiment of the present invention, please refer to Fig. 10, the RFID system includes: a
读写器1001用于:向外发射一定长度的连续高电平射频载波;在接收到标签发送的身份识别码时,产生一个帧同步序列,将所述帧同步序列发送给所述标签,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;在接收到所述标签返回的接收标识符时,根据后台控制系统的指令产生基带命令,并对所述基带命令进行编码,将包含所述帧同步序列和所述编码后的基带命令的载波信号发送给所述标签;在接收到所述标签返回的同步建立标识符时,确定与所述标签的同步通信建立完成;The reader/
标签1002用于:在接收到读写器发送的连续高电平射频载波时,向所述读写器发送身份识别码;接收所述读写器返回的帧同步序列并保存,其中,所述帧同步序列包括:一个表示帧同步序列的起始点的定界符、两个用于对基准频率进行校准的校准符以及数据信息;根据所述帧同步序列获得基准频率校准值,根据所述基准频率校准值对所述标签内的基准频率进行自校准;向所述读写器发送接收标识符,接收所述读写器返回的包含帧同步序列和编码后的基带命令的载波信号;在所述载波信号中的帧同步序列与保存的帧同步序列相同时,向所述读写器发送同步建立标识符;对所述编码后的基带命令解码并执行所述基带命令。The
在本实施例中,读写器1001和标签1002的通信过程包括以下步骤:In this embodiment, the communication process between the reader-
步骤1:读写器1001通过天线向外发射一定长度的连续高电平射频载波,该载波不包含任何数据信息。Step 1: The
步骤2:当标签1002接收到读写器1001发送的所述连续高电平射频载波后,从中获得能量而被激活,发送一个身份识别码给读写器1001。Step 2: After the
步骤3:读写器1001接收到标签1002的身份识别码后,产生一个帧同步序列并将其调制到射频载波上,然后发送给该标签1002;该帧同步序列的结构在上面部分已经做了详细介绍,这里不再赘述。Step 3: After the
步骤4:标签1002接收到该帧同步序列后对其进行解调,获得基准频率校准值,根据该值对标签1002内的基准频率进行自校准,并将该帧同步序列保存到存储器中,同时给读写器1001返回一个接收标识符。Step 4: After receiving the frame synchronization sequence, the
步骤5:读写器1001接收到接收标识符后,根据后台控制系统的指令产生基带命令并对其进行编码,将帧同步序列产生器产生的帧同步序列和编码后的基带命令调制到射频载波上,通过天线发送出去,其中帧同步序列附在基带命令的前面。Step 5: After receiving the identifier, the reader/
步骤6:标签1002对接收到含有帧同步序列和基带命令的射频载波信号进行解调,将解调后的帧同步序列与存储器中保存的帧同步序列进行比较,如果两个序列相同,则标签1002发送一个同步建立标识符给读写器1001,由此在两者之间建立同步通信,同时标签1002对该基带命令进行解码,得到所需要的基带命令内容,根据该命令执行下一步操作;否则,标签发送一个同步错误标识符给读写器1001。Step 6: The
步骤7:如果读写器1001接收到同步错误标识符,则重新执行所述步骤3-6直到建立了同步通信。Step 7: If the reader/
本实施例的读写器1001可以通过图8所示读写器来实现,本实施例的标签1002可以图9所示的标签来实现,由于在图8和图9所示实施例中,已经对读写器和标签进行了详细说明,在此不再赘述。The reader-
通过本实施例的RFID系统,实现了标签的基准频率的自校准,不需要增加温度补偿电路,节省了标签芯片的面积,从而降低了芯片的整体功耗,确保了读写器和标签能够步调一致地协调工作。Through the RFID system of this embodiment, the self-calibration of the reference frequency of the tag is realized without adding a temperature compensation circuit, saving the area of the tag chip, thereby reducing the overall power consumption of the chip, and ensuring that the reader and the tag can keep pace Work in unison.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110052434 CN102185817B (en) | 2011-03-04 | 2011-03-04 | Method and device for transmitting information from reader-writer to label |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110052434 CN102185817B (en) | 2011-03-04 | 2011-03-04 | Method and device for transmitting information from reader-writer to label |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102185817A CN102185817A (en) | 2011-09-14 |
CN102185817B true CN102185817B (en) | 2013-09-25 |
Family
ID=44571887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110052434 Active CN102185817B (en) | 2011-03-04 | 2011-03-04 | Method and device for transmitting information from reader-writer to label |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102185817B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102332083B (en) * | 2011-10-10 | 2014-11-05 | 中国电子技术标准化研究所 | Information transmission methods and devices for radio frequency identification reader and tag |
CN103187998B (en) * | 2011-12-29 | 2015-08-12 | 国民技术股份有限公司 | Near field communication system and near field communication method |
CN103218630A (en) * | 2012-01-19 | 2013-07-24 | 黄建炜 | Wireless radio frequency sensing system with interactive function and its sensing device |
CN103888388B (en) * | 2012-12-24 | 2017-04-19 | 北京中电华大电子设计有限责任公司 | UHF RFID reader frequency offset estimation and frame synchronization method |
DE102014219512A1 (en) * | 2014-09-26 | 2016-03-31 | Dr. Johannes Heidenhain Gmbh | Method and device for serial data transmission via a bidirectional data transmission channel |
DE102017204184A1 (en) | 2017-03-14 | 2018-09-20 | Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. | Authenticated confirmation and activation message |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1628238A1 (en) * | 2004-08-17 | 2006-02-22 | Fujitsu Limited | RFID reader/writer and a system having multiple reader/writers |
CN101609498A (en) * | 2009-07-24 | 2009-12-23 | 西安电子科技大学 | Multi-label identification method for radio frequency identification network |
CN101655923A (en) * | 2009-09-11 | 2010-02-24 | 西安电子科技大学 | Passive ultrahigh frequency radio frequency identification chip analog front circuit |
CN101655922A (en) * | 2009-09-11 | 2010-02-24 | 西安电子科技大学 | Passive ultrahigh frequency radio frequency identification chip backscatter link frequency generation circuit and method |
CN101662289A (en) * | 2009-09-11 | 2010-03-03 | 西安电子科技大学 | Passive ultrahigh-frequency radio-frequency identification chip decoder and decoding method |
-
2011
- 2011-03-04 CN CN 201110052434 patent/CN102185817B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1628238A1 (en) * | 2004-08-17 | 2006-02-22 | Fujitsu Limited | RFID reader/writer and a system having multiple reader/writers |
CN101609498A (en) * | 2009-07-24 | 2009-12-23 | 西安电子科技大学 | Multi-label identification method for radio frequency identification network |
CN101655923A (en) * | 2009-09-11 | 2010-02-24 | 西安电子科技大学 | Passive ultrahigh frequency radio frequency identification chip analog front circuit |
CN101655922A (en) * | 2009-09-11 | 2010-02-24 | 西安电子科技大学 | Passive ultrahigh frequency radio frequency identification chip backscatter link frequency generation circuit and method |
CN101662289A (en) * | 2009-09-11 | 2010-03-03 | 西安电子科技大学 | Passive ultrahigh-frequency radio-frequency identification chip decoder and decoding method |
Also Published As
Publication number | Publication date |
---|---|
CN102185817A (en) | 2011-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102185817B (en) | Method and device for transmitting information from reader-writer to label | |
US7405660B2 (en) | Error recovery in RFID reader systems | |
CN111343120B (en) | Signal processing method and device | |
CN103500348B (en) | Enhanced RFID communication method | |
WO2022206503A1 (en) | Method and apparatus for data signal transmission in network device | |
WO2020253660A1 (en) | Synchronization method and device | |
CN107911193B (en) | A Sign Detection Method for Environmental Backscattering System Based on Differential Manchester Coding | |
CN102129586B (en) | Information encoding method, method and device for transmitting information from reader-writer to label | |
CN106508105B (en) | For RF identification read write line to label information transferring method | |
CN104331733A (en) | Ultrahigh-frequency RFID label and anti-interference method thereof | |
CN101989329B (en) | Data encoding method applying in radio frequency identification system | |
CN102332083B (en) | Information transmission methods and devices for radio frequency identification reader and tag | |
RU2007111902A (en) | METHODS AND DEVICES INTENDED FOR TRANSFER OF CONFIGURATION INFORMATION TO WIRELESS TERMINALS IN A WIRELESS COMMUNICATION NETWORK | |
CN110831118B (en) | Method for generating Chirp signal of wake-up code with low power consumption and communication method | |
CN105743826A (en) | Miller subcarrier decoding method | |
CN106255204A (en) | A kind of data communication method based on angle positioning system and system | |
CN104598946A (en) | Method used for testing minimum triggering power of RFID (radio frequency identification) tag and based on virtual instrument | |
CN106899386B (en) | Method for demodulating fragmented frame signals based on multi-channel communication receiving system | |
EP3113399B1 (en) | Frame bit detector in near field communications | |
CN115618898A (en) | Method and device for detecting RFID (radio frequency identification) tag | |
US20120188060A1 (en) | Method and system for counting tags in radio frequency identification system | |
CN102055482B (en) | Data transmission method | |
CN115642937A (en) | Baseband signal processing system and method in frequency division multiplexing type RFID reader-writer | |
CN100555303C (en) | A kind of multiple tag data collision avoiding method that is used for radio-frequency (RF) identification | |
WO2022199556A1 (en) | Data sending method and apparatus, and signal processing method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
DD01 | Delivery of document by public notice |
Addressee: Gai Ana Document name: Notification that Application Deemed not to be Proposed |