CN103955657B - A kind of frame slot ultrahigh frequency RFID system anti-collision method based on blind separation - Google Patents

A kind of frame slot ultrahigh frequency RFID system anti-collision method based on blind separation Download PDF

Info

Publication number
CN103955657B
CN103955657B CN201410219110.7A CN201410219110A CN103955657B CN 103955657 B CN103955657 B CN 103955657B CN 201410219110 A CN201410219110 A CN 201410219110A CN 103955657 B CN103955657 B CN 103955657B
Authority
CN
China
Prior art keywords
label
algorithm
time slot
reader
signal
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.)
Expired - Fee Related
Application number
CN201410219110.7A
Other languages
Chinese (zh)
Other versions
CN103955657A (en
Inventor
张小红
穆宇超
钟小勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi University of Science and Technology
Original Assignee
Jiangxi University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiangxi University of Science and Technology filed Critical Jiangxi University of Science and Technology
Priority to CN201410219110.7A priority Critical patent/CN103955657B/en
Publication of CN103955657A publication Critical patent/CN103955657A/en
Application granted granted Critical
Publication of CN103955657B publication Critical patent/CN103955657B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Radar Systems Or Details Thereof (AREA)
  • Near-Field Transmission Systems (AREA)

Abstract

一种基于盲分离的帧时隙超高频RFID系统防碰撞方法。针对频率范围在860‑960MHz内的超高频(UHF)射频信号,提出一种基于独立成分分析(ICA)和帧时隙的RFID系统防碰撞算法。本发明通过分析RFID系统中的ICA算法步骤并建立盲源分离的天线系统模型,利用特定的帧时隙数选取使每一时隙内的标签数不大于阅读器的天线数,满足盲源分离识别标签的条件,进而利用ICA算法实现多标签的同时识别。仿真结果表明,与传统的标签防碰撞算法及基于位隙动态分组的盲分离多标签防碰撞算法相比,本发明在标签识别率方面具有明显的优势,且算法的识别时间较少,进一步验证了将盲源分离技术运用于标签识别的可行性和高效性,在需要高效率和智能化管理的工程领域中具有潜在的应用价值。

A frame-slot UHF RFID system anti-collision method based on blind separation. For ultra high frequency (UHF) radio frequency signals in the frequency range of 860‑960MHz, an anti-collision algorithm for RFID systems based on Independent Component Analysis (ICA) and frame slots is proposed. The present invention analyzes the ICA algorithm steps in the RFID system and establishes an antenna system model for blind source separation, uses a specific frame time slot number selection to make the number of tags in each time slot not greater than the number of antennas of the reader, and satisfies blind source separation identification The condition of the label, and then use the ICA algorithm to realize the simultaneous identification of multiple labels. The simulation results show that, compared with the traditional tag anti-collision algorithm and the blind separation multi-tag anti-collision algorithm based on slot dynamic grouping, the present invention has obvious advantages in tag recognition rate, and the recognition time of the algorithm is less, further verification In order to ensure the feasibility and efficiency of applying blind source separation technology to label recognition, it has potential application value in engineering fields that require high efficiency and intelligent management.

Description

一种基于盲分离的帧时隙超高频RFID系统防碰撞方法A Blind Separation Based Anti-collision Method for Frame-Slot UHF RFID System

技术领域technical field

本发明属于通信领域中的多标签读取技术,涉及标签的防碰撞方法。The invention belongs to the multi-label reading technology in the communication field, and relates to a label anti-collision method.

背景技术Background technique

射频识别(Radio Frequency Identification,RFID)是一种非接触式自动识别技术,与传统的识别方式相比,它可在非接触、非光学可视、非人工干预情况下完成信息输入和处理,具有操作方便、存储量大、保密性好、反应时间短、对环境适应性强等优点,现已广泛应用于门禁、交通、食品安全及物流等领域。在RFID通信系统中,阅读器的作用范围内往往有多个标签共存,若阅读器发送查询命令,会引起多个标签同时响应,造成标签的响应信号不能被阅读器快速识别,导致了RFID系统的识别效率的降低。标签的防碰撞算法可以实现多个标签和阅读器之间的正常通信,而算法的优劣与阅读器的标签吞吐率密切相关。常见的RFID系统防碰撞算法可以分为确定性和非确定性两种。基于概率统计的ALOHA防碰撞算法是非确定性的,标签通过随机选择发送信息的时隙减少碰撞,且只有在标签数量与时隙数相当时,算法才能保持较高的识别率,最大值为36.8%。即使是改进型的可自适应调整帧长的动态帧时隙ALOHA算法的最大识别率也仅为58%;确定性算法中识别率较高的基于分组机制的跳跃式动态二进制防碰撞算法的最大识别率也只是刚超过50%。EPC Gen2规定了基于动态帧时隙随机算法的Q算法用于解决标签碰撞问题,具有一定的自适应性并表现出良好的吞吐率性能。Q算法可以在一个盘存周期的任意时刻通过调整Q值改变时隙数,使未被识别的标签重新选择响应的时隙,进入下一帧的响应中,但Q值可能发生的反复变化会影响算法的识别效率,标签识别率也基本维持在50%左右。因此,为了进一步提高防碰撞算法的标签识别率,必须寻求一种可以在同一时刻识别多个标签的新型算法,本算法由此应运而生。Radio Frequency Identification (RFID) is a non-contact automatic identification technology. Compared with traditional identification methods, it can complete information input and processing without contact, non-optical visibility, and non-manual intervention. With the advantages of convenient operation, large storage capacity, good confidentiality, short response time, and strong adaptability to the environment, it has been widely used in the fields of access control, transportation, food safety, and logistics. In the RFID communication system, there are often multiple tags coexisting within the range of the reader. If the reader sends a query command, it will cause multiple tags to respond at the same time, resulting in the response signal of the tag cannot be quickly recognized by the reader, resulting in RFID system failure. The reduction of recognition efficiency. The anti-collision algorithm of the tag can realize the normal communication between multiple tags and the reader, and the pros and cons of the algorithm are closely related to the tag throughput rate of the reader. Common RFID system anti-collision algorithms can be divided into two types: deterministic and non-deterministic. The ALOHA anti-collision algorithm based on probability statistics is non-deterministic. Tags reduce collisions by randomly selecting time slots for sending information, and only when the number of tags is equal to the number of time slots, the algorithm can maintain a high recognition rate, with a maximum value of 36.8 %. Even the improved dynamic frame time slot ALOHA algorithm that can adaptively adjust the frame length has a maximum recognition rate of only 58%; among the deterministic algorithms, the maximum The recognition rate is just over 50%. EPC Gen2 stipulates that the Q algorithm based on the dynamic frame time slot random algorithm is used to solve the label collision problem, which has certain adaptability and shows good throughput performance. The Q algorithm can change the number of time slots by adjusting the Q value at any time in an inventory cycle, so that the unrecognized tag can reselect the response time slot and enter the response of the next frame, but the possible repeated changes of the Q value will affect The recognition efficiency of the algorithm and the tag recognition rate are basically maintained at about 50%. Therefore, in order to further improve the tag recognition rate of the anti-collision algorithm, it is necessary to seek a new algorithm that can recognize multiple tags at the same time, and this algorithm came into being.

信号的盲源分离(Blind Source Separation,BSS)是指从若干观测到的混合信号中恢复出无法直接观测的原始信号。由于原始信号分别来自不同的信号源,因此可以认为原始信号之间是相互独立的。独立成分分析(Independent Component Analysis,ICA)是20世纪80年代发展的一种统计和计算机技术,是当前盲源分离中最为流行的方法之一。Blind Source Separation (BSS) of signals refers to recovering the original signal that cannot be directly observed from several observed mixed signals. Since the original signals come from different signal sources, it can be considered that the original signals are independent of each other. Independent Component Analysis (ICA), a statistical and computer technique developed in the 1980s, is one of the most popular methods in blind source separation.

发明内容Contents of the invention

本发明针对频率范围在860-960MHz内的超高频(UHF)RFID系统,结合帧时隙ALOHA算法,通过建立阅读器的盲源分离天线系统模型,用简单但有效的FastICA算法(快速ICA算法)对标签混合信号进行盲源分离,提出了一种基于盲分离的帧时隙超高频RFID系统防碰撞算法(Blind Separation and Framed-slot Algorithm,BSFA),达到了同一时刻识别多个标签的目的。本发明相比于现有的标签防碰撞算法具有较高的标签识别率且用时较少,性能优异,在中大型企业的仓库、物流中具有较强的应用价值。The present invention aims at the ultra-high frequency (UHF) RFID system in the frequency range of 860-960MHz, combines the frame time slot ALOHA algorithm, by establishing the blind source separation antenna system model of the reader, uses the simple but effective FastICA algorithm (fast ICA algorithm) ) performs blind source separation on tag mixed signals, and proposes a frame-slot UHF RFID system anti-collision algorithm (Blind Separation and Framed-slot Algorithm, BSFA) based on blind separation, which achieves the ability to identify multiple tags at the same time Purpose. Compared with the existing tag anti-collision algorithm, the present invention has higher tag recognition rate, less time consumption and excellent performance, and has strong application value in warehouses and logistics of medium and large enterprises.

