[go: up one dir, main page]

CN112183136B - Method for directionally reading and tracking commercial label in real time, storage medium and equipment - Google Patents

Method for directionally reading and tracking commercial label in real time, storage medium and equipment Download PDF

Info

Publication number
CN112183136B
CN112183136B CN202010969779.3A CN202010969779A CN112183136B CN 112183136 B CN112183136 B CN 112183136B CN 202010969779 A CN202010969779 A CN 202010969779A CN 112183136 B CN112183136 B CN 112183136B
Authority
CN
China
Prior art keywords
tag
target
transmitter
label
slave
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
Application number
CN202010969779.3A
Other languages
Chinese (zh)
Other versions
CN112183136A (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.)
Xian Jiaotong University
Original Assignee
Xian Jiaotong University
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 Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN202010969779.3A priority Critical patent/CN112183136B/en
Publication of CN112183136A publication Critical patent/CN112183136A/en
Application granted granted Critical
Publication of CN112183136B publication Critical patent/CN112183136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10198Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves setting parameters for the interrogator, e.g. programming parameters and operating modes

Landscapes

  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

本发明公开了一种商用标签定向读取和实时追踪方法、存储介质及设备,采用一主一从的分布式天线阵列,分布式天线阵列的主发射器和从发射器交替发送同步信号,并测量发射天线与接收天线之间的相位偏移,对每个从发射器补偿一个初始相位使之与主发射器同步;进行快速搜索,查询与目标标签距离最近的参考标签,获取参考标签的响应信息;得到不同传输设置时的能量分布和有关为目标标签供能的设置信息,结合模拟退火算法和粒子滤波器动态选择传输参数激励目标区域的标签以及实时追踪目标标签的移动,完成对目标位置的商用标签进行定向读取和实时追踪。本发明大大降低了对目标标签定向读取和追踪的成本,具有广泛的应用前景。

Figure 202010969779

The invention discloses a commercial tag directional reading and real-time tracking method, storage medium and equipment. A master-slave distributed antenna array is adopted. The master transmitter and the slave transmitter of the distributed antenna array alternately send synchronization signals, and Measure the phase offset between the transmitting antenna and the receiving antenna, compensate an initial phase for each slave transmitter to synchronize with the master transmitter; perform a quick search, query the reference tag closest to the target tag, and obtain the response of the reference tag information; obtain the energy distribution under different transmission settings and the setting information about the energy supply for the target tag, combine the simulated annealing algorithm and particle filter to dynamically select the transmission parameters to stimulate the tag in the target area and track the movement of the target tag in real time to complete the target position. of commercial tags for directional reading and real-time tracking. The invention greatly reduces the cost of directional reading and tracking of target tags, and has wide application prospects.

Figure 202010969779

Description

一种商用标签定向读取和实时追踪方法、存储介质及设备A method, storage medium and device for directional reading and real-time tracking of commercial tags

技术领域technical field

本发明属于物联网传感技术领域,具体涉及一种商用标签定向读取和实时追踪方法、存储介质及设备。The invention belongs to the field of Internet of Things sensing technology, and in particular relates to a commercial tag directional reading and real-time tracking method, storage medium and device.

背景技术Background technique

射频识别(RFID)技术是一种无线通信技术,它通过无线电信号来识别特定的目标,并且读取写入相关数据,从而达到识别目标和数据交换的目的。RFID系统具有使用寿命长、安全性好等特点,已被广泛应用于物流、仓储等领域。Radio frequency identification (RFID) technology is a wireless communication technology that identifies specific targets through radio signals, and reads and writes related data, so as to achieve the purpose of identifying targets and exchanging data. RFID system has the characteristics of long service life and good safety, and has been widely used in logistics, warehousing and other fields.

在当前的无源RFID系统中,定向提高标签的读取率是一个具有挑战性的问题。现有的选择性读取方法适用性较差,主要是由于:In current passive RFID systems, improving the read rate of tags in a targeted manner is a challenging problem. Existing selective reading methods are less applicable, mainly due to:

(1)典型的选择性读取方法是将某些特定的位字符串设置为掩码,并允许ID编号中具有相同位字符串的标签作出响应。该方法需要假定所有目标标签的ID信息都是已知的,这在许多实际应用中是不可能的,而且无法在特定目标区域内选择标签。(1) A typical selective read approach is to mask some specific bit strings and allow tags with the same bit string in the ID number to respond. This method needs to assume that the ID information of all target tags is known, which is impossible in many practical applications, and it is impossible to select tags within a specific target area.

(2)可以查询未知标签的方法需要修改标签的硬件和通信协议,难以在商用RFID标签上实现。(2) The method that can query the unknown tag needs to modify the hardware and communication protocol of the tag, which is difficult to implement on commercial RFID tags.

(3)使用RFID定位算法在目标区域内查找标签是不可行的,因为在复杂的环境中运行RFID定位算法会引入较大的误差,并且具有较高的延迟,无助于实现较高的读取率。(3) It is not feasible to use the RFID positioning algorithm to find tags in the target area, because running the RFID positioning algorithm in a complex environment will introduce large errors and have a high delay, which does not help to achieve high reading take rate.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题在于针对上述现有技术中的不足,提供一种商用标签定向读取和实时追踪方法、存储介质及设备,显著提高对目标位置周围标签的读取率,并实时追踪这些标签的移动,适用于仓储、物流等情况。The technical problem to be solved by the present invention is to provide a method, storage medium and equipment for directional reading and real-time tracking of commercial tags, which can significantly improve the reading rate of tags around the target position and track the tags in real time. The movement of these labels is suitable for warehousing, logistics and other situations.

本发明采用以下技术方案:The present invention adopts following technical scheme:

一种商用标签定向读取和实时追踪方法,包括以下步骤:A method for directional reading and real-time tracking of commercial tags, comprising the following steps:

S1、采用一主一从的分布式天线阵列,分布式天线阵列的主发射器和从发射器交替发送同步信号,并测量发射天线与接收天线之间的相位偏移,对每个从发射器补偿一个初始相位使之与主发射器同步;S1. A master-slave distributed antenna array is used. The master transmitter and the slave transmitter of the distributed antenna array transmit synchronization signals alternately, and measure the phase offset between the transmitting antenna and the receiving antenna. For each slave transmitter Compensate an initial phase to synchronize with the main transmitter;

S2、进行快速搜索,查询与目标标签距离最近的参考标签,获取参考标签的响应信息E0S2, perform a quick search, query the reference tag with the closest distance to the target tag, and obtain the response information E 0 of the reference tag;

S3、利用步骤S2参考标签的响应信息E0,得到不同传输设置时的能量分布和有关为目标标签供能的设置信息,结合模拟退火算法和粒子滤波器动态选择传输参数激励目标区域的标签以及实时追踪目标标签的移动,完成对目标位置的商用标签进行定向读取和实时追踪。S3, using the response information E 0 of the reference label in step S2 to obtain the energy distribution under different transmission settings and the setting information about supplying energy for the target label, and dynamically selecting the transmission parameters to stimulate the label in the target area in combination with the simulated annealing algorithm and the particle filter. Track the movement of the target tag in real time, and complete the directional reading and real-time tracking of the commercial tag at the target position.