1.RFID系统与盲源分离技术相结合1. Combination of RFID system and blind source separation technology

1.1RFID系统的FastICA算法步骤分析1.1 Analysis of FastICA algorithm steps of RFID system

设阅读器的作用范围内有n个标签,标签向阅读器发送的响应信号(原始信号)为S=[s1,s2,…,sn]T,其中sj=[sj1,sj2,…,sjL],1≤j≤n为第j个标签发送信号的采样值,采样数为L。阅读器有m个天线,天线接收到的混合信号为X=[x1,x2,…,xm]T,其中xi=[xi1,xi2,…,xiL],1≤i≤m是第i个天线的采样值,混合信号与标签信号的关系为:Assuming that there are n tags within the range of the reader, the response signal (original signal) sent by the tag to the reader is S=[s 1 ,s 2 ,…,s n ] T , where s j =[s j1 ,s j2 ,...,s jL ], 1≤j≤n is the sampling value of the signal sent by the jth tag, and the number of samples is L. The reader has m antennas, and the mixed signal received by the antenna is X=[x 1 ,x 2 ,…,x m ] T , where x i =[x i1 ,x i2 ,…,x iL ], 1≤i ≤m is the sampling value of the i-th antenna, and the relationship between the mixed signal and the tag signal is:

其中i=1,2,…,m。aij为混合系数,ni为观测噪声。该式可以用矢量表示为:where i=1,2,...,m. a ij is the mixing coefficient, and n i is the observation noise. This formula can be expressed in vector as:

X=AS+N (2)X=AS+N (2)

忽略噪声时,RFID系统的FastICA算法模型如图1所示。When the noise is ignored, the FastICA algorithm model of the RFID system is shown in Figure 1.

标签信号的盲源分离问题就是利用观测到的混合信号X与原始信号S之间的统计独立性,同时借助于原始信号概率分布的先验知识来恢复出原始信号。为了使盲源分离问题可解,一般需要满足以下两个条件:The problem of blind source separation of label signals is to use the statistical independence between the observed mixed signal X and the original signal S, and at the same time recover the original signal with the help of prior knowledge of the probability distribution of the original signal. In order to make the blind source separation problem solvable, the following two conditions generally need to be met:

(1)混合信号数目m大于等于原始信号数目n,即A为m×n阶列满秩随机矩阵。(1) The number m of mixed signals is greater than or equal to the number n of original signals, that is, A is a full-rank random matrix of order m×n.

(2)原始信号S中不允许有两个以上的信号是高斯信号。(2) More than two signals in the original signal S are not allowed to be Gaussian signals.

RFID信号的概率分布为超高斯分布,其信号的非高斯性选用函数G(u)来估计。The probability distribution of the RFID signal is a super-Gaussian distribution, and the non-Gaussianity of the signal is estimated by the function G(u).

g(u)=G′(u) (4)g(u)=G'(u) (4)

其中α≈1,阅读器天线接收到标签信号后,首先对观测信号X进行预处理,去除其均值并进行白化,使其协方差矩阵为单位矩阵,得到新的信号Z。设解混矩阵为W=[w1,w2,…,wn]T,其中wi=[wi1,wi2,…,wim]T,0≤i≤n为输出估计信号Y=[y1,y2,…,yn]T的解混系数矢量。Where α≈1, after the reader antenna receives the tag signal, it first preprocesses the observed signal X, removes its mean value and performs whitening, so that the covariance matrix is an identity matrix, and a new signal Z is obtained. Let the unmixing matrix be W=[w 1 ,w 2 ,…,w n ] T , where w i =[w i1 ,w i2 ,…,w im ] T , 0≤i≤n is the output estimated signal Y= [y 1 ,y 2 ,…,y n ] Vector of unmixing coefficients for T.

对矢量wi进行正交化,如果wi收敛,通过公式(6)计算估计信号Y。如果wi不收敛,则重复运算公式(5)直至算法收敛。Orthogonalize the vector w i , if w i converges, calculate the estimated signal Y by formula (6). If w i does not converge, repeat the operation formula (5) until the algorithm converges.

Y=WX (6)Y=WX (6)

为了能够顺利对标签信号进行盲源分离,要求标签信号的个数小于或等于阅读器天线的个数。当阅读器工作范围内标签的数目较多时,通过合理的帧时隙数选择可以使每一时隙内响应的标签数目满足这一要求。In order to successfully perform blind source separation on tag signals, it is required that the number of tag signals is less than or equal to the number of reader antennas. When the number of tags in the working range of the reader is large, the number of tags responding in each time slot can meet this requirement by choosing a reasonable number of frame time slots.

1.2盲源分离的天线系统模型1.2 Antenna system model with blind source separation

盲源分离的天线系统由标签群、多天线阅读器及计算机系统组成(如图2所示),阅读器作用范围内的标签向阅读器发送标识信号并被多个天线接收,阅读器内的盲源分离处理单元通过天线混合信号识别这些标签并存储其相关信息,最后将信息送入计算机系统进行有关数据处理。The blind source separation antenna system is composed of a tag group, a multi-antenna reader and a computer system (as shown in Figure 2). The tags within the range of the reader send identification signals to the reader and are received by multiple antennas. The blind source separation processing unit identifies these tags through antenna mixed signals and stores their relevant information, and finally sends the information to the computer system for relevant data processing.

2.本发明方法描述2. Description of the inventive method

2.1标签碰撞与时隙的关系2.1 The relationship between tag collision and time slot

设标签数为n,时隙数为fs,天线数为A,那么一个时隙中含有k个标签的概率为:Assuming that the number of tags is n, the number of slots is fs, and the number of antennas is A, then the probability of k tags in a slot is:

一个时隙中的标签数小于或等于天线数A的概率为:The probability that the number of tags in a slot is less than or equal to the number of antennas A is:

则一个时隙内的标签数多于天线数A的概率为:Then the probability that the number of tags in a time slot is more than the number of antennas A is:

p3(fs,n,k)=1-p2(fs,n,k)(k>A) (9)p 3 (fs,n,k)=1-p 2 (fs,n,k)(k>A) (9)

2.2本发明方法的时隙数选择2.2 The time slot number selection of the inventive method

BSFA算法根据标签数n动态选择时隙数fs,使每一时隙内的标签数k小于或等于阅读器的天线数A,选取的时隙数fs为:The BSFA algorithm dynamically selects the number of time slots fs according to the number of tags n, so that the number of tags k in each time slot is less than or equal to the number of antennas A of the reader, and the number of time slots fs selected is:

其中α≈10,β≈0.8,γ≈0.66,round()表示四舍五入取整。Among them, α≈10, β≈0.8, γ≈0.66, and round() indicates rounding.

如图3、图4可见,当标签数n=50~500,天线数A=8和A=12时,BSFA算法选择的时隙数使一个时隙内的标签数多于天线数的概率p3(fs,n,k)非常接近于0,因此算法时隙数的选取是合理的。表1为p3(fs,n,k)稳定时的概率值随天线数的变化情况,可以看出p3(fs,n,k)随着天线数的增加而减小,进一步证明了算法时隙数的正确选取。As shown in Figure 3 and Figure 4, when the number of tags n=50~500, the number of antennas A=8 and A=12, the number of time slots selected by the BSFA algorithm makes the probability p that the number of tags in a time slot is more than the number of antennas 3 (fs,n,k) is very close to 0, so the selection of the number of time slots in the algorithm is reasonable. Table 1 shows how the probability value of p 3 (fs,n,k) changes with the number of antennas when it is stable. It can be seen that p 3 (fs,n,k) decreases with the increase of the number of antennas, which further proves that the algorithm The correct selection of the number of time slots.

表1p3(fs,n,k)随天线数的变化情况Table 1p 3 (fs,n,k) changes with the number of antennas

2.3本发明方法的流程2.3 Flow process of the inventive method

(S1)、阅读器向标签发送Query命令(S1), the reader sends a Query command to the tag

首先,阅读器发送命令Query给进入识别范围内的标签,开始盘存周期(两个连续Query命令之间的时间间隔),标签进入就绪状态。First, the reader sends the command Query to the tag entering the identification range, starts the inventory cycle (the time interval between two consecutive Query commands), and the tag enters the ready state.

(S2)、标签响应阅读器的Query命令(S2), the tag responds to the Query command of the reader

(1)标签识别过程中每个标签均执行16位时隙计数器,所有未识别的标签(标签数为n)收到Query命令后,从0~round(n(A+α)/(βA2+γA))个时隙中随机选择一个时隙存入各自的时隙计数器中,标签进入响应状态,时隙计数器为0的标签响应。(1) During the tag identification process, each tag executes a 16-bit time slot counter. After receiving the Query command, all unidentified tags (the number of tags is n) start from 0 to round(n(A+α)/(βA 2 Randomly select a time slot from +γA)) time slots and store it in their respective time slot counters, the tag enters the response state, and the tag with a time slot counter of 0 responds.

(2)响应标签通过随机或伪随机数据发生器(RNG)产生一个16位的随机序列RN16(对标签总数为10000的标签群,有两个或更多的标签产生相同的RN16序列的概率要小于0.1%,故将RN16序列作为标签之间相互统计独立的原始信号是可行的),并将各自的RN16序列发送给阅读器,根据响应标签的数目分为以下两种情况:(2) The response tag generates a 16-bit random sequence RN16 through a random or pseudo-random data generator (RNG) (for a tag group with a total of 10,000 tags, the probability that two or more tags generate the same RN16 sequence should be less than 0.1%, so it is feasible to use the RN16 sequence as the original signal that is statistically independent between the tags), and send the respective RN16 sequence to the reader, according to the number of response tags, it can be divided into the following two situations:

①响应标签的数目为0时,表明时隙空闲,转至(S5)。① When the number of response tags is 0, it indicates that the time slot is free, and go to (S5).

②响应标签的数目等于或多于1个,转至(S3)执行FastICA算法。② If the number of response tags is equal to or more than 1, go to (S3) to execute the FastICA algorithm.

(S3)、阅读器利用FastICA算法实现信号分离(S3), the reader uses the FastICA algorithm to realize signal separation

(1)阅读器天线接收到的信号为标签原始信号的混合信号,通过对原始信号的数目的估计可以更精确的对混合信号进行盲源分离:(1) The signal received by the reader antenna is a mixed signal of the original signal of the tag, and the blind source separation of the mixed signal can be performed more accurately by estimating the number of original signals:

①RFID系统在有噪声时可以通过观测混合信号X的相关矩阵的主特征值数来确定标签发送的原始信号数目;① When there is noise, the RFID system can determine the number of original signals sent by the tag by observing the number of main eigenvalues of the correlation matrix of the mixed signal X;

②无噪声时可以通过观测混合信号X的秩来确定。② When there is no noise, it can be determined by observing the rank of the mixed signal X.