具体的,步骤S1中,在发送波束成形信号前,先补偿频率和相位同步天线;采用先验同分布方案,让主发射器和从发射器交替发送同步信号,根据两者的差Δθ(t)获得发射天线与接收天线之间的相位偏移

Figure BDA0002683682260000021
和频率偏移
Figure BDA0002683682260000022
后,对每个从发射器补偿一个初始相位使之与主发射器同步。Specifically, in step S1, before the beamforming signal is sent, the frequency and phase synchronization antennas are compensated first; a priori identical distribution scheme is used to let the master transmitter and the slave transmitter alternately send synchronization signals, according to the difference Δθ(t ) to obtain the phase offset between the transmit and receive antennas
Figure BDA0002683682260000021
and frequency offset
Figure BDA0002683682260000022
Afterwards, each slave transmitter is compensated for an initial phase to synchronize with the master transmitter.

进一步的,主从天线上的接收信号为PM(t),当从发射器单独发送同步信号时,接收到的信号为Ps(t),Δθ(t)为:Further, the received signal on the master and slave antennas is P M (t), when the slave transmitter alone sends a synchronization signal, the received signal is P s (t), and Δθ(t) is:

Figure BDA0002683682260000023
Figure BDA0002683682260000023

其中,

Figure BDA0002683682260000024
为从主机发射器端到主机接收器端捕获的相位,
Figure BDA0002683682260000025
为从主机发射器端到从机接收器端捕获的相位,
Figure BDA0002683682260000031
为从从机发射器端到主机接收器端捕获的相位,
Figure BDA0002683682260000032
为从从机发射器端到从机接收器端捕获的相位,t为时间。in,
Figure BDA0002683682260000024
is the phase captured from the host transmitter side to the host receiver side,
Figure BDA0002683682260000025
is the phase captured from the master transmitter side to the slave receiver side,
Figure BDA0002683682260000031
is the phase captured from the slave transmitter side to the master receiver side,
Figure BDA0002683682260000032
is the phase captured from the slave transmitter side to the slave receiver side, and t is the time.

具体的,步骤S2中,采用商用EPC C1G2协议中设计的选择性读取机制,发送SELECT命令选择参考标签,通过在Query命令中设置参数实现对参考标签的读取,然后阅读器选择多个传输参数,获得不同该参数设置下参考标签的响应信息,保持主发射器信号不变,以δ为步长在[0,2π)内更改每个从发射器信号的初始相位,使用评估函数f评估标签回复的能量,记录所有传输设置下评估函数的值,组成参考标签的响应信息E0,将E0作为步骤S3中模拟退火算法的初始设置。Specifically, in step S2, the selective reading mechanism designed in the commercial EPC C1G2 protocol is adopted, the SELECT command is sent to select the reference tag, the reference tag is read by setting parameters in the Query command, and then the reader selects multiple transmissions. parameter, obtain the response information of the reference tag under different settings of this parameter, keep the master transmitter signal unchanged, change the initial phase of each slave transmitter signal within [0, 2π) with δ as the step size, use the evaluation function f to evaluate The energy of the tag reply, record the value of the evaluation function under all transmission settings, compose the response information E 0 of the reference tag, and take E 0 as the initial setting of the simulated annealing algorithm in step S3.

进一步的,参考标签的响应信息E0具体为:Further, the response information E 0 of the reference tag is specifically:

E0=[f(1),f(2),...,f(2π/δ)]E 0 =[f(1), f(2), ..., f(2π/δ)]

具体的,步骤S3中,采用模拟退火算法用于接近给定评估函数En的全局最优值,根据评估函数En获得用于目标标签跟踪的适当传输参数的列表,将En从高到低排序,获得一个传输参数列表Θn,通过逐个改变发送参数遍历列表Θn,在相同的清点循环中,使用相同的传输参数θn(k),在开始下一个清点循环之前,系统将Enn(k))和Enn(k+1))的值进行比较;根据概率函数P确实是否切换到下一个传输参数;在开始新的清点循环之前,根据参考标签的最新响应刷新Enn(k))的值,如果En中的元素没有更新,则衰减系数α使En中的元素随时间k减少;如果在当前的传输参数设置下,评估函数En的值等于0,继续发送具有最大En的传输参数设置的信号,直到检测到移动为止。Specifically, in step S3, a simulated annealing algorithm is used to approach the global optimal value of a given evaluation function En, and a list of appropriate transmission parameters for target tag tracking is obtained according to the evaluation function En, and the list of E n from high to Low ordering, get a list of transport parameters Θ n , traverse the list Θ n by changing the sending parameters one by one, in the same inventory loop, use the same transport parameters θ n (k), before starting the next inventory loop, the system will E Compare the values of nn (k)) and E nn (k+1)); according to the probability function P does indeed switch to the next transfer parameter; before starting a new inventory cycle, according to the reference tag's The latest response refreshes the value of En (Θ n ( k)), if the elements in En are not updated, the decay coefficient α causes the elements in En to decrease over time k; if the current transmission parameter settings, the evaluation function The value of En is equal to 0, and the transmission of the signal with the transmission parameter setting of maximum En continues until movement is detected.

进一步的,评估函数En为:Further, the evaluation function En is:

Figure BDA0002683682260000041
Figure BDA0002683682260000041

其中,n是迭代次数,μ是权重系数,Nt和Nu分别是目标标签和非目标标签的数目,β为常数,α为随时间k的衰减系数,k为时间,

Figure BDA0002683682260000042
为发射参数,Tr为参考标签。where n is the number of iterations, μ is the weight coefficient, N t and N u are the number of target labels and non-target labels, respectively, β is a constant, α is the decay coefficient over time k, k is time,
Figure BDA0002683682260000042
is the transmission parameter, and T r is the reference label.

进一步的,引入粒子滤波器,若将评估函数En视为传输设置的概率密度,则需要估计运动或环境变化下的概率密度,定义转换函数w更新函数En,En中的所有值更新为En+1,从排序和遍历开始,直到检测到移动性事件为止,其中,评估函数En依赖于目标标签数量的估计,在静态情景中,采用基于EPC的分类方法,如果接收到的EPC属于非目标标签,则增加Nu的值,否则将标签标记为目标标签并增加Nt的值;在动态情景中,采用动态时间规整方法计算参考标签和当前标签的幅度曲线之间的相似度,记录每个标签的幅度,得到参考标签和当前标签的距离M(u,υ)。Further, a particle filter is introduced. If the evaluation function E n is regarded as the probability density of the transmission setting, it is necessary to estimate the probability density under motion or environmental changes, and define the transfer function w to update the function E n , and all values in E n are updated. is En +1 , starting from sorting and traversal until a mobility event is detected, where the evaluation function En depends on the estimation of the number of target tags, in a static scenario, an EPC-based classification method is used, if the received If EPC belongs to a non-target tag, increase the value of Nu , otherwise mark the tag as a target tag and increase the value of N t ; in dynamic scenarios, the dynamic time warping method is used to calculate the similarity between the amplitude curves of the reference tag and the current tag degree, record the amplitude of each tag, and get the distance M(u, υ) between the reference tag and the current tag.