(2)利用FastICA算法将混合信号X解混,通过选择合理的解混系数矩阵W(随机矩阵),使观测到的估计信号Y清晰可辨,通过估计信号Y=WX阅读器与响应标签建立联系,标签进入确认状态,转至(S4)。(2) Use the FastICA algorithm to unmix the mixed signal X. By selecting a reasonable unmixing coefficient matrix W (random matrix), the observed estimated signal Y is clearly identifiable, and the estimated signal Y=WX is established by the reader and the response tag. Contact, tag enters confirmation state, go to (S4).

(S4)、阅读器发送ACK指令给响应标签(S4), the reader sends an ACK command to the response tag

进入确认状态的响应标签在接收到ACK指令后,发送自己的PC、EPC和CRC-16信息,阅读器利用(S3)的解混系数矩阵W继续分离并存储这些标签的标识信息,此时标签被成功识别,最后将成功识别的标签除去,转至(S5)。After receiving the ACK instruction, the responding tag that enters the confirmation state sends its own PC, EPC and CRC-16 information. The reader uses the unmixing coefficient matrix W of (S3) to continue to separate and store the identification information of these tags. At this time, the tag is successfully identified, and finally the successfully identified tag is removed, and the process goes to (S5).

(S5)、阅读器向标签发送QueryRep命令(S5), the reader sends a QueryRep command to the tag

阅读器发送QueryRep命令,进入就绪状态且未被识别标签的时隙计数器值减1,跳转至(S2)继续进行标签识别,直至所有标签识别完成为止。The reader sends a QueryRep command, enters the ready state and decrements the slot counter value of unrecognized tags by 1, and jumps to (S2) to continue tag identification until all tag identification is completed.

由于BSFA算法所选取的时隙数可以使一个时隙中的标签数小于或者等于天线数的概率接近0%,且标签能够被FastICA算法正确分离,故算法性能对仿真结果的影响很弱,不会影响到BSFA算法中标签的正确分离。Since the number of time slots selected by the BSFA algorithm can make the probability that the number of tags in a time slot is less than or equal to the number of antennas close to 0%, and the tags can be correctly separated by the FastICA algorithm, the impact of the algorithm performance on the simulation results is very weak. It will affect the correct separation of labels in the BSFA algorithm.

3.本发明方法的识别率3. the recognition rate of the inventive method

通过算法描述知道一个时隙中的标签数目为0的概率p4(fs,n,k)为:The probability p 4 (fs,n,k) of knowing that the number of labels in a time slot is 0 through the algorithm description is:

那么一个时隙中标签数不为0的概率为p5(fs,n,k):Then the probability that the number of labels in a slot is not 0 is p 5 (fs,n,k):

分离这些标签所需要的总的查询次数N为:The total number of queries N required to separate these tags is:

其中“+1”为只进行了1次时隙数的选择。则n个标签的标签识别率为:Wherein, "+1" means that the selection of the number of time slots has been performed only once. Then the label recognition rate of n labels is:

假设标签数n=50~500,天线数A=8,BSFA算法选取的时隙数、标签识别率随标签数的变化情况如图5、图6所示,图7为BSFA算法与基于位隙动态分组的盲分离多标签防碰撞算法(Blind Separation and Dynamic Bit-slot Grouping,BSDBG)在天线数A=2~32时的标签识别率比较,图8、图9为标签数n=50~256,BSFA算法与BSDBG算法在天线数A=2~32时的总查询数比较,图10为Q算法执行过程中时隙数的变化情况。Assuming that the number of tags is n=50-500 and the number of antennas A=8, the number of time slots selected by the BSFA algorithm and the change of the tag recognition rate with the number of tags are shown in Figure 5 and Figure 6, and Figure 7 shows the BSFA algorithm and slot-based Comparison of the tag recognition rate of Blind Separation and Dynamic Bit-slot Grouping (BSDBG) when the number of antennas A = 2 to 32. Figure 8 and Figure 9 show the number of tags n = 50 to 256 , BSFA algorithm and BSDBG algorithm compare the total number of queries when the number of antennas A = 2 to 32, and Figure 10 shows the change of the number of time slots during the execution of the Q algorithm.

从图5可以看出,虽然BSFA算法的时隙数随着标签数的增加而增加,但相比于传统的防碰撞算法具有明显的优势。由图6和图7可知,随着天线数的增加,BSFA算法相比于BSDBG算法,标签识别率的优势越明显。由图8、图9可知,随着天线数的增加,本发明所提出的BSFA算法所需的总查询次数小于BSDBG算法,由于算法的识别时间与总查询次数成正比关系,故BSFA算法的识别时间也小于BSDBG算法,在多天线系统中具有较快的识别速率。图10表明,Q算法选取的时隙数不仅会出现反复的增减,而且还会经常出现大于BSFA算法时隙数的情况,造成时隙资源的浪费,使系统的性能大大降低。It can be seen from Figure 5 that although the number of time slots of the BSFA algorithm increases with the number of tags, it has obvious advantages over the traditional anti-collision algorithm. It can be seen from Figure 6 and Figure 7 that as the number of antennas increases, the advantage of the BSFA algorithm in the tag recognition rate is more obvious than that of the BSDBG algorithm. It can be seen from Fig. 8 and Fig. 9 that as the number of antennas increases, the total number of queries required by the BSFA algorithm proposed by the present invention is less than that of the BSDBG algorithm. Since the identification time of the algorithm is proportional to the total number of queries, the identification of the BSFA algorithm The time is also shorter than the BSDBG algorithm, and it has a faster recognition rate in a multi-antenna system. Figure 10 shows that the number of time slots selected by the Q algorithm not only increases and decreases repeatedly, but also often exceeds the number of time slots in the BSFA algorithm, resulting in waste of time slot resources and greatly reducing system performance.

本发明通过合理的时隙数选择,使每一时隙内发生碰撞的标签数小于或等于阅读器的天线数,满足使用FastICA算法的条件。仿真结果表明,该方法能有效增加标签的识别率及算法的稳定性。The present invention makes the number of collided tags in each time slot less than or equal to the number of antennas of the reader through reasonable time slot number selection, and satisfies the condition of using the FastICA algorithm. Simulation results show that this method can effectively increase the recognition rate of tags and the stability of the algorithm.

附图说明Description of drawings

图1为RFID系统的FastICA算法模型。Fig. 1 is the FastICA algorithm model of the RFID system.

图2为盲源分离的天线系统模型。Fig. 2 is the antenna system model of blind source separation.

图3为本发明天线数A为8时,一个时隙中标签数多于天线数的概率。Fig. 3 shows the probability that the number of tags in one time slot is more than the number of antennas when the number A of antennas in the present invention is 8.

图4为本发明天线数A为12时,一个时隙中标签数多于天线数的概率。Fig. 4 shows the probability that the number of tags in one time slot is more than the number of antennas when the number A of antennas in the present invention is 12.

图5为本发明算法(BSFA)时隙数随标签数的变化情况。Fig. 5 shows the variation of the number of time slots with the number of labels in the algorithm (BSFA) of the present invention.

图6为本发明算法(BSFA)标签识别率随标签数的变化情况。Fig. 6 shows the variation of the label recognition rate of the algorithm (BSFA) of the present invention with the number of labels.

图7为本发明算法(BSFA)与基于位隙动态分组的盲分离多标签防碰撞算法(BlindSeparation and Dynamic Bit-slot Grouping,BSDBG)在天线数A=2~32时的标签识别率比较。Figure 7 is a comparison of the tag recognition rate between the algorithm of the present invention (BSFA) and the BlindSeparation and Dynamic Bit-slot Grouping (BSDBG) algorithm when the number of antennas A=2-32.

图8为本发明(BSFA)算法总查询次数。Fig. 8 is the total query times of the (BSFA) algorithm of the present invention.

图9为BSDBG算法总查询次数。Figure 9 shows the total query times of the BSDBG algorithm.

图10为Q算法执行过程中时隙数的变化。Figure 10 shows the changes in the number of time slots during the execution of the Q algorithm.

具体实施方式detailed description

本发明将通过以下实施例作进一步说明。The invention will be further illustrated by the following examples.

(1)阅读器向标签发送Query命令(1) The reader sends a Query command to the tag

BSFA算法的RFID标签防碰撞系统由一个阅读器和多个标签组成,首先,阅读器发送命令Query给进入识别范围内的标签,开始盘存周期,标签进入就绪状态。The RFID tag anti-collision system of the BSFA algorithm consists of a reader and multiple tags. First, the reader sends the command Query to the tags entering the identification range, starts the inventory cycle, and the tags enter the ready state.

(2)标签响应阅读器的Query命令(2) The tag responds to the Query command of the reader

标签识别过程中每个标签均执行16位时隙计数器,所有进入就绪状态的标签收到Query命令后,从0~round(n(A+α)/(βA2+γA))个时隙中随机选择一个时隙存入各自的时隙计数器中,标签进入响应状态,时隙计数器为0的标签响应。接着,响应标签通过随机或伪随机数据发生器(RNG)产生一个16位的随机序列RN16,并将各自的RN16序列发送给阅读器,根据响应标签的数目可以分为以下两种情况:During the tag identification process, each tag executes a 16-bit time slot counter. After receiving the Query command, all tags that enter the ready state start from 0 to round(n(A+α)/(βA 2 +γA)) time slots A time slot is randomly selected and stored in the respective time slot counter, the tag enters the response state, and the tag with the time slot counter of 0 responds. Then, the response tag generates a 16-bit random sequence RN16 through a random or pseudo-random data generator (RNG), and sends the respective RN16 sequence to the reader. According to the number of response tags, it can be divided into the following two situations:

①响应标签的数目为0时,表明时隙空闲,转至(5)。① When the number of response tags is 0, it indicates that the time slot is free, and go to (5).

②响应标签的数目等于或多于1个,转至(3)执行FastICA算法。② If the number of response tags is equal to or more than 1, go to (3) to execute the FastICA algorithm.

(3)阅读器利用FastICA算法实现信号分离(3) The reader uses the FastICA algorithm to realize signal separation