本发明的另一技术方案是,一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当由计算设备执行时,使得所述计算设备执行根据所述的方法中的任一方法。Another technical solution of the present invention is a computer-readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by a computing device, cause the computing device to execute according to any of the methods described.

本发明的另一技术方案是,一种计算设备,包括:Another technical solution of the present invention is a computing device, comprising:

一个或多个处理器、存储器及一个或多个程序,其中一个或多个程序存储在所述存储器中并被配置为所述一个或多个处理器执行,所述一个或多个程序包括用于执行所述的方法中的任一方法的指令。One or more processors, a memory, and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including using instructions for performing any of the described methods.

与现有技术相比,本发明至少具有以下有益效果:Compared with the prior art, the present invention at least has the following beneficial effects:

本发明一种商用标签定向读取和实时追踪方法,无需假设标签ID信息,无需更改商用标签上的硬件或协议,因此与现有的RFID系统兼容,可以与多种类型的商用无源标签配合使用,可以选择性的读取目标位置的标签,与最新的USRP Gen2阅读器相比,可使目标标签的读取率提高3倍以上。The invention is a method for directional reading and real-time tracking of commercial tags, without assuming tag ID information, without changing the hardware or protocol on the commercial tags, so it is compatible with the existing RFID system, and can cooperate with various types of commercial passive tags It can selectively read tags at the target position, which can increase the read rate of target tags by more than 3 times compared with the latest USRP Gen2 readers.

进一步的,通过天线同步能够补偿发射器一个相位偏移,保证后续发射的信号满足设计要求。Further, a phase offset of the transmitter can be compensated through antenna synchronization, so as to ensure that subsequent transmitted signals meet the design requirements.

进一步的,通过计算Δθ(t),可以得到主发射器和从发射器的相位偏移,通过为从机补偿相位偏移可以使其与主机同步。Further, by calculating Δθ(t), the phase offset of the master transmitter and the slave transmitter can be obtained, and the slave can be synchronized with the master by compensating for the phase offset.

进一步的,利用商用EPC C1G2协议中的SELECT命令和Query命令,可以准确的与距离目标标签最近的参考标签进行通信,有利于定向的获取参考标签的响应信息。Further, by using the SELECT command and the Query command in the commercial EPC C1G2 protocol, it is possible to accurately communicate with the reference tag closest to the target tag, which is conducive to directional acquisition of the response information of the reference tag.

进一步的,响应信息包含了在不同传输设置下来自参考标签回复信号的振幅,将作为步骤S3中模拟退火算法的初始设置。Further, the response information includes the amplitude of the reply signal from the reference tag under different transmission settings, which will be used as the initial setting of the simulated annealing algorithm in step S3.

进一步的,采用模拟退火算法可以获得最适合用于目标标签追踪的传输参数设置。Further, a simulated annealing algorithm can be used to obtain the most suitable transmission parameter settings for target tag tracking.

进一步的,评估函数反映了用于目标标签跟踪的适当传输参数的列表。通过模拟退火算法对进行优化,可以获得最适用于目标标签追踪的传输参数设置。Further, the evaluation function reflects a list of appropriate transfer parameters for target label tracking. By optimizing the pair by simulated annealing algorithm, the optimal transmission parameter settings for target tag tracking can be obtained.

进一步的,引入粒子滤波器可以实时估计目标标签的移动轨迹。Further, the introduction of particle filter can estimate the moving trajectory of the target tag in real time.

综上所述,本发明无需已知目标标签ID并且无需对协议和硬件进行修改,与现有商用RFID系统兼容,大大降低了对目标标签定向读取和追踪的成本,具有广泛的应用前景。To sum up, the present invention does not need to know the target tag ID and does not need to modify the protocol and hardware, is compatible with the existing commercial RFID system, greatly reduces the cost of directional reading and tracking of the target tag, and has broad application prospects.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be further described in detail below through the accompanying drawings and embodiments.

附图说明Description of drawings

图1为本发明系统流程图;Fig. 1 is the system flow chart of the present invention;

图2为EPC第一类第二代协议流程图;Fig. 2 is the flow chart of the second generation protocol of the first type of EPC;

图3为不同类别标签的动态时间规整结果图,其中,(a)为参考标签和目标标签的振幅,(b)为参考标签和非目标标签的振幅;Figure 3 is a graph of the dynamic time warping results of different categories of labels, wherein (a) is the amplitude of the reference label and the target label, (b) is the amplitude of the reference label and the non-target label;

图4为系统硬件部署图;Figure 4 is a system hardware deployment diagram;

图5为本发明方法流程图。FIG. 5 is a flow chart of the method of the present invention.

具体实施方式Detailed ways

本发明提供了一种商用标签定向读取和实时追踪方法、存储介质及设备,通过捕捉在货架或移动容器上粘贴的参考标签的响应信息,得到不同传输设置时的能量分布和有关为目标标签供能的设置信息,采用射频波束成形技术激励目标位置的标签,同时结合模拟退火算法和粒子滤波器来动态选择适当的传输参数以实时追踪目标标签的移动。本发明方法有别于之前通过已知目标标签的ID信息进行选择性读取的方法,无需对RFID标签进行任何协议或硬件上的修改,实现了在商用RFID标签大规模部署的实际环境中提高目标位置周围标签的读取率,并实时跟踪这些标签的移动;相对于现有方法,大大降低了部署成本,应用更加广泛。The invention provides a method, storage medium and equipment for directional reading and real-time tracking of commercial labels. By capturing the response information of reference labels pasted on shelves or mobile containers, energy distribution and related target labels in different transmission settings can be obtained. The power supply setting information, using RF beamforming technology to excite the tag at the target position, and combined with simulated annealing algorithm and particle filter to dynamically select appropriate transmission parameters to track the movement of the target tag in real time. The method of the present invention is different from the previous method of selectively reading through the ID information of the known target tag, and does not require any protocol or hardware modification to the RFID tag. The read rate of tags around the target position and the movement of these tags are tracked in real time; compared with existing methods, the deployment cost is greatly reduced and the application is more extensive.

请参阅图5,本发明一种商用标签定向读取和实时追踪方法,包括以下步骤:Referring to FIG. 5, a method for directional reading and real-time tracking of commercial tags of the present invention includes the following steps:

S1、同步分布式发射天线;S1. Synchronous distributed transmit antenna;

分布式天线阵列的主发射器和从发射器交替发送同步信号,并测量发射天线与接收天线之间的相位偏移,对每个从发射器补偿一个初始相位使之与主发射器同步。The master and slave transmitters of the distributed antenna array transmit synchronization signals alternately, measure the phase offset between the transmitting antenna and the receiving antenna, and compensate each slave transmitter with an initial phase to synchronize it with the master transmitter.

采用一主一从的分布式天线阵列,再发射波束成形信号之前,需要先补偿频率和相位来同步天线。采用先验同分布方案,让主发射器和从发射器交替发送同步信号,并测量发射天线与接收天之间的相位偏移。对每个从发射器补偿一个初始相位使之与主发射器同步。A master-slave distributed antenna array is used, and the antennas need to be synchronized by compensating for frequency and phase before transmitting the beamforming signal. Using a priori identical distribution scheme, the master transmitter and the slave transmitter alternately send synchronization signals, and the phase offset between the transmitting antenna and the receiving sky is measured. Compensate an initial phase for each slave transmitter to synchronize with the master transmitter.

主发射器在‘sync’消息中单独传输同步信号,主从天线上的接收信号PM(t)表示为:The master transmitter transmits the synchronization signal separately in the 'sync' message, and the received signal P M (t) on the master and slave antennas is expressed as:

Figure BDA0002683682260000071
Figure BDA0002683682260000071

其中,H表示主发射器和从发射器之间的信道参数矩阵,

Figure BDA0002683682260000072
表示从主发射器的发射端TM到主发射器或从发射器的接收端Rx捕获的相位,用下式表示:where H represents the channel parameter matrix between the master transmitter and the slave transmitter,
Figure BDA0002683682260000072
Represents the phase captured from the transmitting end TM of the main transmitter to the receiving end Rx of the main transmitter or from the receiving end of the transmitter, expressed by the following formula:

Figure BDA0002683682260000073
Figure BDA0002683682260000073

其中,

Figure BDA0002683682260000074
是主发射器的发送相位,
Figure BDA0002683682260000075
是主发射器或从发射器的接收相位,
Figure BDA0002683682260000076
是主发射器的发送频率,
Figure BDA0002683682260000077
是主发射器或从发射器的接收频率。in,
Figure BDA0002683682260000074
is the transmit phase of the main transmitter,
Figure BDA0002683682260000075
is the receive phase of the master or slave transmitter,
Figure BDA0002683682260000076
is the transmit frequency of the main transmitter,
Figure BDA0002683682260000077
is the receive frequency of the master or slave transmitter.

当从发射器单独发送同步信号时,接收到的信号表示为Ps(t)。When the synchronization signal is sent separately from the transmitter, the received signal is denoted Ps( t ).

计算两者的差Δθ(t),可得:Calculate the difference Δθ(t) between the two, we can get:

Figure BDA0002683682260000078
Figure BDA0002683682260000078

获得相位偏移

Figure BDA0002683682260000079
和频率偏移
Figure BDA00026836822600000710
后,对从发射器补偿一个初始相位使之与主发射器同步。get phase offset
Figure BDA0002683682260000079
and frequency offset
Figure BDA00026836822600000710
Afterwards, the slave transmitter is compensated for an initial phase to synchronize with the master transmitter.

S2、进行快速搜索,查询与目标标签距离最近的参考标签,获取有关参考标签的响应信息;S2. Perform a quick search, query the reference tag closest to the target tag, and obtain response information about the reference tag;

请参阅图2,采用目前商用EPC C1G2协议中设计的选择性读取机制,发送适当的SELECT命令和Query命令实现对参考标签的读取;然后阅读器选择多个传输参数,获得不同该参数设置下参考标签的响应信息。Please refer to Figure 2, using the selective reading mechanism designed in the current commercial EPC C1G2 protocol, sending appropriate SELECT commands and Query commands to read the reference tag; then the reader selects multiple transmission parameters to obtain different parameter settings. Refer to the label below for response information.

SELECT命令和Query命令可以简化为元组S和Q,如下所示:SELECT and Query commands can be simplified to tuples S and Q as follows:

S(b,p,l,m),Q(s,q) (4)S(b,p,l,m),Q(s,q) (4)

SELECT命令旨在选择带有子位串的标签子集,该子位串从第p个位开始,到第b个内存区中的第(p+l-1)位结束,并且等于m,在元组Q中,将元素Sel设置为true以选择符合SELECT命令中所述要求的标签,使其可以在当前清点循环中做出响应。The SELECT command is intended to select a subset of tags with a sub-bit string starting at bit p and ending at bit (p+l-1) in the b-th memory area and equal to m, in In tuple Q, set the element Sel to true to select tags that meet the requirements described in the SELECT command so that they can respond in the current inventory loop.

将目标位置的参考标签的EPC设置为Mask m,可以实现对参考标签有效地访问。By setting the EPC of the reference label at the target location to Mask m, the reference label can be accessed efficiently.

为了收集参考标签的信息(称为快照),阅读器选择多个传输参数,并获得不同参数设置下参考标签的回复。In order to collect the information of the reference tag (called a snapshot), the reader selects multiple transmission parameters and obtains the reply of the reference tag under different parameter settings.

先保持主发射器信号不变,以δ为步长在[0,2π)的范围内更改每个从发射器信号的初始相位。δ设置为0.1π。First keep the master transmitter signal unchanged, and change the initial phase of each slave transmitter signal in the range of [0, 2π) with δ as the step size. δ is set to 0.1π.

即主发射器不断发送信号PM(t),从发射器发送信号PS(t),其初始相位为θ′TS,动态的设置为:That is, the master transmitter continuously sends the signal P M (t), and the slave transmitter sends the signal P S (t), its initial phase is θ′ TS , and the dynamic settings are:

Figure BDA0002683682260000081
Figure BDA0002683682260000081

其中,i表示清点循环的索引,i∈[1,2,3,...,2π/δ],

Figure BDA0002683682260000082
是从发射器信号最初的初始相位。通过添加相位和频率偏移Δθ(t)使其与主发射器同步。where i represents the index of the inventory loop, i∈[1,2,3,...,2π/δ],
Figure BDA0002683682260000082
is the initial initial phase of the signal from the transmitter. It is synchronized with the main transmitter by adding a phase and frequency offset Δθ(t).

为了在使用一个发送参数设置时评估参考标签回复的能量,定义评估函数f,如下所示:To evaluate the energy of the reference tag reply when using one send parameter set, define the evaluation function f as follows:

Figure BDA0002683682260000083
Figure BDA0002683682260000083

其中,A(·)表示当发送参数等于

Figure BDA0002683682260000084
时从参考标签Tr接收的信号的振幅;从阅读器接收的能量越高,标签信号的振幅就越大。Among them, A( ) indicates that when the sending parameter is equal to
Figure BDA0002683682260000084
is the amplitude of the signal received from the reference tag Tr ; the higher the energy received from the reader, the greater the amplitude of the tag signal.

在所有传输设置下记录来自参考标签Tr回复的振幅,即:The amplitude of the reply from the reference tag Tr was recorded at all transmission settings, namely:

E0=[f(1),f(2),...,f(2π/δ)] (7)E 0 =[f(1), f(2), ..., f(2π/δ)] (7)

其中,E0即为参考标签的快照,并将E0作为步骤S3中模拟退火(SA)算法的初始设置。Among them, E 0 is the snapshot of the reference label, and E 0 is used as the initial setting of the simulated annealing (SA) algorithm in step S3.