阅读器天线接收到的信号为标签原始信号的混合信号,为了能够精确的对混合信号进行盲源分离,首先需要估计原始信号的数目,RFID系统在有噪声时可以通过观测混合信号X的相关矩阵的主特征值数来确定标签发送的原始信号数目,进而利用FastICA算法将混合信号X解混,通过选择合理的解混系数矩阵W,使观测到的估计信号Y清晰可变,通过估计信号Y=WX阅读器与响应标签建立联系,标签进入确认状态,转至(4)。The signal received by the reader antenna is a mixed signal of the original signal of the tag. In order to accurately perform blind source separation on the mixed signal, it is first necessary to estimate the number of original signals. The RFID system can observe the correlation matrix of the mixed signal X when there is noise The number of main eigenvalues to determine the number of original signals sent by the tag, and then use the FastICA algorithm to unmix the mixed signal X. By selecting a reasonable unmixing coefficient matrix W, the observed estimated signal Y is clear and variable. By estimating the signal Y =The WX reader establishes contact with the responding tag, the tag enters the confirmation state, and goes to (4).

(4)阅读器发送ACK指令给响应标签(4) The reader sends an ACK command to the response tag

进入确认状态的响应标签在接收到ACK指令后,发送自己的PC、EPC和CRC-16信息,阅读器利用(3)的解混系数矩阵W继续分离并存储这些标签的标识信息,此时标签被成功识别,最后将成功识别的标签除去,转至(5)。After receiving the ACK command, the responding tag that enters the confirmation state sends its own PC, EPC and CRC-16 information. The reader uses the unmixing coefficient matrix W of (3) to continue to separate and store the identification information of these tags. At this time, the tag is successfully identified, and finally remove the successfully identified tag, and go to (5).

(5)阅读器向标签发送QueryRep命令(5) The reader sends a QueryRep command to the tag

阅读器发送QueryRep命令,进入就绪状态且未被识别标签的时隙计数器值减1,跳转至(2)继续进行标签识别,直至所有标签识别完成为止。The reader sends the QueryRep command, enters the ready state and decrements the slot counter value of unrecognized tags by 1, and jumps to (2) to continue tag identification until all tag identification is completed.

Claims (1)

1. a kind of frame slot ultrahigh frequency RFID system anti-collision method based on blind separation, it is characterized in that passing through following steps reality It is existing:
(S1), reader sends Query orders to the label entered in identification range, starts the cycle of taking inventory, and label enters ready State;
(S2), label responds the Query orders of reader, and randomly chooses time slot and be stored in respective time slot counter;Specifically According to the following steps:
(1) each label is performed both by 16 digit time slot counters during tag recognition, and all unidentified labels receive Query lives After order, from 0~round (n (A+ α)/(β A2+ γ A)) time slot is randomly choosed in individual time slot it is stored in respective time slot counter In, label enters responsive state, and time slot counter is 0 label response;Wherein A is antenna number, and n is number of tags, α ≈ 10, β ≈ 0.8, γ ≈ 0.66, round () are round function;
(2) responsive tags produce the random sequence RN16 of 16 by randomly or pseudo-randomly number generator, and will be respective RN16 sequences be sent to reader, the number according to responsive tags is divided into following two situations:
1. when the number of responsive tags is 0, show that time slot is idle, go to (S5);
2. the number of responsive tags is equal to or more than 1, goes to (S3) and performs FastICA algorithms;
(S3), reader utilizes FastICA algorithm separation tags mixed signals, while set up estimating signal and label primary signal Between corresponding relation, label enters acknowledgement state;Specifically according to the following steps:
(1) signal that reader antenna is received is label mixed signal, in order to accurately carry out blind source to mixed signal Separate, it is necessary first to estimate the number of primary signal, be divided into following two situations:
When 1. having noise can by observe mixed signal X correlation matrix dominant eigenvalue number come determine label send it is original Signal number;
2. can be by the number of observing the order of mixed signal X to determine primary signal during noiseless;
(2) it is using FastICA algorithms that mixed signal X solutions is mixed, by the selection mixed coefficient matrix W of rational solution, make what is observed Estimate that signal Y is clear and legible, contacted by estimating that signal Y=WX readers are set up with responsive tags, label enters acknowledgement state;
(S4), reader send ACK instruct to the label under acknowledgement state, label receive ACK instruction after, send oneself PC, EPC and CRC-16 information, reader utilizes the mixed coefficient matrix of solution in (S3) to continue to separate and store the mark letter of these labels Breath, now label is successfully identified, and goes to (S5);
(S5), reader sends QueryRep orders to label, into ready state and the time slot counter of unrecognized label Value subtracts 1, jumps to (S2) and proceeds tag recognition, untill all tag recognitions are completed.
CN201410219110.7A 2014-05-22 2014-05-22 A kind of frame slot ultrahigh frequency RFID system anti-collision method based on blind separation Expired - Fee Related CN103955657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410219110.7A CN103955657B (en) 2014-05-22 2014-05-22 A kind of frame slot ultrahigh frequency RFID system anti-collision method based on blind separation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410219110.7A CN103955657B (en) 2014-05-22 2014-05-22 A kind of frame slot ultrahigh frequency RFID system anti-collision method based on blind separation