S3、利用参考标签的响应信息,得到不同传输设置时的能量分布和有关为目标标签供能的设置信息,结合模拟退火算法和粒子滤波器来动态选择适当的传输参数激励目标区域的标签以及实时追踪目标标签的移动。S3. Use the response information of the reference tag to obtain the energy distribution in different transmission settings and the setting information about the energy supply for the target tag, and combine the simulated annealing algorithm and particle filter to dynamically select appropriate transmission parameters to stimulate the tags in the target area and real-time Track the movement of the target tag.

结合模拟退火算法和粒子滤波器来动态选择适当的传输参数以实时追踪目标标签的移动,一旦阅读器检测到可能的移动或环境变化,阅读器将更新评估函数并重启模拟退火算法。同时通过动态时间规整算法比较参考标签和目标标签之间运动轨迹的相似性,从整个标签群体中分辨出目标标签。The simulated annealing algorithm and particle filter are combined to dynamically select the appropriate transmission parameters to track the movement of the target tag in real time. Once the reader detects possible movement or environmental changes, the reader will update the evaluation function and restart the simulated annealing algorithm. At the same time, the similarity of the motion trajectories between the reference label and the target label is compared through the dynamic time warping algorithm, and the target label is distinguished from the entire label population.

当目标标签可移动时,阅读器需要动态调整发射参数以跟踪目标标签。即使标签是静态的,标签周围移动的对象也会导致所选的参数设置不理想。为了找到合适的传输设置,采用模拟退火算法,这是一种概率技术,用于接近给定评估函数En的全局最优值。When the target tag is movable, the reader needs to dynamically adjust the launch parameters to track the target tag. Even if the label is static, objects moving around the label can cause the selected parameter settings to be suboptimal. To find a suitable transfer setting, a simulated annealing algorithm is employed, which is a probabilistic technique used to approach the global optimum for a given evaluation function En .

将评估函数En定义为:Define the evaluation function En as:

Figure BDA0002683682260000091
Figure BDA0002683682260000091

其中,n是迭代次数,μ是权重系数,根据实验将其设置为1.1,Nt和Nu分别是目标标签和非目标标签的数目。where n is the number of iterations, μ is the weight coefficient, which is set to 1.1 according to experiments, and N t and Nu are the number of target labels and non-target labels , respectively.

在应用中,有Nu>>Nt,使用参数β,使β·Nt与Nu相似。默认值为μ=1.1,β=Nu/Nt。α是随时间k的衰减系数,通过实验设置α=0.9。当发射参数设置为

Figure BDA0002683682260000092
函数En给出系统性能的评估。如前所述,将En的初始值设置为在步骤S2中获得的快照E0。In application, there is N u >> N t , the parameter β is used to make β · N t similar to Nu . The default values are μ=1.1, β=N u /N t . α is the decay coefficient with time k, and α=0.9 is set experimentally. When the launch parameters are set to
Figure BDA0002683682260000092
The function En gives an estimate of the system performance. As before, the initial value of En is set to the snapshot E 0 obtained in step S2.

根据评估函数En获得用于目标标签跟踪的适当传输参数的列表,将En从高到低排序,获得一个传输参数列表ΘnObtain a list of appropriate transfer parameters for target tag tracking according to the evaluation function En , sort En from high to low to obtain a list of transfer parameters Θ n :

Θn=arg(d(En)) (9)Θ n = arg(d(E n )) (9)

其中,d(·)表示降序排序函数。列表Θn中的顺序显示了发送参数的优先级。Among them, d(·) represents the descending sorting function. The order in the list Θn shows the priority of sending parameters.

然后,通过逐个改变发送参数来遍历列表Θn,在相同的清点循环中,使用相同的传输参数θn(k),在开始下一个清点循环之前,系统将Enn(k))和Enn(K+1))的值进行比较。Then, traverse the list Θ n by changing the send parameters one by one, in the same inventory loop, using the same transfer parameters θ n (k), before starting the next inventory cycle, the system will E nn (k)) Compare with the value of En (Θ n ( K+1)).

根据概率函数P的值确实是否切换到下一个传输参数:Whether it does switch to the next transfer parameter according to the value of the probability function P:

Figure BDA0002683682260000101
Figure BDA0002683682260000101

其中,Γ表示退火算法中的模拟温度,而ΔΓ是此切换后的变化温度,定义为:where Γ represents the simulated temperature in the annealing algorithm, and ΔΓ is the changing temperature after this switch, defined as:

ΔΓ=Enn(K+1))-Enn(k)) (11)ΔΓ=E nn (K+1))-E nn (k)) (11)

通过乘以冷却参数η(即Γ=η·Γ)来降低温度Γ,重复此过程,直到Γ等于0或小于阈值。Lower the temperature Γ by multiplying by the cooling parameter η (ie Γ = η·Γ), repeating this process until Γ is equal to 0 or less than the threshold.

在开始新的清点循环之前,系统将根据标签的最新响应(例如A(Tr,i),Nt和Nu)刷新Enn(k))的值。如果En中的元素没有更新,则衰减系数α会使En中的元素随时间k不断减少。如果在当前的传输参数设置下,评估函数En的值等于0,将会继续发送具有最大En的传输参数设置的信号,直到检测到移动为止。Before starting a new inventory cycle, the system will refresh the value of En ( Θn (k)) based on the latest responses of the tags (eg A(T r , i ), N t and Nu ). If the elements in En are not updated, the decay coefficient α will cause the elements in En to decrease with time k. If, at the current transmission parameter setting, the value of the evaluation function En is equal to 0, the transmission of the transmission parameter setting with the largest En will continue to be signaled until movement is detected.

如果目标标签持续移动,或者当前工作区域中存在移动物体,则评估函数En中的记录值将趋于不准确。例如,如果障碍物阻碍了目标标签和阅读器之间的主要传播路径,或者目标标签与参考标签一起移动到另一个位置,则先前的退火算法可能会导致丢失跟踪目标标签。因此需要考虑移动性的影响。If the target label continues to move, or if there are moving objects in the current work area, the recorded values in the evaluation function En will tend to be inaccurate. For example, previous annealing algorithms may result in lost tracking of the target tag if an obstacle obstructs the main propagation path between the target tag and the reader, or if the target tag moves to another location with the reference tag. Therefore, the impact of mobility needs to be considered.

经过实验观察到,确定标签移动状态时,采用标签的相位信息比振幅信息更加可靠。It is observed through experiments that the phase information of the tag is more reliable than the amplitude information when determining the moving state of the tag.

在步骤S2中捕获参考标签的快照时,记录参考标签的相位

Figure BDA0002683682260000111
When a snapshot of the reference label is captured in step S2, the phase of the reference label is recorded
Figure BDA0002683682260000111

在步骤S3中,将相应的相位与Φ中的值进行比较,如果没有移动,则相位将保持稳定,否则相位将会波动。将相位变化与根据实验确定的阈值进行比较,如果变化大于阈值,则认为目标标签处于移动状态。In step S3, the corresponding phase is compared with the value in Φ, if there is no movement, the phase will remain stable, otherwise the phase will fluctuate. The phase change is compared with an experimentally determined threshold, and if the change is greater than the threshold, the target tag is considered to be moving.

目前系统可以确定目标标签何时开始移动,但仍然不知道标签的移动轨迹。为了解决这个问题,引入粒子滤波器。若将评估函数En视为传输设置的概率密度,则需要估计运动(或环境变化)下的概率密度。为了更新函数En,定义转换函数w:At present, the system can determine when the target tag starts to move, but still does not know the movement trajectory of the tag. To solve this problem, a particle filter is introduced. If the evaluation function En is regarded as the probability density of the transmission setting, the probability density under motion (or environmental change) needs to be estimated. To update the function En , define the transformation function w:

wn+1(i)=C·[wn(i-1),wn(i),wn(i+1)]T (12)w n+1 (i)=C·[w n (i-1),w n (i),w n (i+1)] T (12)

其中,C表示系数矩阵,是指从最后一个状态到下一个状态的转移概率,C中的值均设为1/3。Among them, C represents the coefficient matrix, which refers to the transition probability from the last state to the next state, and the value in C is set to 1/3.

然后更新评估函数En,将其与转换函数wn+1相乘,即:Then update the evaluation function En by multiplying it with the transformation function w n +1 , ie:

En+1(i)=wn+1(i)·En(i) (13)E n+1 (i)=w n+1 (i)·E n (i) (13)

此时,En中的所有值将更新为En+1,将从排序和遍历开始,直到检测到移动性事件为止。At this point, all values in En will be updated to En + 1 , starting with sorting and traversal until a mobility event is detected.

在步骤S3中,评估函数En依赖于目标标签数量的准确估计。这里考虑两种情况:In step S3, the evaluation function En relies on an accurate estimate of the number of target labels. Two cases are considered here:

(1)在静态情景中(例如仓库货架),系统对目标标签(货架上新传入的包裹的标签)的EPC一无所知,但已经知道环境中非目标标签(其他架子上所有包裹的标签)的EPC。(1) In a static scenario (such as a warehouse shelf), the system has no knowledge of the EPC of the target label (the label of a newly incoming package on the shelf), but already knows the non-target label in the environment (the labels of all packages on other shelves) label) EPC.

(2)在动态情景中(例如购物车),系统不了解目标和非目标标签的EPC信息,但目标标签会与参考标签一起移动。(2) In dynamic scenarios (such as shopping carts), the system does not know the EPC information of target and non-target tags, but the target tags move together with the reference tags.

第一种情况,采用基于EPC的分类方法:如果接收到的EPC属于非目标标签,则增加Nu的值;否则将标签标记为目标标签并增加Nt的值。In the first case, an EPC-based classification method is adopted: if the received EPC belongs to a non-target label, the value of Nu is increased; otherwise, the label is marked as a target label and the value of N t is increased.

第二种情况,采用基于轨迹的分类方法:由于物理距离十分接近,目标标签始终具有和参考标签相似的振幅轨迹;In the second case, a trajectory-based classification method is used: due to the close physical distance, the target label always has an amplitude trajectory similar to the reference label;

请参阅图3,采用动态时间规整(DTW)方法计算参考标签和当前标签的幅度曲线之间的相似度,图3详细说明了参考标签、目标标签、非目标标签动态时间规整后的振幅值。其中,图3(a)表明参考标签和目标标签具有相似的振幅分布,图3(b)表明参考标签和非目标标签具有相异的振幅分布。Referring to Figure 3, the dynamic time warping (DTW) method is used to calculate the similarity between the amplitude curves of the reference tag and the current tag. Figure 3 details the amplitude values of the reference tag, target tag, and non-target tag after dynamic time warping. Among them, Figure 3(a) shows that the reference label and the target label have similar amplitude distributions, and Figure 3(b) shows that the reference label and the non-target label have different amplitude distributions.

首先用如下公式计算振幅之间的差异:First calculate the difference between the amplitudes using the following formula:

ξ(u,υ)=amp(Tr,u)-amp(Tc,υ) (14)ξ(u,υ)=amp(T r ,u)-amp(T c ,υ) (14)

其中,amp(Tx,y)表示标签Tx的第y个响应的振幅,Tc代表当前标签。where amp(T x , y) represents the amplitude of the y-th response of the label T x , and T c represents the current label.

记录每个标签的幅度,并通过以下公式进一步计算参考标签和当前标签的距离:The amplitude of each label is recorded, and the distance between the reference label and the current label is further calculated by the following formula:

M(u,υ)=ξ(u,υ)+min(M(u-1,υ-1),M(u-1,υ),M(u,υ-1)) (15)M(u,υ)=ξ(u,υ)+min(M(u-1,υ-1),M(u-1,υ),M(u,υ-1)) (15)

其中,M(u,υ)是距离函数。where M(u, υ) is the distance function.

接下来为所有收到的标签和参考标签计算每个清点循环中的距离M,仅当距离小于实验选择的阈值的标签时,才将其视为目标标签。Next, the distance M in each inventory cycle is calculated for all received tags and reference tags, and only tags whose distance is less than an experimentally chosen threshold are considered as target tags.

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中的描述和所示的本发明实施例的组件可以通过各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

请参阅图1,本发明分为三个大模块,分别为天线同步模块,快速搜索模块和运动追踪模块。Please refer to FIG. 1 , the present invention is divided into three large modules, namely, an antenna synchronization module, a fast search module and a motion tracking module.

1.天线同步模块:1. Antenna synchronization module:

本发明采用一主一从的分布式天线阵列,在发送波束成形信号之前,需要先补偿频率和相位来同步天线。采用先验同分布方案,让主机和从机交替发送同步信号,并测量发射天线与接收天线之间的相位偏移。对每个从机补偿一个初始相位使之与主发射器同步。The present invention adopts a master-slave distributed antenna array, and before sending a beamforming signal, the antenna needs to be compensated for frequency and phase to synchronize the antenna. A priori identical distribution scheme is used to let the master and slave alternately send synchronization signals and measure the phase offset between the transmit and receive antennas. Compensate an initial phase for each slave to synchronize with the master transmitter.

2.快速搜索模块:2. Quick search module:

(1)与参考标签通信:采用目前商用EPC C1G2协议中设计的选择性读取机制。发送适当的SELECT命令来选择参考标签,然后通过在Query命令中设置参数来实现对参考标签的高效读取。(1) Communication with the reference tag: The selective reading mechanism designed in the current commercial EPC C1G2 protocol is adopted. Send the appropriate SELECT command to select the reference tag, and then achieve efficient reading of the reference tag by setting parameters in the Query command.

(2)选择传输参数并收集参考标签的响应信息:保持主机信号不变,不断改变从机信号的初始相位,使用评估函数评估标签回复的能量。记录所有传输设置下评估函数的值,组成参考标签的快照E0。(2) Select the transmission parameters and collect the response information of the reference tag: keep the master signal unchanged, constantly change the initial phase of the slave signal, and use the evaluation function to evaluate the energy of the tag reply. Record the value of the evaluation function under all transfer settings, making up the snapshot E0 of the reference label.

3.运动追踪模块:此模块包含三个子模块,见图1右侧。3. Motion Tracking Module: This module contains three sub-modules, as shown on the right side of Figure 1.