Publications (2)

Publication Number Publication Date
CN103955657A CN103955657A (en) 2014-07-30
CN103955657B true CN103955657B (en) 2017-06-06

Family

ID=51332932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410219110.7A Expired - Fee Related CN103955657B (en) 2014-05-22 2014-05-22 A kind of frame slot ultrahigh frequency RFID system anti-collision method based on blind separation

Country Status (1)

Country Link
CN (1) CN103955657B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573593B (en) * 2015-01-20 2017-05-31 江西理工大学 A kind of deficient based on frame slot determines blind separation RFID anti-collision method
CN104866790B (en) * 2015-06-02 2017-07-18 江西理工大学 A kind of RFID system collision-proof method for owing to determine the tree-like packet of self adaptation of blind separation
CN105049134B (en) * 2015-09-02 2017-03-22 电子科技大学 Method for detecting received signal frequency collision in single channel blind separation of frequency-hopping communication
CN106778425B (en) * 2017-01-10 2018-11-23 合肥工业大学 A kind of label anti-collision algorithm based on RFID
CN108052849A (en) * 2017-12-25 2018-05-18 江西理工大学 A kind of frame slot RFID system collision-proof method of force zero precoding
CN109325558B (en) * 2018-09-17 2021-02-12 北京科技大学 Method and system for allocating metal building material templates for warehouse entry and exit
CN109409150B (en) * 2018-09-17 2020-09-25 北京科技大学 Label reading method, device, storage medium and processor
US11048890B2 (en) * 2019-01-11 2021-06-29 Nec Corporation Walk-through checkout station
CN119564158A (en) * 2019-04-18 2025-03-07 雅培糖尿病护理公司 Systems, devices, and methods for processing wireless communications in an analyte monitoring environment
CN119647499B (en) * 2025-02-19 2025-05-02 浙江宇联信息发展有限公司 Agricultural product full-chain tracing method and system based on tracing label

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020017846A (en) * 2000-08-31 2002-03-07 박종섭 Radio frequency identification tag system for preventing collision and collision preventing method thereof
CN202134035U (en) * 2011-07-22 2012-02-01 扬州稻源微电子有限公司 Radio frequency identification (RFID) tag and RFID system including the same
CN102609672A (en) * 2012-02-22 2012-07-25 南京邮电大学 Anti-collision method of radio frequency identification (RFID) system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020017846A (en) * 2000-08-31 2002-03-07 박종섭 Radio frequency identification tag system for preventing collision and collision preventing method thereof
CN202134035U (en) * 2011-07-22 2012-02-01 扬州稻源微电子有限公司 Radio frequency identification (RFID) tag and RFID system including the same
CN102609672A (en) * 2012-02-22 2012-07-25 南京邮电大学 Anti-collision method of radio frequency identification (RFID) system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于盲分离的帧时隙超高频RFID系统防碰撞方法;栗华 等;《通信学报》;20120430;第33卷(第4期);第48页、第49页、第50页 *

Also Published As

Publication number Publication date
CN103955657A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN103955657B (en) A kind of frame slot ultrahigh frequency RFID system anti-collision method based on blind separation
CN105224970B (en) A kind of RFID anti-collision method
CN106778425A (en) A kind of label anti-collision algorithm based on RFID
CN104881693B (en) A Dynamic Frame Slot ALOHA Anti-collision Algorithm Based on Subframe Observation
CN104573593B (en) A kind of deficient based on frame slot determines blind separation RFID anti-collision method
CN103679099A (en) Anti-collision method applied to mass-RFID-label system
CN109409150B (en) Label reading method, device, storage medium and processor
Park et al. Identification of RFID tags in framed-slotted ALOHA with tag estimation and binary splitting
CN105160373B (en) A kind of dynamic frame Slot-aloha algorithm independently recognized based on collision time slot
CN110135208A (en) An anti-collision method for RFID tags based on packet frequency and tag estimation
CN105205511B (en) A kind of binary system splitting method eliminated based on free timeslot
CN102682253A (en) Multi-label anti-collision method
CN102682310B (en) Method for identifying multiple tags
Cui et al. A modified Q-parameter anti-collision scheme for RFID systems
CN105095806B (en) RFID tag quantity survey method in Emergency Logistics management system
Fu et al. Collision recovery receiver for EPC Gen2 RFID systems
Chen et al. Study on Anti-collision Q Algorithm for UHF RFID
Dhere Review of PCA, LDA and LBP algorithms used for 3D Face Recognition
Moshref Improved anti-collision algorithm for tag identification in future internet of things
Wang et al. A stack-like optimal Q-algorithm for the ISO 18000-6C in RFID system
Lv et al. An improved RFID anti-collision algorithm based on the standard EPCglobal class-1 generation-2
Cheng et al. Research on RFID collision detection algorithm based on the underdetermined blind separation
Han et al. Rfid anti-collision protocol for monitoring system of tags in motion
Cui et al. A modified Q parameter scheme based on BIBD in RFID
CN107169389A (en) The RFID anti-collision method that classification is accordingly limited

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170606