(1)使用模拟退火算法优化评估函数得到合适的的传输参数。(1) Use the simulated annealing algorithm to optimize the evaluation function to obtain suitable transmission parameters.

(2)根据标签的相位变化是否超过阈值判断目标标签是否处于移动状态。然后引入粒子滤波器实时估计目标标签的移动轨迹。(2) Determine whether the target tag is in a moving state according to whether the phase change of the tag exceeds a threshold. Then a particle filter is introduced to estimate the moving trajectory of the target label in real time.

(3)采用动态时间规整(DTW)算法计算参考标签和当前标签的幅度曲线之间的相似度,可以从整个标签群体中分辨出目标标签。(3) Using the dynamic time warping (DTW) algorithm to calculate the similarity between the amplitude curves of the reference tag and the current tag, the target tag can be distinguished from the entire tag population.

请参阅图4,本发明的硬件部署如图4所示:在USRP X310软件定义无线电测试台上部署了本发明,该无线电测试台带有两个作为RFID阅读器的SBX子板。阅读器采用多输入多输出(MIMO)模型,每个子板都支持全双工通信。天线采用四个增益为3dBi的单向天线VERT900。Referring to Figure 4, the hardware deployment of the present invention is shown in Figure 4: the present invention is deployed on a USRP X310 software-defined radio test bench with two SBX daughter boards serving as RFID readers. The reader uses a multiple-input multiple-output (MIMO) model, and each daughter board supports full-duplex communication. The antenna uses four unidirectional antennas VERT900 with a gain of 3dBi.

为了证明此发明对目标标签的读取率的提高,将其与最近开发的USRP Gen2阅读器进行比较。通过在三种不同场景内进行试验,比较两者对目标标签的读取率。读取率定义为每秒从目标标签接收到的回复数量。经过试验发现,本发明在三种场景内对目标标签的平均读取率分别为10.51/s,5.74/s和8.09/s,而相同场景下Gen2阅读器的平均读取率分别为2.08/s,1.44/s和2.14/s。与USRP Gen2阅读器相比,本发明对目标标签的读取率能够提高3倍以上。To demonstrate the improved read rate of this invention for target tags, it was compared with the recently developed USRP Gen2 reader. By experimenting in three different scenarios, the read rates of the two target tags were compared. Read rate is defined as the number of replies received from target tags per second. Through experiments, it is found that the average reading rate of the target tag in the present invention in three scenarios is 10.51/s, 5.74/s and 8.09/s, while the average reading rate of the Gen2 reader in the same scenario is 2.08/s. , 1.44/s and 2.14/s. Compared with the USRP Gen2 reader, the invention can improve the reading rate of the target tag by more than 3 times.

综上所述,本发明一种商用标签定向读取和实时追踪方法、存储介质及设备,利用距离目标标签最近的参考标签的响应信息,得到不同传输设置时的能量分布和为目标标签供能的设置信息,采用射频波束成形技术激励目标标签,同时结合模拟退火算法和粒子滤波器来动态选择适当的传输参数,实现对目标标签的读取和实时追踪。To sum up, the present invention provides a method, storage medium and device for directional reading and real-time tracking of commercial tags, which utilizes the response information of the reference tag closest to the target tag to obtain the energy distribution in different transmission settings and provide energy for the target tag. It uses RF beamforming technology to excite the target tag, and at the same time combines simulated annealing algorithm and particle filter to dynamically select appropriate transmission parameters to realize the reading and real-time tracking of the target tag.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

以上内容仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明权利要求书的保护范围之内。The above content is only to illustrate the technical idea of the present invention, and cannot limit the protection scope of the present invention. Any changes made on the basis of the technical solution according to the technical idea proposed by the present invention all fall within the scope of the claims of the present invention. within the scope of protection.

Claims (8)

1. A commercial label directional reading and real-time tracking method is characterized by comprising the following steps:
s1, adopting a master-slave distributed antenna array, wherein the master transmitter and the slave transmitter of the distributed antenna array alternately transmit synchronous signals, measuring the phase offset between the transmitting antenna and the receiving antenna, and compensating an initial phase for each slave transmitter to synchronize with the master transmitter;
s2, carrying out fast search, inquiring a reference label closest to a target label, adopting a selective reading mechanism designed in a commercial EPC C1G2 protocol, sending a SELECT command to SELECT the reference label, reading the reference label by setting parameters in a Query command, selecting a plurality of transmission parameters by a reader, obtaining response information of the reference label under different parameter settings, keeping a main transmitter signal unchanged, changing the initial phase of each slave transmitter signal within [0,2 pi ] by taking delta as a step length, evaluating the energy replied by the label by using an evaluation function f, and recording the energy replied by the label under all the transmission parametersEvaluating the value of the function, constituting the response information E of the reference tag0A 1 is mixing E0As an initial setting of the simulated annealing algorithm in step S3;
s3, response information E of reference label using step S20Obtaining energy distribution and related setting information for supplying energy to the target tag when different transmission parameters are obtained, dynamically selecting the transmission parameters to excite the tag of the target area and track the movement of the target tag in real time by combining a simulated annealing algorithm and a particle filter, and finishing the directional reading and real-time tracking of the commercial tag at the target position;
the method specifically comprises the following steps: using simulated annealing algorithm for approximating a given evaluation function EnAccording to an evaluation function EnObtain a list of appropriate transmission parameters for target tag tracking, andnordering from high to low, a transmission parameter list theta is obtainednTraversing the list Θ by changing the send parameters one by onenUsing the same transmission parameter theta in the same counting cyclen(k) Before starting the next inventory cycle, the system will Enn(k) ) and Enn(k +1)) are compared; switching to the next transmission parameter indeed according to the probability function P; refresh E based on the latest response of the reference tag before starting a new inventory cyclenn(k) If E) is equal tonIf the element in (1) is not updated, the attenuation coefficient alpha is equal to EnK decreases with time; if under the current transmission parameter setting, the function E is evaluatednIs equal to 0, continues to transmit with a maximum EnUntil movement is detected.
2. The method of claim 1, wherein in step S1, before transmitting the beam-forming signal, the frequency and phase synchronization antenna is compensated; the method comprises the steps that a priori same distribution scheme is adopted, a main transmitter and a secondary transmitter are enabled to alternately send synchronous signals, and phase shift between a transmitting antenna and a receiving antenna is obtained according to difference delta theta (t) of the main transmitter and the secondary transmitter
Figure FDA0003224613760000021
And frequency offset
Figure FDA0003224613760000022
Thereafter, each slave transmitter is compensated for an initial phase to synchronize with the master transmitter.
3. The method of claim 2, wherein the received signal on the master and slave antennas is PM(t) when the synchronization signal is transmitted from the transmitter alone, the received signal is Ps(t), Δ θ (t) is:
Figure FDA0003224613760000023
wherein,
Figure FDA0003224613760000024
for the phase acquisition from the main transmitter side to the main receiver side,
Figure FDA0003224613760000025
for the phase acquisition from the master transmitter side to the slave receiver side,
Figure FDA0003224613760000026
for the phase acquisition from the transmitter side to the main receiver side,
Figure FDA0003224613760000027
t is the time for the phase from the transmitter side to the acquisition from the receiver side.
4. The method according to claim 1, wherein in step S2, the response information E of the reference label0The method specifically comprises the following steps:
E0=[f(1),f(2),...,f(2π/δ)]。
5. the method according to claim 1, wherein in step S3, the function E is evaluatednComprises the following steps:
Figure FDA0003224613760000028
where N is the number of iterations, μ is the weight coefficient, NtAnd NuRespectively the number of target tags and non-target tags, beta is a constant, alpha is the attenuation coefficient over time k, k is time,
Figure FDA0003224613760000029
as a transmission parameter, TrAre reference labels.
6. The method of claim 5, wherein a particle filter is introduced if the evaluation function E is to be evaluatednConsidering the probability density of the transmission parameters, it is necessary to estimate the probability density under motion or environmental changes, define the update function E of the transfer function wn,EnAll values in (1) are updated to En+1Starting from sorting and traversing until a mobility event is detected, wherein the function E is evaluatednDepending on the estimation of the number of target tags, in static scenarios, a classification method based on EPC is employed, increasing N if the received EPC belongs to a non-target taguOtherwise the tag is marked as the target tag and N is increasedtA value of (d); in a dynamic scene, the similarity between the amplitude curves of the reference label and the current label is calculated by adopting a dynamic time warping method, the amplitude of each label is recorded, and the distance M (u, upsilon) between the reference label and the current label is obtained.
7. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods of claims 1-6.
8. A computing device, comprising:
one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 1-6.
CN202010969779.3A 2020-09-15 2020-09-15 Method for directionally reading and tracking commercial label in real time, storage medium and equipment Active CN112183136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010969779.3A CN112183136B (en) 2020-09-15 2020-09-15 Method for directionally reading and tracking commercial label in real time, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010969779.3A CN112183136B (en) 2020-09-15 2020-09-15 Method for directionally reading and tracking commercial label in real time, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN112183136A CN112183136A (en) 2021-01-05
CN112183136B true CN112183136B (en) 2021-11-19

Family

ID=73921215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010969779.3A Active CN112183136B (en) 2020-09-15 2020-09-15 Method for directionally reading and tracking commercial label in real time, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN112183136B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468899B (en) * 2021-06-30 2023-06-16 中国科学技术大学 RFID-based target tracking method without carrying tag
CN114925709B (en) * 2022-07-20 2022-11-15 恒银金融科技股份有限公司 File positioning method and system applied to file cabinet

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103229192A (en) * 2010-11-23 2013-07-31 讯宝科技公司 Radio frequency identification system and related operating methods
CN107923960A (en) * 2015-06-16 2018-04-17 泰科消防及安全有限公司 System and method for positioning label in space
CN108549922A (en) * 2018-03-29 2018-09-18 西安交通大学 A kind of ultra-high frequency RFID label accurate positioning method based on label coupling
CN109541528A (en) * 2018-10-09 2019-03-29 阳光凯讯(北京)科技有限公司 A kind of electromagnetic tracking system identified based on target state and propagation medium
CN110691981A (en) * 2017-03-28 2020-01-14 自动化公司 Method and apparatus for locating RFID tags
CN111505572A (en) * 2020-04-07 2020-08-07 电子科技大学 RFID moving track detection method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873326B2 (en) * 2006-07-11 2011-01-18 Mojix, Inc. RFID beam forming system
KR20110024826A (en) * 2009-09-03 2011-03-09 (주)씨스퀘어소프트 Parking management method and system using day tag and program recording medium
CN103530583B (en) * 2012-07-04 2016-04-13 富士通株式会社 Locating terminal, localization method, positioning system and electronic equipment
US10410025B2 (en) * 2017-04-19 2019-09-10 Nec Corporation Product checkout and interest detection in retail environment using radio-frequency identification

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103229192A (en) * 2010-11-23 2013-07-31 讯宝科技公司 Radio frequency identification system and related operating methods
CN107923960A (en) * 2015-06-16 2018-04-17 泰科消防及安全有限公司 System and method for positioning label in space
CN110691981A (en) * 2017-03-28 2020-01-14 自动化公司 Method and apparatus for locating RFID tags
CN108549922A (en) * 2018-03-29 2018-09-18 西安交通大学 A kind of ultra-high frequency RFID label accurate positioning method based on label coupling
CN109541528A (en) * 2018-10-09 2019-03-29 阳光凯讯(北京)科技有限公司 A kind of electromagnetic tracking system identified based on target state and propagation medium
CN111505572A (en) * 2020-04-07 2020-08-07 电子科技大学 RFID moving track detection method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《A Universal Method to Combat Multipaths for RFID Sensing》;Wang, G 等;《39th IEEE Conference on Computer Communications (IEEE INFOCOM)》;20200709;全文 *
《一种基于无源射频技术的用户步态识别及认证方法》;王鸽 等;《电子科技》;20200615;全文 *

Also Published As

Publication number Publication date
CN112183136A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
Klair et al. A survey and tutorial of RFID anti-collision protocols
Myung et al. Tag-splitting: adaptive collision arbitration protocols for RFID tag identification
CN101286192A (en) A Slotted ALOHA Anti-Collision Algorithm Applicable to Dynamic Environment
CN112183136B (en) Method for directionally reading and tracking commercial label in real time, storage medium and equipment
CN102890765B (en) RFID tag localization method and device
CN101203866A (en) Detecting movement of rfid tagged objects by multiple tags/readers
Deng et al. Optimal dynamic framed slotted ALOHA based anti-collision algorithm for RFID systems
US20080061939A1 (en) Method and apparatus for determining ordering of RFID tagged objects
CN112188391B (en) Multi-reference node UWB (ultra wide band) efficient ranging method, device and system
CN102665274B (en) Method and device for positioning sensor network node
CN102999739A (en) RFID (radio frequency identification) tag and identification method and identification device
Chen et al. A Novel Time-aware Frame Adjustment Strategy for RFID Anti-collision.
CN114186572A (en) A method and system for identifying unknown tags based on collision time slot coordination
CN109934031A (en) Method and system for distinguishing LOS/NLOS based on RFID system
CN103366143B (en) The method for quickly identifying of label is lost in large-scale radio-frequency identification system
CN112528688B (en) Radio frequency tag control method, response method and device, storage medium, reader and radio frequency tag
CN103324902A (en) Accurate tag estimating method of RFID system
CN110568400B (en) Coarse positioning method of the label of the item in the drawer in the moving direction axis of the reader
Xie et al. Efficient protocols for collecting histograms in large-scale RFID systems
Wang et al. Effective anti-collision algorithms for RFID robots system
CN110287745A (en) A RFID multi-tag fast identification method for dynamic scenes
CN114372543A (en) A RFID indoor multi-target 3D positioning system and method based on carrier phase
US10095892B2 (en) RFID reader and method for recognizing RFID tags
CN113435220A (en) Method and device for estimating number of lost tags based on unreliable channel in RFID system
CN108039925B (en) Signal processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
OL01 Intention to license declared
OL01 Intention to license declared